1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
29 /***********************************************************************
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
34 ************************************************************************/
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
45 /* inline attribute */
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
63 /* internal SWIG method */
65 # define SWIGINTERN static SWIGUNUSED
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
73 /* exporting methods for Windows DLLs */
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
79 # define SWIGEXPORT __declspec(dllexport)
86 /* calling conventions for Windows */
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
99 /***********************************************************************
102 * This file contains generic CAPI SWIG runtime support for pointer
105 ************************************************************************/
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 # define SWIG_TYPE_TABLE_NAME
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
130 # define SWIGRUNTIME SWIGINTERN
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
143 typedef void *(*swig_converter_func
)(void *);
144 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info
{
148 const char *name
; /* mangled name of this type */
149 const char *str
; /* human readable name of this type */
150 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
152 void *clientdata
; /* language specific type data */
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info
{
157 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter
; /* function to cast the void pointers */
159 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
160 struct swig_cast_info
*prev
; /* pointer to the previous cast */
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info
{
167 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size
; /* Number of types in this module */
169 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
170 swig_type_info
**type_initial
; /* Array of initially generated type structures */
171 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
172 void *clientdata
; /* Language specific module data */
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
184 SWIG_TypeNameComp(const char *f1
, const char *l1
,
185 const char *f2
, const char *l2
) {
186 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
187 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
188 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
189 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
191 return (l1
- f1
) - (l2
- f2
);
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
199 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
201 const char* te
= tb
+ strlen(tb
);
203 while (!equiv
&& *ne
) {
204 for (nb
= ne
; *ne
; ++ne
) {
205 if (*ne
== '|') break;
207 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
218 SWIG_TypeCompare(const char *nb
, const char *tb
) {
220 const char* te
= tb
+ strlen(tb
);
222 while (!equiv
&& *ne
) {
223 for (nb
= ne
; *ne
; ++ne
) {
224 if (*ne
== '|') break;
226 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
236 swig_cast_info *iter = ty->cast; \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
246 if (ty->cast) ty->cast->prev = iter; \
258 SWIGRUNTIME swig_cast_info
*
259 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
260 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info
*
265 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
266 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
270 Cast a pointer up an inheritance hierarchy
272 SWIGRUNTIMEINLINE
void *
273 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
274 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
278 Dynamic pointer casting. Down an inheritance hierarchy
280 SWIGRUNTIME swig_type_info
*
281 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
282 swig_type_info
*lastty
= ty
;
283 if (!ty
|| !ty
->dcast
) return ty
;
284 while (ty
&& (ty
->dcast
)) {
285 ty
= (*ty
->dcast
)(ptr
);
292 Return the name associated with this type
294 SWIGRUNTIMEINLINE
const char *
295 SWIG_TypeName(const swig_type_info
*ty
) {
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
303 SWIGRUNTIME
const char *
304 SWIG_TypePrettyName(const swig_type_info
*type
) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
309 if (type
->str
!= NULL
) {
310 const char *last_name
= type
->str
;
312 for (s
= type
->str
; *s
; s
++)
313 if (*s
== '|') last_name
= s
+1;
321 Set the clientdata field for a type
324 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
325 swig_cast_info
*cast
= ti
->cast
;
326 /* if (ti->clientdata == clientdata) return; */
327 ti
->clientdata
= clientdata
;
330 if (!cast
->converter
) {
331 swig_type_info
*tc
= cast
->type
;
332 if (!tc
->clientdata
) {
333 SWIG_TypeClientData(tc
, clientdata
);
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
348 SWIGRUNTIME swig_type_info
*
349 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
350 swig_module_info
*end
,
352 swig_module_info
*iter
= start
;
355 register size_t l
= 0;
356 register size_t r
= iter
->size
- 1;
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i
= (l
+ r
) >> 1;
360 const char *iname
= iter
->types
[i
]->name
;
362 register int compare
= strcmp(name
, iname
);
364 return iter
->types
[i
];
365 } else if (compare
< 0) {
371 } else if (compare
> 0) {
375 break; /* should never happen */
380 } while (iter
!= end
);
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
393 SWIGRUNTIME swig_type_info
*
394 SWIG_TypeQueryModule(swig_module_info
*start
,
395 swig_module_info
*end
,
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info
*iter
= start
;
406 register size_t i
= 0;
407 for (; i
< iter
->size
; ++i
) {
408 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
409 return iter
->types
[i
];
412 } while (iter
!= end
);
415 /* neither found a match */
421 Pack binary data into a string
424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
425 static const char hex
[17] = "0123456789abcdef";
426 register const unsigned char *u
= (unsigned char *) ptr
;
427 register const unsigned char *eu
= u
+ sz
;
428 for (; u
!= eu
; ++u
) {
429 register unsigned char uu
= *u
;
430 *(c
++) = hex
[(uu
& 0xf0) >> 4];
431 *(c
++) = hex
[uu
& 0xf];
437 Unpack binary data from a string
439 SWIGRUNTIME
const char *
440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
441 register unsigned char *u
= (unsigned char *) ptr
;
442 register const unsigned char *eu
= u
+ sz
;
443 for (; u
!= eu
; ++u
) {
444 register char d
= *(c
++);
445 register unsigned char uu
= 0;
446 if ((d
>= '0') && (d
<= '9'))
447 uu
= ((d
- '0') << 4);
448 else if ((d
>= 'a') && (d
<= 'f'))
449 uu
= ((d
- ('a'-10)) << 4);
453 if ((d
>= '0') && (d
<= '9'))
455 else if ((d
>= 'a') && (d
<= 'f'))
456 uu
|= (d
- ('a'-10));
465 Pack 'void *' into a string buffer.
468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
470 if ((2*sizeof(void *) + 2) > bsz
) return 0;
472 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
473 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
478 SWIGRUNTIME
const char *
479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
481 if (strcmp(c
,"NULL") == 0) {
488 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
494 size_t lname
= (name
? strlen(name
) : 0);
495 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
497 r
= SWIG_PackData(r
,ptr
,sz
);
499 strncpy(r
,name
,lname
+1);
506 SWIGRUNTIME
const char *
507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
509 if (strcmp(c
,"NULL") == 0) {
516 return SWIG_UnpackData(++c
,ptr
,sz
);
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
536 # define SWIGINTERN static SWIGUNUSED
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
544 Exception handling in wrappers
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
570 /* Constant information structure */
571 typedef struct swig_const_info
{
577 swig_type_info
**ptype
;
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
593 /***********************************************************************
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
653 PyString_FromFormat(const char *fmt
, ...) {
655 char buf
[SWIG_BUFFER_SIZE
* 2];
658 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
660 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
680 /* Declarations for objects of type PySwigObject */
683 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
685 char result
[SWIG_BUFFER_SIZE
];
687 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
688 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
695 SWIGRUNTIME PyObject
*
696 PySwigObject_repr(PySwigObject
*v
)
698 char result
[SWIG_BUFFER_SIZE
];
699 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
700 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
703 SWIGRUNTIME PyObject
*
704 PySwigObject_str(PySwigObject
*v
)
706 char result
[SWIG_BUFFER_SIZE
];
707 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
708 PyString_FromString(result
) : 0;
711 SWIGRUNTIME PyObject
*
712 PySwigObject_long(PySwigObject
*v
)
714 return PyLong_FromVoidPtr(v
->ptr
);
717 SWIGRUNTIME PyObject
*
718 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
720 PyObject
*res
= NULL
;
721 PyObject
*args
= PyTuple_New(1);
722 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
723 PyObject
*ofmt
= PyString_FromString(fmt
);
725 res
= PyString_Format(ofmt
,args
);
733 SWIGRUNTIME PyObject
*
734 PySwigObject_oct(PySwigObject
*v
)
736 return PySwigObject_format("%o",v
);
739 SWIGRUNTIME PyObject
*
740 PySwigObject_hex(PySwigObject
*v
)
742 return PySwigObject_format("%x",v
);
746 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
748 int c
= strcmp(v
->desc
, w
->desc
);
750 return (c
> 0) ? 1 : -1;
754 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
759 PySwigObject_dealloc(PySwigObject
*self
)
764 SWIGRUNTIME PyTypeObject
*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__
[] =
767 "Swig object carries a C/C++ instance pointer";
769 static PyNumberMethods PySwigObject_as_number
= {
770 (binaryfunc
)0, /*nb_add*/
771 (binaryfunc
)0, /*nb_subtract*/
772 (binaryfunc
)0, /*nb_multiply*/
773 (binaryfunc
)0, /*nb_divide*/
774 (binaryfunc
)0, /*nb_remainder*/
775 (binaryfunc
)0, /*nb_divmod*/
776 (ternaryfunc
)0,/*nb_power*/
777 (unaryfunc
)0, /*nb_negative*/
778 (unaryfunc
)0, /*nb_positive*/
779 (unaryfunc
)0, /*nb_absolute*/
780 (inquiry
)0, /*nb_nonzero*/
787 (coercion
)0, /*nb_coerce*/
788 (unaryfunc
)PySwigObject_long
, /*nb_int*/
789 (unaryfunc
)PySwigObject_long
, /*nb_long*/
790 (unaryfunc
)0, /*nb_float*/
791 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
792 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
803 static int type_init
= 0;
808 PyObject_HEAD_INIT(&PyType_Type
)
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject
), /*tp_basicsize*/
814 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
815 (printfunc
)PySwigObject_print
, /*tp_print*/
816 (getattrfunc
)0, /*tp_getattr*/
817 (setattrfunc
)0, /*tp_setattr*/
818 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
819 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
820 &PySwigObject_as_number
, /*tp_as_number*/
821 0, /*tp_as_sequence*/
823 (hashfunc
)0, /*tp_hash*/
824 (ternaryfunc
)0, /*tp_call*/
825 (reprfunc
)PySwigObject_str
, /*tp_str*/
826 /* Space for future expansion */
828 pyswigobject_type__doc__
, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #if PY_VERSION_HEX >= 0x02030000
844 0,0,0,0 /* tp_alloc -> tp_next */
847 #if !defined(__cplusplus)
848 pyswigobject_type
= tmp
;
852 return &pyswigobject_type
;
855 SWIGRUNTIME PyObject
*
856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
858 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
863 return (PyObject
*)self
;
866 SWIGRUNTIMEINLINE
void *
867 PySwigObject_AsVoidPtr(PyObject
*self
)
869 return ((PySwigObject
*)self
)->ptr
;
872 SWIGRUNTIMEINLINE
const char *
873 PySwigObject_GetDesc(PyObject
*self
)
875 return ((PySwigObject
*)self
)->desc
;
878 SWIGRUNTIMEINLINE
int
879 PySwigObject_Check(PyObject
*op
) {
880 return ((op
)->ob_type
== PySwigObject_type())
881 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
896 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
898 char result
[SWIG_BUFFER_SIZE
];
900 fputs("<Swig Packed ", fp
);
901 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
910 SWIGRUNTIME PyObject
*
911 PySwigPacked_repr(PySwigPacked
*v
)
913 char result
[SWIG_BUFFER_SIZE
];
914 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
917 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
921 SWIGRUNTIME PyObject
*
922 PySwigPacked_str(PySwigPacked
*v
)
924 char result
[SWIG_BUFFER_SIZE
];
925 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
926 return PyString_FromFormat("%s%s", result
, v
->desc
);
928 return PyString_FromString(v
->desc
);
933 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
935 int c
= strcmp(v
->desc
, w
->desc
);
937 return (c
> 0) ? 1 : -1;
941 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
942 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
947 PySwigPacked_dealloc(PySwigPacked
*self
)
953 SWIGRUNTIME PyTypeObject
*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__
[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
960 static int type_init
= 0;
965 PyObject_HEAD_INIT(&PyType_Type
)
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked
), /*tp_basicsize*/
971 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
972 (printfunc
)PySwigPacked_print
, /*tp_print*/
973 (getattrfunc
)0, /*tp_getattr*/
974 (setattrfunc
)0, /*tp_setattr*/
975 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
976 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
978 0, /*tp_as_sequence*/
980 (hashfunc
)0, /*tp_hash*/
981 (ternaryfunc
)0, /*tp_call*/
982 (reprfunc
)PySwigPacked_str
, /*tp_str*/
983 /* Space for future expansion */
985 pyswigpacked_type__doc__
, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #if PY_VERSION_HEX >= 0x02030000
1001 0,0,0,0 /* tp_alloc -> tp_next */
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type
= tmp
;
1009 return &pyswigpacked_type
;
1012 SWIGRUNTIME PyObject
*
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1015 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1019 void *pack
= malloc(size
);
1021 memcpy(pack
, ptr
, size
);
1025 return (PyObject
*) self
;
1031 SWIGRUNTIMEINLINE
const char *
1032 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1034 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1035 if (self
->size
!= size
) return 0;
1036 memcpy(ptr
, self
->pack
, size
);
1040 SWIGRUNTIMEINLINE
const char *
1041 PySwigPacked_GetDesc(PyObject
*self
)
1043 return ((PySwigPacked
*)self
)->desc
;
1046 SWIGRUNTIMEINLINE
int
1047 PySwigPacked_Check(PyObject
*op
) {
1048 return ((op
)->ob_type
== PySwigPacked_type())
1049 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1071 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj
&& PySwigObject_Check(obj
)) {
1076 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1078 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1085 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1087 PyObject
*str
= PyObject_Str(obj
);
1088 const char *cstr
= str
? PyString_AsString(str
) : 0;
1090 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1093 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1100 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1102 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1106 SWIGRUNTIMEINLINE
void
1107 SWIG_Python_NullRef(const char *type
)
1110 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1112 PyErr_Format(PyExc_TypeError
, "null reference was received");
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1119 if (PyErr_Occurred()) {
1121 PyObject
*value
= 0;
1122 PyObject
*traceback
= 0;
1123 PyErr_Fetch(&type
, &value
, &traceback
);
1125 PyObject
*old_str
= PyObject_Str(value
);
1129 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1131 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1142 SWIG_Python_ArgFail(int argnum
)
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1147 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1148 return SWIG_Python_AddErrMesg(mesg
, 1);
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1159 /* Convert a pointer value */
1161 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1164 static PyObject
*SWIG_this
= 0;
1166 PyObject
*pyobj
= 0;
1170 if (obj
== Py_None
) {
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj
))) {
1178 SWIG_this
= PyString_FromString("this");
1180 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1182 if (!obj
) goto type_error
;
1183 if (!PySwigObject_Check(obj
)) {
1188 vptr
= PySwigObject_AsVoidPtr(obj
);
1189 c
= (const char *) PySwigObject_GetDesc(obj
);
1190 if (newref
) { Py_DECREF(obj
); }
1193 if (!(PyString_Check(obj
))) {
1195 SWIG_this
= PyString_FromString("this");
1197 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1199 if (!obj
) goto type_error
;
1200 if (!PyString_Check(obj
)) {
1205 c
= PyString_AsString(obj
);
1206 /* Pointer values must start with leading underscore */
1207 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1208 if (newref
) { Py_DECREF(obj
); }
1209 if (!c
) goto type_error
;
1214 tc
= SWIG_TypeCheck(c
,ty
);
1215 if (!tc
) goto type_error
;
1216 *ptr
= SWIG_TypeCast(tc
,vptr
);
1220 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1221 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1227 if (pyobj
&& !obj
) {
1229 if (PyCFunction_Check(obj
)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1232 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1234 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1235 if (!c
) goto type_error
;
1240 if (flags
& SWIG_POINTER_EXCEPTION
) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1244 SWIG_Python_TypeError("C/C++ pointer", obj
);
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1254 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1256 if (flags
& SWIG_POINTER_EXCEPTION
) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1258 SWIG_Python_ArgFail(argnum
);
1264 /* Convert a packed value value */
1266 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1273 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1274 c
= PyString_AsString(obj
);
1275 /* Pointer values must start with leading underscore */
1276 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1278 if (!c
) goto type_error
;
1280 tc
= SWIG_TypeCheck(c
,ty
);
1281 if (!tc
) goto type_error
;
1287 if (flags
& SWIG_POINTER_EXCEPTION
) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1291 SWIG_Python_TypeError("C/C++ packed data", obj
);
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject
*
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1315 char result
[SWIG_BUFFER_SIZE
];
1316 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1317 PyString_FromString(result
) : 0;
1320 if (!robj
|| (robj
== Py_None
)) return robj
;
1321 if (type
->clientdata
) {
1323 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1325 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1329 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1337 SWIGRUNTIME PyObject
*
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1348 char result
[SWIG_BUFFER_SIZE
];
1349 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1350 PyString_FromString(result
) : 0;
1356 /* -----------------------------------------------------------------------------*
1358 * -----------------------------------------------------------------------------*/
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1364 SWIGRUNTIME swig_module_info
*
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer
= (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer
) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1372 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1374 if (PyErr_Occurred()) {
1376 type_pointer
= (void *)0;
1380 return (swig_module_info
*) type_pointer
;
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1390 if (!PyModule_Check(m
)) {
1391 PyErr_SetString(PyExc_TypeError
,
1392 "PyModule_AddObject() needs module as first arg");
1396 PyErr_SetString(PyExc_TypeError
,
1397 "PyModule_AddObject() needs non-NULL value");
1401 dict
= PyModule_GetDict(m
);
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1405 PyModule_GetName(m
));
1408 if (PyDict_SetItemString(dict
, name
, o
))
1416 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1417 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1419 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1420 swig_empty_runtime_method_table
);
1421 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1422 if (pointer
&& module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1434 #define SWIGTYPE_p_char swig_types[0]
1435 #define SWIGTYPE_p_form_ops_t swig_types[1]
1436 #define SWIGTYPE_p_int swig_types[2]
1437 #define SWIGTYPE_p_unsigned_char swig_types[3]
1438 #define SWIGTYPE_p_unsigned_int swig_types[4]
1439 #define SWIGTYPE_p_unsigned_long swig_types[5]
1440 #define SWIGTYPE_p_wxANIHandler swig_types[6]
1441 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1442 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
1443 #define SWIGTYPE_p_wxArrayInt swig_types[9]
1444 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445 #define SWIGTYPE_p_wxBitmap swig_types[11]
1446 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1448 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1449 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1451 #define SWIGTYPE_p_wxColour swig_types[17]
1452 #define SWIGTYPE_p_wxColourData swig_types[18]
1453 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1454 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1455 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1456 #define SWIGTYPE_p_wxControl swig_types[22]
1457 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1458 #define SWIGTYPE_p_wxDC swig_types[24]
1459 #define SWIGTYPE_p_wxDateEvent swig_types[25]
1460 #define SWIGTYPE_p_wxDialog swig_types[26]
1461 #define SWIGTYPE_p_wxDirDialog swig_types[27]
1462 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1464 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
1465 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
1466 #define SWIGTYPE_p_wxEvent swig_types[32]
1467 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
1468 #define SWIGTYPE_p_wxFSFile swig_types[34]
1469 #define SWIGTYPE_p_wxFileDialog swig_types[35]
1470 #define SWIGTYPE_p_wxFileSystem swig_types[36]
1471 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1472 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1473 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1474 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1475 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
1476 #define SWIGTYPE_p_wxFont swig_types[42]
1477 #define SWIGTYPE_p_wxFontData swig_types[43]
1478 #define SWIGTYPE_p_wxFontDialog swig_types[44]
1479 #define SWIGTYPE_p_wxFrame swig_types[45]
1480 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1481 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
1482 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
1483 #define SWIGTYPE_p_wxGridSizer swig_types[49]
1484 #define SWIGTYPE_p_wxICOHandler swig_types[50]
1485 #define SWIGTYPE_p_wxIcon swig_types[51]
1486 #define SWIGTYPE_p_wxIconBundle swig_types[52]
1487 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1488 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
1489 #define SWIGTYPE_p_wxImage swig_types[55]
1490 #define SWIGTYPE_p_wxImageHandler swig_types[56]
1491 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
1492 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
1493 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
1494 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
1495 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
1496 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
1497 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
1498 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
1499 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
1500 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
1501 #define SWIGTYPE_p_wxMenu swig_types[67]
1502 #define SWIGTYPE_p_wxMenuBar swig_types[68]
1503 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
1504 #define SWIGTYPE_p_wxMenuItem swig_types[70]
1505 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
1506 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
1507 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
1508 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
1509 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
1510 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
1511 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
1512 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
1513 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
1514 #define SWIGTYPE_p_wxObject swig_types[80]
1515 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
1516 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
1517 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
1518 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
1519 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
1520 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
1521 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1522 #define SWIGTYPE_p_wxPanel swig_types[88]
1523 #define SWIGTYPE_p_wxPaperSize swig_types[89]
1524 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
1525 #define SWIGTYPE_p_wxPoint swig_types[91]
1526 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
1527 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
1528 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
1529 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
1530 #define SWIGTYPE_p_wxPrintData swig_types[96]
1531 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
1532 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
1533 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
1534 #define SWIGTYPE_p_wxPrinter swig_types[100]
1535 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
1536 #define SWIGTYPE_p_wxPyApp swig_types[102]
1537 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
1538 #define SWIGTYPE_p_wxPyEvent swig_types[104]
1539 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
1540 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
1541 #define SWIGTYPE_p_wxPyPanel swig_types[107]
1542 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
1543 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
1544 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
1545 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
1546 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
1547 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
1548 #define SWIGTYPE_p_wxPySizer swig_types[114]
1549 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
1550 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
1551 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
1552 #define SWIGTYPE_p_wxPyValidator swig_types[118]
1553 #define SWIGTYPE_p_wxPyWindow swig_types[119]
1554 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
1555 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
1556 #define SWIGTYPE_p_wxRect swig_types[122]
1557 #define SWIGTYPE_p_wxRegion swig_types[123]
1558 #define SWIGTYPE_p_wxSashEvent swig_types[124]
1559 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
1560 #define SWIGTYPE_p_wxSashWindow swig_types[126]
1561 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
1562 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
1563 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
1564 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
1565 #define SWIGTYPE_p_wxShowEvent swig_types[131]
1566 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
1567 #define SWIGTYPE_p_wxSize swig_types[133]
1568 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
1569 #define SWIGTYPE_p_wxSizer swig_types[135]
1570 #define SWIGTYPE_p_wxSizerItem swig_types[136]
1571 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
1572 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
1573 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
1574 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
1575 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
1576 #define SWIGTYPE_p_wxStatusBar swig_types[142]
1577 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
1578 #define SWIGTYPE_p_wxString swig_types[144]
1579 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
1580 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
1581 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
1582 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
1583 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
1584 #define SWIGTYPE_p_wxTipWindow swig_types[150]
1585 #define SWIGTYPE_p_wxToolBar swig_types[151]
1586 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
1587 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
1588 #define SWIGTYPE_p_wxValidator swig_types[154]
1589 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
1590 #define SWIGTYPE_p_wxWindow swig_types[156]
1591 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
1592 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
1593 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
1594 #define SWIGTYPE_ptrdiff_t swig_types[160]
1595 #define SWIGTYPE_std__ptrdiff_t swig_types[161]
1596 #define SWIGTYPE_unsigned_int swig_types[162]
1597 static swig_type_info
*swig_types
[164];
1598 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
1599 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1600 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1602 /* -------- TYPES TABLE (END) -------- */
1605 /*-----------------------------------------------
1606 @(target):= _windows_.so
1607 ------------------------------------------------*/
1608 #define SWIG_init init_windows_
1610 #define SWIG_name "_windows_"
1612 #include "wx/wxPython/wxPython.h"
1613 #include "wx/wxPython/pyclasses.h"
1616 static const wxString
wxPyEmptyString(wxEmptyString
);
1617 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1625 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1628 if (value
< min_value
) {
1630 PyErr_Format(PyExc_OverflowError
,
1631 "value %ld is less than '%s' minimum %ld",
1632 value
, errmsg
, min_value
);
1635 } else if (value
> max_value
) {
1637 PyErr_Format(PyExc_OverflowError
,
1638 "value %ld is greater than '%s' maximum %ld",
1639 value
, errmsg
, max_value
);
1648 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1650 if (PyNumber_Check(obj
)) {
1651 if (val
) *val
= PyInt_AsLong(obj
);
1655 SWIG_Python_TypeError("number", obj
);
1661 #if INT_MAX != LONG_MAX
1663 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1665 const char* errmsg
= val
? "int" : (char*)0;
1667 if (SWIG_AsVal_long(obj
, &v
)) {
1668 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1669 if (val
) *val
= static_cast<int >(v
);
1678 SWIG_type_error(errmsg
, obj
);
1683 SWIGINTERNINLINE
int
1684 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1686 return SWIG_AsVal_long(obj
,(long*)val
);
1691 SWIGINTERNINLINE
int
1692 SWIG_As_int(PyObject
* obj
)
1695 if (!SWIG_AsVal_int(obj
, &v
)) {
1697 this is needed to make valgrind/purify happier.
1699 memset((void*)&v
, 0, sizeof(int));
1705 SWIGINTERNINLINE
long
1706 SWIG_As_long(PyObject
* obj
)
1709 if (!SWIG_AsVal_long(obj
, &v
)) {
1711 this is needed to make valgrind/purify happier.
1713 memset((void*)&v
, 0, sizeof(long));
1719 SWIGINTERNINLINE
int
1720 SWIG_Check_int(PyObject
* obj
)
1722 return SWIG_AsVal_int(obj
, (int*)0);
1726 SWIGINTERNINLINE
int
1727 SWIG_Check_long(PyObject
* obj
)
1729 return SWIG_AsVal_long(obj
, (long*)0);
1734 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1736 if (obj
== Py_True
) {
1737 if (val
) *val
= true;
1740 if (obj
== Py_False
) {
1741 if (val
) *val
= false;
1745 if (SWIG_AsVal_int(obj
, &res
)) {
1746 if (val
) *val
= res
? true : false;
1752 SWIG_type_error("bool", obj
);
1758 SWIGINTERNINLINE
bool
1759 SWIG_As_bool(PyObject
* obj
)
1762 if (!SWIG_AsVal_bool(obj
, &v
)) {
1764 this is needed to make valgrind/purify happier.
1766 memset((void*)&v
, 0, sizeof(bool));
1772 SWIGINTERNINLINE
int
1773 SWIG_Check_bool(PyObject
* obj
)
1775 return SWIG_AsVal_bool(obj
, (bool*)0);
1779 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1780 #define SWIG_From_int PyInt_FromLong
1784 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1790 } else if (result
== Py_None
) {
1794 if (!PyTuple_Check(result
)) {
1796 result
= PyTuple_New(1);
1797 PyTuple_SET_ITEM(result
, 0, o2
);
1799 o3
= PyTuple_New(1);
1800 PyTuple_SetItem(o3
, 0, obj
);
1802 result
= PySequence_Concat(o2
, o3
);
1812 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1814 if (PyNumber_Check(obj
)) {
1815 if (val
) *val
= PyFloat_AsDouble(obj
);
1819 SWIG_Python_TypeError("number", obj
);
1825 SWIGINTERNINLINE
double
1826 SWIG_As_double(PyObject
* obj
)
1829 if (!SWIG_AsVal_double(obj
, &v
)) {
1831 this is needed to make valgrind/purify happier.
1833 memset((void*)&v
, 0, sizeof(double));
1839 SWIGINTERNINLINE
int
1840 SWIG_Check_double(PyObject
* obj
)
1842 return SWIG_AsVal_double(obj
, (double*)0);
1846 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1847 #define SWIG_From_double PyFloat_FromDouble
1850 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1851 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1852 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1853 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1855 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1856 #define SWIG_From_long PyInt_FromLong
1861 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1863 self
->GetFieldRect(i
, r
);
1866 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1867 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1868 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1870 #include <wx/popupwin.h>
1873 class wxPopupWindow
: public wxWindow
{
1875 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1876 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1879 class wxPyPopupTransientWindow
: public wxPopupWindow
1882 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1883 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1887 #include <wx/tipwin.h>
1889 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1890 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1893 #include <wx/tipwin.h>
1896 #include <wx/vscroll.h>
1899 class wxPyVScrolledWindow
: public wxVScrolledWindow
1901 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
1903 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1905 wxPyVScrolledWindow(wxWindow
*parent
,
1906 wxWindowID id
= wxID_ANY
,
1907 const wxPoint
& pos
= wxDefaultPosition
,
1908 const wxSize
& size
= wxDefaultSize
,
1910 const wxString
& name
= wxPyPanelNameStr
)
1911 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1914 // Overridable virtuals
1916 // this function must be overridden in the derived class and it should
1917 // return the height of the given line in pixels
1918 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1921 // this function doesn't have to be overridden but it may be useful to do
1922 // it if calculating the lines heights is a relatively expensive operation
1923 // as it gives the user code a possibility to calculate several of them at
1926 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1927 // shouldn't rely on the latter being called for all lines in the interval
1928 // specified here. It is also possible that OnGetLineHeight() will be
1929 // called for the lines outside of this interval, so this is really just a
1930 // hint, not a promise.
1932 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1934 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1937 // when the number of lines changes, we try to estimate the total height
1938 // of all lines which is a rather expensive operation in terms of lines
1939 // access, so if the user code may estimate the average height
1940 // better/faster than we do, it should override this function to implement
1943 // this function should return the best guess for the total height it may
1945 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1948 // Also expose some other interesting protected methods
1951 // find the index of the line we need to show at the top of the window such
1952 // that the last (fully or partially) visible line is the given one
1953 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1954 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1956 // get the total height of the lines between lineMin (inclusive) and
1957 // lineMax (exclusive)
1958 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1959 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1965 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1967 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1968 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1969 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1973 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1976 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1977 SWIG_Python_TypeError("unsigned number", obj
);
1980 *val
= (unsigned long)v
;
1985 SWIGINTERNINLINE
unsigned long
1986 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1989 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1991 this is needed to make valgrind/purify happier.
1993 memset((void*)&v
, 0, sizeof(unsigned long));
1999 SWIGINTERNINLINE
int
2000 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2002 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2006 SWIGINTERNINLINE PyObject
*
2007 SWIG_From_unsigned_SS_long(unsigned long value
)
2009 return (value
> LONG_MAX
) ?
2010 PyLong_FromUnsignedLong(value
)
2011 : PyInt_FromLong(static_cast<long >(value
));
2015 #include <wx/vlbox.h>
2017 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2019 class wxPyVListBox
: public wxVListBox
2021 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2023 wxPyVListBox() : wxVListBox() {}
2025 wxPyVListBox(wxWindow
*parent
,
2026 wxWindowID id
= wxID_ANY
,
2027 const wxPoint
& pos
= wxDefaultPosition
,
2028 const wxSize
& size
= wxDefaultSize
,
2030 const wxString
& name
= wxPyVListBoxNameStr
)
2031 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2034 // Overridable virtuals
2036 // the derived class must implement this function to actually draw the item
2037 // with the given index on the provided DC
2038 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2039 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2042 // the derived class must implement this method to return the height of the
2044 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2045 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
2048 // this method may be used to draw separators between the lines; note that
2049 // the rectangle may be modified, typically to deflate it a bit before
2050 // passing to OnDrawItem()
2052 // the base class version doesn't do anything
2053 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2054 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
2057 // this method is used to draw the items background and, maybe, a border
2060 // the base class version implements a reasonable default behaviour which
2061 // consists in drawing the selected item with the standard background
2062 // colour and drawing a border around the item if it is either selected or
2064 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2065 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
2071 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
2073 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
2074 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
2075 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
2076 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
2079 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
2080 unsigned long cookie
= 0;
2081 int selected
= self
->GetFirstSelected(cookie
);
2082 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2083 PyObject
* tup
= PyTuple_New(2);
2084 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2085 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2086 wxPyEndBlockThreads(blocked
);
2089 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
2090 int selected
= self
->GetNextSelected(cookie
);
2091 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2092 PyObject
* tup
= PyTuple_New(2);
2093 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2094 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2095 wxPyEndBlockThreads(blocked
);
2099 #include <wx/htmllbox.h>
2102 class wxPyHtmlListBox
: public wxHtmlListBox
2104 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
2106 wxPyHtmlListBox() : wxHtmlListBox() {}
2108 wxPyHtmlListBox(wxWindow
*parent
,
2109 wxWindowID id
= wxID_ANY
,
2110 const wxPoint
& pos
= wxDefaultPosition
,
2111 const wxSize
& size
= wxDefaultSize
,
2113 const wxString
& name
= wxPyVListBoxNameStr
)
2114 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
2117 // Overridable virtuals
2119 // this method must be implemented in the derived class and should return
2120 // the body (i.e. without <html>) of the HTML for the given item
2121 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
2123 // this function may be overridden to decorate HTML returned by OnGetItem()
2124 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
2127 // // this method allows to customize the selection appearance: it may be used
2128 // // to specify the colour of the text which normally has the given colour
2129 // // colFg when it is inside the selection
2131 // // by default, the original colour is not used at all and all text has the
2132 // // same (default for this system) colour inside selection
2133 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2135 // // this is the same as GetSelectedTextColour() but allows to customize the
2136 // // background colour -- this is even more rarely used as you can change it
2137 // // globally using SetSelectionBackground()
2138 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2145 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
2147 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
2148 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2154 #ifndef wxHAS_TASK_BAR_ICON
2155 // implement dummy classes for platforms that don't have it
2157 class wxTaskBarIcon
: public wxEvtHandler
2160 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2164 class wxTaskBarIconEvent
: public wxEvent
2167 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2168 { wxPyRaiseNotImplemented(); }
2169 virtual wxEvent
* Clone() const { return NULL
; }
2170 bool IsOk() const { return false; }
2171 bool IsIconInstalled() const { return false; }
2172 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2173 bool RemoveIcon() { return false; }
2174 bool PopupMenu(wxMenu
*menu
) { return false; }
2178 wxEVT_TASKBAR_MOVE
= 0,
2179 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2180 wxEVT_TASKBAR_LEFT_UP
= 0,
2181 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2182 wxEVT_TASKBAR_RIGHT_UP
= 0,
2183 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2184 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2189 // Otherwise make a class that can virtualize CreatePopupMenu
2190 class wxPyTaskBarIcon
: public wxTaskBarIcon
2192 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
2194 wxPyTaskBarIcon() : wxTaskBarIcon()
2197 wxMenu
* CreatePopupMenu() {
2198 wxMenu
*rval
= NULL
;
2200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2201 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2204 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2206 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2211 wxPyEndBlockThreads(blocked
);
2213 rval
= wxTaskBarIcon::CreatePopupMenu();
2220 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2224 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2228 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2229 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2230 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2231 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2232 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2233 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2234 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2236 self
->GetFilenames(arr
);
2237 return wxArrayString2PyList_helper(arr
);
2239 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2241 self
->GetPaths(arr
);
2242 return wxArrayString2PyList_helper(arr
);
2244 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2245 return wxArrayInt2PyList_helper(self
->GetSelections());
2247 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
){
2248 return new wxSingleChoiceDialog(parent
, message
, caption
,
2249 choices
, choices_array
, NULL
, style
, pos
);
2251 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2255 // C++ version of Python aware wxWindow
2256 class wxPyWindow
: public wxWindow
2258 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2260 wxPyWindow() : wxWindow() {}
2261 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2262 const wxPoint
& pos
= wxDefaultPosition
,
2263 const wxSize
& size
= wxDefaultSize
,
2265 const wxString
& name
= wxPyPanelNameStr
)
2266 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2268 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2270 bool DoEraseBackground(wxDC
* dc
) {
2272 return wxWindow::DoEraseBackground(dc
->GetHDC());
2274 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2280 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2281 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2282 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2283 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2289 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2290 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2292 DEC_PYCALLBACK__(InitDialog
);
2293 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2294 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2295 DEC_PYCALLBACK_BOOL_(Validate
);
2297 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2298 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2299 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2301 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2302 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2304 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2305 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2307 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2309 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2314 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2316 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2317 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2318 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2319 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2323 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2325 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2326 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2328 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2329 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2330 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2331 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2333 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2334 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2335 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2337 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2338 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2340 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2341 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2343 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2345 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
2347 // C++ version of Python aware wxPanel
2348 class wxPyPanel
: public wxPanel
2350 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2352 wxPyPanel() : wxPanel() {}
2353 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2354 const wxPoint
& pos
= wxDefaultPosition
,
2355 const wxSize
& size
= wxDefaultSize
,
2357 const wxString
& name
= wxPyPanelNameStr
)
2358 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2360 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2361 bool DoEraseBackground(wxDC
* dc
) {
2363 return wxWindow::DoEraseBackground(dc
->GetHDC());
2365 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2372 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2373 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2374 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2375 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2378 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2379 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2381 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2382 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2384 DEC_PYCALLBACK__(InitDialog
);
2385 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2386 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2387 DEC_PYCALLBACK_BOOL_(Validate
);
2389 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2390 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2391 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2393 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2394 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2396 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2397 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2399 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2401 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2406 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2408 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2409 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2410 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2411 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2413 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2414 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2415 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2417 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2418 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2420 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2421 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2422 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2423 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2425 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2426 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2427 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2429 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2430 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2432 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2433 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2435 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2437 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
2439 // C++ version of Python aware wxScrolledWindow
2440 class wxPyScrolledWindow
: public wxScrolledWindow
2442 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2444 wxPyScrolledWindow() : wxScrolledWindow() {}
2445 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2446 const wxPoint
& pos
= wxDefaultPosition
,
2447 const wxSize
& size
= wxDefaultSize
,
2449 const wxString
& name
= wxPyPanelNameStr
)
2450 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2452 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2453 bool DoEraseBackground(wxDC
* dc
) {
2455 return wxWindow::DoEraseBackground(dc
->GetHDC());
2457 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2463 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2464 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2465 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2466 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2469 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2470 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2472 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2473 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2475 DEC_PYCALLBACK__(InitDialog
);
2476 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2477 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2478 DEC_PYCALLBACK_BOOL_(Validate
);
2480 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2481 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2482 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2484 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2485 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2487 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2488 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2490 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2492 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2497 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2499 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2500 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2501 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2502 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2504 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2505 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2506 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2508 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2509 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2511 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2512 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2513 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2514 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2516 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2517 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2520 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2521 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2524 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2526 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2528 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
2531 #include "wx/wxPython/printfw.h"
2534 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2535 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2536 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2538 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2539 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2540 self
->GetPrivDataLen());
2541 wxPyEndBlockThreads(blocked
);
2544 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2545 if (! PyString_Check(data
)) {
2546 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2547 "Expected string object"));
2551 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2552 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2553 wxPyEndBlockThreads(blocked
);
2557 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2559 // Since this one would be tough and ugly to do with the Macros...
2560 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2561 bool hadErr
= false;
2564 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2565 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2566 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2567 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2570 val
= PyTuple_GetItem(result
, 0);
2571 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2574 val
= PyTuple_GetItem(result
, 1);
2575 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2578 val
= PyTuple_GetItem(result
, 2);
2579 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2582 val
= PyTuple_GetItem(result
, 3);
2583 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2590 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2595 wxPyEndBlockThreads(blocked
);
2597 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2602 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2603 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2604 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2605 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2606 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2607 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2608 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2614 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2615 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
2618 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2619 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2622 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2623 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2624 PyObject* win = wxPyMake_wxObject(a,false); \
2625 PyObject* dc = wxPyMake_wxObject(&b,false); \
2626 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2630 wxPyEndBlockThreads(blocked); \
2632 rval = PCLASS::CBNAME(a, b); \
2639 class wxPyPrintPreview
: public wxPrintPreview
2641 DECLARE_CLASS(wxPyPrintPreview
)
2643 wxPyPrintPreview(wxPyPrintout
* printout
,
2644 wxPyPrintout
* printoutForPrinting
,
2645 wxPrintDialogData
* data
=NULL
)
2646 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2648 wxPyPrintPreview(wxPyPrintout
* printout
,
2649 wxPyPrintout
* printoutForPrinting
,
2651 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2654 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2655 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2656 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2657 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2658 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2659 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2660 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2665 // Stupid renamed classes... Fix this in 2.5...
2666 #if defined(__WXMSW__)
2667 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2668 #elif defined(__WXMAC__)
2669 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2671 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2674 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2675 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2676 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2677 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2678 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2679 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2680 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2683 class wxPyPreviewFrame
: public wxPreviewFrame
2685 DECLARE_CLASS(wxPyPreviewFrame
)
2687 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2688 const wxString
& title
,
2689 const wxPoint
& pos
= wxDefaultPosition
,
2690 const wxSize
& size
= wxDefaultSize
,
2691 long style
= wxDEFAULT_FRAME_STYLE
,
2692 const wxString
& name
= wxPyFrameNameStr
)
2693 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2696 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2697 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2699 DEC_PYCALLBACK_VOID_(Initialize
);
2700 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2701 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2706 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2708 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2709 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2710 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2713 class wxPyPreviewControlBar
: public wxPreviewControlBar
2715 DECLARE_CLASS(wxPyPreviewControlBar
)
2717 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2720 const wxPoint
& pos
= wxDefaultPosition
,
2721 const wxSize
& size
= wxDefaultSize
,
2723 const wxString
& name
= wxPyPanelNameStr
)
2724 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2727 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2729 DEC_PYCALLBACK_VOID_(CreateButtons
);
2730 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2735 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2736 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2737 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2742 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
*resultobj
= NULL
;
2744 wxWindow
*arg1
= (wxWindow
*) 0 ;
2745 int arg2
= (int) (int)-1 ;
2746 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2747 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2748 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2749 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2750 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2751 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2752 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2756 bool temp6
= false ;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2759 PyObject
* obj2
= 0 ;
2760 PyObject
* obj3
= 0 ;
2761 PyObject
* obj4
= 0 ;
2762 PyObject
* obj5
= 0 ;
2764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2769 if (SWIG_arg_fail(1)) SWIG_fail
;
2772 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
2773 if (SWIG_arg_fail(2)) SWIG_fail
;
2779 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2785 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2790 arg5
= static_cast<long >(SWIG_As_long(obj4
));
2791 if (SWIG_arg_fail(5)) SWIG_fail
;
2796 arg6
= wxString_in_helper(obj5
);
2797 if (arg6
== NULL
) SWIG_fail
;
2802 if (!wxPyCheckForApp()) SWIG_fail
;
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2824 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
= NULL
;
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2833 if (!wxPyCheckForApp()) SWIG_fail
;
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 result
= (wxPanel
*)new wxPanel();
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2847 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
*resultobj
= NULL
;
2849 wxPanel
*arg1
= (wxPanel
*) 0 ;
2850 wxWindow
*arg2
= (wxWindow
*) 0 ;
2851 int arg3
= (int) (int)-1 ;
2852 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2853 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2854 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2855 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2856 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2857 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2858 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2862 bool temp7
= false ;
2863 PyObject
* obj0
= 0 ;
2864 PyObject
* obj1
= 0 ;
2865 PyObject
* obj2
= 0 ;
2866 PyObject
* obj3
= 0 ;
2867 PyObject
* obj4
= 0 ;
2868 PyObject
* obj5
= 0 ;
2869 PyObject
* obj6
= 0 ;
2871 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2876 if (SWIG_arg_fail(1)) SWIG_fail
;
2877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2878 if (SWIG_arg_fail(2)) SWIG_fail
;
2881 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
2882 if (SWIG_arg_fail(3)) SWIG_fail
;
2888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2899 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2900 if (SWIG_arg_fail(6)) SWIG_fail
;
2905 arg7
= wxString_in_helper(obj6
);
2906 if (arg7
== NULL
) SWIG_fail
;
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2934 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
= NULL
;
2936 wxPanel
*arg1
= (wxPanel
*) 0 ;
2937 PyObject
* obj0
= 0 ;
2939 (char *) "self", NULL
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2944 if (SWIG_arg_fail(1)) SWIG_fail
;
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 (arg1
)->InitDialog();
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) SWIG_fail
;
2952 Py_INCREF(Py_None
); resultobj
= Py_None
;
2959 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
= NULL
;
2961 wxPanel
*arg1
= (wxPanel
*) 0 ;
2962 PyObject
* obj0
= 0 ;
2964 (char *) "self", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2969 if (SWIG_arg_fail(1)) SWIG_fail
;
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2977 Py_INCREF(Py_None
); resultobj
= Py_None
;
2984 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
*resultobj
= NULL
;
2986 wxPanel
*arg1
= (wxPanel
*) 0 ;
2987 PyObject
* obj0
= 0 ;
2989 (char *) "self", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2994 if (SWIG_arg_fail(1)) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 (arg1
)->SetFocusIgnoringChildren();
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3002 Py_INCREF(Py_None
); resultobj
= Py_None
;
3009 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
*resultobj
= NULL
;
3011 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3012 wxVisualAttributes result
;
3013 PyObject
* obj0
= 0 ;
3015 (char *) "variant", NULL
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3021 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3022 if (SWIG_arg_fail(1)) SWIG_fail
;
3026 if (!wxPyCheckForApp()) SWIG_fail
;
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3034 wxVisualAttributes
* resultptr
;
3035 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3044 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
3046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3047 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
3049 return Py_BuildValue((char *)"");
3051 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
= NULL
;
3053 wxWindow
*arg1
= (wxWindow
*) 0 ;
3054 int arg2
= (int) (int)-1 ;
3055 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3056 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3057 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3058 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3059 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3060 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3061 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3062 wxScrolledWindow
*result
;
3065 bool temp6
= false ;
3066 PyObject
* obj0
= 0 ;
3067 PyObject
* obj1
= 0 ;
3068 PyObject
* obj2
= 0 ;
3069 PyObject
* obj3
= 0 ;
3070 PyObject
* obj4
= 0 ;
3071 PyObject
* obj5
= 0 ;
3073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3078 if (SWIG_arg_fail(1)) SWIG_fail
;
3081 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
3082 if (SWIG_arg_fail(2)) SWIG_fail
;
3088 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3094 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3099 arg5
= static_cast<long >(SWIG_As_long(obj4
));
3100 if (SWIG_arg_fail(5)) SWIG_fail
;
3105 arg6
= wxString_in_helper(obj5
);
3106 if (arg6
== NULL
) SWIG_fail
;
3111 if (!wxPyCheckForApp()) SWIG_fail
;
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3133 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
*resultobj
= NULL
;
3135 wxScrolledWindow
*result
;
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
3142 if (!wxPyCheckForApp()) SWIG_fail
;
3143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3144 result
= (wxScrolledWindow
*)new wxScrolledWindow();
3146 wxPyEndAllowThreads(__tstate
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3156 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
*resultobj
= NULL
;
3158 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3159 wxWindow
*arg2
= (wxWindow
*) 0 ;
3160 int arg3
= (int) (int)-1 ;
3161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3165 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3166 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3167 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3171 bool temp7
= false ;
3172 PyObject
* obj0
= 0 ;
3173 PyObject
* obj1
= 0 ;
3174 PyObject
* obj2
= 0 ;
3175 PyObject
* obj3
= 0 ;
3176 PyObject
* obj4
= 0 ;
3177 PyObject
* obj5
= 0 ;
3178 PyObject
* obj6
= 0 ;
3180 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3185 if (SWIG_arg_fail(1)) SWIG_fail
;
3186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3187 if (SWIG_arg_fail(2)) SWIG_fail
;
3190 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
3191 if (SWIG_arg_fail(3)) SWIG_fail
;
3197 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3203 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3208 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3209 if (SWIG_arg_fail(6)) SWIG_fail
;
3214 arg7
= wxString_in_helper(obj6
);
3215 if (arg7
== NULL
) SWIG_fail
;
3220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3223 wxPyEndAllowThreads(__tstate
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3243 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
= NULL
;
3245 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3250 int arg6
= (int) 0 ;
3251 int arg7
= (int) 0 ;
3252 bool arg8
= (bool) false ;
3253 PyObject
* obj0
= 0 ;
3254 PyObject
* obj1
= 0 ;
3255 PyObject
* obj2
= 0 ;
3256 PyObject
* obj3
= 0 ;
3257 PyObject
* obj4
= 0 ;
3258 PyObject
* obj5
= 0 ;
3259 PyObject
* obj6
= 0 ;
3260 PyObject
* obj7
= 0 ;
3262 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3267 if (SWIG_arg_fail(1)) SWIG_fail
;
3269 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3270 if (SWIG_arg_fail(2)) SWIG_fail
;
3273 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3274 if (SWIG_arg_fail(3)) SWIG_fail
;
3277 arg4
= static_cast<int >(SWIG_As_int(obj3
));
3278 if (SWIG_arg_fail(4)) SWIG_fail
;
3281 arg5
= static_cast<int >(SWIG_As_int(obj4
));
3282 if (SWIG_arg_fail(5)) SWIG_fail
;
3286 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3287 if (SWIG_arg_fail(6)) SWIG_fail
;
3292 arg7
= static_cast<int >(SWIG_As_int(obj6
));
3293 if (SWIG_arg_fail(7)) SWIG_fail
;
3298 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
3299 if (SWIG_arg_fail(8)) SWIG_fail
;
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3309 Py_INCREF(Py_None
); resultobj
= Py_None
;
3316 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
= NULL
;
3318 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3323 PyObject
* obj2
= 0 ;
3325 (char *) "self",(char *) "x",(char *) "y", NULL
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3330 if (SWIG_arg_fail(1)) SWIG_fail
;
3332 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3333 if (SWIG_arg_fail(2)) SWIG_fail
;
3336 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3337 if (SWIG_arg_fail(3)) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 (arg1
)->Scroll(arg2
,arg3
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 Py_INCREF(Py_None
); resultobj
= Py_None
;
3353 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
= NULL
;
3355 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3358 PyObject
* obj0
= 0 ;
3359 PyObject
* obj1
= 0 ;
3361 (char *) "self",(char *) "orient", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3366 if (SWIG_arg_fail(1)) SWIG_fail
;
3368 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3369 if (SWIG_arg_fail(2)) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3379 resultobj
= SWIG_From_int(static_cast<int >(result
));
3387 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
*resultobj
= NULL
;
3389 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3392 PyObject
* obj0
= 0 ;
3393 PyObject
* obj1
= 0 ;
3394 PyObject
* obj2
= 0 ;
3396 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3401 if (SWIG_arg_fail(1)) SWIG_fail
;
3403 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3404 if (SWIG_arg_fail(2)) SWIG_fail
;
3407 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3408 if (SWIG_arg_fail(3)) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 Py_INCREF(Py_None
); resultobj
= Py_None
;
3424 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
= NULL
;
3426 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3431 PyObject
* obj2
= 0 ;
3433 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3438 if (SWIG_arg_fail(1)) SWIG_fail
;
3440 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3441 if (SWIG_arg_fail(2)) SWIG_fail
;
3444 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3445 if (SWIG_arg_fail(3)) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 (arg1
)->SetScrollRate(arg2
,arg3
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 Py_INCREF(Py_None
); resultobj
= Py_None
;
3461 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
= NULL
;
3463 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3464 int *arg2
= (int *) 0 ;
3465 int *arg3
= (int *) 0 ;
3470 PyObject
* obj0
= 0 ;
3472 (char *) "self", NULL
3475 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3476 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3479 if (SWIG_arg_fail(1)) SWIG_fail
;
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3487 Py_INCREF(Py_None
); resultobj
= Py_None
;
3488 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3489 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3490 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3491 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3498 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
= NULL
;
3500 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3505 PyObject
* obj2
= 0 ;
3507 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3512 if (SWIG_arg_fail(1)) SWIG_fail
;
3514 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3515 if (SWIG_arg_fail(2)) SWIG_fail
;
3518 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
3519 if (SWIG_arg_fail(3)) SWIG_fail
;
3522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 (arg1
)->EnableScrolling(arg2
,arg3
);
3525 wxPyEndAllowThreads(__tstate
);
3526 if (PyErr_Occurred()) SWIG_fail
;
3528 Py_INCREF(Py_None
); resultobj
= Py_None
;
3535 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3536 PyObject
*resultobj
= NULL
;
3537 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3538 int *arg2
= (int *) 0 ;
3539 int *arg3
= (int *) 0 ;
3544 PyObject
* obj0
= 0 ;
3546 (char *) "self", NULL
3549 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3550 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3553 if (SWIG_arg_fail(1)) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3561 Py_INCREF(Py_None
); resultobj
= Py_None
;
3562 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3563 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3564 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3565 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3572 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
= NULL
;
3574 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3577 PyObject
* obj0
= 0 ;
3578 PyObject
* obj1
= 0 ;
3579 PyObject
* obj2
= 0 ;
3581 (char *) "self",(char *) "xs",(char *) "ys", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3586 if (SWIG_arg_fail(1)) SWIG_fail
;
3588 arg2
= static_cast<double >(SWIG_As_double(obj1
));
3589 if (SWIG_arg_fail(2)) SWIG_fail
;
3592 arg3
= static_cast<double >(SWIG_As_double(obj2
));
3593 if (SWIG_arg_fail(3)) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 (arg1
)->SetScale(arg2
,arg3
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3602 Py_INCREF(Py_None
); resultobj
= Py_None
;
3609 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
*resultobj
= NULL
;
3611 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3613 PyObject
* obj0
= 0 ;
3615 (char *) "self", NULL
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3620 if (SWIG_arg_fail(1)) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 resultobj
= SWIG_From_double(static_cast<double >(result
));
3637 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
= NULL
;
3639 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3641 PyObject
* obj0
= 0 ;
3643 (char *) "self", NULL
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3648 if (SWIG_arg_fail(1)) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3657 resultobj
= SWIG_From_double(static_cast<double >(result
));
3665 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3666 PyObject
*resultobj
= NULL
;
3667 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3671 PyObject
* obj0
= 0 ;
3672 PyObject
* obj1
= 0 ;
3674 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3676 if (SWIG_arg_fail(1)) SWIG_fail
;
3679 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3689 wxPoint
* resultptr
;
3690 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3699 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3700 PyObject
*resultobj
= NULL
;
3701 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3704 int *arg4
= (int *) 0 ;
3705 int *arg5
= (int *) 0 ;
3710 PyObject
* obj0
= 0 ;
3711 PyObject
* obj1
= 0 ;
3712 PyObject
* obj2
= 0 ;
3714 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3715 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3716 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3718 if (SWIG_arg_fail(1)) SWIG_fail
;
3720 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3721 if (SWIG_arg_fail(2)) SWIG_fail
;
3724 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3725 if (SWIG_arg_fail(3)) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 Py_INCREF(Py_None
); resultobj
= Py_None
;
3735 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3736 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3737 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3738 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3745 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3750 argc
= PyObject_Length(args
);
3751 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3752 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3758 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3767 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3770 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3778 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3786 _v
= SWIG_Check_int(argv
[1]);
3788 _v
= SWIG_Check_int(argv
[2]);
3790 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3796 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3801 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3802 PyObject
*resultobj
= NULL
;
3803 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3807 PyObject
* obj0
= 0 ;
3808 PyObject
* obj1
= 0 ;
3810 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3812 if (SWIG_arg_fail(1)) SWIG_fail
;
3815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3825 wxPoint
* resultptr
;
3826 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3835 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3836 PyObject
*resultobj
= NULL
;
3837 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3840 int *arg4
= (int *) 0 ;
3841 int *arg5
= (int *) 0 ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3848 PyObject
* obj2
= 0 ;
3850 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3851 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3852 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail
;
3856 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3857 if (SWIG_arg_fail(2)) SWIG_fail
;
3860 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3861 if (SWIG_arg_fail(3)) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 Py_INCREF(Py_None
); resultobj
= Py_None
;
3871 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3872 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3873 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3874 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3881 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3886 argc
= PyObject_Length(args
);
3887 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3888 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3894 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3903 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3906 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3914 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3922 _v
= SWIG_Check_int(argv
[1]);
3924 _v
= SWIG_Check_int(argv
[2]);
3926 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3932 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3937 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
= NULL
;
3939 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3940 PyObject
* obj0
= 0 ;
3942 (char *) "self", NULL
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3947 if (SWIG_arg_fail(1)) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 (arg1
)->AdjustScrollbars();
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3955 Py_INCREF(Py_None
); resultobj
= Py_None
;
3962 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
= NULL
;
3964 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3965 wxScrollWinEvent
*arg2
= 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 (char *) "self",(char *) "event", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3975 if (SWIG_arg_fail(1)) SWIG_fail
;
3977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3978 if (SWIG_arg_fail(2)) SWIG_fail
;
3980 SWIG_null_ref("wxScrollWinEvent");
3982 if (SWIG_arg_fail(2)) SWIG_fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= SWIG_From_int(static_cast<int >(result
));
4000 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
= NULL
;
4002 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4003 wxWindow
*arg2
= (wxWindow
*) 0 ;
4004 PyObject
* obj0
= 0 ;
4005 PyObject
* obj1
= 0 ;
4007 (char *) "self",(char *) "target", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
4011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4012 if (SWIG_arg_fail(1)) SWIG_fail
;
4013 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4014 if (SWIG_arg_fail(2)) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 (arg1
)->SetTargetWindow(arg2
);
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 Py_INCREF(Py_None
); resultobj
= Py_None
;
4029 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
= NULL
;
4031 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4033 PyObject
* obj0
= 0 ;
4035 (char *) "self", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
4039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4040 if (SWIG_arg_fail(1)) SWIG_fail
;
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= wxPyMake_wxObject(result
, 0);
4057 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
= NULL
;
4059 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4062 PyObject
* obj0
= 0 ;
4063 PyObject
* obj1
= 0 ;
4065 (char *) "self",(char *) "rect", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4070 if (SWIG_arg_fail(1)) SWIG_fail
;
4073 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 Py_INCREF(Py_None
); resultobj
= Py_None
;
4089 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
= NULL
;
4091 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4093 PyObject
* obj0
= 0 ;
4095 (char *) "self", NULL
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
4099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4100 if (SWIG_arg_fail(1)) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4110 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
4111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4119 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
= NULL
;
4121 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4123 PyObject
* obj0
= 0 ;
4124 PyObject
* obj1
= 0 ;
4126 (char *) "self",(char *) "dc", NULL
4129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
4130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4131 if (SWIG_arg_fail(1)) SWIG_fail
;
4133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4134 if (SWIG_arg_fail(2)) SWIG_fail
;
4136 SWIG_null_ref("wxDC");
4138 if (SWIG_arg_fail(2)) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 (arg1
)->DoPrepareDC(*arg2
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 Py_INCREF(Py_None
); resultobj
= Py_None
;
4154 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
= NULL
;
4156 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4157 wxVisualAttributes result
;
4158 PyObject
* obj0
= 0 ;
4160 (char *) "variant", NULL
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4166 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4167 if (SWIG_arg_fail(1)) SWIG_fail
;
4171 if (!wxPyCheckForApp()) SWIG_fail
;
4172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4173 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4179 wxVisualAttributes
* resultptr
;
4180 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4189 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4192 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4194 return Py_BuildValue((char *)"");
4196 static int _wrap_FrameNameStr_set(PyObject
*) {
4197 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4202 static PyObject
*_wrap_FrameNameStr_get(void) {
4203 PyObject
*pyobj
= NULL
;
4207 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4209 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4216 static int _wrap_DialogNameStr_set(PyObject
*) {
4217 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4222 static PyObject
*_wrap_DialogNameStr_get(void) {
4223 PyObject
*pyobj
= NULL
;
4227 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4229 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4236 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4237 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4242 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4243 PyObject
*pyobj
= NULL
;
4247 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4249 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4256 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4257 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4262 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4263 PyObject
*pyobj
= NULL
;
4267 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4269 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4276 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
= NULL
;
4278 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4279 bool arg2
= (bool) true ;
4280 PyObject
* obj0
= 0 ;
4281 PyObject
* obj1
= 0 ;
4283 (char *) "self",(char *) "maximize", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4288 if (SWIG_arg_fail(1)) SWIG_fail
;
4291 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4292 if (SWIG_arg_fail(2)) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 (arg1
)->Maximize(arg2
);
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 Py_INCREF(Py_None
); resultobj
= Py_None
;
4309 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
= NULL
;
4311 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4314 (char *) "self", NULL
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4319 if (SWIG_arg_fail(1)) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 Py_INCREF(Py_None
); resultobj
= Py_None
;
4334 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
= NULL
;
4336 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4337 bool arg2
= (bool) true ;
4338 PyObject
* obj0
= 0 ;
4339 PyObject
* obj1
= 0 ;
4341 (char *) "self",(char *) "iconize", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4346 if (SWIG_arg_fail(1)) SWIG_fail
;
4349 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4350 if (SWIG_arg_fail(2)) SWIG_fail
;
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 (arg1
)->Iconize(arg2
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 Py_INCREF(Py_None
); resultobj
= Py_None
;
4367 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
= NULL
;
4369 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4371 PyObject
* obj0
= 0 ;
4373 (char *) "self", NULL
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4378 if (SWIG_arg_fail(1)) SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4395 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
= NULL
;
4397 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4401 (char *) "self", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4406 if (SWIG_arg_fail(1)) SWIG_fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4423 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
= NULL
;
4425 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4427 PyObject
* obj0
= 0 ;
4429 (char *) "self", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4434 if (SWIG_arg_fail(1)) SWIG_fail
;
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4444 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
4445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4453 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
= NULL
;
4455 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4460 (char *) "self",(char *) "icon", NULL
4463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4465 if (SWIG_arg_fail(1)) SWIG_fail
;
4467 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4468 if (SWIG_arg_fail(2)) SWIG_fail
;
4470 SWIG_null_ref("wxIcon");
4472 if (SWIG_arg_fail(2)) SWIG_fail
;
4475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4476 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 Py_INCREF(Py_None
); resultobj
= Py_None
;
4488 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
= NULL
;
4490 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4491 wxIconBundle
*arg2
= 0 ;
4492 PyObject
* obj0
= 0 ;
4493 PyObject
* obj1
= 0 ;
4495 (char *) "self",(char *) "icons", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4500 if (SWIG_arg_fail(1)) SWIG_fail
;
4502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4503 if (SWIG_arg_fail(2)) SWIG_fail
;
4505 SWIG_null_ref("wxIconBundle");
4507 if (SWIG_arg_fail(2)) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4516 Py_INCREF(Py_None
); resultobj
= Py_None
;
4523 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
= NULL
;
4525 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4527 long arg3
= (long) wxFULLSCREEN_ALL
;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4531 PyObject
* obj2
= 0 ;
4533 (char *) "self",(char *) "show",(char *) "style", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4538 if (SWIG_arg_fail(1)) SWIG_fail
;
4540 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4541 if (SWIG_arg_fail(2)) SWIG_fail
;
4545 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4546 if (SWIG_arg_fail(3)) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4565 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
= NULL
;
4567 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4571 (char *) "self", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4576 if (SWIG_arg_fail(1)) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4593 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
= NULL
;
4595 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4596 wxString
*arg2
= 0 ;
4597 bool temp2
= false ;
4598 PyObject
* obj0
= 0 ;
4599 PyObject
* obj1
= 0 ;
4601 (char *) "self",(char *) "title", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4606 if (SWIG_arg_fail(1)) SWIG_fail
;
4608 arg2
= wxString_in_helper(obj1
);
4609 if (arg2
== NULL
) SWIG_fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 (arg1
)->SetTitle((wxString
const &)*arg2
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 Py_INCREF(Py_None
); resultobj
= Py_None
;
4634 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
= NULL
;
4636 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4638 PyObject
* obj0
= 0 ;
4640 (char *) "self", NULL
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4645 if (SWIG_arg_fail(1)) SWIG_fail
;
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4666 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
= NULL
;
4668 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4669 wxRegion
*arg2
= 0 ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4674 (char *) "self",(char *) "region", NULL
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4679 if (SWIG_arg_fail(1)) SWIG_fail
;
4681 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4682 if (SWIG_arg_fail(2)) SWIG_fail
;
4684 SWIG_null_ref("wxRegion");
4686 if (SWIG_arg_fail(2)) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4704 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
= NULL
;
4706 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4707 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4711 (char *) "self",(char *) "flags", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4716 if (SWIG_arg_fail(1)) SWIG_fail
;
4719 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4720 if (SWIG_arg_fail(2)) SWIG_fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 (arg1
)->RequestUserAttention(arg2
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 Py_INCREF(Py_None
); resultobj
= Py_None
;
4737 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
= NULL
;
4739 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4741 PyObject
* obj0
= 0 ;
4743 (char *) "self", NULL
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4748 if (SWIG_arg_fail(1)) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (bool)(arg1
)->IsActive();
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4765 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
= NULL
;
4767 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4769 PyObject
* obj0
= 0 ;
4770 PyObject
* obj1
= 0 ;
4772 (char *) "self",(char *) "on", NULL
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4777 if (SWIG_arg_fail(1)) SWIG_fail
;
4779 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4780 if (SWIG_arg_fail(2)) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 (arg1
)->MacSetMetalAppearance(arg2
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 Py_INCREF(Py_None
); resultobj
= Py_None
;
4796 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
= NULL
;
4798 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4800 PyObject
* obj0
= 0 ;
4802 (char *) "self", NULL
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4807 if (SWIG_arg_fail(1)) SWIG_fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4824 static PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
= NULL
;
4826 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4827 int arg2
= (int) wxBOTH
;
4828 PyObject
* obj0
= 0 ;
4829 PyObject
* obj1
= 0 ;
4831 (char *) "self",(char *) "dir", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
4835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4836 if (SWIG_arg_fail(1)) SWIG_fail
;
4839 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4840 if (SWIG_arg_fail(2)) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 (arg1
)->CenterOnScreen(arg2
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 Py_INCREF(Py_None
); resultobj
= Py_None
;
4857 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4860 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4862 return Py_BuildValue((char *)"");
4864 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
= NULL
;
4866 wxWindow
*arg1
= (wxWindow
*) 0 ;
4867 int arg2
= (int) (int)-1 ;
4868 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4869 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4874 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4875 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4876 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4878 bool temp3
= false ;
4881 bool temp7
= false ;
4882 PyObject
* obj0
= 0 ;
4883 PyObject
* obj1
= 0 ;
4884 PyObject
* obj2
= 0 ;
4885 PyObject
* obj3
= 0 ;
4886 PyObject
* obj4
= 0 ;
4887 PyObject
* obj5
= 0 ;
4888 PyObject
* obj6
= 0 ;
4890 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4895 if (SWIG_arg_fail(1)) SWIG_fail
;
4898 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
4899 if (SWIG_arg_fail(2)) SWIG_fail
;
4904 arg3
= wxString_in_helper(obj2
);
4905 if (arg3
== NULL
) SWIG_fail
;
4912 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4918 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4923 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4924 if (SWIG_arg_fail(6)) SWIG_fail
;
4929 arg7
= wxString_in_helper(obj6
);
4930 if (arg7
== NULL
) SWIG_fail
;
4935 if (!wxPyCheckForApp()) SWIG_fail
;
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4965 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
= NULL
;
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4974 if (!wxPyCheckForApp()) SWIG_fail
;
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 result
= (wxFrame
*)new wxFrame();
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4988 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
= NULL
;
4990 wxFrame
*arg1
= (wxFrame
*) 0 ;
4991 wxWindow
*arg2
= (wxWindow
*) 0 ;
4992 int arg3
= (int) (int)-1 ;
4993 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4994 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4995 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4996 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4997 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4998 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4999 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
5000 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
5001 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5003 bool temp4
= false ;
5006 bool temp8
= false ;
5007 PyObject
* obj0
= 0 ;
5008 PyObject
* obj1
= 0 ;
5009 PyObject
* obj2
= 0 ;
5010 PyObject
* obj3
= 0 ;
5011 PyObject
* obj4
= 0 ;
5012 PyObject
* obj5
= 0 ;
5013 PyObject
* obj6
= 0 ;
5014 PyObject
* obj7
= 0 ;
5016 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5021 if (SWIG_arg_fail(1)) SWIG_fail
;
5022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5023 if (SWIG_arg_fail(2)) SWIG_fail
;
5026 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5027 if (SWIG_arg_fail(3)) SWIG_fail
;
5032 arg4
= wxString_in_helper(obj3
);
5033 if (arg4
== NULL
) SWIG_fail
;
5040 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5046 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5051 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5052 if (SWIG_arg_fail(7)) SWIG_fail
;
5057 arg8
= wxString_in_helper(obj7
);
5058 if (arg8
== NULL
) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5094 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
= NULL
;
5096 wxFrame
*arg1
= (wxFrame
*) 0 ;
5098 PyObject
* obj0
= 0 ;
5100 (char *) "self", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
5104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5105 if (SWIG_arg_fail(1)) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5114 wxPoint
* resultptr
;
5115 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5124 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
= NULL
;
5126 wxFrame
*arg1
= (wxFrame
*) 0 ;
5127 PyObject
* obj0
= 0 ;
5129 (char *) "self", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
5133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5134 if (SWIG_arg_fail(1)) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 (arg1
)->SendSizeEvent();
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 Py_INCREF(Py_None
); resultobj
= Py_None
;
5149 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
= NULL
;
5151 wxFrame
*arg1
= (wxFrame
*) 0 ;
5152 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5156 (char *) "self",(char *) "menubar", NULL
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5161 if (SWIG_arg_fail(1)) SWIG_fail
;
5162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
5163 if (SWIG_arg_fail(2)) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 (arg1
)->SetMenuBar(arg2
);
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 Py_INCREF(Py_None
); resultobj
= Py_None
;
5178 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
= NULL
;
5180 wxFrame
*arg1
= (wxFrame
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5184 (char *) "self", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
5188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5189 if (SWIG_arg_fail(1)) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= wxPyMake_wxObject(result
, 0);
5206 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
= NULL
;
5208 wxFrame
*arg1
= (wxFrame
*) 0 ;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5214 (char *) "self",(char *) "winid", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5219 if (SWIG_arg_fail(1)) SWIG_fail
;
5221 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5222 if (SWIG_arg_fail(2)) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5240 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
*resultobj
= NULL
;
5242 wxFrame
*arg1
= (wxFrame
*) 0 ;
5243 int arg2
= (int) 1 ;
5244 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5245 int arg4
= (int) 0 ;
5246 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5247 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5248 wxStatusBar
*result
;
5249 bool temp5
= false ;
5250 PyObject
* obj0
= 0 ;
5251 PyObject
* obj1
= 0 ;
5252 PyObject
* obj2
= 0 ;
5253 PyObject
* obj3
= 0 ;
5254 PyObject
* obj4
= 0 ;
5256 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5261 if (SWIG_arg_fail(1)) SWIG_fail
;
5264 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5265 if (SWIG_arg_fail(2)) SWIG_fail
;
5270 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5271 if (SWIG_arg_fail(3)) SWIG_fail
;
5276 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5277 if (SWIG_arg_fail(4)) SWIG_fail
;
5282 arg5
= wxString_in_helper(obj4
);
5283 if (arg5
== NULL
) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5295 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5311 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
= NULL
;
5313 wxFrame
*arg1
= (wxFrame
*) 0 ;
5314 wxStatusBar
*result
;
5315 PyObject
* obj0
= 0 ;
5317 (char *) "self", NULL
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5322 if (SWIG_arg_fail(1)) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5331 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5339 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
*resultobj
= NULL
;
5341 wxFrame
*arg1
= (wxFrame
*) 0 ;
5342 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5346 (char *) "self",(char *) "statBar", NULL
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5351 if (SWIG_arg_fail(1)) SWIG_fail
;
5352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5353 if (SWIG_arg_fail(2)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 (arg1
)->SetStatusBar(arg2
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5361 Py_INCREF(Py_None
); resultobj
= Py_None
;
5368 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
*resultobj
= NULL
;
5370 wxFrame
*arg1
= (wxFrame
*) 0 ;
5371 wxString
*arg2
= 0 ;
5372 int arg3
= (int) 0 ;
5373 bool temp2
= false ;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5376 PyObject
* obj2
= 0 ;
5378 (char *) "self",(char *) "text",(char *) "number", NULL
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5383 if (SWIG_arg_fail(1)) SWIG_fail
;
5385 arg2
= wxString_in_helper(obj1
);
5386 if (arg2
== NULL
) SWIG_fail
;
5391 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5392 if (SWIG_arg_fail(3)) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 Py_INCREF(Py_None
); resultobj
= Py_None
;
5417 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= NULL
;
5419 wxFrame
*arg1
= (wxFrame
*) 0 ;
5421 int *arg3
= (int *) 0 ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5425 (char *) "self",(char *) "widths", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5430 if (SWIG_arg_fail(1)) SWIG_fail
;
5432 arg2
= PyList_Size(obj1
);
5433 arg3
= int_LIST_helper(obj1
);
5434 if (arg3
== NULL
) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 Py_INCREF(Py_None
); resultobj
= Py_None
;
5445 if (arg3
) delete [] arg3
;
5450 if (arg3
) delete [] arg3
;
5456 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
= NULL
;
5458 wxFrame
*arg1
= (wxFrame
*) 0 ;
5459 wxString
*arg2
= 0 ;
5460 int arg3
= (int) 0 ;
5461 bool temp2
= false ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5464 PyObject
* obj2
= 0 ;
5466 (char *) "self",(char *) "text",(char *) "number", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5471 if (SWIG_arg_fail(1)) SWIG_fail
;
5473 arg2
= wxString_in_helper(obj1
);
5474 if (arg2
== NULL
) SWIG_fail
;
5479 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5480 if (SWIG_arg_fail(3)) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 Py_INCREF(Py_None
); resultobj
= Py_None
;
5505 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
= NULL
;
5507 wxFrame
*arg1
= (wxFrame
*) 0 ;
5508 int arg2
= (int) 0 ;
5509 PyObject
* obj0
= 0 ;
5510 PyObject
* obj1
= 0 ;
5512 (char *) "self",(char *) "number", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5517 if (SWIG_arg_fail(1)) SWIG_fail
;
5520 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5521 if (SWIG_arg_fail(2)) SWIG_fail
;
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 (arg1
)->PopStatusText(arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 Py_INCREF(Py_None
); resultobj
= Py_None
;
5538 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
= NULL
;
5540 wxFrame
*arg1
= (wxFrame
*) 0 ;
5542 PyObject
* obj0
= 0 ;
5543 PyObject
* obj1
= 0 ;
5545 (char *) "self",(char *) "n", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5550 if (SWIG_arg_fail(1)) SWIG_fail
;
5552 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5553 if (SWIG_arg_fail(2)) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 (arg1
)->SetStatusBarPane(arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 Py_INCREF(Py_None
); resultobj
= Py_None
;
5569 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
= NULL
;
5571 wxFrame
*arg1
= (wxFrame
*) 0 ;
5573 PyObject
* obj0
= 0 ;
5575 (char *) "self", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5580 if (SWIG_arg_fail(1)) SWIG_fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5589 resultobj
= SWIG_From_int(static_cast<int >(result
));
5597 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
= NULL
;
5599 wxFrame
*arg1
= (wxFrame
*) 0 ;
5600 long arg2
= (long) -1 ;
5601 int arg3
= (int) -1 ;
5602 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5603 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5605 bool temp4
= false ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5608 PyObject
* obj2
= 0 ;
5609 PyObject
* obj3
= 0 ;
5611 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5616 if (SWIG_arg_fail(1)) SWIG_fail
;
5619 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5620 if (SWIG_arg_fail(2)) SWIG_fail
;
5625 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5626 if (SWIG_arg_fail(3)) SWIG_fail
;
5631 arg4
= wxString_in_helper(obj3
);
5632 if (arg4
== NULL
) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5660 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
= NULL
;
5662 wxFrame
*arg1
= (wxFrame
*) 0 ;
5664 PyObject
* obj0
= 0 ;
5666 (char *) "self", NULL
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5671 if (SWIG_arg_fail(1)) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5688 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
*resultobj
= NULL
;
5690 wxFrame
*arg1
= (wxFrame
*) 0 ;
5691 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5695 (char *) "self",(char *) "toolbar", NULL
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5700 if (SWIG_arg_fail(1)) SWIG_fail
;
5701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5702 if (SWIG_arg_fail(2)) SWIG_fail
;
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 (arg1
)->SetToolBar(arg2
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 Py_INCREF(Py_None
); resultobj
= Py_None
;
5717 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
= NULL
;
5719 wxFrame
*arg1
= (wxFrame
*) 0 ;
5720 wxString
*arg2
= 0 ;
5722 bool temp2
= false ;
5723 PyObject
* obj0
= 0 ;
5724 PyObject
* obj1
= 0 ;
5725 PyObject
* obj2
= 0 ;
5727 (char *) "self",(char *) "text",(char *) "show", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5732 if (SWIG_arg_fail(1)) SWIG_fail
;
5734 arg2
= wxString_in_helper(obj1
);
5735 if (arg2
== NULL
) SWIG_fail
;
5739 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
5740 if (SWIG_arg_fail(3)) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5749 Py_INCREF(Py_None
); resultobj
= Py_None
;
5764 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
= NULL
;
5766 wxFrame
*arg1
= (wxFrame
*) 0 ;
5767 wxMenu
*arg2
= (wxMenu
*) NULL
;
5768 PyObject
* obj0
= 0 ;
5769 PyObject
* obj1
= 0 ;
5771 (char *) "self",(char *) "menu", NULL
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5776 if (SWIG_arg_fail(1)) SWIG_fail
;
5778 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5779 if (SWIG_arg_fail(2)) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 (arg1
)->DoMenuUpdates(arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 Py_INCREF(Py_None
); resultobj
= Py_None
;
5795 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
= NULL
;
5797 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5798 wxVisualAttributes result
;
5799 PyObject
* obj0
= 0 ;
5801 (char *) "variant", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5807 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5808 if (SWIG_arg_fail(1)) SWIG_fail
;
5812 if (!wxPyCheckForApp()) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 result
= wxFrame::GetClassDefaultAttributes(arg1
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5820 wxVisualAttributes
* resultptr
;
5821 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5830 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5833 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5835 return Py_BuildValue((char *)"");
5837 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
= NULL
;
5839 wxWindow
*arg1
= (wxWindow
*) 0 ;
5840 int arg2
= (int) (int)-1 ;
5841 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5842 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5843 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5844 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5845 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5846 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5847 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5848 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5849 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5851 bool temp3
= false ;
5854 bool temp7
= false ;
5855 PyObject
* obj0
= 0 ;
5856 PyObject
* obj1
= 0 ;
5857 PyObject
* obj2
= 0 ;
5858 PyObject
* obj3
= 0 ;
5859 PyObject
* obj4
= 0 ;
5860 PyObject
* obj5
= 0 ;
5861 PyObject
* obj6
= 0 ;
5863 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5868 if (SWIG_arg_fail(1)) SWIG_fail
;
5871 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
5872 if (SWIG_arg_fail(2)) SWIG_fail
;
5877 arg3
= wxString_in_helper(obj2
);
5878 if (arg3
== NULL
) SWIG_fail
;
5885 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5891 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5896 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5897 if (SWIG_arg_fail(6)) SWIG_fail
;
5902 arg7
= wxString_in_helper(obj6
);
5903 if (arg7
== NULL
) SWIG_fail
;
5908 if (!wxPyCheckForApp()) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5938 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
= NULL
;
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5947 if (!wxPyCheckForApp()) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 result
= (wxDialog
*)new wxDialog();
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5961 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
= NULL
;
5963 wxDialog
*arg1
= (wxDialog
*) 0 ;
5964 wxWindow
*arg2
= (wxWindow
*) 0 ;
5965 int arg3
= (int) (int)-1 ;
5966 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5967 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5968 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5969 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5970 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5971 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5972 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5973 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5974 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5976 bool temp4
= false ;
5979 bool temp8
= false ;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5982 PyObject
* obj2
= 0 ;
5983 PyObject
* obj3
= 0 ;
5984 PyObject
* obj4
= 0 ;
5985 PyObject
* obj5
= 0 ;
5986 PyObject
* obj6
= 0 ;
5987 PyObject
* obj7
= 0 ;
5989 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5994 if (SWIG_arg_fail(1)) SWIG_fail
;
5995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5996 if (SWIG_arg_fail(2)) SWIG_fail
;
5999 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
6000 if (SWIG_arg_fail(3)) SWIG_fail
;
6005 arg4
= wxString_in_helper(obj3
);
6006 if (arg4
== NULL
) SWIG_fail
;
6013 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6019 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6024 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6025 if (SWIG_arg_fail(7)) SWIG_fail
;
6030 arg8
= wxString_in_helper(obj7
);
6031 if (arg8
== NULL
) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6067 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
= NULL
;
6069 wxDialog
*arg1
= (wxDialog
*) 0 ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6074 (char *) "self",(char *) "returnCode", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
6078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6079 if (SWIG_arg_fail(1)) SWIG_fail
;
6081 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6082 if (SWIG_arg_fail(2)) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 (arg1
)->SetReturnCode(arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6091 Py_INCREF(Py_None
); resultobj
= Py_None
;
6098 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
*resultobj
= NULL
;
6100 wxDialog
*arg1
= (wxDialog
*) 0 ;
6102 PyObject
* obj0
= 0 ;
6104 (char *) "self", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
6108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6109 if (SWIG_arg_fail(1)) SWIG_fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= SWIG_From_int(static_cast<int >(result
));
6126 static PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
= NULL
;
6128 wxDialog
*arg1
= (wxDialog
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6133 (char *) "self",(char *) "affirmativeId", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) goto fail
;
6137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6138 if (SWIG_arg_fail(1)) SWIG_fail
;
6140 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6141 if (SWIG_arg_fail(2)) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 (arg1
)->SetAffirmativeId(arg2
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 Py_INCREF(Py_None
); resultobj
= Py_None
;
6157 static PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
= NULL
;
6159 wxDialog
*arg1
= (wxDialog
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6163 (char *) "self", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetAffirmativeId",kwnames
,&obj0
)) goto fail
;
6167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6168 if (SWIG_arg_fail(1)) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_From_int(static_cast<int >(result
));
6185 static PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
= NULL
;
6187 wxDialog
*arg1
= (wxDialog
*) 0 ;
6189 PyObject
* obj0
= 0 ;
6190 PyObject
* obj1
= 0 ;
6192 (char *) "self",(char *) "escapeId", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) goto fail
;
6196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6197 if (SWIG_arg_fail(1)) SWIG_fail
;
6199 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6200 if (SWIG_arg_fail(2)) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 (arg1
)->SetEscapeId(arg2
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 Py_INCREF(Py_None
); resultobj
= Py_None
;
6216 static PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
= NULL
;
6218 wxDialog
*arg1
= (wxDialog
*) 0 ;
6220 PyObject
* obj0
= 0 ;
6222 (char *) "self", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetEscapeId",kwnames
,&obj0
)) goto fail
;
6226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6227 if (SWIG_arg_fail(1)) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= SWIG_From_int(static_cast<int >(result
));
6244 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
= NULL
;
6246 wxDialog
*arg1
= (wxDialog
*) 0 ;
6247 wxString
*arg2
= 0 ;
6249 bool temp2
= false ;
6250 PyObject
* obj0
= 0 ;
6251 PyObject
* obj1
= 0 ;
6253 (char *) "self",(char *) "message", NULL
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6258 if (SWIG_arg_fail(1)) SWIG_fail
;
6260 arg2
= wxString_in_helper(obj1
);
6261 if (arg2
== NULL
) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6288 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
= NULL
;
6290 wxDialog
*arg1
= (wxDialog
*) 0 ;
6292 bool arg3
= (bool) false ;
6293 int arg4
= (int) 0 ;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6297 PyObject
* obj2
= 0 ;
6298 PyObject
* obj3
= 0 ;
6300 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6305 if (SWIG_arg_fail(1)) SWIG_fail
;
6307 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6308 if (SWIG_arg_fail(2)) SWIG_fail
;
6312 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
6313 if (SWIG_arg_fail(3)) SWIG_fail
;
6318 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6319 if (SWIG_arg_fail(4)) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6338 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
= NULL
;
6340 wxDialog
*arg1
= (wxDialog
*) 0 ;
6342 wxStdDialogButtonSizer
*result
;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6346 (char *) "self",(char *) "flags", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6351 if (SWIG_arg_fail(1)) SWIG_fail
;
6353 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6354 if (SWIG_arg_fail(2)) SWIG_fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6358 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6370 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
= NULL
;
6372 wxDialog
*arg1
= (wxDialog
*) 0 ;
6374 PyObject
* obj0
= 0 ;
6376 (char *) "self", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6381 if (SWIG_arg_fail(1)) SWIG_fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6398 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
= NULL
;
6400 wxDialog
*arg1
= (wxDialog
*) 0 ;
6402 PyObject
* obj0
= 0 ;
6404 (char *) "self", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6409 if (SWIG_arg_fail(1)) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (int)(arg1
)->ShowModal();
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_From_int(static_cast<int >(result
));
6426 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
= NULL
;
6428 wxDialog
*arg1
= (wxDialog
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6431 PyObject
* obj1
= 0 ;
6433 (char *) "self",(char *) "retCode", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6438 if (SWIG_arg_fail(1)) SWIG_fail
;
6440 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6441 if (SWIG_arg_fail(2)) SWIG_fail
;
6444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 (arg1
)->EndModal(arg2
);
6447 wxPyEndAllowThreads(__tstate
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 Py_INCREF(Py_None
); resultobj
= Py_None
;
6457 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
= NULL
;
6459 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6460 wxVisualAttributes result
;
6461 PyObject
* obj0
= 0 ;
6463 (char *) "variant", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6469 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6470 if (SWIG_arg_fail(1)) SWIG_fail
;
6474 if (!wxPyCheckForApp()) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 result
= wxDialog::GetClassDefaultAttributes(arg1
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6482 wxVisualAttributes
* resultptr
;
6483 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6492 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6495 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6497 return Py_BuildValue((char *)"");
6499 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
= NULL
;
6501 wxWindow
*arg1
= (wxWindow
*) 0 ;
6502 int arg2
= (int) (int)-1 ;
6503 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6504 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6505 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6506 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6507 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6508 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6509 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6510 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6511 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6512 wxMiniFrame
*result
;
6513 bool temp3
= false ;
6516 bool temp7
= false ;
6517 PyObject
* obj0
= 0 ;
6518 PyObject
* obj1
= 0 ;
6519 PyObject
* obj2
= 0 ;
6520 PyObject
* obj3
= 0 ;
6521 PyObject
* obj4
= 0 ;
6522 PyObject
* obj5
= 0 ;
6523 PyObject
* obj6
= 0 ;
6525 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6530 if (SWIG_arg_fail(1)) SWIG_fail
;
6533 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
6534 if (SWIG_arg_fail(2)) SWIG_fail
;
6539 arg3
= wxString_in_helper(obj2
);
6540 if (arg3
== NULL
) SWIG_fail
;
6547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6558 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6559 if (SWIG_arg_fail(6)) SWIG_fail
;
6564 arg7
= wxString_in_helper(obj6
);
6565 if (arg7
== NULL
) SWIG_fail
;
6570 if (!wxPyCheckForApp()) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6600 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
= NULL
;
6602 wxMiniFrame
*result
;
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6609 if (!wxPyCheckForApp()) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (wxMiniFrame
*)new wxMiniFrame();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6623 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
= NULL
;
6625 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6626 wxWindow
*arg2
= (wxWindow
*) 0 ;
6627 int arg3
= (int) (int)-1 ;
6628 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6629 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6630 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6631 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6632 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6633 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6634 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6635 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6636 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6638 bool temp4
= false ;
6641 bool temp8
= false ;
6642 PyObject
* obj0
= 0 ;
6643 PyObject
* obj1
= 0 ;
6644 PyObject
* obj2
= 0 ;
6645 PyObject
* obj3
= 0 ;
6646 PyObject
* obj4
= 0 ;
6647 PyObject
* obj5
= 0 ;
6648 PyObject
* obj6
= 0 ;
6649 PyObject
* obj7
= 0 ;
6651 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6656 if (SWIG_arg_fail(1)) SWIG_fail
;
6657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6658 if (SWIG_arg_fail(2)) SWIG_fail
;
6661 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
6662 if (SWIG_arg_fail(3)) SWIG_fail
;
6667 arg4
= wxString_in_helper(obj3
);
6668 if (arg4
== NULL
) SWIG_fail
;
6675 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6681 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6686 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6687 if (SWIG_arg_fail(7)) SWIG_fail
;
6692 arg8
= wxString_in_helper(obj7
);
6693 if (arg8
== NULL
) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6729 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6732 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6734 return Py_BuildValue((char *)"");
6736 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
= NULL
;
6738 wxBitmap
*arg1
= 0 ;
6739 wxWindow
*arg2
= (wxWindow
*) 0 ;
6741 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6742 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6743 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6744 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6745 long arg6
= (long) wxNO_BORDER
;
6746 wxSplashScreenWindow
*result
;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6751 PyObject
* obj2
= 0 ;
6752 PyObject
* obj3
= 0 ;
6753 PyObject
* obj4
= 0 ;
6754 PyObject
* obj5
= 0 ;
6756 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6762 if (SWIG_arg_fail(1)) SWIG_fail
;
6764 SWIG_null_ref("wxBitmap");
6766 if (SWIG_arg_fail(1)) SWIG_fail
;
6768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6769 if (SWIG_arg_fail(2)) SWIG_fail
;
6771 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6772 if (SWIG_arg_fail(3)) SWIG_fail
;
6777 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6783 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6788 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6789 if (SWIG_arg_fail(6)) SWIG_fail
;
6793 if (!wxPyCheckForApp()) SWIG_fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6807 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
= NULL
;
6809 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6810 wxBitmap
*arg2
= 0 ;
6811 PyObject
* obj0
= 0 ;
6812 PyObject
* obj1
= 0 ;
6814 (char *) "self",(char *) "bitmap", NULL
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6819 if (SWIG_arg_fail(1)) SWIG_fail
;
6821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6822 if (SWIG_arg_fail(2)) SWIG_fail
;
6824 SWIG_null_ref("wxBitmap");
6826 if (SWIG_arg_fail(2)) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 Py_INCREF(Py_None
); resultobj
= Py_None
;
6842 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
= NULL
;
6844 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6846 PyObject
* obj0
= 0 ;
6848 (char *) "self", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6853 if (SWIG_arg_fail(1)) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6858 result
= (wxBitmap
*) &_result_ref
;
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6865 wxBitmap
* resultptr
= new wxBitmap(*result
);
6866 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6874 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6877 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6879 return Py_BuildValue((char *)"");
6881 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
= NULL
;
6883 wxBitmap
*arg1
= 0 ;
6886 wxWindow
*arg4
= (wxWindow
*) 0 ;
6887 int arg5
= (int) -1 ;
6888 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6889 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6890 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6891 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6892 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6893 wxSplashScreen
*result
;
6896 PyObject
* obj0
= 0 ;
6897 PyObject
* obj1
= 0 ;
6898 PyObject
* obj2
= 0 ;
6899 PyObject
* obj3
= 0 ;
6900 PyObject
* obj4
= 0 ;
6901 PyObject
* obj5
= 0 ;
6902 PyObject
* obj6
= 0 ;
6903 PyObject
* obj7
= 0 ;
6905 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6911 if (SWIG_arg_fail(1)) SWIG_fail
;
6913 SWIG_null_ref("wxBitmap");
6915 if (SWIG_arg_fail(1)) SWIG_fail
;
6918 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6919 if (SWIG_arg_fail(2)) SWIG_fail
;
6922 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6923 if (SWIG_arg_fail(3)) SWIG_fail
;
6925 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6926 if (SWIG_arg_fail(4)) SWIG_fail
;
6929 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6930 if (SWIG_arg_fail(5)) SWIG_fail
;
6936 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6942 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6947 arg8
= static_cast<long >(SWIG_As_long(obj7
));
6948 if (SWIG_arg_fail(8)) SWIG_fail
;
6952 if (!wxPyCheckForApp()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6966 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
= NULL
;
6968 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6972 (char *) "self", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6977 if (SWIG_arg_fail(1)) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_From_long(static_cast<long >(result
));
6994 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
= NULL
;
6996 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6997 wxSplashScreenWindow
*result
;
6998 PyObject
* obj0
= 0 ;
7000 (char *) "self", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
7004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
7005 if (SWIG_arg_fail(1)) SWIG_fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
7020 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
= NULL
;
7022 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
7024 PyObject
* obj0
= 0 ;
7026 (char *) "self", NULL
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
7030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
7031 if (SWIG_arg_fail(1)) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_From_int(static_cast<int >(result
));
7048 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
7050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7051 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
7053 return Py_BuildValue((char *)"");
7055 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
= NULL
;
7057 wxWindow
*arg1
= (wxWindow
*) 0 ;
7058 int arg2
= (int) -1 ;
7059 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
7060 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
7061 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7062 wxStatusBar
*result
;
7063 bool temp4
= false ;
7064 PyObject
* obj0
= 0 ;
7065 PyObject
* obj1
= 0 ;
7066 PyObject
* obj2
= 0 ;
7067 PyObject
* obj3
= 0 ;
7069 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7074 if (SWIG_arg_fail(1)) SWIG_fail
;
7077 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7078 if (SWIG_arg_fail(2)) SWIG_fail
;
7083 arg3
= static_cast<long >(SWIG_As_long(obj2
));
7084 if (SWIG_arg_fail(3)) SWIG_fail
;
7089 arg4
= wxString_in_helper(obj3
);
7090 if (arg4
== NULL
) SWIG_fail
;
7095 if (!wxPyCheckForApp()) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
7117 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
= NULL
;
7119 wxStatusBar
*result
;
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
7126 if (!wxPyCheckForApp()) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (wxStatusBar
*)new wxStatusBar();
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
7140 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
= NULL
;
7142 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7143 wxWindow
*arg2
= (wxWindow
*) 0 ;
7144 int arg3
= (int) -1 ;
7145 long arg4
= (long) wxST_SIZEGRIP
;
7146 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
7147 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
7149 bool temp5
= false ;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7152 PyObject
* obj2
= 0 ;
7153 PyObject
* obj3
= 0 ;
7154 PyObject
* obj4
= 0 ;
7156 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7161 if (SWIG_arg_fail(1)) SWIG_fail
;
7162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7163 if (SWIG_arg_fail(2)) SWIG_fail
;
7166 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7167 if (SWIG_arg_fail(3)) SWIG_fail
;
7172 arg4
= static_cast<long >(SWIG_As_long(obj3
));
7173 if (SWIG_arg_fail(4)) SWIG_fail
;
7178 arg5
= wxString_in_helper(obj4
);
7179 if (arg5
== NULL
) SWIG_fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7207 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
= NULL
;
7209 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7210 int arg2
= (int) 1 ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7214 (char *) "self",(char *) "number", NULL
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7219 if (SWIG_arg_fail(1)) SWIG_fail
;
7222 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7223 if (SWIG_arg_fail(2)) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 (arg1
)->SetFieldsCount(arg2
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) SWIG_fail
;
7233 Py_INCREF(Py_None
); resultobj
= Py_None
;
7240 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
= NULL
;
7242 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7244 PyObject
* obj0
= 0 ;
7246 (char *) "self", NULL
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
7250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7251 if (SWIG_arg_fail(1)) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7260 resultobj
= SWIG_From_int(static_cast<int >(result
));
7268 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
= NULL
;
7270 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7271 wxString
*arg2
= 0 ;
7272 int arg3
= (int) 0 ;
7273 bool temp2
= false ;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7276 PyObject
* obj2
= 0 ;
7278 (char *) "self",(char *) "text",(char *) "number", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7283 if (SWIG_arg_fail(1)) SWIG_fail
;
7285 arg2
= wxString_in_helper(obj1
);
7286 if (arg2
== NULL
) SWIG_fail
;
7291 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7292 if (SWIG_arg_fail(3)) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
= NULL
;
7319 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7320 int arg2
= (int) 0 ;
7322 PyObject
* obj0
= 0 ;
7323 PyObject
* obj1
= 0 ;
7325 (char *) "self",(char *) "number", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7330 if (SWIG_arg_fail(1)) SWIG_fail
;
7333 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7334 if (SWIG_arg_fail(2)) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7357 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
= NULL
;
7359 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7360 wxString
*arg2
= 0 ;
7361 int arg3
= (int) 0 ;
7362 bool temp2
= false ;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7365 PyObject
* obj2
= 0 ;
7367 (char *) "self",(char *) "text",(char *) "number", NULL
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7372 if (SWIG_arg_fail(1)) SWIG_fail
;
7374 arg2
= wxString_in_helper(obj1
);
7375 if (arg2
== NULL
) SWIG_fail
;
7380 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7381 if (SWIG_arg_fail(3)) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 Py_INCREF(Py_None
); resultobj
= Py_None
;
7406 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
= NULL
;
7408 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7409 int arg2
= (int) 0 ;
7410 PyObject
* obj0
= 0 ;
7411 PyObject
* obj1
= 0 ;
7413 (char *) "self",(char *) "number", NULL
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7418 if (SWIG_arg_fail(1)) SWIG_fail
;
7421 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7422 if (SWIG_arg_fail(2)) SWIG_fail
;
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 (arg1
)->PopStatusText(arg2
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 Py_INCREF(Py_None
); resultobj
= Py_None
;
7439 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
= NULL
;
7441 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7443 int *arg3
= (int *) 0 ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7447 (char *) "self",(char *) "widths", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7452 if (SWIG_arg_fail(1)) SWIG_fail
;
7454 arg2
= PyList_Size(obj1
);
7455 arg3
= int_LIST_helper(obj1
);
7456 if (arg3
== NULL
) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 Py_INCREF(Py_None
); resultobj
= Py_None
;
7467 if (arg3
) delete [] arg3
;
7472 if (arg3
) delete [] arg3
;
7478 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
= NULL
;
7480 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7482 int *arg3
= (int *) 0 ;
7483 PyObject
* obj0
= 0 ;
7484 PyObject
* obj1
= 0 ;
7486 (char *) "self",(char *) "styles", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7491 if (SWIG_arg_fail(1)) SWIG_fail
;
7493 arg2
= PyList_Size(obj1
);
7494 arg3
= int_LIST_helper(obj1
);
7495 if (arg3
== NULL
) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7504 Py_INCREF(Py_None
); resultobj
= Py_None
;
7506 if (arg3
) delete [] arg3
;
7511 if (arg3
) delete [] arg3
;
7517 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
= NULL
;
7519 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7522 PyObject
* obj0
= 0 ;
7523 PyObject
* obj1
= 0 ;
7525 (char *) "self",(char *) "i", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7530 if (SWIG_arg_fail(1)) SWIG_fail
;
7532 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7533 if (SWIG_arg_fail(2)) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7544 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7553 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
= NULL
;
7555 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7558 PyObject
* obj1
= 0 ;
7560 (char *) "self",(char *) "height", NULL
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7565 if (SWIG_arg_fail(1)) SWIG_fail
;
7567 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7568 if (SWIG_arg_fail(2)) SWIG_fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 (arg1
)->SetMinHeight(arg2
);
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 Py_INCREF(Py_None
); resultobj
= Py_None
;
7584 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
= NULL
;
7586 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7588 PyObject
* obj0
= 0 ;
7590 (char *) "self", NULL
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7595 if (SWIG_arg_fail(1)) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7604 resultobj
= SWIG_From_int(static_cast<int >(result
));
7612 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
= NULL
;
7614 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7616 PyObject
* obj0
= 0 ;
7618 (char *) "self", NULL
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7623 if (SWIG_arg_fail(1)) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7632 resultobj
= SWIG_From_int(static_cast<int >(result
));
7640 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
= NULL
;
7642 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7643 wxVisualAttributes result
;
7644 PyObject
* obj0
= 0 ;
7646 (char *) "variant", NULL
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7652 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7653 if (SWIG_arg_fail(1)) SWIG_fail
;
7657 if (!wxPyCheckForApp()) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7665 wxVisualAttributes
* resultptr
;
7666 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7667 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7675 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7678 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7680 return Py_BuildValue((char *)"");
7682 static int _wrap_SplitterNameStr_set(PyObject
*) {
7683 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7688 static PyObject
*_wrap_SplitterNameStr_get(void) {
7689 PyObject
*pyobj
= NULL
;
7693 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7695 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7702 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
= NULL
;
7704 wxWindow
*arg1
= (wxWindow
*) 0 ;
7705 int arg2
= (int) -1 ;
7706 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7707 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7708 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7709 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7710 long arg5
= (long) wxSP_3D
;
7711 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7712 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7713 wxSplitterWindow
*result
;
7716 bool temp6
= false ;
7717 PyObject
* obj0
= 0 ;
7718 PyObject
* obj1
= 0 ;
7719 PyObject
* obj2
= 0 ;
7720 PyObject
* obj3
= 0 ;
7721 PyObject
* obj4
= 0 ;
7722 PyObject
* obj5
= 0 ;
7724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7729 if (SWIG_arg_fail(1)) SWIG_fail
;
7732 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7733 if (SWIG_arg_fail(2)) SWIG_fail
;
7739 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7745 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7750 arg5
= static_cast<long >(SWIG_As_long(obj4
));
7751 if (SWIG_arg_fail(5)) SWIG_fail
;
7756 arg6
= wxString_in_helper(obj5
);
7757 if (arg6
== NULL
) SWIG_fail
;
7762 if (!wxPyCheckForApp()) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7784 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
= NULL
;
7786 wxSplitterWindow
*result
;
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7793 if (!wxPyCheckForApp()) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7797 wxPyEndAllowThreads(__tstate
);
7798 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7807 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
= NULL
;
7809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7810 wxWindow
*arg2
= (wxWindow
*) 0 ;
7811 int arg3
= (int) -1 ;
7812 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7813 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7814 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7815 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7816 long arg6
= (long) wxSP_3D
;
7817 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7818 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7822 bool temp7
= false ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7825 PyObject
* obj2
= 0 ;
7826 PyObject
* obj3
= 0 ;
7827 PyObject
* obj4
= 0 ;
7828 PyObject
* obj5
= 0 ;
7829 PyObject
* obj6
= 0 ;
7831 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7836 if (SWIG_arg_fail(1)) SWIG_fail
;
7837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7838 if (SWIG_arg_fail(2)) SWIG_fail
;
7841 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7842 if (SWIG_arg_fail(3)) SWIG_fail
;
7848 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7854 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7859 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7860 if (SWIG_arg_fail(6)) SWIG_fail
;
7865 arg7
= wxString_in_helper(obj6
);
7866 if (arg7
== NULL
) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7894 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
= NULL
;
7896 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7900 (char *) "self", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7914 resultobj
= wxPyMake_wxObject(result
, 0);
7922 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
= NULL
;
7924 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7926 PyObject
* obj0
= 0 ;
7928 (char *) "self", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= wxPyMake_wxObject(result
, 0);
7950 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
= NULL
;
7952 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7955 PyObject
* obj1
= 0 ;
7957 (char *) "self",(char *) "mode", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7962 if (SWIG_arg_fail(1)) SWIG_fail
;
7964 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7965 if (SWIG_arg_fail(2)) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 (arg1
)->SetSplitMode(arg2
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 Py_INCREF(Py_None
); resultobj
= Py_None
;
7981 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
= NULL
;
7983 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7985 PyObject
* obj0
= 0 ;
7987 (char *) "self", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7992 if (SWIG_arg_fail(1)) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= SWIG_From_int((result
));
8007 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
= NULL
;
8009 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8010 wxWindow
*arg2
= (wxWindow
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8012 PyObject
* obj1
= 0 ;
8014 (char *) "self",(char *) "window", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
8018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail
;
8020 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8021 if (SWIG_arg_fail(2)) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 (arg1
)->Initialize(arg2
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 Py_INCREF(Py_None
); resultobj
= Py_None
;
8036 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
= NULL
;
8038 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8039 wxWindow
*arg2
= (wxWindow
*) 0 ;
8040 wxWindow
*arg3
= (wxWindow
*) 0 ;
8041 int arg4
= (int) 0 ;
8043 PyObject
* obj0
= 0 ;
8044 PyObject
* obj1
= 0 ;
8045 PyObject
* obj2
= 0 ;
8046 PyObject
* obj3
= 0 ;
8048 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8053 if (SWIG_arg_fail(1)) SWIG_fail
;
8054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8055 if (SWIG_arg_fail(2)) SWIG_fail
;
8056 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8057 if (SWIG_arg_fail(3)) SWIG_fail
;
8060 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8061 if (SWIG_arg_fail(4)) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8080 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
= NULL
;
8082 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8083 wxWindow
*arg2
= (wxWindow
*) 0 ;
8084 wxWindow
*arg3
= (wxWindow
*) 0 ;
8085 int arg4
= (int) 0 ;
8087 PyObject
* obj0
= 0 ;
8088 PyObject
* obj1
= 0 ;
8089 PyObject
* obj2
= 0 ;
8090 PyObject
* obj3
= 0 ;
8092 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8097 if (SWIG_arg_fail(1)) SWIG_fail
;
8098 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8099 if (SWIG_arg_fail(2)) SWIG_fail
;
8100 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8101 if (SWIG_arg_fail(3)) SWIG_fail
;
8104 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8105 if (SWIG_arg_fail(4)) SWIG_fail
;
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8124 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
= NULL
;
8126 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8127 wxWindow
*arg2
= (wxWindow
*) NULL
;
8129 PyObject
* obj0
= 0 ;
8130 PyObject
* obj1
= 0 ;
8132 (char *) "self",(char *) "toRemove", NULL
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
8136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8137 if (SWIG_arg_fail(1)) SWIG_fail
;
8139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8140 if (SWIG_arg_fail(2)) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (bool)(arg1
)->Unsplit(arg2
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8158 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
= NULL
;
8160 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8161 wxWindow
*arg2
= (wxWindow
*) 0 ;
8162 wxWindow
*arg3
= (wxWindow
*) 0 ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8166 PyObject
* obj2
= 0 ;
8168 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8173 if (SWIG_arg_fail(1)) SWIG_fail
;
8174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8175 if (SWIG_arg_fail(2)) SWIG_fail
;
8176 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8177 if (SWIG_arg_fail(3)) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8194 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
= NULL
;
8196 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8197 PyObject
* obj0
= 0 ;
8199 (char *) "self", NULL
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
8203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8204 if (SWIG_arg_fail(1)) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 (arg1
)->UpdateSize();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8219 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
= NULL
;
8221 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8223 PyObject
* obj0
= 0 ;
8225 (char *) "self", NULL
8228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
8229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8230 if (SWIG_arg_fail(1)) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8247 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
*resultobj
= NULL
;
8249 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8254 (char *) "self",(char *) "width", NULL
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8259 if (SWIG_arg_fail(1)) SWIG_fail
;
8261 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8262 if (SWIG_arg_fail(2)) SWIG_fail
;
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 (arg1
)->SetSashSize(arg2
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 Py_INCREF(Py_None
); resultobj
= Py_None
;
8278 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
= NULL
;
8280 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8282 PyObject
* obj0
= 0 ;
8283 PyObject
* obj1
= 0 ;
8285 (char *) "self",(char *) "width", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8290 if (SWIG_arg_fail(1)) SWIG_fail
;
8292 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8293 if (SWIG_arg_fail(2)) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 (arg1
)->SetBorderSize(arg2
);
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 Py_INCREF(Py_None
); resultobj
= Py_None
;
8309 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
= NULL
;
8311 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8313 PyObject
* obj0
= 0 ;
8315 (char *) "self", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
8319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8320 if (SWIG_arg_fail(1)) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8329 resultobj
= SWIG_From_int(static_cast<int >(result
));
8337 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
= NULL
;
8339 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8343 (char *) "self", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8348 if (SWIG_arg_fail(1)) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= SWIG_From_int(static_cast<int >(result
));
8365 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
= NULL
;
8367 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8369 bool arg3
= (bool) true ;
8370 PyObject
* obj0
= 0 ;
8371 PyObject
* obj1
= 0 ;
8372 PyObject
* obj2
= 0 ;
8374 (char *) "self",(char *) "position",(char *) "redraw", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8379 if (SWIG_arg_fail(1)) SWIG_fail
;
8381 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8382 if (SWIG_arg_fail(2)) SWIG_fail
;
8386 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8387 if (SWIG_arg_fail(3)) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 (arg1
)->SetSashPosition(arg2
,arg3
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 Py_INCREF(Py_None
); resultobj
= Py_None
;
8404 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
= NULL
;
8406 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8408 PyObject
* obj0
= 0 ;
8410 (char *) "self", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= SWIG_From_int(static_cast<int >(result
));
8432 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
= NULL
;
8434 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8437 PyObject
* obj1
= 0 ;
8439 (char *) "self",(char *) "gravity", NULL
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8444 if (SWIG_arg_fail(1)) SWIG_fail
;
8446 arg2
= static_cast<double >(SWIG_As_double(obj1
));
8447 if (SWIG_arg_fail(2)) SWIG_fail
;
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 (arg1
)->SetSashGravity(arg2
);
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8456 Py_INCREF(Py_None
); resultobj
= Py_None
;
8463 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
= NULL
;
8465 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8467 PyObject
* obj0
= 0 ;
8469 (char *) "self", NULL
8472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8474 if (SWIG_arg_fail(1)) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_From_double(static_cast<double >(result
));
8491 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
= NULL
;
8493 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8498 (char *) "self",(char *) "min", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail
;
8505 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8506 if (SWIG_arg_fail(2)) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 (arg1
)->SetMinimumPaneSize(arg2
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 Py_INCREF(Py_None
); resultobj
= Py_None
;
8522 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
*resultobj
= NULL
;
8524 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8528 (char *) "self", NULL
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8533 if (SWIG_arg_fail(1)) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8542 resultobj
= SWIG_From_int(static_cast<int >(result
));
8550 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
= NULL
;
8552 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8555 int arg4
= (int) 5 ;
8557 PyObject
* obj0
= 0 ;
8558 PyObject
* obj1
= 0 ;
8559 PyObject
* obj2
= 0 ;
8560 PyObject
* obj3
= 0 ;
8562 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8567 if (SWIG_arg_fail(1)) SWIG_fail
;
8569 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8570 if (SWIG_arg_fail(2)) SWIG_fail
;
8573 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8574 if (SWIG_arg_fail(3)) SWIG_fail
;
8578 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8579 if (SWIG_arg_fail(4)) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8598 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
= NULL
;
8600 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8601 PyObject
* obj0
= 0 ;
8603 (char *) "self", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8608 if (SWIG_arg_fail(1)) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 (arg1
)->SizeWindows();
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 Py_INCREF(Py_None
); resultobj
= Py_None
;
8623 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
= NULL
;
8625 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8630 (char *) "self",(char *) "needUpdating", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8635 if (SWIG_arg_fail(1)) SWIG_fail
;
8637 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8638 if (SWIG_arg_fail(2)) SWIG_fail
;
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 (arg1
)->SetNeedUpdating(arg2
);
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 Py_INCREF(Py_None
); resultobj
= Py_None
;
8654 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
= NULL
;
8656 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8658 PyObject
* obj0
= 0 ;
8660 (char *) "self", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8665 if (SWIG_arg_fail(1)) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8682 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
= NULL
;
8684 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8685 wxVisualAttributes result
;
8686 PyObject
* obj0
= 0 ;
8688 (char *) "variant", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8694 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8695 if (SWIG_arg_fail(1)) SWIG_fail
;
8699 if (!wxPyCheckForApp()) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8707 wxVisualAttributes
* resultptr
;
8708 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8717 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8720 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8722 return Py_BuildValue((char *)"");
8724 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
= NULL
;
8726 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8727 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8728 wxSplitterEvent
*result
;
8729 PyObject
* obj0
= 0 ;
8730 PyObject
* obj1
= 0 ;
8732 (char *) "type",(char *) "splitter", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8738 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
8739 if (SWIG_arg_fail(1)) SWIG_fail
;
8743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8744 if (SWIG_arg_fail(2)) SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8760 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
= NULL
;
8762 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8767 (char *) "self",(char *) "pos", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8772 if (SWIG_arg_fail(1)) SWIG_fail
;
8774 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8775 if (SWIG_arg_fail(2)) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 (arg1
)->SetSashPosition(arg2
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
= NULL
;
8793 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8795 PyObject
* obj0
= 0 ;
8797 (char *) "self", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8802 if (SWIG_arg_fail(1)) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8811 resultobj
= SWIG_From_int(static_cast<int >(result
));
8819 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
= NULL
;
8821 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8823 PyObject
* obj0
= 0 ;
8825 (char *) "self", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8830 if (SWIG_arg_fail(1)) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= wxPyMake_wxObject(result
, 0);
8847 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
= NULL
;
8849 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8851 PyObject
* obj0
= 0 ;
8853 (char *) "self", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8858 if (SWIG_arg_fail(1)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= SWIG_From_int(static_cast<int >(result
));
8875 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
= NULL
;
8877 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8879 PyObject
* obj0
= 0 ;
8881 (char *) "self", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8886 if (SWIG_arg_fail(1)) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= SWIG_From_int(static_cast<int >(result
));
8903 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8906 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8908 return Py_BuildValue((char *)"");
8910 static int _wrap_SashNameStr_set(PyObject
*) {
8911 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8916 static PyObject
*_wrap_SashNameStr_get(void) {
8917 PyObject
*pyobj
= NULL
;
8921 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8923 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8930 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8931 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8936 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8937 PyObject
*pyobj
= NULL
;
8941 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8943 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8950 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
= NULL
;
8952 wxWindow
*arg1
= (wxWindow
*) 0 ;
8953 int arg2
= (int) -1 ;
8954 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8955 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8956 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8957 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8958 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8959 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8960 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8961 wxSashWindow
*result
;
8964 bool temp6
= false ;
8965 PyObject
* obj0
= 0 ;
8966 PyObject
* obj1
= 0 ;
8967 PyObject
* obj2
= 0 ;
8968 PyObject
* obj3
= 0 ;
8969 PyObject
* obj4
= 0 ;
8970 PyObject
* obj5
= 0 ;
8972 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8977 if (SWIG_arg_fail(1)) SWIG_fail
;
8980 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8981 if (SWIG_arg_fail(2)) SWIG_fail
;
8987 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8993 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8998 arg5
= static_cast<long >(SWIG_As_long(obj4
));
8999 if (SWIG_arg_fail(5)) SWIG_fail
;
9004 arg6
= wxString_in_helper(obj5
);
9005 if (arg6
== NULL
) SWIG_fail
;
9010 if (!wxPyCheckForApp()) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
9032 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
= NULL
;
9034 wxSashWindow
*result
;
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
9041 if (!wxPyCheckForApp()) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= (wxSashWindow
*)new wxSashWindow();
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
9055 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
= NULL
;
9057 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9058 wxWindow
*arg2
= (wxWindow
*) 0 ;
9059 int arg3
= (int) -1 ;
9060 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9061 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9062 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9063 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9064 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
9065 wxString
const &arg7_defvalue
= wxPySashNameStr
;
9066 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9070 bool temp7
= false ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 PyObject
* obj2
= 0 ;
9074 PyObject
* obj3
= 0 ;
9075 PyObject
* obj4
= 0 ;
9076 PyObject
* obj5
= 0 ;
9077 PyObject
* obj6
= 0 ;
9079 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9084 if (SWIG_arg_fail(1)) SWIG_fail
;
9085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9086 if (SWIG_arg_fail(2)) SWIG_fail
;
9089 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9090 if (SWIG_arg_fail(3)) SWIG_fail
;
9096 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9102 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9107 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9108 if (SWIG_arg_fail(6)) SWIG_fail
;
9113 arg7
= wxString_in_helper(obj6
);
9114 if (arg7
== NULL
) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9142 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
= NULL
;
9144 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9145 wxSashEdgePosition arg2
;
9147 PyObject
* obj0
= 0 ;
9148 PyObject
* obj1
= 0 ;
9149 PyObject
* obj2
= 0 ;
9151 (char *) "self",(char *) "edge",(char *) "sash", NULL
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9156 if (SWIG_arg_fail(1)) SWIG_fail
;
9158 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9159 if (SWIG_arg_fail(2)) SWIG_fail
;
9162 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9163 if (SWIG_arg_fail(3)) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 (arg1
)->SetSashVisible(arg2
,arg3
);
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 Py_INCREF(Py_None
); resultobj
= Py_None
;
9179 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
= NULL
;
9181 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9182 wxSashEdgePosition arg2
;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9187 (char *) "self",(char *) "edge", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9192 if (SWIG_arg_fail(1)) SWIG_fail
;
9194 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9195 if (SWIG_arg_fail(2)) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9213 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= NULL
;
9215 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9216 wxSashEdgePosition arg2
;
9218 PyObject
* obj0
= 0 ;
9219 PyObject
* obj1
= 0 ;
9220 PyObject
* obj2
= 0 ;
9222 (char *) "self",(char *) "edge",(char *) "border", NULL
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9227 if (SWIG_arg_fail(1)) SWIG_fail
;
9229 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9230 if (SWIG_arg_fail(2)) SWIG_fail
;
9233 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9234 if (SWIG_arg_fail(3)) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 (arg1
)->SetSashBorder(arg2
,arg3
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 Py_INCREF(Py_None
); resultobj
= Py_None
;
9250 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
= NULL
;
9252 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9253 wxSashEdgePosition arg2
;
9255 PyObject
* obj0
= 0 ;
9256 PyObject
* obj1
= 0 ;
9258 (char *) "self",(char *) "edge", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
9262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9263 if (SWIG_arg_fail(1)) SWIG_fail
;
9265 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9266 if (SWIG_arg_fail(2)) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9284 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
= NULL
;
9286 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9287 wxSashEdgePosition arg2
;
9289 PyObject
* obj0
= 0 ;
9290 PyObject
* obj1
= 0 ;
9292 (char *) "self",(char *) "edge", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
9296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9297 if (SWIG_arg_fail(1)) SWIG_fail
;
9299 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9300 if (SWIG_arg_fail(2)) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9310 resultobj
= SWIG_From_int(static_cast<int >(result
));
9318 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
= NULL
;
9320 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9325 (char *) "self",(char *) "width", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9330 if (SWIG_arg_fail(1)) SWIG_fail
;
9332 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9333 if (SWIG_arg_fail(2)) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 (arg1
)->SetDefaultBorderSize(arg2
);
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9342 Py_INCREF(Py_None
); resultobj
= Py_None
;
9349 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
= NULL
;
9351 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9355 (char *) "self", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9360 if (SWIG_arg_fail(1)) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 resultobj
= SWIG_From_int(static_cast<int >(result
));
9377 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
*resultobj
= NULL
;
9379 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9381 PyObject
* obj0
= 0 ;
9382 PyObject
* obj1
= 0 ;
9384 (char *) "self",(char *) "width", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9389 if (SWIG_arg_fail(1)) SWIG_fail
;
9391 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9392 if (SWIG_arg_fail(2)) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 (arg1
)->SetExtraBorderSize(arg2
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9401 Py_INCREF(Py_None
); resultobj
= Py_None
;
9408 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
= NULL
;
9410 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9414 (char *) "self", NULL
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9419 if (SWIG_arg_fail(1)) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= SWIG_From_int(static_cast<int >(result
));
9436 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
= NULL
;
9438 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9440 PyObject
* obj0
= 0 ;
9441 PyObject
* obj1
= 0 ;
9443 (char *) "self",(char *) "min", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9448 if (SWIG_arg_fail(1)) SWIG_fail
;
9450 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9451 if (SWIG_arg_fail(2)) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 (arg1
)->SetMinimumSizeX(arg2
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 Py_INCREF(Py_None
); resultobj
= Py_None
;
9467 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
= NULL
;
9469 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9472 PyObject
* obj1
= 0 ;
9474 (char *) "self",(char *) "min", NULL
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9479 if (SWIG_arg_fail(1)) SWIG_fail
;
9481 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9482 if (SWIG_arg_fail(2)) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 (arg1
)->SetMinimumSizeY(arg2
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 Py_INCREF(Py_None
); resultobj
= Py_None
;
9498 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= NULL
;
9500 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9502 PyObject
* obj0
= 0 ;
9504 (char *) "self", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9509 if (SWIG_arg_fail(1)) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_From_int(static_cast<int >(result
));
9526 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
= NULL
;
9528 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9530 PyObject
* obj0
= 0 ;
9532 (char *) "self", NULL
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9537 if (SWIG_arg_fail(1)) SWIG_fail
;
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= SWIG_From_int(static_cast<int >(result
));
9554 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
= NULL
;
9556 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9561 (char *) "self",(char *) "max", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9566 if (SWIG_arg_fail(1)) SWIG_fail
;
9568 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9569 if (SWIG_arg_fail(2)) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 (arg1
)->SetMaximumSizeX(arg2
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 Py_INCREF(Py_None
); resultobj
= Py_None
;
9585 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
= NULL
;
9587 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9589 PyObject
* obj0
= 0 ;
9590 PyObject
* obj1
= 0 ;
9592 (char *) "self",(char *) "max", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9597 if (SWIG_arg_fail(1)) SWIG_fail
;
9599 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9600 if (SWIG_arg_fail(2)) SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 (arg1
)->SetMaximumSizeY(arg2
);
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 Py_INCREF(Py_None
); resultobj
= Py_None
;
9616 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
= NULL
;
9618 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9620 PyObject
* obj0
= 0 ;
9622 (char *) "self", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9627 if (SWIG_arg_fail(1)) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= SWIG_From_int(static_cast<int >(result
));
9644 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
= NULL
;
9646 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9650 (char *) "self", NULL
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9655 if (SWIG_arg_fail(1)) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9664 resultobj
= SWIG_From_int(static_cast<int >(result
));
9672 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
= NULL
;
9674 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9677 int arg4
= (int) 2 ;
9678 wxSashEdgePosition result
;
9679 PyObject
* obj0
= 0 ;
9680 PyObject
* obj1
= 0 ;
9681 PyObject
* obj2
= 0 ;
9682 PyObject
* obj3
= 0 ;
9684 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9689 if (SWIG_arg_fail(1)) SWIG_fail
;
9691 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9692 if (SWIG_arg_fail(2)) SWIG_fail
;
9695 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9696 if (SWIG_arg_fail(3)) SWIG_fail
;
9700 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9701 if (SWIG_arg_fail(4)) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= SWIG_From_int((result
));
9718 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
= NULL
;
9720 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "self", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9728 if (SWIG_arg_fail(1)) SWIG_fail
;
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 (arg1
)->SizeWindows();
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 Py_INCREF(Py_None
); resultobj
= Py_None
;
9743 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9746 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9748 return Py_BuildValue((char *)"");
9750 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
= NULL
;
9752 int arg1
= (int) 0 ;
9753 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9754 wxSashEvent
*result
;
9755 PyObject
* obj0
= 0 ;
9756 PyObject
* obj1
= 0 ;
9758 (char *) "id",(char *) "edge", NULL
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9764 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9765 if (SWIG_arg_fail(1)) SWIG_fail
;
9770 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9771 if (SWIG_arg_fail(2)) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9788 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
= NULL
;
9790 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9791 wxSashEdgePosition arg2
;
9792 PyObject
* obj0
= 0 ;
9793 PyObject
* obj1
= 0 ;
9795 (char *) "self",(char *) "edge", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9800 if (SWIG_arg_fail(1)) SWIG_fail
;
9802 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9803 if (SWIG_arg_fail(2)) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 (arg1
)->SetEdge(arg2
);
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 Py_INCREF(Py_None
); resultobj
= Py_None
;
9819 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
= NULL
;
9821 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9822 wxSashEdgePosition result
;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "self", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9830 if (SWIG_arg_fail(1)) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= SWIG_From_int((result
));
9845 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
= NULL
;
9847 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9851 PyObject
* obj1
= 0 ;
9853 (char *) "self",(char *) "rect", NULL
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9858 if (SWIG_arg_fail(1)) SWIG_fail
;
9861 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) SWIG_fail
;
9870 Py_INCREF(Py_None
); resultobj
= Py_None
;
9877 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
= NULL
;
9879 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "self", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9888 if (SWIG_arg_fail(1)) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9898 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
9899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9907 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= NULL
;
9909 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9910 wxSashDragStatus arg2
;
9911 PyObject
* obj0
= 0 ;
9912 PyObject
* obj1
= 0 ;
9914 (char *) "self",(char *) "status", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9919 if (SWIG_arg_fail(1)) SWIG_fail
;
9921 arg2
= static_cast<wxSashDragStatus
>(SWIG_As_int(obj1
));
9922 if (SWIG_arg_fail(2)) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 (arg1
)->SetDragStatus(arg2
);
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9931 Py_INCREF(Py_None
); resultobj
= Py_None
;
9938 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
= NULL
;
9940 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9941 wxSashDragStatus result
;
9942 PyObject
* obj0
= 0 ;
9944 (char *) "self", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9949 if (SWIG_arg_fail(1)) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_From_int((result
));
9964 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9967 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9969 return Py_BuildValue((char *)"");
9971 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
= NULL
;
9973 int arg1
= (int) 0 ;
9974 wxQueryLayoutInfoEvent
*result
;
9975 PyObject
* obj0
= 0 ;
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9983 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9984 if (SWIG_arg_fail(1)) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
10001 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
= NULL
;
10003 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self",(char *) "length", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10013 if (SWIG_arg_fail(1)) SWIG_fail
;
10015 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10016 if (SWIG_arg_fail(2)) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 (arg1
)->SetRequestedLength(arg2
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 Py_INCREF(Py_None
); resultobj
= Py_None
;
10032 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
= NULL
;
10034 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
10042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10043 if (SWIG_arg_fail(1)) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10052 resultobj
= SWIG_From_int(static_cast<int >(result
));
10060 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
= NULL
;
10062 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10064 PyObject
* obj0
= 0 ;
10065 PyObject
* obj1
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "self",(char *) "flags", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10072 if (SWIG_arg_fail(1)) SWIG_fail
;
10074 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10075 if (SWIG_arg_fail(2)) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 (arg1
)->SetFlags(arg2
);
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10084 Py_INCREF(Py_None
); resultobj
= Py_None
;
10091 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
= NULL
;
10093 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10095 PyObject
* obj0
= 0 ;
10096 char *kwnames
[] = {
10097 (char *) "self", NULL
10100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10102 if (SWIG_arg_fail(1)) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= SWIG_From_int(static_cast<int >(result
));
10119 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
= NULL
;
10121 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10124 PyObject
* obj0
= 0 ;
10125 PyObject
* obj1
= 0 ;
10126 char *kwnames
[] = {
10127 (char *) "self",(char *) "size", NULL
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10132 if (SWIG_arg_fail(1)) SWIG_fail
;
10135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 (arg1
)->SetSize((wxSize
const &)*arg2
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 Py_INCREF(Py_None
); resultobj
= Py_None
;
10151 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
= NULL
;
10153 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
10161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10171 wxSize
* resultptr
;
10172 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
10173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10181 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
= NULL
;
10183 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10184 wxLayoutOrientation arg2
;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self",(char *) "orient", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10193 if (SWIG_arg_fail(1)) SWIG_fail
;
10195 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10196 if (SWIG_arg_fail(2)) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 (arg1
)->SetOrientation(arg2
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 Py_INCREF(Py_None
); resultobj
= Py_None
;
10212 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
= NULL
;
10214 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10215 wxLayoutOrientation result
;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
10222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10223 if (SWIG_arg_fail(1)) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_From_int((result
));
10238 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
= NULL
;
10240 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10241 wxLayoutAlignment arg2
;
10242 PyObject
* obj0
= 0 ;
10243 PyObject
* obj1
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self",(char *) "align", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10250 if (SWIG_arg_fail(1)) SWIG_fail
;
10252 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10253 if (SWIG_arg_fail(2)) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 (arg1
)->SetAlignment(arg2
);
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 Py_INCREF(Py_None
); resultobj
= Py_None
;
10269 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
= NULL
;
10271 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10272 wxLayoutAlignment result
;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
10279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10280 if (SWIG_arg_fail(1)) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_From_int((result
));
10295 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
10297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10298 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
10300 return Py_BuildValue((char *)"");
10302 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
= NULL
;
10304 int arg1
= (int) 0 ;
10305 wxCalculateLayoutEvent
*result
;
10306 PyObject
* obj0
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "id", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
10314 arg1
= static_cast<int >(SWIG_As_int(obj0
));
10315 if (SWIG_arg_fail(1)) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10332 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
= NULL
;
10334 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10336 PyObject
* obj0
= 0 ;
10337 PyObject
* obj1
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self",(char *) "flags", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10344 if (SWIG_arg_fail(1)) SWIG_fail
;
10346 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10347 if (SWIG_arg_fail(2)) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 (arg1
)->SetFlags(arg2
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 Py_INCREF(Py_None
); resultobj
= Py_None
;
10363 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
= NULL
;
10365 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 char *kwnames
[] = {
10369 (char *) "self", NULL
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10374 if (SWIG_arg_fail(1)) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10383 resultobj
= SWIG_From_int(static_cast<int >(result
));
10391 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10392 PyObject
*resultobj
= NULL
;
10393 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 PyObject
* obj1
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self",(char *) "rect", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10404 if (SWIG_arg_fail(1)) SWIG_fail
;
10407 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 (arg1
)->SetRect((wxRect
const &)*arg2
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 Py_INCREF(Py_None
); resultobj
= Py_None
;
10423 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
= NULL
;
10425 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10427 PyObject
* obj0
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10434 if (SWIG_arg_fail(1)) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10443 wxRect
* resultptr
;
10444 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
10445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10453 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10456 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10458 return Py_BuildValue((char *)"");
10460 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10461 PyObject
*resultobj
= NULL
;
10462 wxWindow
*arg1
= (wxWindow
*) 0 ;
10463 int arg2
= (int) -1 ;
10464 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10465 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10466 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10467 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10468 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10469 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10470 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10471 wxSashLayoutWindow
*result
;
10474 bool temp6
= false ;
10475 PyObject
* obj0
= 0 ;
10476 PyObject
* obj1
= 0 ;
10477 PyObject
* obj2
= 0 ;
10478 PyObject
* obj3
= 0 ;
10479 PyObject
* obj4
= 0 ;
10480 PyObject
* obj5
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10487 if (SWIG_arg_fail(1)) SWIG_fail
;
10490 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10491 if (SWIG_arg_fail(2)) SWIG_fail
;
10497 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10503 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10508 arg5
= static_cast<long >(SWIG_As_long(obj4
));
10509 if (SWIG_arg_fail(5)) SWIG_fail
;
10514 arg6
= wxString_in_helper(obj5
);
10515 if (arg6
== NULL
) SWIG_fail
;
10520 if (!wxPyCheckForApp()) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10542 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
= NULL
;
10544 wxSashLayoutWindow
*result
;
10545 char *kwnames
[] = {
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10551 if (!wxPyCheckForApp()) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10565 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
= NULL
;
10567 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10568 wxWindow
*arg2
= (wxWindow
*) 0 ;
10569 int arg3
= (int) -1 ;
10570 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10571 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10572 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10573 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10574 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10575 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10576 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10580 bool temp7
= false ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 PyObject
* obj2
= 0 ;
10584 PyObject
* obj3
= 0 ;
10585 PyObject
* obj4
= 0 ;
10586 PyObject
* obj5
= 0 ;
10587 PyObject
* obj6
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10594 if (SWIG_arg_fail(1)) SWIG_fail
;
10595 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10596 if (SWIG_arg_fail(2)) SWIG_fail
;
10599 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10600 if (SWIG_arg_fail(3)) SWIG_fail
;
10606 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10612 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10617 arg6
= static_cast<long >(SWIG_As_long(obj5
));
10618 if (SWIG_arg_fail(6)) SWIG_fail
;
10623 arg7
= wxString_in_helper(obj6
);
10624 if (arg7
== NULL
) SWIG_fail
;
10629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10630 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10652 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
= NULL
;
10654 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10655 wxLayoutAlignment result
;
10656 PyObject
* obj0
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10663 if (SWIG_arg_fail(1)) SWIG_fail
;
10665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10666 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= SWIG_From_int((result
));
10678 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
= NULL
;
10680 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10681 wxLayoutOrientation result
;
10682 PyObject
* obj0
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "self", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10689 if (SWIG_arg_fail(1)) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_From_int((result
));
10704 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
= NULL
;
10706 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10707 wxLayoutAlignment arg2
;
10708 PyObject
* obj0
= 0 ;
10709 PyObject
* obj1
= 0 ;
10710 char *kwnames
[] = {
10711 (char *) "self",(char *) "alignment", NULL
10714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10716 if (SWIG_arg_fail(1)) SWIG_fail
;
10718 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10719 if (SWIG_arg_fail(2)) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 (arg1
)->SetAlignment(arg2
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 Py_INCREF(Py_None
); resultobj
= Py_None
;
10735 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
= NULL
;
10737 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10740 PyObject
* obj0
= 0 ;
10741 PyObject
* obj1
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "self",(char *) "size", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10748 if (SWIG_arg_fail(1)) SWIG_fail
;
10751 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 Py_INCREF(Py_None
); resultobj
= Py_None
;
10767 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
= NULL
;
10769 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10770 wxLayoutOrientation arg2
;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self",(char *) "orientation", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10779 if (SWIG_arg_fail(1)) SWIG_fail
;
10781 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10782 if (SWIG_arg_fail(2)) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 (arg1
)->SetOrientation(arg2
);
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 Py_INCREF(Py_None
); resultobj
= Py_None
;
10798 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10801 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10803 return Py_BuildValue((char *)"");
10805 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
= NULL
;
10807 wxLayoutAlgorithm
*result
;
10808 char *kwnames
[] = {
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10827 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
= NULL
;
10829 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10837 if (SWIG_arg_fail(1)) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 Py_INCREF(Py_None
); resultobj
= Py_None
;
10852 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
= NULL
;
10854 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10855 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10856 wxRect
*arg3
= (wxRect
*) NULL
;
10858 PyObject
* obj0
= 0 ;
10859 PyObject
* obj1
= 0 ;
10860 PyObject
* obj2
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self",(char *) "frame",(char *) "rect", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10867 if (SWIG_arg_fail(1)) SWIG_fail
;
10868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10869 if (SWIG_arg_fail(2)) SWIG_fail
;
10871 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10872 if (SWIG_arg_fail(3)) SWIG_fail
;
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10890 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
= NULL
;
10892 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10893 wxFrame
*arg2
= (wxFrame
*) 0 ;
10894 wxWindow
*arg3
= (wxWindow
*) NULL
;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 PyObject
* obj2
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10905 if (SWIG_arg_fail(1)) SWIG_fail
;
10906 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10907 if (SWIG_arg_fail(2)) SWIG_fail
;
10909 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10910 if (SWIG_arg_fail(3)) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10928 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
= NULL
;
10930 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10931 wxWindow
*arg2
= (wxWindow
*) 0 ;
10932 wxWindow
*arg3
= (wxWindow
*) NULL
;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 PyObject
* obj2
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10943 if (SWIG_arg_fail(1)) SWIG_fail
;
10944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10945 if (SWIG_arg_fail(2)) SWIG_fail
;
10947 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10948 if (SWIG_arg_fail(3)) SWIG_fail
;
10951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10952 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10954 wxPyEndAllowThreads(__tstate
);
10955 if (PyErr_Occurred()) SWIG_fail
;
10958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10966 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10969 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10971 return Py_BuildValue((char *)"");
10973 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
= NULL
;
10975 wxWindow
*arg1
= (wxWindow
*) 0 ;
10976 int arg2
= (int) wxBORDER_NONE
;
10977 wxPopupWindow
*result
;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "parent",(char *) "flags", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10986 if (SWIG_arg_fail(1)) SWIG_fail
;
10989 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10990 if (SWIG_arg_fail(2)) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
11007 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
= NULL
;
11009 wxPopupWindow
*result
;
11010 char *kwnames
[] = {
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (wxPopupWindow
*)new wxPopupWindow();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
11029 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
11031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11032 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
11034 return Py_BuildValue((char *)"");
11036 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
= NULL
;
11038 wxWindow
*arg1
= (wxWindow
*) 0 ;
11039 int arg2
= (int) wxBORDER_NONE
;
11040 wxPyPopupTransientWindow
*result
;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "parent",(char *) "style", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
11048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail
;
11052 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11053 if (SWIG_arg_fail(2)) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
11070 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
= NULL
;
11072 wxPyPopupTransientWindow
*result
;
11073 char *kwnames
[] = {
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
11092 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
11094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11095 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
11097 return Py_BuildValue((char *)"");
11099 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
= NULL
;
11101 wxWindow
*arg1
= (wxWindow
*) 0 ;
11102 wxString
*arg2
= 0 ;
11103 int arg3
= (int) 100 ;
11104 wxRect
*arg4
= (wxRect
*) NULL
;
11105 wxTipWindow
*result
;
11106 bool temp2
= false ;
11107 PyObject
* obj0
= 0 ;
11108 PyObject
* obj1
= 0 ;
11109 PyObject
* obj2
= 0 ;
11110 PyObject
* obj3
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11117 if (SWIG_arg_fail(1)) SWIG_fail
;
11119 arg2
= wxString_in_helper(obj1
);
11120 if (arg2
== NULL
) SWIG_fail
;
11125 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11126 if (SWIG_arg_fail(3)) SWIG_fail
;
11130 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
11131 if (SWIG_arg_fail(4)) SWIG_fail
;
11134 if (!wxPyCheckForApp()) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
11156 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
= NULL
;
11158 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11161 PyObject
* obj0
= 0 ;
11162 PyObject
* obj1
= 0 ;
11163 char *kwnames
[] = {
11164 (char *) "self",(char *) "rectBound", NULL
11167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11169 if (SWIG_arg_fail(1)) SWIG_fail
;
11172 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 Py_INCREF(Py_None
); resultobj
= Py_None
;
11188 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
= NULL
;
11190 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11191 PyObject
* obj0
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11198 if (SWIG_arg_fail(1)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11216 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11218 return Py_BuildValue((char *)"");
11220 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
= NULL
;
11222 wxWindow
*arg1
= (wxWindow
*) 0 ;
11223 int arg2
= (int) wxID_ANY
;
11224 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11225 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11226 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11227 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11228 long arg5
= (long) 0 ;
11229 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11230 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11231 wxPyVScrolledWindow
*result
;
11234 bool temp6
= false ;
11235 PyObject
* obj0
= 0 ;
11236 PyObject
* obj1
= 0 ;
11237 PyObject
* obj2
= 0 ;
11238 PyObject
* obj3
= 0 ;
11239 PyObject
* obj4
= 0 ;
11240 PyObject
* obj5
= 0 ;
11241 char *kwnames
[] = {
11242 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11247 if (SWIG_arg_fail(1)) SWIG_fail
;
11250 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11251 if (SWIG_arg_fail(2)) SWIG_fail
;
11257 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11263 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11268 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11269 if (SWIG_arg_fail(5)) SWIG_fail
;
11274 arg6
= wxString_in_helper(obj5
);
11275 if (arg6
== NULL
) SWIG_fail
;
11280 if (!wxPyCheckForApp()) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11302 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
= NULL
;
11304 wxPyVScrolledWindow
*result
;
11305 char *kwnames
[] = {
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11311 if (!wxPyCheckForApp()) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11325 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
= NULL
;
11327 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11328 PyObject
*arg2
= (PyObject
*) 0 ;
11329 PyObject
*arg3
= (PyObject
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 PyObject
* obj2
= 0 ;
11333 char *kwnames
[] = {
11334 (char *) "self",(char *) "self",(char *) "_class", NULL
11337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11339 if (SWIG_arg_fail(1)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11349 Py_INCREF(Py_None
); resultobj
= Py_None
;
11356 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
= NULL
;
11358 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11359 wxWindow
*arg2
= (wxWindow
*) 0 ;
11360 int arg3
= (int) wxID_ANY
;
11361 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11362 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11363 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11364 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11365 long arg6
= (long) 0 ;
11366 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11367 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11371 bool temp7
= false ;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 PyObject
* obj2
= 0 ;
11375 PyObject
* obj3
= 0 ;
11376 PyObject
* obj4
= 0 ;
11377 PyObject
* obj5
= 0 ;
11378 PyObject
* obj6
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11385 if (SWIG_arg_fail(1)) SWIG_fail
;
11386 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11387 if (SWIG_arg_fail(2)) SWIG_fail
;
11390 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11391 if (SWIG_arg_fail(3)) SWIG_fail
;
11397 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11403 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11408 arg6
= static_cast<long >(SWIG_As_long(obj5
));
11409 if (SWIG_arg_fail(6)) SWIG_fail
;
11414 arg7
= wxString_in_helper(obj6
);
11415 if (arg7
== NULL
) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11443 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
= NULL
;
11445 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 char *kwnames
[] = {
11450 (char *) "self",(char *) "count", NULL
11453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11455 if (SWIG_arg_fail(1)) SWIG_fail
;
11457 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11458 if (SWIG_arg_fail(2)) SWIG_fail
;
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 (arg1
)->SetLineCount(arg2
);
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 Py_INCREF(Py_None
); resultobj
= Py_None
;
11474 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
= NULL
;
11476 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11479 PyObject
* obj0
= 0 ;
11480 PyObject
* obj1
= 0 ;
11481 char *kwnames
[] = {
11482 (char *) "self",(char *) "line", NULL
11485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11487 if (SWIG_arg_fail(1)) SWIG_fail
;
11489 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11490 if (SWIG_arg_fail(2)) SWIG_fail
;
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11508 static PyObject
*_wrap_VScrolledWindow_ScrollLines(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 *) "lines", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",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<int >(SWIG_As_int(obj1
));
11524 if (SWIG_arg_fail(2)) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (bool)(arg1
)->ScrollLines(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_ScrollPages(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 *) "pages", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",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
)->ScrollPages(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_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
= NULL
;
11578 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 char *kwnames
[] = {
11583 (char *) "self",(char *) "line", NULL
11586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11588 if (SWIG_arg_fail(1)) SWIG_fail
;
11590 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11591 if (SWIG_arg_fail(2)) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 (arg1
)->RefreshLine(arg2
);
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 Py_INCREF(Py_None
); resultobj
= Py_None
;
11607 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
= NULL
;
11609 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11612 PyObject
* obj0
= 0 ;
11613 PyObject
* obj1
= 0 ;
11614 PyObject
* obj2
= 0 ;
11615 char *kwnames
[] = {
11616 (char *) "self",(char *) "from",(char *) "to", NULL
11619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11621 if (SWIG_arg_fail(1)) SWIG_fail
;
11623 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11624 if (SWIG_arg_fail(2)) SWIG_fail
;
11627 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
11628 if (SWIG_arg_fail(3)) SWIG_fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 (arg1
)->RefreshLines(arg2
,arg3
);
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 Py_INCREF(Py_None
); resultobj
= Py_None
;
11644 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
= NULL
;
11646 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11650 PyObject
* obj0
= 0 ;
11651 PyObject
* obj1
= 0 ;
11652 PyObject
* obj2
= 0 ;
11653 char *kwnames
[] = {
11654 (char *) "self",(char *) "x",(char *) "y", NULL
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11659 if (SWIG_arg_fail(1)) SWIG_fail
;
11661 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11662 if (SWIG_arg_fail(2)) SWIG_fail
;
11665 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11666 if (SWIG_arg_fail(3)) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_From_int(static_cast<int >(result
));
11684 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
= NULL
;
11686 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11687 wxPoint
*arg2
= 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "pt", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail
;
11701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_From_int(static_cast<int >(result
));
11719 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
= NULL
;
11721 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11722 PyObject
* obj0
= 0 ;
11723 char *kwnames
[] = {
11724 (char *) "self", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11729 if (SWIG_arg_fail(1)) SWIG_fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 (arg1
)->RefreshAll();
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 Py_INCREF(Py_None
); resultobj
= Py_None
;
11744 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
= NULL
;
11746 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11748 PyObject
* obj0
= 0 ;
11749 char *kwnames
[] = {
11750 (char *) "self", NULL
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11755 if (SWIG_arg_fail(1)) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11772 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
= NULL
;
11774 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11776 PyObject
* obj0
= 0 ;
11777 char *kwnames
[] = {
11778 (char *) "self", NULL
11781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11783 if (SWIG_arg_fail(1)) SWIG_fail
;
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11792 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11800 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
= NULL
;
11802 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11804 PyObject
* obj0
= 0 ;
11805 char *kwnames
[] = {
11806 (char *) "self", NULL
11809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11811 if (SWIG_arg_fail(1)) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11828 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
= NULL
;
11830 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11833 PyObject
* obj0
= 0 ;
11834 PyObject
* obj1
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "self",(char *) "line", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11841 if (SWIG_arg_fail(1)) SWIG_fail
;
11843 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11844 if (SWIG_arg_fail(2)) SWIG_fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11862 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
= NULL
;
11864 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11866 PyObject
* obj0
= 0 ;
11867 char *kwnames
[] = {
11868 (char *) "self", NULL
11871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11873 if (SWIG_arg_fail(1)) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11890 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
= NULL
;
11892 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11894 PyObject
* obj0
= 0 ;
11895 char *kwnames
[] = {
11896 (char *) "self", NULL
11899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11901 if (SWIG_arg_fail(1)) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11910 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11918 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11921 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11923 return Py_BuildValue((char *)"");
11925 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11926 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11931 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11932 PyObject
*pyobj
= NULL
;
11936 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11938 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11945 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11946 PyObject
*resultobj
= NULL
;
11947 wxWindow
*arg1
= (wxWindow
*) 0 ;
11948 int arg2
= (int) wxID_ANY
;
11949 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11950 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11951 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11952 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11953 long arg5
= (long) 0 ;
11954 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11955 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11956 wxPyVListBox
*result
;
11959 bool temp6
= false ;
11960 PyObject
* obj0
= 0 ;
11961 PyObject
* obj1
= 0 ;
11962 PyObject
* obj2
= 0 ;
11963 PyObject
* obj3
= 0 ;
11964 PyObject
* obj4
= 0 ;
11965 PyObject
* obj5
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11972 if (SWIG_arg_fail(1)) SWIG_fail
;
11975 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11976 if (SWIG_arg_fail(2)) SWIG_fail
;
11982 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11988 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11993 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11994 if (SWIG_arg_fail(5)) SWIG_fail
;
11999 arg6
= wxString_in_helper(obj5
);
12000 if (arg6
== NULL
) SWIG_fail
;
12005 if (!wxPyCheckForApp()) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12027 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
= NULL
;
12029 wxPyVListBox
*result
;
12030 char *kwnames
[] = {
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
12036 if (!wxPyCheckForApp()) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (wxPyVListBox
*)new wxPyVListBox();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12050 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
= NULL
;
12052 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12053 PyObject
*arg2
= (PyObject
*) 0 ;
12054 PyObject
*arg3
= (PyObject
*) 0 ;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 PyObject
* obj2
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self",(char *) "self",(char *) "_class", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12074 Py_INCREF(Py_None
); resultobj
= Py_None
;
12081 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
= NULL
;
12083 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12084 wxWindow
*arg2
= (wxWindow
*) 0 ;
12085 int arg3
= (int) wxID_ANY
;
12086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12088 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12089 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12090 long arg6
= (long) 0 ;
12091 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12092 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12096 bool temp7
= false ;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 PyObject
* obj2
= 0 ;
12100 PyObject
* obj3
= 0 ;
12101 PyObject
* obj4
= 0 ;
12102 PyObject
* obj5
= 0 ;
12103 PyObject
* obj6
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail
;
12111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12112 if (SWIG_arg_fail(2)) SWIG_fail
;
12115 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12116 if (SWIG_arg_fail(3)) SWIG_fail
;
12122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12133 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12134 if (SWIG_arg_fail(6)) SWIG_fail
;
12139 arg7
= wxString_in_helper(obj6
);
12140 if (arg7
== NULL
) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12168 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
= NULL
;
12170 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
12178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12179 if (SWIG_arg_fail(1)) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12196 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
= NULL
;
12198 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12200 PyObject
* obj0
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "self", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
12206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12207 if (SWIG_arg_fail(1)) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12224 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
= NULL
;
12226 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12235 if (SWIG_arg_fail(1)) SWIG_fail
;
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= SWIG_From_int(static_cast<int >(result
));
12252 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
= NULL
;
12254 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12257 PyObject
* obj0
= 0 ;
12258 PyObject
* obj1
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self",(char *) "item", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12265 if (SWIG_arg_fail(1)) SWIG_fail
;
12267 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12268 if (SWIG_arg_fail(2)) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12286 static PyObject
*_wrap_VListBox_IsSelected(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_IsSelected",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
)->IsSelected(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_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
= NULL
;
12322 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12324 PyObject
* obj0
= 0 ;
12325 char *kwnames
[] = {
12326 (char *) "self", NULL
12329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12348 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
= NULL
;
12350 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12359 if (SWIG_arg_fail(1)) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= result
;
12374 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12375 PyObject
*resultobj
= NULL
;
12376 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12377 unsigned long arg2
;
12379 PyObject
* obj0
= 0 ;
12380 PyObject
* obj1
= 0 ;
12381 char *kwnames
[] = {
12382 (char *) "self",(char *) "cookie", NULL
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12387 if (SWIG_arg_fail(1)) SWIG_fail
;
12389 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
12390 if (SWIG_arg_fail(2)) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= result
;
12406 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
= NULL
;
12408 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12410 PyObject
* obj0
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12417 if (SWIG_arg_fail(1)) SWIG_fail
;
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12426 wxPoint
* resultptr
;
12427 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12436 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
= NULL
;
12438 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12447 if (SWIG_arg_fail(1)) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12452 result
= (wxColour
*) &_result_ref
;
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12465 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
= NULL
;
12467 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 PyObject
* obj1
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self",(char *) "count", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12477 if (SWIG_arg_fail(1)) SWIG_fail
;
12479 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12480 if (SWIG_arg_fail(2)) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 (arg1
)->SetItemCount(arg2
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 Py_INCREF(Py_None
); resultobj
= Py_None
;
12496 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
= NULL
;
12498 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12506 if (SWIG_arg_fail(1)) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 Py_INCREF(Py_None
); resultobj
= Py_None
;
12521 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
= NULL
;
12523 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12525 PyObject
* obj0
= 0 ;
12526 PyObject
* obj1
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self",(char *) "selection", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail
;
12535 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12536 if (SWIG_arg_fail(2)) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 (arg1
)->SetSelection(arg2
);
12542 wxPyEndAllowThreads(__tstate
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 Py_INCREF(Py_None
); resultobj
= Py_None
;
12552 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
= NULL
;
12554 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12556 bool arg3
= (bool) true ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 PyObject
* obj2
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self",(char *) "item",(char *) "select", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) 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<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12570 if (SWIG_arg_fail(2)) SWIG_fail
;
12574 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
12575 if (SWIG_arg_fail(3)) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12594 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
= NULL
;
12596 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12600 PyObject
* obj0
= 0 ;
12601 PyObject
* obj1
= 0 ;
12602 PyObject
* obj2
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self",(char *) "from",(char *) "to", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12609 if (SWIG_arg_fail(1)) SWIG_fail
;
12611 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12612 if (SWIG_arg_fail(2)) SWIG_fail
;
12615 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12616 if (SWIG_arg_fail(3)) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12634 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
= NULL
;
12636 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12638 PyObject
* obj0
= 0 ;
12639 PyObject
* obj1
= 0 ;
12640 char *kwnames
[] = {
12641 (char *) "self",(char *) "item", NULL
12644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12646 if (SWIG_arg_fail(1)) SWIG_fail
;
12648 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12649 if (SWIG_arg_fail(2)) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 (arg1
)->Toggle(arg2
);
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12658 Py_INCREF(Py_None
); resultobj
= Py_None
;
12665 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12666 PyObject
*resultobj
= NULL
;
12667 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12669 PyObject
* obj0
= 0 ;
12670 char *kwnames
[] = {
12671 (char *) "self", NULL
12674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12676 if (SWIG_arg_fail(1)) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 result
= (bool)(arg1
)->SelectAll();
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12693 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
= NULL
;
12695 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12704 if (SWIG_arg_fail(1)) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (bool)(arg1
)->DeselectAll();
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12721 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12722 PyObject
*resultobj
= NULL
;
12723 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12724 wxPoint
*arg2
= 0 ;
12726 PyObject
* obj0
= 0 ;
12727 PyObject
* obj1
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self",(char *) "pt", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12734 if (SWIG_arg_fail(1)) SWIG_fail
;
12737 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 Py_INCREF(Py_None
); resultobj
= Py_None
;
12753 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
= NULL
;
12755 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 PyObject
* obj2
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self",(char *) "x",(char *) "y", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12767 if (SWIG_arg_fail(1)) SWIG_fail
;
12769 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12770 if (SWIG_arg_fail(2)) SWIG_fail
;
12773 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12774 if (SWIG_arg_fail(3)) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 (arg1
)->SetMargins(arg2
,arg3
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 Py_INCREF(Py_None
); resultobj
= Py_None
;
12790 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
= NULL
;
12792 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12793 wxColour
*arg2
= 0 ;
12795 PyObject
* obj0
= 0 ;
12796 PyObject
* obj1
= 0 ;
12797 char *kwnames
[] = {
12798 (char *) "self",(char *) "col", NULL
12801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12803 if (SWIG_arg_fail(1)) SWIG_fail
;
12806 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 Py_INCREF(Py_None
); resultobj
= Py_None
;
12822 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12825 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12827 return Py_BuildValue((char *)"");
12829 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
= NULL
;
12831 wxWindow
*arg1
= (wxWindow
*) 0 ;
12832 int arg2
= (int) wxID_ANY
;
12833 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12834 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12835 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12836 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12837 long arg5
= (long) 0 ;
12838 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12839 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12840 wxPyHtmlListBox
*result
;
12843 bool temp6
= false ;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 PyObject
* obj2
= 0 ;
12847 PyObject
* obj3
= 0 ;
12848 PyObject
* obj4
= 0 ;
12849 PyObject
* obj5
= 0 ;
12850 char *kwnames
[] = {
12851 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12856 if (SWIG_arg_fail(1)) SWIG_fail
;
12859 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12860 if (SWIG_arg_fail(2)) SWIG_fail
;
12866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12872 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12877 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12878 if (SWIG_arg_fail(5)) SWIG_fail
;
12883 arg6
= wxString_in_helper(obj5
);
12884 if (arg6
== NULL
) SWIG_fail
;
12889 if (!wxPyCheckForApp()) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12911 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
= NULL
;
12913 wxPyHtmlListBox
*result
;
12914 char *kwnames
[] = {
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12920 if (!wxPyCheckForApp()) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12934 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
= NULL
;
12936 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12937 PyObject
*arg2
= (PyObject
*) 0 ;
12938 PyObject
*arg3
= (PyObject
*) 0 ;
12939 PyObject
* obj0
= 0 ;
12940 PyObject
* obj1
= 0 ;
12941 PyObject
* obj2
= 0 ;
12942 char *kwnames
[] = {
12943 (char *) "self",(char *) "self",(char *) "_class", NULL
12946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12948 if (SWIG_arg_fail(1)) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 Py_INCREF(Py_None
); resultobj
= Py_None
;
12965 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
= NULL
;
12967 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12968 wxWindow
*arg2
= (wxWindow
*) 0 ;
12969 int arg3
= (int) wxID_ANY
;
12970 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12971 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12972 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12973 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12974 long arg6
= (long) 0 ;
12975 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12976 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12980 bool temp7
= false ;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 PyObject
* obj2
= 0 ;
12984 PyObject
* obj3
= 0 ;
12985 PyObject
* obj4
= 0 ;
12986 PyObject
* obj5
= 0 ;
12987 PyObject
* obj6
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12994 if (SWIG_arg_fail(1)) SWIG_fail
;
12995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12996 if (SWIG_arg_fail(2)) SWIG_fail
;
12999 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13000 if (SWIG_arg_fail(3)) SWIG_fail
;
13006 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13012 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13017 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13018 if (SWIG_arg_fail(6)) SWIG_fail
;
13023 arg7
= wxString_in_helper(obj6
);
13024 if (arg7
== NULL
) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13052 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
= NULL
;
13054 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
13061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13062 if (SWIG_arg_fail(1)) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 (arg1
)->RefreshAll();
13067 wxPyEndAllowThreads(__tstate
);
13068 if (PyErr_Occurred()) SWIG_fail
;
13070 Py_INCREF(Py_None
); resultobj
= Py_None
;
13077 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13078 PyObject
*resultobj
= NULL
;
13079 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self",(char *) "count", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
13088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13089 if (SWIG_arg_fail(1)) SWIG_fail
;
13091 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
13092 if (SWIG_arg_fail(2)) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 (arg1
)->SetItemCount(arg2
);
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13101 Py_INCREF(Py_None
); resultobj
= Py_None
;
13108 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
= NULL
;
13110 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13111 wxFileSystem
*result
;
13112 PyObject
* obj0
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
13118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13119 if (SWIG_arg_fail(1)) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
13124 result
= (wxFileSystem
*) &_result_ref
;
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
13137 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
13139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13140 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
13142 return Py_BuildValue((char *)"");
13144 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
= NULL
;
13146 wxPyTaskBarIcon
*result
;
13147 char *kwnames
[] = {
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
13153 if (!wxPyCheckForApp()) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
13167 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
= NULL
;
13169 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13170 PyObject
* obj0
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "self", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
13176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13177 if (SWIG_arg_fail(1)) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 Py_INCREF(Py_None
); resultobj
= Py_None
;
13192 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
= NULL
;
13194 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13195 PyObject
*arg2
= (PyObject
*) 0 ;
13196 PyObject
*arg3
= (PyObject
*) 0 ;
13198 PyObject
* obj0
= 0 ;
13199 PyObject
* obj1
= 0 ;
13200 PyObject
* obj2
= 0 ;
13201 PyObject
* obj3
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13208 if (SWIG_arg_fail(1)) SWIG_fail
;
13212 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13213 if (SWIG_arg_fail(4)) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 Py_INCREF(Py_None
); resultobj
= Py_None
;
13229 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
= NULL
;
13231 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
13238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13239 if (SWIG_arg_fail(1)) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 wxPyTaskBarIcon_Destroy(arg1
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
= NULL
;
13256 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13282 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
= NULL
;
13284 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13286 PyObject
* obj0
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13293 if (SWIG_arg_fail(1)) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13310 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
= NULL
;
13312 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13314 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13315 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13317 bool temp3
= false ;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 PyObject
* obj2
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13327 if (SWIG_arg_fail(1)) SWIG_fail
;
13329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13330 if (SWIG_arg_fail(2)) SWIG_fail
;
13331 if (arg2
== NULL
) {
13332 SWIG_null_ref("wxIcon");
13334 if (SWIG_arg_fail(2)) SWIG_fail
;
13338 arg3
= wxString_in_helper(obj2
);
13339 if (arg3
== NULL
) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13367 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
= NULL
;
13369 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13371 PyObject
* obj0
= 0 ;
13372 char *kwnames
[] = {
13373 (char *) "self", NULL
13376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13378 if (SWIG_arg_fail(1)) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (bool)(arg1
)->RemoveIcon();
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13395 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
= NULL
;
13397 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13398 wxMenu
*arg2
= (wxMenu
*) 0 ;
13400 PyObject
* obj0
= 0 ;
13401 PyObject
* obj1
= 0 ;
13402 char *kwnames
[] = {
13403 (char *) "self",(char *) "menu", NULL
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13408 if (SWIG_arg_fail(1)) SWIG_fail
;
13409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13410 if (SWIG_arg_fail(2)) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (bool)(arg1
)->PopupMenu(arg2
);
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13427 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13430 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13432 return Py_BuildValue((char *)"");
13434 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
= NULL
;
13437 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13438 wxTaskBarIconEvent
*result
;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "evtType",(char *) "tbIcon", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13447 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13448 if (SWIG_arg_fail(1)) SWIG_fail
;
13450 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13451 if (SWIG_arg_fail(2)) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13466 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13469 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13471 return Py_BuildValue((char *)"");
13473 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13474 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13479 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13480 PyObject
*pyobj
= NULL
;
13484 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13486 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13493 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13494 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13499 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13500 PyObject
*pyobj
= NULL
;
13504 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13506 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13513 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13514 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13519 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13520 PyObject
*pyobj
= NULL
;
13524 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13526 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13533 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13534 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13539 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13540 PyObject
*pyobj
= NULL
;
13544 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13546 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13553 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13554 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13559 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13560 PyObject
*pyobj
= NULL
;
13564 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13566 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13573 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13574 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13579 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13580 PyObject
*pyobj
= NULL
;
13584 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13586 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13593 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
= NULL
;
13595 wxColourData
*result
;
13596 char *kwnames
[] = {
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (wxColourData
*)new wxColourData();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13615 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
= NULL
;
13617 wxColourData
*arg1
= (wxColourData
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13625 if (SWIG_arg_fail(1)) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 Py_INCREF(Py_None
); resultobj
= Py_None
;
13640 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
= NULL
;
13642 wxColourData
*arg1
= (wxColourData
*) 0 ;
13644 PyObject
* obj0
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13651 if (SWIG_arg_fail(1)) SWIG_fail
;
13653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13654 result
= (bool)(arg1
)->GetChooseFull();
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13668 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
= NULL
;
13670 wxColourData
*arg1
= (wxColourData
*) 0 ;
13672 PyObject
* obj0
= 0 ;
13673 char *kwnames
[] = {
13674 (char *) "self", NULL
13677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13679 if (SWIG_arg_fail(1)) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 result
= (arg1
)->GetColour();
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13688 wxColour
* resultptr
;
13689 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13698 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
= NULL
;
13700 wxColourData
*arg1
= (wxColourData
*) 0 ;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self",(char *) "i", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13711 if (SWIG_arg_fail(1)) SWIG_fail
;
13713 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13714 if (SWIG_arg_fail(2)) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 result
= (arg1
)->GetCustomColour(arg2
);
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13724 wxColour
* resultptr
;
13725 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13734 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
= NULL
;
13736 wxColourData
*arg1
= (wxColourData
*) 0 ;
13738 PyObject
* obj0
= 0 ;
13739 PyObject
* obj1
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self",(char *) "flag", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13746 if (SWIG_arg_fail(1)) SWIG_fail
;
13748 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13749 if (SWIG_arg_fail(2)) SWIG_fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 (arg1
)->SetChooseFull(arg2
);
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 Py_INCREF(Py_None
); resultobj
= Py_None
;
13765 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
= NULL
;
13767 wxColourData
*arg1
= (wxColourData
*) 0 ;
13768 wxColour
*arg2
= 0 ;
13770 PyObject
* obj0
= 0 ;
13771 PyObject
* obj1
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self",(char *) "colour", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13778 if (SWIG_arg_fail(1)) SWIG_fail
;
13781 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 (arg1
)->SetColour((wxColour
const &)*arg2
);
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 Py_INCREF(Py_None
); resultobj
= Py_None
;
13797 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
= NULL
;
13799 wxColourData
*arg1
= (wxColourData
*) 0 ;
13801 wxColour
*arg3
= 0 ;
13803 PyObject
* obj0
= 0 ;
13804 PyObject
* obj1
= 0 ;
13805 PyObject
* obj2
= 0 ;
13806 char *kwnames
[] = {
13807 (char *) "self",(char *) "i",(char *) "colour", NULL
13810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13812 if (SWIG_arg_fail(1)) SWIG_fail
;
13814 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13815 if (SWIG_arg_fail(2)) SWIG_fail
;
13819 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 Py_INCREF(Py_None
); resultobj
= Py_None
;
13835 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13838 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13840 return Py_BuildValue((char *)"");
13842 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
= NULL
;
13844 wxWindow
*arg1
= (wxWindow
*) 0 ;
13845 wxColourData
*arg2
= (wxColourData
*) NULL
;
13846 wxColourDialog
*result
;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "parent",(char *) "data", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13855 if (SWIG_arg_fail(1)) SWIG_fail
;
13857 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13858 if (SWIG_arg_fail(2)) SWIG_fail
;
13861 if (!wxPyCheckForApp()) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13875 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
= NULL
;
13877 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13878 wxColourData
*result
;
13879 PyObject
* obj0
= 0 ;
13880 char *kwnames
[] = {
13881 (char *) "self", NULL
13884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13886 if (SWIG_arg_fail(1)) SWIG_fail
;
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13891 result
= (wxColourData
*) &_result_ref
;
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13904 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13907 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13909 return Py_BuildValue((char *)"");
13911 static PyObject
*_wrap_GetColourFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
= NULL
;
13913 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
13914 wxColour
const &arg2_defvalue
= wxNullColour
;
13915 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
13916 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13917 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13920 bool temp3
= false ;
13921 PyObject
* obj0
= 0 ;
13922 PyObject
* obj1
= 0 ;
13923 PyObject
* obj2
= 0 ;
13924 char *kwnames
[] = {
13925 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13931 if (SWIG_arg_fail(1)) SWIG_fail
;
13936 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13941 arg3
= wxString_in_helper(obj2
);
13942 if (arg3
== NULL
) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13954 wxColour
* resultptr
;
13955 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13972 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13973 PyObject
*resultobj
= NULL
;
13974 wxWindow
*arg1
= (wxWindow
*) 0 ;
13975 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13976 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13977 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13978 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13979 long arg4
= (long) 0 ;
13980 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13981 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13982 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13983 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13984 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13985 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13986 wxDirDialog
*result
;
13987 bool temp2
= false ;
13988 bool temp3
= false ;
13991 bool temp7
= false ;
13992 PyObject
* obj0
= 0 ;
13993 PyObject
* obj1
= 0 ;
13994 PyObject
* obj2
= 0 ;
13995 PyObject
* obj3
= 0 ;
13996 PyObject
* obj4
= 0 ;
13997 PyObject
* obj5
= 0 ;
13998 PyObject
* obj6
= 0 ;
13999 char *kwnames
[] = {
14000 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
14003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14005 if (SWIG_arg_fail(1)) SWIG_fail
;
14008 arg2
= wxString_in_helper(obj1
);
14009 if (arg2
== NULL
) SWIG_fail
;
14015 arg3
= wxString_in_helper(obj2
);
14016 if (arg3
== NULL
) SWIG_fail
;
14022 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14023 if (SWIG_arg_fail(4)) SWIG_fail
;
14029 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14035 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14040 arg7
= wxString_in_helper(obj6
);
14041 if (arg7
== NULL
) SWIG_fail
;
14046 if (!wxPyCheckForApp()) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
14084 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14085 PyObject
*resultobj
= NULL
;
14086 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14088 PyObject
* obj0
= 0 ;
14089 char *kwnames
[] = {
14090 (char *) "self", NULL
14093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14095 if (SWIG_arg_fail(1)) SWIG_fail
;
14097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14098 result
= (arg1
)->GetPath();
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14116 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
= NULL
;
14118 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14120 PyObject
* obj0
= 0 ;
14121 char *kwnames
[] = {
14122 (char *) "self", NULL
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14127 if (SWIG_arg_fail(1)) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= (arg1
)->GetMessage();
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14137 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14139 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14148 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
= NULL
;
14150 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14159 if (SWIG_arg_fail(1)) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (long)(arg1
)->GetStyle();
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14168 resultobj
= SWIG_From_long(static_cast<long >(result
));
14176 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
= NULL
;
14178 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14179 wxString
*arg2
= 0 ;
14180 bool temp2
= false ;
14181 PyObject
* obj0
= 0 ;
14182 PyObject
* obj1
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "self",(char *) "message", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14189 if (SWIG_arg_fail(1)) SWIG_fail
;
14191 arg2
= wxString_in_helper(obj1
);
14192 if (arg2
== NULL
) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14197 (arg1
)->SetMessage((wxString
const &)*arg2
);
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 Py_INCREF(Py_None
); resultobj
= Py_None
;
14217 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
= NULL
;
14219 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14220 wxString
*arg2
= 0 ;
14221 bool temp2
= false ;
14222 PyObject
* obj0
= 0 ;
14223 PyObject
* obj1
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self",(char *) "path", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14230 if (SWIG_arg_fail(1)) SWIG_fail
;
14232 arg2
= wxString_in_helper(obj1
);
14233 if (arg2
== NULL
) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 (arg1
)->SetPath((wxString
const &)*arg2
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 Py_INCREF(Py_None
); resultobj
= Py_None
;
14258 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
14260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14261 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
14263 return Py_BuildValue((char *)"");
14265 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
= NULL
;
14267 wxWindow
*arg1
= (wxWindow
*) 0 ;
14268 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
14269 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14270 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14271 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14272 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14273 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14274 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14275 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14276 long arg6
= (long) 0 ;
14277 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14278 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14279 wxFileDialog
*result
;
14280 bool temp2
= false ;
14281 bool temp3
= false ;
14282 bool temp4
= false ;
14283 bool temp5
= false ;
14285 PyObject
* obj0
= 0 ;
14286 PyObject
* obj1
= 0 ;
14287 PyObject
* obj2
= 0 ;
14288 PyObject
* obj3
= 0 ;
14289 PyObject
* obj4
= 0 ;
14290 PyObject
* obj5
= 0 ;
14291 PyObject
* obj6
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14298 if (SWIG_arg_fail(1)) SWIG_fail
;
14301 arg2
= wxString_in_helper(obj1
);
14302 if (arg2
== NULL
) SWIG_fail
;
14308 arg3
= wxString_in_helper(obj2
);
14309 if (arg3
== NULL
) SWIG_fail
;
14315 arg4
= wxString_in_helper(obj3
);
14316 if (arg4
== NULL
) SWIG_fail
;
14322 arg5
= wxString_in_helper(obj4
);
14323 if (arg5
== NULL
) SWIG_fail
;
14329 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14330 if (SWIG_arg_fail(6)) SWIG_fail
;
14336 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14340 if (!wxPyCheckForApp()) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14386 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
= NULL
;
14388 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14389 wxString
*arg2
= 0 ;
14390 bool temp2
= false ;
14391 PyObject
* obj0
= 0 ;
14392 PyObject
* obj1
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self",(char *) "message", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14399 if (SWIG_arg_fail(1)) SWIG_fail
;
14401 arg2
= wxString_in_helper(obj1
);
14402 if (arg2
== NULL
) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 (arg1
)->SetMessage((wxString
const &)*arg2
);
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 Py_INCREF(Py_None
); resultobj
= Py_None
;
14427 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14428 PyObject
*resultobj
= NULL
;
14429 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14430 wxString
*arg2
= 0 ;
14431 bool temp2
= false ;
14432 PyObject
* obj0
= 0 ;
14433 PyObject
* obj1
= 0 ;
14434 char *kwnames
[] = {
14435 (char *) "self",(char *) "path", NULL
14438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14440 if (SWIG_arg_fail(1)) SWIG_fail
;
14442 arg2
= wxString_in_helper(obj1
);
14443 if (arg2
== NULL
) SWIG_fail
;
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 (arg1
)->SetPath((wxString
const &)*arg2
);
14450 wxPyEndAllowThreads(__tstate
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14453 Py_INCREF(Py_None
); resultobj
= Py_None
;
14468 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
= NULL
;
14470 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14471 wxString
*arg2
= 0 ;
14472 bool temp2
= false ;
14473 PyObject
* obj0
= 0 ;
14474 PyObject
* obj1
= 0 ;
14475 char *kwnames
[] = {
14476 (char *) "self",(char *) "dir", NULL
14479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14481 if (SWIG_arg_fail(1)) SWIG_fail
;
14483 arg2
= wxString_in_helper(obj1
);
14484 if (arg2
== NULL
) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 Py_INCREF(Py_None
); resultobj
= Py_None
;
14509 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
= NULL
;
14511 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14512 wxString
*arg2
= 0 ;
14513 bool temp2
= false ;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self",(char *) "name", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14522 if (SWIG_arg_fail(1)) SWIG_fail
;
14524 arg2
= wxString_in_helper(obj1
);
14525 if (arg2
== NULL
) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 (arg1
)->SetFilename((wxString
const &)*arg2
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14535 Py_INCREF(Py_None
); resultobj
= Py_None
;
14550 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
= NULL
;
14552 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14553 wxString
*arg2
= 0 ;
14554 bool temp2
= false ;
14555 PyObject
* obj0
= 0 ;
14556 PyObject
* obj1
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self",(char *) "wildCard", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14563 if (SWIG_arg_fail(1)) SWIG_fail
;
14565 arg2
= wxString_in_helper(obj1
);
14566 if (arg2
== NULL
) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14576 Py_INCREF(Py_None
); resultobj
= Py_None
;
14591 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
= NULL
;
14593 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14595 PyObject
* obj0
= 0 ;
14596 PyObject
* obj1
= 0 ;
14597 char *kwnames
[] = {
14598 (char *) "self",(char *) "style", NULL
14601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14603 if (SWIG_arg_fail(1)) SWIG_fail
;
14605 arg2
= static_cast<long >(SWIG_As_long(obj1
));
14606 if (SWIG_arg_fail(2)) SWIG_fail
;
14609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14610 (arg1
)->SetStyle(arg2
);
14612 wxPyEndAllowThreads(__tstate
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14615 Py_INCREF(Py_None
); resultobj
= Py_None
;
14622 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
= NULL
;
14624 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 char *kwnames
[] = {
14629 (char *) "self",(char *) "filterIndex", NULL
14632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14634 if (SWIG_arg_fail(1)) SWIG_fail
;
14636 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14637 if (SWIG_arg_fail(2)) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 (arg1
)->SetFilterIndex(arg2
);
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 Py_INCREF(Py_None
); resultobj
= Py_None
;
14653 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
= NULL
;
14655 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14664 if (SWIG_arg_fail(1)) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14685 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
= NULL
;
14687 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14689 PyObject
* obj0
= 0 ;
14690 char *kwnames
[] = {
14691 (char *) "self", NULL
14694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14696 if (SWIG_arg_fail(1)) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14717 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
= NULL
;
14719 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14721 PyObject
* obj0
= 0 ;
14722 char *kwnames
[] = {
14723 (char *) "self", NULL
14726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14728 if (SWIG_arg_fail(1)) SWIG_fail
;
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14749 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
= NULL
;
14751 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14760 if (SWIG_arg_fail(1)) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14781 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
= NULL
;
14783 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14785 PyObject
* obj0
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14792 if (SWIG_arg_fail(1)) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14813 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
= NULL
;
14815 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14824 if (SWIG_arg_fail(1)) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_From_long(static_cast<long >(result
));
14841 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
= NULL
;
14843 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14852 if (SWIG_arg_fail(1)) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_From_int(static_cast<int >(result
));
14869 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
= NULL
;
14871 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 char *kwnames
[] = {
14875 (char *) "self", NULL
14878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14880 if (SWIG_arg_fail(1)) SWIG_fail
;
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= result
;
14895 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
= NULL
;
14897 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14906 if (SWIG_arg_fail(1)) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= result
;
14921 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14924 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14926 return Py_BuildValue((char *)"");
14928 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
= NULL
;
14930 wxWindow
*arg1
= (wxWindow
*) 0 ;
14931 wxString
*arg2
= 0 ;
14932 wxString
*arg3
= 0 ;
14933 int arg4
= (int) 0 ;
14934 wxString
*arg5
= (wxString
*) NULL
;
14935 long arg6
= (long) wxCHOICEDLG_STYLE
;
14936 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14937 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14938 wxMultiChoiceDialog
*result
;
14939 bool temp2
= false ;
14940 bool temp3
= false ;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 PyObject
* obj2
= 0 ;
14945 PyObject
* obj3
= 0 ;
14946 PyObject
* obj4
= 0 ;
14947 PyObject
* obj5
= 0 ;
14948 char *kwnames
[] = {
14949 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14954 if (SWIG_arg_fail(1)) SWIG_fail
;
14956 arg2
= wxString_in_helper(obj1
);
14957 if (arg2
== NULL
) SWIG_fail
;
14961 arg3
= wxString_in_helper(obj2
);
14962 if (arg3
== NULL
) SWIG_fail
;
14967 arg4
= PyList_Size(obj3
);
14968 arg5
= wxString_LIST_helper(obj3
);
14969 if (arg5
== NULL
) SWIG_fail
;
14974 arg6
= static_cast<long >(SWIG_As_long(obj4
));
14975 if (SWIG_arg_fail(6)) SWIG_fail
;
14981 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14985 if (!wxPyCheckForApp()) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
15002 if (arg5
) delete [] arg5
;
15015 if (arg5
) delete [] arg5
;
15021 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
= NULL
;
15023 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15024 wxArrayInt
*arg2
= 0 ;
15025 bool temp2
= false ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self",(char *) "selections", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
15033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15034 if (SWIG_arg_fail(1)) SWIG_fail
;
15036 if (! PySequence_Check(obj1
)) {
15037 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
15040 arg2
= new wxArrayInt
;
15042 int i
, len
=PySequence_Length(obj1
);
15043 for (i
=0; i
<len
; i
++) {
15044 PyObject
* item
= PySequence_GetItem(obj1
, i
);
15045 PyObject
* number
= PyNumber_Int(item
);
15046 arg2
->Add(PyInt_AS_LONG(number
));
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 Py_INCREF(Py_None
); resultobj
= Py_None
;
15060 if (temp2
) delete arg2
;
15065 if (temp2
) delete arg2
;
15071 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
= NULL
;
15073 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
15081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15082 if (SWIG_arg_fail(1)) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15090 resultobj
= result
;
15097 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15100 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
15102 return Py_BuildValue((char *)"");
15104 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
= NULL
;
15106 wxWindow
*arg1
= (wxWindow
*) 0 ;
15107 wxString
*arg2
= 0 ;
15108 wxString
*arg3
= 0 ;
15110 wxString
*arg5
= (wxString
*) 0 ;
15111 long arg6
= (long) wxCHOICEDLG_STYLE
;
15112 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15113 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15114 wxSingleChoiceDialog
*result
;
15115 bool temp2
= false ;
15116 bool temp3
= false ;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 PyObject
* obj2
= 0 ;
15121 PyObject
* obj3
= 0 ;
15122 PyObject
* obj4
= 0 ;
15123 PyObject
* obj5
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail
;
15132 arg2
= wxString_in_helper(obj1
);
15133 if (arg2
== NULL
) SWIG_fail
;
15137 arg3
= wxString_in_helper(obj2
);
15138 if (arg3
== NULL
) SWIG_fail
;
15142 arg4
= PyList_Size(obj3
);
15143 arg5
= wxString_LIST_helper(obj3
);
15144 if (arg5
== NULL
) SWIG_fail
;
15148 arg6
= static_cast<long >(SWIG_As_long(obj4
));
15149 if (SWIG_arg_fail(6)) SWIG_fail
;
15155 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15159 if (!wxPyCheckForApp()) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
15176 if (arg5
) delete [] arg5
;
15189 if (arg5
) delete [] arg5
;
15195 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
= NULL
;
15197 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15199 PyObject
* obj0
= 0 ;
15200 char *kwnames
[] = {
15201 (char *) "self", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
15205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15206 if (SWIG_arg_fail(1)) SWIG_fail
;
15208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15209 result
= (int)(arg1
)->GetSelection();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= SWIG_From_int(static_cast<int >(result
));
15223 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
= NULL
;
15225 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 char *kwnames
[] = {
15229 (char *) "self", NULL
15232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
15233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15234 if (SWIG_arg_fail(1)) SWIG_fail
;
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (arg1
)->GetStringSelection();
15239 wxPyEndAllowThreads(__tstate
);
15240 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15255 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
= NULL
;
15257 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15259 PyObject
* obj0
= 0 ;
15260 PyObject
* obj1
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self",(char *) "sel", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15267 if (SWIG_arg_fail(1)) SWIG_fail
;
15269 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15270 if (SWIG_arg_fail(2)) SWIG_fail
;
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 (arg1
)->SetSelection(arg2
);
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15279 Py_INCREF(Py_None
); resultobj
= Py_None
;
15286 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15289 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15291 return Py_BuildValue((char *)"");
15293 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
= NULL
;
15295 wxWindow
*arg1
= (wxWindow
*) 0 ;
15296 wxString
*arg2
= 0 ;
15297 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15298 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15299 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15300 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15301 long arg5
= (long) wxTextEntryDialogStyle
;
15302 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15303 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15304 wxTextEntryDialog
*result
;
15305 bool temp2
= false ;
15306 bool temp3
= false ;
15307 bool temp4
= false ;
15309 PyObject
* obj0
= 0 ;
15310 PyObject
* obj1
= 0 ;
15311 PyObject
* obj2
= 0 ;
15312 PyObject
* obj3
= 0 ;
15313 PyObject
* obj4
= 0 ;
15314 PyObject
* obj5
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15321 if (SWIG_arg_fail(1)) SWIG_fail
;
15323 arg2
= wxString_in_helper(obj1
);
15324 if (arg2
== NULL
) SWIG_fail
;
15329 arg3
= wxString_in_helper(obj2
);
15330 if (arg3
== NULL
) SWIG_fail
;
15336 arg4
= wxString_in_helper(obj3
);
15337 if (arg4
== NULL
) SWIG_fail
;
15343 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15344 if (SWIG_arg_fail(5)) SWIG_fail
;
15350 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15354 if (!wxPyCheckForApp()) SWIG_fail
;
15355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15356 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15392 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
= NULL
;
15394 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15396 PyObject
* obj0
= 0 ;
15397 char *kwnames
[] = {
15398 (char *) "self", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15403 if (SWIG_arg_fail(1)) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 result
= (arg1
)->GetValue();
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15424 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
= NULL
;
15426 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15427 wxString
*arg2
= 0 ;
15428 bool temp2
= false ;
15429 PyObject
* obj0
= 0 ;
15430 PyObject
* obj1
= 0 ;
15431 char *kwnames
[] = {
15432 (char *) "self",(char *) "value", NULL
15435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15437 if (SWIG_arg_fail(1)) SWIG_fail
;
15439 arg2
= wxString_in_helper(obj1
);
15440 if (arg2
== NULL
) SWIG_fail
;
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 (arg1
)->SetValue((wxString
const &)*arg2
);
15447 wxPyEndAllowThreads(__tstate
);
15448 if (PyErr_Occurred()) SWIG_fail
;
15450 Py_INCREF(Py_None
); resultobj
= Py_None
;
15465 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15468 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15470 return Py_BuildValue((char *)"");
15472 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15473 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15478 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15479 PyObject
*pyobj
= NULL
;
15483 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15485 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15492 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
= NULL
;
15494 wxWindow
*arg1
= (wxWindow
*) 0 ;
15495 wxString
*arg2
= 0 ;
15496 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15497 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15498 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15499 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15500 long arg5
= (long) wxTextEntryDialogStyle
;
15501 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15502 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15503 wxPasswordEntryDialog
*result
;
15504 bool temp2
= false ;
15505 bool temp3
= false ;
15506 bool temp4
= false ;
15508 PyObject
* obj0
= 0 ;
15509 PyObject
* obj1
= 0 ;
15510 PyObject
* obj2
= 0 ;
15511 PyObject
* obj3
= 0 ;
15512 PyObject
* obj4
= 0 ;
15513 PyObject
* obj5
= 0 ;
15514 char *kwnames
[] = {
15515 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15520 if (SWIG_arg_fail(1)) SWIG_fail
;
15522 arg2
= wxString_in_helper(obj1
);
15523 if (arg2
== NULL
) SWIG_fail
;
15528 arg3
= wxString_in_helper(obj2
);
15529 if (arg3
== NULL
) SWIG_fail
;
15535 arg4
= wxString_in_helper(obj3
);
15536 if (arg4
== NULL
) SWIG_fail
;
15542 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15543 if (SWIG_arg_fail(5)) SWIG_fail
;
15549 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15590 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15593 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15595 return Py_BuildValue((char *)"");
15597 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
= NULL
;
15599 wxFontData
*result
;
15600 char *kwnames
[] = {
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 result
= (wxFontData
*)new wxFontData();
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15619 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15620 PyObject
*resultobj
= NULL
;
15621 wxFontData
*arg1
= (wxFontData
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15629 if (SWIG_arg_fail(1)) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15637 Py_INCREF(Py_None
); resultobj
= Py_None
;
15644 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
= NULL
;
15646 wxFontData
*arg1
= (wxFontData
*) 0 ;
15648 PyObject
* obj0
= 0 ;
15649 PyObject
* obj1
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self",(char *) "enable", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail
;
15658 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15659 if (SWIG_arg_fail(2)) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 (arg1
)->EnableEffects(arg2
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 Py_INCREF(Py_None
); resultobj
= Py_None
;
15675 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
= NULL
;
15677 wxFontData
*arg1
= (wxFontData
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15686 if (SWIG_arg_fail(1)) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (bool)(arg1
)->GetAllowSymbols();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15703 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
= NULL
;
15705 wxFontData
*arg1
= (wxFontData
*) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 char *kwnames
[] = {
15709 (char *) "self", NULL
15712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15714 if (SWIG_arg_fail(1)) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (arg1
)->GetColour();
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15723 wxColour
* resultptr
;
15724 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
15725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15733 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
= NULL
;
15735 wxFontData
*arg1
= (wxFontData
*) 0 ;
15737 PyObject
* obj0
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "self", NULL
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15744 if (SWIG_arg_fail(1)) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (arg1
)->GetChosenFont();
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15753 wxFont
* resultptr
;
15754 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15763 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
= NULL
;
15765 wxFontData
*arg1
= (wxFontData
*) 0 ;
15767 PyObject
* obj0
= 0 ;
15768 char *kwnames
[] = {
15769 (char *) "self", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15774 if (SWIG_arg_fail(1)) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 result
= (bool)(arg1
)->GetEnableEffects();
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15791 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
= NULL
;
15793 wxFontData
*arg1
= (wxFontData
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 char *kwnames
[] = {
15797 (char *) "self", NULL
15800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15802 if (SWIG_arg_fail(1)) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (arg1
)->GetInitialFont();
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15811 wxFont
* resultptr
;
15812 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15821 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
= NULL
;
15823 wxFontData
*arg1
= (wxFontData
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15832 if (SWIG_arg_fail(1)) SWIG_fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (bool)(arg1
)->GetShowHelp();
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15849 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
= NULL
;
15851 wxFontData
*arg1
= (wxFontData
*) 0 ;
15853 PyObject
* obj0
= 0 ;
15854 PyObject
* obj1
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "self",(char *) "allowSymbols", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15861 if (SWIG_arg_fail(1)) SWIG_fail
;
15863 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15864 if (SWIG_arg_fail(2)) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 (arg1
)->SetAllowSymbols(arg2
);
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 Py_INCREF(Py_None
); resultobj
= Py_None
;
15880 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
= NULL
;
15882 wxFontData
*arg1
= (wxFontData
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "self",(char *) "font", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15892 if (SWIG_arg_fail(1)) SWIG_fail
;
15894 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15895 if (SWIG_arg_fail(2)) SWIG_fail
;
15896 if (arg2
== NULL
) {
15897 SWIG_null_ref("wxFont");
15899 if (SWIG_arg_fail(2)) SWIG_fail
;
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15903 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 Py_INCREF(Py_None
); resultobj
= Py_None
;
15915 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
= NULL
;
15917 wxFontData
*arg1
= (wxFontData
*) 0 ;
15918 wxColour
*arg2
= 0 ;
15920 PyObject
* obj0
= 0 ;
15921 PyObject
* obj1
= 0 ;
15922 char *kwnames
[] = {
15923 (char *) "self",(char *) "colour", NULL
15926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15928 if (SWIG_arg_fail(1)) SWIG_fail
;
15931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 (arg1
)->SetColour((wxColour
const &)*arg2
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 Py_INCREF(Py_None
); resultobj
= Py_None
;
15947 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
= NULL
;
15949 wxFontData
*arg1
= (wxFontData
*) 0 ;
15951 PyObject
* obj0
= 0 ;
15952 PyObject
* obj1
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self",(char *) "font", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15959 if (SWIG_arg_fail(1)) SWIG_fail
;
15961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15962 if (SWIG_arg_fail(2)) SWIG_fail
;
15963 if (arg2
== NULL
) {
15964 SWIG_null_ref("wxFont");
15966 if (SWIG_arg_fail(2)) SWIG_fail
;
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15975 Py_INCREF(Py_None
); resultobj
= Py_None
;
15982 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
= NULL
;
15984 wxFontData
*arg1
= (wxFontData
*) 0 ;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 PyObject
* obj2
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "self",(char *) "min",(char *) "max", NULL
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15996 if (SWIG_arg_fail(1)) SWIG_fail
;
15998 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15999 if (SWIG_arg_fail(2)) SWIG_fail
;
16002 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16003 if (SWIG_arg_fail(3)) SWIG_fail
;
16006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 (arg1
)->SetRange(arg2
,arg3
);
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16012 Py_INCREF(Py_None
); resultobj
= Py_None
;
16019 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
= NULL
;
16021 wxFontData
*arg1
= (wxFontData
*) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 PyObject
* obj1
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self",(char *) "showHelp", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16031 if (SWIG_arg_fail(1)) SWIG_fail
;
16033 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16034 if (SWIG_arg_fail(2)) SWIG_fail
;
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 (arg1
)->SetShowHelp(arg2
);
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16043 Py_INCREF(Py_None
); resultobj
= Py_None
;
16050 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
16052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16053 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
16055 return Py_BuildValue((char *)"");
16057 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16058 PyObject
*resultobj
= NULL
;
16059 wxWindow
*arg1
= (wxWindow
*) 0 ;
16060 wxFontData
*arg2
= 0 ;
16061 wxFontDialog
*result
;
16062 PyObject
* obj0
= 0 ;
16063 PyObject
* obj1
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "parent",(char *) "data", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16070 if (SWIG_arg_fail(1)) SWIG_fail
;
16072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16073 if (SWIG_arg_fail(2)) SWIG_fail
;
16074 if (arg2
== NULL
) {
16075 SWIG_null_ref("wxFontData");
16077 if (SWIG_arg_fail(2)) SWIG_fail
;
16080 if (!wxPyCheckForApp()) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
16094 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
= NULL
;
16096 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
16097 wxFontData
*result
;
16098 PyObject
* obj0
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
16104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
16105 if (SWIG_arg_fail(1)) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 wxFontData
&_result_ref
= (arg1
)->GetFontData();
16110 result
= (wxFontData
*) &_result_ref
;
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
16123 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
16125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16126 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
16128 return Py_BuildValue((char *)"");
16130 static PyObject
*_wrap_GetFontFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
= NULL
;
16132 wxWindow
*arg1
= (wxWindow
*) NULL
;
16133 wxFont
const &arg2_defvalue
= wxNullFont
;
16134 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
16135 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16136 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16138 bool temp3
= false ;
16139 PyObject
* obj0
= 0 ;
16140 PyObject
* obj1
= 0 ;
16141 PyObject
* obj2
= 0 ;
16142 char *kwnames
[] = {
16143 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
16146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16149 if (SWIG_arg_fail(1)) SWIG_fail
;
16153 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16154 if (SWIG_arg_fail(2)) SWIG_fail
;
16155 if (arg2
== NULL
) {
16156 SWIG_null_ref("wxFont");
16158 if (SWIG_arg_fail(2)) SWIG_fail
;
16163 arg3
= wxString_in_helper(obj2
);
16164 if (arg3
== NULL
) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16176 wxFont
* resultptr
;
16177 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
16178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16194 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
= NULL
;
16196 wxWindow
*arg1
= (wxWindow
*) 0 ;
16197 wxString
*arg2
= 0 ;
16198 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
16199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16200 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
16201 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16202 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16203 wxMessageDialog
*result
;
16204 bool temp2
= false ;
16205 bool temp3
= false ;
16207 PyObject
* obj0
= 0 ;
16208 PyObject
* obj1
= 0 ;
16209 PyObject
* obj2
= 0 ;
16210 PyObject
* obj3
= 0 ;
16211 PyObject
* obj4
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16218 if (SWIG_arg_fail(1)) SWIG_fail
;
16220 arg2
= wxString_in_helper(obj1
);
16221 if (arg2
== NULL
) SWIG_fail
;
16226 arg3
= wxString_in_helper(obj2
);
16227 if (arg3
== NULL
) SWIG_fail
;
16233 arg4
= static_cast<long >(SWIG_As_long(obj3
));
16234 if (SWIG_arg_fail(4)) SWIG_fail
;
16240 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16244 if (!wxPyCheckForApp()) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
16274 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
16276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16277 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
16279 return Py_BuildValue((char *)"");
16281 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
= NULL
;
16283 wxString
*arg1
= 0 ;
16284 wxString
*arg2
= 0 ;
16285 int arg3
= (int) 100 ;
16286 wxWindow
*arg4
= (wxWindow
*) NULL
;
16287 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
16288 wxProgressDialog
*result
;
16289 bool temp1
= false ;
16290 bool temp2
= false ;
16291 PyObject
* obj0
= 0 ;
16292 PyObject
* obj1
= 0 ;
16293 PyObject
* obj2
= 0 ;
16294 PyObject
* obj3
= 0 ;
16295 PyObject
* obj4
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16302 arg1
= wxString_in_helper(obj0
);
16303 if (arg1
== NULL
) SWIG_fail
;
16307 arg2
= wxString_in_helper(obj1
);
16308 if (arg2
== NULL
) SWIG_fail
;
16313 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16314 if (SWIG_arg_fail(3)) SWIG_fail
;
16318 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16319 if (SWIG_arg_fail(4)) SWIG_fail
;
16323 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16324 if (SWIG_arg_fail(5)) SWIG_fail
;
16328 if (!wxPyCheckForApp()) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16358 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
= NULL
;
16360 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16362 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16363 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16365 bool temp3
= false ;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 PyObject
* obj2
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16375 if (SWIG_arg_fail(1)) SWIG_fail
;
16377 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16378 if (SWIG_arg_fail(2)) SWIG_fail
;
16382 arg3
= wxString_in_helper(obj2
);
16383 if (arg3
== NULL
) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16411 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
= NULL
;
16413 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16414 PyObject
* obj0
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16421 if (SWIG_arg_fail(1)) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 Py_INCREF(Py_None
); resultobj
= Py_None
;
16436 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16439 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16441 return Py_BuildValue((char *)"");
16443 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16444 PyObject
*resultobj
= NULL
;
16445 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16446 int arg2
= (int) 0 ;
16447 wxFindDialogEvent
*result
;
16448 PyObject
* obj0
= 0 ;
16449 PyObject
* obj1
= 0 ;
16450 char *kwnames
[] = {
16451 (char *) "commandType",(char *) "id", NULL
16454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16457 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
16458 if (SWIG_arg_fail(1)) SWIG_fail
;
16463 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16464 if (SWIG_arg_fail(2)) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16481 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
= NULL
;
16483 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16492 if (SWIG_arg_fail(1)) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (int)(arg1
)->GetFlags();
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= SWIG_From_int(static_cast<int >(result
));
16509 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
= NULL
;
16511 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "self", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16520 if (SWIG_arg_fail(1)) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 wxString
const &_result_ref
= (arg1
)->GetFindString();
16525 result
= (wxString
*) &_result_ref
;
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16535 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16544 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
= NULL
;
16546 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16548 PyObject
* obj0
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16560 result
= (wxString
*) &_result_ref
;
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16570 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16579 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
= NULL
;
16581 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16582 wxFindReplaceDialog
*result
;
16583 PyObject
* obj0
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16590 if (SWIG_arg_fail(1)) SWIG_fail
;
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16605 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
= NULL
;
16607 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16609 PyObject
* obj0
= 0 ;
16610 PyObject
* obj1
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self",(char *) "flags", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16617 if (SWIG_arg_fail(1)) SWIG_fail
;
16619 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16620 if (SWIG_arg_fail(2)) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 (arg1
)->SetFlags(arg2
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 Py_INCREF(Py_None
); resultobj
= Py_None
;
16636 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
= NULL
;
16638 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16639 wxString
*arg2
= 0 ;
16640 bool temp2
= false ;
16641 PyObject
* obj0
= 0 ;
16642 PyObject
* obj1
= 0 ;
16643 char *kwnames
[] = {
16644 (char *) "self",(char *) "str", NULL
16647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16649 if (SWIG_arg_fail(1)) SWIG_fail
;
16651 arg2
= wxString_in_helper(obj1
);
16652 if (arg2
== NULL
) SWIG_fail
;
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 (arg1
)->SetFindString((wxString
const &)*arg2
);
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16662 Py_INCREF(Py_None
); resultobj
= Py_None
;
16677 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
= NULL
;
16679 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16680 wxString
*arg2
= 0 ;
16681 bool temp2
= false ;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 char *kwnames
[] = {
16685 (char *) "self",(char *) "str", NULL
16688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16690 if (SWIG_arg_fail(1)) SWIG_fail
;
16692 arg2
= wxString_in_helper(obj1
);
16693 if (arg2
== NULL
) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16703 Py_INCREF(Py_None
); resultobj
= Py_None
;
16718 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16721 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16723 return Py_BuildValue((char *)"");
16725 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
= NULL
;
16727 int arg1
= (int) 0 ;
16728 wxFindReplaceData
*result
;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "flags", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16737 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16738 if (SWIG_arg_fail(1)) SWIG_fail
;
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16755 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
= NULL
;
16757 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16758 PyObject
* obj0
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "self", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16765 if (SWIG_arg_fail(1)) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 Py_INCREF(Py_None
); resultobj
= Py_None
;
16780 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
= NULL
;
16782 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 wxString
const &_result_ref
= (arg1
)->GetFindString();
16796 result
= (wxString
*) &_result_ref
;
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16806 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16815 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
= NULL
;
16817 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16826 if (SWIG_arg_fail(1)) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16831 result
= (wxString
*) &_result_ref
;
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16839 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16841 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16850 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
= NULL
;
16852 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "self", NULL
16859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16861 if (SWIG_arg_fail(1)) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (int)(arg1
)->GetFlags();
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= SWIG_From_int(static_cast<int >(result
));
16878 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
= NULL
;
16880 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self",(char *) "flags", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16890 if (SWIG_arg_fail(1)) SWIG_fail
;
16892 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16893 if (SWIG_arg_fail(2)) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 (arg1
)->SetFlags(arg2
);
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 Py_INCREF(Py_None
); resultobj
= Py_None
;
16909 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
= NULL
;
16911 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16912 wxString
*arg2
= 0 ;
16913 bool temp2
= false ;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self",(char *) "str", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16922 if (SWIG_arg_fail(1)) SWIG_fail
;
16924 arg2
= wxString_in_helper(obj1
);
16925 if (arg2
== NULL
) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 (arg1
)->SetFindString((wxString
const &)*arg2
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 Py_INCREF(Py_None
); resultobj
= Py_None
;
16950 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
= NULL
;
16952 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16953 wxString
*arg2
= 0 ;
16954 bool temp2
= false ;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "self",(char *) "str", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16963 if (SWIG_arg_fail(1)) SWIG_fail
;
16965 arg2
= wxString_in_helper(obj1
);
16966 if (arg2
== NULL
) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 Py_INCREF(Py_None
); resultobj
= Py_None
;
16991 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16994 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16996 return Py_BuildValue((char *)"");
16998 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
= NULL
;
17000 wxWindow
*arg1
= (wxWindow
*) 0 ;
17001 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17002 wxString
*arg3
= 0 ;
17003 int arg4
= (int) 0 ;
17004 wxFindReplaceDialog
*result
;
17005 bool temp3
= false ;
17006 PyObject
* obj0
= 0 ;
17007 PyObject
* obj1
= 0 ;
17008 PyObject
* obj2
= 0 ;
17009 PyObject
* obj3
= 0 ;
17010 char *kwnames
[] = {
17011 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17016 if (SWIG_arg_fail(1)) SWIG_fail
;
17017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17018 if (SWIG_arg_fail(2)) SWIG_fail
;
17020 arg3
= wxString_in_helper(obj2
);
17021 if (arg3
== NULL
) SWIG_fail
;
17026 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17027 if (SWIG_arg_fail(4)) SWIG_fail
;
17031 if (!wxPyCheckForApp()) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17053 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
= NULL
;
17055 wxFindReplaceDialog
*result
;
17056 char *kwnames
[] = {
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
17062 if (!wxPyCheckForApp()) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17076 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
= NULL
;
17078 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17079 wxWindow
*arg2
= (wxWindow
*) 0 ;
17080 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
17081 wxString
*arg4
= 0 ;
17082 int arg5
= (int) 0 ;
17084 bool temp4
= false ;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 PyObject
* obj2
= 0 ;
17088 PyObject
* obj3
= 0 ;
17089 PyObject
* obj4
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17096 if (SWIG_arg_fail(1)) SWIG_fail
;
17097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17098 if (SWIG_arg_fail(2)) SWIG_fail
;
17099 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17100 if (SWIG_arg_fail(3)) SWIG_fail
;
17102 arg4
= wxString_in_helper(obj3
);
17103 if (arg4
== NULL
) SWIG_fail
;
17108 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17109 if (SWIG_arg_fail(5)) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17136 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
= NULL
;
17138 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17139 wxFindReplaceData
*result
;
17140 PyObject
* obj0
= 0 ;
17141 char *kwnames
[] = {
17142 (char *) "self", NULL
17145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
17146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17147 if (SWIG_arg_fail(1)) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (wxFindReplaceData
*)(arg1
)->GetData();
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
17162 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
= NULL
;
17164 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17165 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17166 PyObject
* obj0
= 0 ;
17167 PyObject
* obj1
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self",(char *) "data", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17174 if (SWIG_arg_fail(1)) SWIG_fail
;
17175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17176 if (SWIG_arg_fail(2)) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 (arg1
)->SetData(arg2
);
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17184 Py_INCREF(Py_None
); resultobj
= Py_None
;
17191 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
17193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17194 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
17196 return Py_BuildValue((char *)"");
17198 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
= NULL
;
17200 wxWindow
*arg1
= (wxWindow
*) 0 ;
17201 int arg2
= (int) (int)-1 ;
17202 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17203 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17204 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17205 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17206 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17207 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17208 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17209 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17210 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17211 wxMDIParentFrame
*result
;
17212 bool temp3
= false ;
17215 bool temp7
= false ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 PyObject
* obj2
= 0 ;
17219 PyObject
* obj3
= 0 ;
17220 PyObject
* obj4
= 0 ;
17221 PyObject
* obj5
= 0 ;
17222 PyObject
* obj6
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17229 if (SWIG_arg_fail(1)) SWIG_fail
;
17232 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17233 if (SWIG_arg_fail(2)) SWIG_fail
;
17238 arg3
= wxString_in_helper(obj2
);
17239 if (arg3
== NULL
) SWIG_fail
;
17246 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17252 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17257 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17258 if (SWIG_arg_fail(6)) SWIG_fail
;
17263 arg7
= wxString_in_helper(obj6
);
17264 if (arg7
== NULL
) SWIG_fail
;
17269 if (!wxPyCheckForApp()) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17299 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
= NULL
;
17301 wxMDIParentFrame
*result
;
17302 char *kwnames
[] = {
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
17308 if (!wxPyCheckForApp()) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17322 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
= NULL
;
17324 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17325 wxWindow
*arg2
= (wxWindow
*) 0 ;
17326 int arg3
= (int) (int)-1 ;
17327 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17328 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17329 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17330 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17331 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17332 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17333 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17334 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17335 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17337 bool temp4
= false ;
17340 bool temp8
= false ;
17341 PyObject
* obj0
= 0 ;
17342 PyObject
* obj1
= 0 ;
17343 PyObject
* obj2
= 0 ;
17344 PyObject
* obj3
= 0 ;
17345 PyObject
* obj4
= 0 ;
17346 PyObject
* obj5
= 0 ;
17347 PyObject
* obj6
= 0 ;
17348 PyObject
* obj7
= 0 ;
17349 char *kwnames
[] = {
17350 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17355 if (SWIG_arg_fail(1)) SWIG_fail
;
17356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17357 if (SWIG_arg_fail(2)) SWIG_fail
;
17360 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17361 if (SWIG_arg_fail(3)) SWIG_fail
;
17366 arg4
= wxString_in_helper(obj3
);
17367 if (arg4
== NULL
) SWIG_fail
;
17374 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17380 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17385 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17386 if (SWIG_arg_fail(7)) SWIG_fail
;
17391 arg8
= wxString_in_helper(obj7
);
17392 if (arg8
== NULL
) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17428 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
= NULL
;
17430 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17431 PyObject
* obj0
= 0 ;
17432 char *kwnames
[] = {
17433 (char *) "self", NULL
17436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17438 if (SWIG_arg_fail(1)) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 (arg1
)->ActivateNext();
17443 wxPyEndAllowThreads(__tstate
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17446 Py_INCREF(Py_None
); resultobj
= Py_None
;
17453 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
= NULL
;
17455 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17463 if (SWIG_arg_fail(1)) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 (arg1
)->ActivatePrevious();
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 Py_INCREF(Py_None
); resultobj
= Py_None
;
17478 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
= NULL
;
17480 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17481 PyObject
* obj0
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17488 if (SWIG_arg_fail(1)) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 (arg1
)->ArrangeIcons();
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 Py_INCREF(Py_None
); resultobj
= Py_None
;
17503 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
= NULL
;
17505 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17506 PyObject
* obj0
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "self", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17513 if (SWIG_arg_fail(1)) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 Py_INCREF(Py_None
); resultobj
= Py_None
;
17528 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
= NULL
;
17530 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17531 wxMDIChildFrame
*result
;
17532 PyObject
* obj0
= 0 ;
17533 char *kwnames
[] = {
17534 (char *) "self", NULL
17537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17539 if (SWIG_arg_fail(1)) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17556 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
= NULL
;
17558 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17559 wxMDIClientWindow
*result
;
17560 PyObject
* obj0
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17567 if (SWIG_arg_fail(1)) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17584 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
= NULL
;
17586 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17588 PyObject
* obj0
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17595 if (SWIG_arg_fail(1)) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (wxWindow
*)(arg1
)->GetToolBar();
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= wxPyMake_wxObject(result
, 0);
17612 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
= NULL
;
17614 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17615 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17616 PyObject
* obj0
= 0 ;
17617 PyObject
* obj1
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "self",(char *) "orient", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17624 if (SWIG_arg_fail(1)) SWIG_fail
;
17627 arg2
= static_cast<wxOrientation
>(SWIG_As_int(obj1
));
17628 if (SWIG_arg_fail(2)) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 (arg1
)->Tile(arg2
);
17635 wxPyEndAllowThreads(__tstate
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 Py_INCREF(Py_None
); resultobj
= Py_None
;
17645 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17648 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17650 return Py_BuildValue((char *)"");
17652 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
= NULL
;
17654 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17655 int arg2
= (int) (int)-1 ;
17656 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17657 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17660 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17661 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17662 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17663 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17664 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17665 wxMDIChildFrame
*result
;
17666 bool temp3
= false ;
17669 bool temp7
= false ;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 PyObject
* obj2
= 0 ;
17673 PyObject
* obj3
= 0 ;
17674 PyObject
* obj4
= 0 ;
17675 PyObject
* obj5
= 0 ;
17676 PyObject
* obj6
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17683 if (SWIG_arg_fail(1)) SWIG_fail
;
17686 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17687 if (SWIG_arg_fail(2)) SWIG_fail
;
17692 arg3
= wxString_in_helper(obj2
);
17693 if (arg3
== NULL
) SWIG_fail
;
17700 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17706 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17711 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17712 if (SWIG_arg_fail(6)) SWIG_fail
;
17717 arg7
= wxString_in_helper(obj6
);
17718 if (arg7
== NULL
) SWIG_fail
;
17723 if (!wxPyCheckForApp()) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17753 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
= NULL
;
17755 wxMDIChildFrame
*result
;
17756 char *kwnames
[] = {
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17762 if (!wxPyCheckForApp()) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17776 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
= NULL
;
17778 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17779 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17780 int arg3
= (int) (int)-1 ;
17781 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17782 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17783 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17784 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17785 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17786 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17787 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17788 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17789 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17791 bool temp4
= false ;
17794 bool temp8
= false ;
17795 PyObject
* obj0
= 0 ;
17796 PyObject
* obj1
= 0 ;
17797 PyObject
* obj2
= 0 ;
17798 PyObject
* obj3
= 0 ;
17799 PyObject
* obj4
= 0 ;
17800 PyObject
* obj5
= 0 ;
17801 PyObject
* obj6
= 0 ;
17802 PyObject
* obj7
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17809 if (SWIG_arg_fail(1)) SWIG_fail
;
17810 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17811 if (SWIG_arg_fail(2)) SWIG_fail
;
17814 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17815 if (SWIG_arg_fail(3)) SWIG_fail
;
17820 arg4
= wxString_in_helper(obj3
);
17821 if (arg4
== NULL
) SWIG_fail
;
17828 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17834 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17839 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17840 if (SWIG_arg_fail(7)) SWIG_fail
;
17845 arg8
= wxString_in_helper(obj7
);
17846 if (arg8
== NULL
) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17882 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
= NULL
;
17884 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17885 PyObject
* obj0
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 (arg1
)->Activate();
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 Py_INCREF(Py_None
); resultobj
= Py_None
;
17907 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17908 PyObject
*resultobj
= NULL
;
17909 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17910 bool arg2
= (bool) true ;
17911 PyObject
* obj0
= 0 ;
17912 PyObject
* obj1
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self",(char *) "maximize", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17919 if (SWIG_arg_fail(1)) SWIG_fail
;
17922 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17923 if (SWIG_arg_fail(2)) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 (arg1
)->Maximize(arg2
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 Py_INCREF(Py_None
); resultobj
= Py_None
;
17940 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
= NULL
;
17942 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 Py_INCREF(Py_None
); resultobj
= Py_None
;
17965 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17968 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17970 return Py_BuildValue((char *)"");
17972 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
= NULL
;
17974 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17975 long arg2
= (long) 0 ;
17976 wxMDIClientWindow
*result
;
17977 PyObject
* obj0
= 0 ;
17978 PyObject
* obj1
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "parent",(char *) "style", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17985 if (SWIG_arg_fail(1)) SWIG_fail
;
17988 arg2
= static_cast<long >(SWIG_As_long(obj1
));
17989 if (SWIG_arg_fail(2)) SWIG_fail
;
17993 if (!wxPyCheckForApp()) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
18007 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
= NULL
;
18009 wxMDIClientWindow
*result
;
18010 char *kwnames
[] = {
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
18016 if (!wxPyCheckForApp()) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
18030 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
= NULL
;
18032 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
18033 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
18034 long arg3
= (long) 0 ;
18036 PyObject
* obj0
= 0 ;
18037 PyObject
* obj1
= 0 ;
18038 PyObject
* obj2
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self",(char *) "parent",(char *) "style", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail
;
18046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18047 if (SWIG_arg_fail(2)) SWIG_fail
;
18050 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18051 if (SWIG_arg_fail(3)) SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 result
= (bool)(arg1
)->Create(arg2
,arg3
);
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18070 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
18072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18073 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
18075 return Py_BuildValue((char *)"");
18077 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18078 PyObject
*resultobj
= NULL
;
18079 wxWindow
*arg1
= (wxWindow
*) 0 ;
18080 int arg2
= (int) (int)-1 ;
18081 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18082 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18083 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18084 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18085 long arg5
= (long) 0 ;
18086 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18087 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18088 wxPyWindow
*result
;
18091 bool temp6
= false ;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 PyObject
* obj2
= 0 ;
18095 PyObject
* obj3
= 0 ;
18096 PyObject
* obj4
= 0 ;
18097 PyObject
* obj5
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail
;
18107 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
18108 if (SWIG_arg_fail(2)) SWIG_fail
;
18114 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18120 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18125 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18126 if (SWIG_arg_fail(5)) SWIG_fail
;
18131 arg6
= wxString_in_helper(obj5
);
18132 if (arg6
== NULL
) SWIG_fail
;
18137 if (!wxPyCheckForApp()) SWIG_fail
;
18138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18139 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18159 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
= NULL
;
18161 wxPyWindow
*result
;
18162 char *kwnames
[] = {
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
18168 if (!wxPyCheckForApp()) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (wxPyWindow
*)new wxPyWindow();
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18182 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
= NULL
;
18184 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18185 PyObject
*arg2
= (PyObject
*) 0 ;
18186 PyObject
*arg3
= (PyObject
*) 0 ;
18187 PyObject
* obj0
= 0 ;
18188 PyObject
* obj1
= 0 ;
18189 PyObject
* obj2
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self",(char *) "self",(char *) "_class", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18196 if (SWIG_arg_fail(1)) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 Py_INCREF(Py_None
); resultobj
= Py_None
;
18213 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
= NULL
;
18215 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self",(char *) "size", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18226 if (SWIG_arg_fail(1)) SWIG_fail
;
18229 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 Py_INCREF(Py_None
); resultobj
= Py_None
;
18245 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
= NULL
;
18247 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18248 wxDC
*arg2
= (wxDC
*) 0 ;
18250 PyObject
* obj0
= 0 ;
18251 PyObject
* obj1
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self",(char *) "dc", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18258 if (SWIG_arg_fail(1)) SWIG_fail
;
18259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18260 if (SWIG_arg_fail(2)) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18277 static PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
= NULL
;
18279 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 PyObject
* obj2
= 0 ;
18287 PyObject
* obj3
= 0 ;
18288 PyObject
* obj4
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18295 if (SWIG_arg_fail(1)) SWIG_fail
;
18297 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18298 if (SWIG_arg_fail(2)) SWIG_fail
;
18301 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18302 if (SWIG_arg_fail(3)) SWIG_fail
;
18305 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18306 if (SWIG_arg_fail(4)) SWIG_fail
;
18309 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18310 if (SWIG_arg_fail(5)) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 Py_INCREF(Py_None
); resultobj
= Py_None
;
18326 static PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
= NULL
;
18328 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18333 int arg6
= (int) wxSIZE_AUTO
;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 PyObject
* obj2
= 0 ;
18337 PyObject
* obj3
= 0 ;
18338 PyObject
* obj4
= 0 ;
18339 PyObject
* obj5
= 0 ;
18340 char *kwnames
[] = {
18341 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18346 if (SWIG_arg_fail(1)) SWIG_fail
;
18348 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18349 if (SWIG_arg_fail(2)) SWIG_fail
;
18352 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18353 if (SWIG_arg_fail(3)) SWIG_fail
;
18356 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18357 if (SWIG_arg_fail(4)) SWIG_fail
;
18360 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18361 if (SWIG_arg_fail(5)) SWIG_fail
;
18365 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18366 if (SWIG_arg_fail(6)) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 Py_INCREF(Py_None
); resultobj
= Py_None
;
18383 static PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18384 PyObject
*resultobj
= NULL
;
18385 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18388 PyObject
* obj0
= 0 ;
18389 PyObject
* obj1
= 0 ;
18390 PyObject
* obj2
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self",(char *) "width",(char *) "height", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18397 if (SWIG_arg_fail(1)) SWIG_fail
;
18399 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18400 if (SWIG_arg_fail(2)) SWIG_fail
;
18403 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18404 if (SWIG_arg_fail(3)) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 (arg1
)->DoSetClientSize(arg2
,arg3
);
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 Py_INCREF(Py_None
); resultobj
= Py_None
;
18420 static PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
= NULL
;
18422 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18425 PyObject
* obj0
= 0 ;
18426 PyObject
* obj1
= 0 ;
18427 PyObject
* obj2
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "self",(char *) "x",(char *) "y", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18434 if (SWIG_arg_fail(1)) SWIG_fail
;
18436 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18437 if (SWIG_arg_fail(2)) SWIG_fail
;
18440 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18441 if (SWIG_arg_fail(3)) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 Py_INCREF(Py_None
); resultobj
= Py_None
;
18457 static PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
= NULL
;
18459 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18460 int *arg2
= (int *) 0 ;
18461 int *arg3
= (int *) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self", NULL
18471 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18472 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
18474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18475 if (SWIG_arg_fail(1)) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 Py_INCREF(Py_None
); resultobj
= Py_None
;
18484 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18485 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18486 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18487 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18494 static PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
= NULL
;
18496 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18497 int *arg2
= (int *) 0 ;
18498 int *arg3
= (int *) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 char *kwnames
[] = {
18505 (char *) "self", NULL
18508 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18509 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18512 if (SWIG_arg_fail(1)) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 Py_INCREF(Py_None
); resultobj
= Py_None
;
18521 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18522 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18523 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18524 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18531 static PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
= NULL
;
18533 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18534 int *arg2
= (int *) 0 ;
18535 int *arg3
= (int *) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self", NULL
18545 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18546 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18549 if (SWIG_arg_fail(1)) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
18554 wxPyEndAllowThreads(__tstate
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18557 Py_INCREF(Py_None
); resultobj
= Py_None
;
18558 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18559 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18560 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18561 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18568 static PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
= NULL
;
18570 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18579 if (SWIG_arg_fail(1)) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18588 wxSize
* resultptr
;
18589 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18598 static PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
= NULL
;
18600 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18602 PyObject
* obj0
= 0 ;
18603 char *kwnames
[] = {
18604 (char *) "self", NULL
18607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18609 if (SWIG_arg_fail(1)) SWIG_fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18618 wxSize
* resultptr
;
18619 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18620 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18628 static PyObject
*_wrap_PyWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
= NULL
;
18630 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
18637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18638 if (SWIG_arg_fail(1)) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 (arg1
)->InitDialog();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 Py_INCREF(Py_None
); resultobj
= Py_None
;
18653 static PyObject
*_wrap_PyWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
= NULL
;
18655 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 char *kwnames
[] = {
18659 (char *) "self", NULL
18662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18664 if (SWIG_arg_fail(1)) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (bool)(arg1
)->TransferDataToWindow();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18681 static PyObject
*_wrap_PyWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
= NULL
;
18683 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (bool)(arg1
)->TransferDataFromWindow();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18709 static PyObject
*_wrap_PyWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
= NULL
;
18711 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "self", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_Validate",kwnames
,&obj0
)) goto fail
;
18719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18720 if (SWIG_arg_fail(1)) SWIG_fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= (bool)(arg1
)->Validate();
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18737 static PyObject
*_wrap_PyWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
= NULL
;
18739 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18748 if (SWIG_arg_fail(1)) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocus();
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18765 static PyObject
*_wrap_PyWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
= NULL
;
18767 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18769 PyObject
* obj0
= 0 ;
18770 char *kwnames
[] = {
18771 (char *) "self", NULL
18774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18776 if (SWIG_arg_fail(1)) SWIG_fail
;
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18793 static PyObject
*_wrap_PyWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
= NULL
;
18795 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18804 if (SWIG_arg_fail(1)) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 result
= ((wxPyWindow
const *)arg1
)->GetMaxSize();
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18813 wxSize
* resultptr
;
18814 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18823 static PyObject
*_wrap_PyWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
= NULL
;
18825 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18826 wxWindow
*arg2
= (wxWindow
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 PyObject
* obj1
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "self",(char *) "child", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18835 if (SWIG_arg_fail(1)) SWIG_fail
;
18836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18837 if (SWIG_arg_fail(2)) SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 (arg1
)->AddChild(arg2
);
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 Py_INCREF(Py_None
); resultobj
= Py_None
;
18852 static PyObject
*_wrap_PyWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
= NULL
;
18854 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18855 wxWindow
*arg2
= (wxWindow
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self",(char *) "child", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18864 if (SWIG_arg_fail(1)) SWIG_fail
;
18865 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18866 if (SWIG_arg_fail(2)) SWIG_fail
;
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 (arg1
)->RemoveChild(arg2
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 Py_INCREF(Py_None
); resultobj
= Py_None
;
18881 static PyObject
*_wrap_PyWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
= NULL
;
18883 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18885 PyObject
* obj0
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18892 if (SWIG_arg_fail(1)) SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= (bool)((wxPyWindow
const *)arg1
)->ShouldInheritColours();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18909 static PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
= NULL
;
18911 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18912 wxVisualAttributes result
;
18913 PyObject
* obj0
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18920 if (SWIG_arg_fail(1)) SWIG_fail
;
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 result
= (arg1
)->GetDefaultAttributes();
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18929 wxVisualAttributes
* resultptr
;
18930 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
18931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18939 static PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
= NULL
;
18941 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
18948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18949 if (SWIG_arg_fail(1)) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 (arg1
)->OnInternalIdle();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 Py_INCREF(Py_None
); resultobj
= Py_None
;
18964 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18967 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18969 return Py_BuildValue((char *)"");
18971 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
= NULL
;
18973 wxWindow
*arg1
= (wxWindow
*) 0 ;
18974 int arg2
= (int) (int)-1 ;
18975 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18976 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18977 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18978 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18979 long arg5
= (long) 0 ;
18980 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18981 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18985 bool temp6
= false ;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 PyObject
* obj2
= 0 ;
18989 PyObject
* obj3
= 0 ;
18990 PyObject
* obj4
= 0 ;
18991 PyObject
* obj5
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18998 if (SWIG_arg_fail(1)) SWIG_fail
;
19001 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
19002 if (SWIG_arg_fail(2)) SWIG_fail
;
19008 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19014 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19019 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19020 if (SWIG_arg_fail(5)) SWIG_fail
;
19025 arg6
= wxString_in_helper(obj5
);
19026 if (arg6
== NULL
) SWIG_fail
;
19031 if (!wxPyCheckForApp()) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19053 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
= NULL
;
19056 char *kwnames
[] = {
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
19062 if (!wxPyCheckForApp()) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (wxPyPanel
*)new wxPyPanel();
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19076 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
= NULL
;
19078 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19079 PyObject
*arg2
= (PyObject
*) 0 ;
19080 PyObject
*arg3
= (PyObject
*) 0 ;
19081 PyObject
* obj0
= 0 ;
19082 PyObject
* obj1
= 0 ;
19083 PyObject
* obj2
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self",(char *) "self",(char *) "_class", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19090 if (SWIG_arg_fail(1)) SWIG_fail
;
19094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 Py_INCREF(Py_None
); resultobj
= Py_None
;
19107 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
= NULL
;
19109 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "size", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19120 if (SWIG_arg_fail(1)) SWIG_fail
;
19123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19132 Py_INCREF(Py_None
); resultobj
= Py_None
;
19139 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
= NULL
;
19141 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19142 wxDC
*arg2
= (wxDC
*) 0 ;
19144 PyObject
* obj0
= 0 ;
19145 PyObject
* obj1
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self",(char *) "dc", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19152 if (SWIG_arg_fail(1)) SWIG_fail
;
19153 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19154 if (SWIG_arg_fail(2)) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19171 static PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
= NULL
;
19173 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 PyObject
* obj2
= 0 ;
19181 PyObject
* obj3
= 0 ;
19182 PyObject
* obj4
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19189 if (SWIG_arg_fail(1)) SWIG_fail
;
19191 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19192 if (SWIG_arg_fail(2)) SWIG_fail
;
19195 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19196 if (SWIG_arg_fail(3)) SWIG_fail
;
19199 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19200 if (SWIG_arg_fail(4)) SWIG_fail
;
19203 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19204 if (SWIG_arg_fail(5)) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 Py_INCREF(Py_None
); resultobj
= Py_None
;
19220 static PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
= NULL
;
19222 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19227 int arg6
= (int) wxSIZE_AUTO
;
19228 PyObject
* obj0
= 0 ;
19229 PyObject
* obj1
= 0 ;
19230 PyObject
* obj2
= 0 ;
19231 PyObject
* obj3
= 0 ;
19232 PyObject
* obj4
= 0 ;
19233 PyObject
* obj5
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19240 if (SWIG_arg_fail(1)) SWIG_fail
;
19242 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19243 if (SWIG_arg_fail(2)) SWIG_fail
;
19246 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19247 if (SWIG_arg_fail(3)) SWIG_fail
;
19250 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19251 if (SWIG_arg_fail(4)) SWIG_fail
;
19254 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19255 if (SWIG_arg_fail(5)) SWIG_fail
;
19259 arg6
= static_cast<int >(SWIG_As_int(obj5
));
19260 if (SWIG_arg_fail(6)) SWIG_fail
;
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19265 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19270 Py_INCREF(Py_None
); resultobj
= Py_None
;
19277 static PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
= NULL
;
19279 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 PyObject
* obj2
= 0 ;
19285 char *kwnames
[] = {
19286 (char *) "self",(char *) "width",(char *) "height", NULL
19289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19291 if (SWIG_arg_fail(1)) SWIG_fail
;
19293 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19294 if (SWIG_arg_fail(2)) SWIG_fail
;
19297 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19298 if (SWIG_arg_fail(3)) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 (arg1
)->DoSetClientSize(arg2
,arg3
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19307 Py_INCREF(Py_None
); resultobj
= Py_None
;
19314 static PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19315 PyObject
*resultobj
= NULL
;
19316 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19319 PyObject
* obj0
= 0 ;
19320 PyObject
* obj1
= 0 ;
19321 PyObject
* obj2
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self",(char *) "x",(char *) "y", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19328 if (SWIG_arg_fail(1)) SWIG_fail
;
19330 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19331 if (SWIG_arg_fail(2)) SWIG_fail
;
19334 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19335 if (SWIG_arg_fail(3)) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 Py_INCREF(Py_None
); resultobj
= Py_None
;
19351 static PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
= NULL
;
19353 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19354 int *arg2
= (int *) 0 ;
19355 int *arg3
= (int *) 0 ;
19360 PyObject
* obj0
= 0 ;
19361 char *kwnames
[] = {
19362 (char *) "self", NULL
19365 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19366 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetSize",kwnames
,&obj0
)) goto fail
;
19368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19369 if (SWIG_arg_fail(1)) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19377 Py_INCREF(Py_None
); resultobj
= Py_None
;
19378 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19379 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19380 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19381 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19388 static PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
= NULL
;
19390 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19391 int *arg2
= (int *) 0 ;
19392 int *arg3
= (int *) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self", NULL
19402 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19403 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19406 if (SWIG_arg_fail(1)) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 Py_INCREF(Py_None
); resultobj
= Py_None
;
19415 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19416 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19417 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19418 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19425 static PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
= NULL
;
19427 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19428 int *arg2
= (int *) 0 ;
19429 int *arg3
= (int *) 0 ;
19434 PyObject
* obj0
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self", NULL
19439 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19440 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19443 if (SWIG_arg_fail(1)) SWIG_fail
;
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 Py_INCREF(Py_None
); resultobj
= Py_None
;
19452 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19453 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19454 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19455 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19462 static PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
= NULL
;
19464 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19473 if (SWIG_arg_fail(1)) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19482 wxSize
* resultptr
;
19483 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19492 static PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
= NULL
;
19494 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19503 if (SWIG_arg_fail(1)) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19512 wxSize
* resultptr
;
19513 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19522 static PyObject
*_wrap_PyPanel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19523 PyObject
*resultobj
= NULL
;
19524 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19525 PyObject
* obj0
= 0 ;
19526 char *kwnames
[] = {
19527 (char *) "self", NULL
19530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_InitDialog",kwnames
,&obj0
)) goto fail
;
19531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19532 if (SWIG_arg_fail(1)) SWIG_fail
;
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 (arg1
)->InitDialog();
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 Py_INCREF(Py_None
); resultobj
= Py_None
;
19547 static PyObject
*_wrap_PyPanel_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
= NULL
;
19549 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19551 PyObject
* obj0
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "self", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19558 if (SWIG_arg_fail(1)) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 result
= (bool)(arg1
)->TransferDataToWindow();
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19575 static PyObject
*_wrap_PyPanel_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
= NULL
;
19577 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19586 if (SWIG_arg_fail(1)) SWIG_fail
;
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 result
= (bool)(arg1
)->TransferDataFromWindow();
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19603 static PyObject
*_wrap_PyPanel_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
= NULL
;
19605 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19607 PyObject
* obj0
= 0 ;
19608 char *kwnames
[] = {
19609 (char *) "self", NULL
19612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_Validate",kwnames
,&obj0
)) goto fail
;
19613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19614 if (SWIG_arg_fail(1)) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 result
= (bool)(arg1
)->Validate();
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19631 static PyObject
*_wrap_PyPanel_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
= NULL
;
19633 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19642 if (SWIG_arg_fail(1)) SWIG_fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocus();
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19659 static PyObject
*_wrap_PyPanel_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
= NULL
;
19661 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19663 PyObject
* obj0
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19670 if (SWIG_arg_fail(1)) SWIG_fail
;
19672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocusFromKeyboard();
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19687 static PyObject
*_wrap_PyPanel_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
= NULL
;
19689 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19691 PyObject
* obj0
= 0 ;
19692 char *kwnames
[] = {
19693 (char *) "self", NULL
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19698 if (SWIG_arg_fail(1)) SWIG_fail
;
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 result
= ((wxPyPanel
const *)arg1
)->GetMaxSize();
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19707 wxSize
* resultptr
;
19708 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19717 static PyObject
*_wrap_PyPanel_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
= NULL
;
19719 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19720 wxWindow
*arg2
= (wxWindow
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 PyObject
* obj1
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self",(char *) "child", NULL
19727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19729 if (SWIG_arg_fail(1)) SWIG_fail
;
19730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19731 if (SWIG_arg_fail(2)) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 (arg1
)->AddChild(arg2
);
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19739 Py_INCREF(Py_None
); resultobj
= Py_None
;
19746 static PyObject
*_wrap_PyPanel_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
= NULL
;
19748 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19749 wxWindow
*arg2
= (wxWindow
*) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 PyObject
* obj1
= 0 ;
19752 char *kwnames
[] = {
19753 (char *) "self",(char *) "child", NULL
19756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19758 if (SWIG_arg_fail(1)) SWIG_fail
;
19759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19760 if (SWIG_arg_fail(2)) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 (arg1
)->RemoveChild(arg2
);
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 Py_INCREF(Py_None
); resultobj
= Py_None
;
19775 static PyObject
*_wrap_PyPanel_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
= NULL
;
19777 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19786 if (SWIG_arg_fail(1)) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (bool)((wxPyPanel
const *)arg1
)->ShouldInheritColours();
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19803 static PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
= NULL
;
19805 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19806 wxVisualAttributes result
;
19807 PyObject
* obj0
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "self", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19814 if (SWIG_arg_fail(1)) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 result
= (arg1
)->GetDefaultAttributes();
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19823 wxVisualAttributes
* resultptr
;
19824 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19833 static PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
= NULL
;
19835 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19836 PyObject
* obj0
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19843 if (SWIG_arg_fail(1)) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 (arg1
)->OnInternalIdle();
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 Py_INCREF(Py_None
); resultobj
= Py_None
;
19858 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19861 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19863 return Py_BuildValue((char *)"");
19865 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
= NULL
;
19867 wxWindow
*arg1
= (wxWindow
*) 0 ;
19868 int arg2
= (int) (int)-1 ;
19869 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19870 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19871 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19872 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19873 long arg5
= (long) 0 ;
19874 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19875 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19876 wxPyScrolledWindow
*result
;
19879 bool temp6
= false ;
19880 PyObject
* obj0
= 0 ;
19881 PyObject
* obj1
= 0 ;
19882 PyObject
* obj2
= 0 ;
19883 PyObject
* obj3
= 0 ;
19884 PyObject
* obj4
= 0 ;
19885 PyObject
* obj5
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19892 if (SWIG_arg_fail(1)) SWIG_fail
;
19895 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
19896 if (SWIG_arg_fail(2)) SWIG_fail
;
19902 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19908 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19913 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19914 if (SWIG_arg_fail(5)) SWIG_fail
;
19919 arg6
= wxString_in_helper(obj5
);
19920 if (arg6
== NULL
) SWIG_fail
;
19925 if (!wxPyCheckForApp()) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19947 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
= NULL
;
19949 wxPyScrolledWindow
*result
;
19950 char *kwnames
[] = {
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19956 if (!wxPyCheckForApp()) SWIG_fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19970 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
= NULL
;
19972 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19973 PyObject
*arg2
= (PyObject
*) 0 ;
19974 PyObject
*arg3
= (PyObject
*) 0 ;
19975 PyObject
* obj0
= 0 ;
19976 PyObject
* obj1
= 0 ;
19977 PyObject
* obj2
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "self",(char *) "self",(char *) "_class", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19984 if (SWIG_arg_fail(1)) SWIG_fail
;
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 Py_INCREF(Py_None
); resultobj
= Py_None
;
20001 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
= NULL
;
20003 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self",(char *) "size", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20014 if (SWIG_arg_fail(1)) SWIG_fail
;
20017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20026 Py_INCREF(Py_None
); resultobj
= Py_None
;
20033 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
= NULL
;
20035 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20036 wxDC
*arg2
= (wxDC
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self",(char *) "dc", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20046 if (SWIG_arg_fail(1)) SWIG_fail
;
20047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20048 if (SWIG_arg_fail(2)) SWIG_fail
;
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20065 static PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
= NULL
;
20067 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 PyObject
* obj2
= 0 ;
20075 PyObject
* obj3
= 0 ;
20076 PyObject
* obj4
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20083 if (SWIG_arg_fail(1)) SWIG_fail
;
20085 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20086 if (SWIG_arg_fail(2)) SWIG_fail
;
20089 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20090 if (SWIG_arg_fail(3)) SWIG_fail
;
20093 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20094 if (SWIG_arg_fail(4)) SWIG_fail
;
20097 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20098 if (SWIG_arg_fail(5)) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 Py_INCREF(Py_None
); resultobj
= Py_None
;
20114 static PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
= NULL
;
20116 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20121 int arg6
= (int) wxSIZE_AUTO
;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 PyObject
* obj2
= 0 ;
20125 PyObject
* obj3
= 0 ;
20126 PyObject
* obj4
= 0 ;
20127 PyObject
* obj5
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20134 if (SWIG_arg_fail(1)) SWIG_fail
;
20136 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20137 if (SWIG_arg_fail(2)) SWIG_fail
;
20140 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20141 if (SWIG_arg_fail(3)) SWIG_fail
;
20144 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20145 if (SWIG_arg_fail(4)) SWIG_fail
;
20148 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20149 if (SWIG_arg_fail(5)) SWIG_fail
;
20153 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20154 if (SWIG_arg_fail(6)) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 Py_INCREF(Py_None
); resultobj
= Py_None
;
20171 static PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
= NULL
;
20173 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 PyObject
* obj2
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self",(char *) "width",(char *) "height", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20185 if (SWIG_arg_fail(1)) SWIG_fail
;
20187 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20188 if (SWIG_arg_fail(2)) SWIG_fail
;
20191 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20192 if (SWIG_arg_fail(3)) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 (arg1
)->DoSetClientSize(arg2
,arg3
);
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20201 Py_INCREF(Py_None
); resultobj
= Py_None
;
20208 static PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20209 PyObject
*resultobj
= NULL
;
20210 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 PyObject
* obj2
= 0 ;
20216 char *kwnames
[] = {
20217 (char *) "self",(char *) "x",(char *) "y", NULL
20220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20222 if (SWIG_arg_fail(1)) SWIG_fail
;
20224 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20225 if (SWIG_arg_fail(2)) SWIG_fail
;
20228 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20229 if (SWIG_arg_fail(3)) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 Py_INCREF(Py_None
); resultobj
= Py_None
;
20245 static PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
= NULL
;
20247 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20248 int *arg2
= (int *) 0 ;
20249 int *arg3
= (int *) 0 ;
20254 PyObject
* obj0
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self", NULL
20259 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20260 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
20262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20263 if (SWIG_arg_fail(1)) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20271 Py_INCREF(Py_None
); resultobj
= Py_None
;
20272 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20273 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20274 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20275 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20282 static PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20283 PyObject
*resultobj
= NULL
;
20284 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20285 int *arg2
= (int *) 0 ;
20286 int *arg3
= (int *) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self", NULL
20296 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20297 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
20299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 Py_INCREF(Py_None
); resultobj
= Py_None
;
20309 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20310 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20311 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20312 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20319 static PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
= NULL
;
20321 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20322 int *arg2
= (int *) 0 ;
20323 int *arg3
= (int *) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self", NULL
20333 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20334 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
20336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20337 if (SWIG_arg_fail(1)) SWIG_fail
;
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 Py_INCREF(Py_None
); resultobj
= Py_None
;
20346 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20347 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20348 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20349 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20356 static PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
= NULL
;
20358 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20360 PyObject
* obj0
= 0 ;
20361 char *kwnames
[] = {
20362 (char *) "self", NULL
20365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
20366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20367 if (SWIG_arg_fail(1)) SWIG_fail
;
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
20372 wxPyEndAllowThreads(__tstate
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20376 wxSize
* resultptr
;
20377 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20386 static PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
= NULL
;
20388 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20390 PyObject
* obj0
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20397 if (SWIG_arg_fail(1)) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20406 wxSize
* resultptr
;
20407 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20416 static PyObject
*_wrap_PyScrolledWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
= NULL
;
20418 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
20425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20426 if (SWIG_arg_fail(1)) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 (arg1
)->InitDialog();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 Py_INCREF(Py_None
); resultobj
= Py_None
;
20441 static PyObject
*_wrap_PyScrolledWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
= NULL
;
20443 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20445 PyObject
* obj0
= 0 ;
20446 char *kwnames
[] = {
20447 (char *) "self", NULL
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20452 if (SWIG_arg_fail(1)) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (bool)(arg1
)->TransferDataToWindow();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20469 static PyObject
*_wrap_PyScrolledWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
= NULL
;
20471 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20480 if (SWIG_arg_fail(1)) SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 result
= (bool)(arg1
)->TransferDataFromWindow();
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20497 static PyObject
*_wrap_PyScrolledWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
= NULL
;
20499 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 char *kwnames
[] = {
20503 (char *) "self", NULL
20506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_Validate",kwnames
,&obj0
)) goto fail
;
20507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20508 if (SWIG_arg_fail(1)) SWIG_fail
;
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 result
= (bool)(arg1
)->Validate();
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20525 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
= NULL
;
20527 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20529 PyObject
* obj0
= 0 ;
20530 char *kwnames
[] = {
20531 (char *) "self", NULL
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20536 if (SWIG_arg_fail(1)) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocus();
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20553 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
= NULL
;
20555 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20557 PyObject
* obj0
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20564 if (SWIG_arg_fail(1)) SWIG_fail
;
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20581 static PyObject
*_wrap_PyScrolledWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
= NULL
;
20583 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20585 PyObject
* obj0
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "self", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20592 if (SWIG_arg_fail(1)) SWIG_fail
;
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= ((wxPyScrolledWindow
const *)arg1
)->GetMaxSize();
20597 wxPyEndAllowThreads(__tstate
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20601 wxSize
* resultptr
;
20602 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20611 static PyObject
*_wrap_PyScrolledWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
= NULL
;
20613 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20614 wxWindow
*arg2
= (wxWindow
*) 0 ;
20615 PyObject
* obj0
= 0 ;
20616 PyObject
* obj1
= 0 ;
20617 char *kwnames
[] = {
20618 (char *) "self",(char *) "child", NULL
20621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20623 if (SWIG_arg_fail(1)) SWIG_fail
;
20624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20625 if (SWIG_arg_fail(2)) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 (arg1
)->AddChild(arg2
);
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 Py_INCREF(Py_None
); resultobj
= Py_None
;
20640 static PyObject
*_wrap_PyScrolledWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
= NULL
;
20642 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20643 wxWindow
*arg2
= (wxWindow
*) 0 ;
20644 PyObject
* obj0
= 0 ;
20645 PyObject
* obj1
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self",(char *) "child", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail
;
20653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20654 if (SWIG_arg_fail(2)) SWIG_fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 (arg1
)->RemoveChild(arg2
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 Py_INCREF(Py_None
); resultobj
= Py_None
;
20669 static PyObject
*_wrap_PyScrolledWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
= NULL
;
20671 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20673 PyObject
* obj0
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20680 if (SWIG_arg_fail(1)) SWIG_fail
;
20682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20683 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->ShouldInheritColours();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20697 static PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
= NULL
;
20699 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20700 wxVisualAttributes result
;
20701 PyObject
* obj0
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20708 if (SWIG_arg_fail(1)) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (arg1
)->GetDefaultAttributes();
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20717 wxVisualAttributes
* resultptr
;
20718 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
20719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20727 static PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
= NULL
;
20729 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20730 PyObject
* obj0
= 0 ;
20731 char *kwnames
[] = {
20732 (char *) "self", NULL
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20737 if (SWIG_arg_fail(1)) SWIG_fail
;
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 (arg1
)->OnInternalIdle();
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20745 Py_INCREF(Py_None
); resultobj
= Py_None
;
20752 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20754 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20755 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20757 return Py_BuildValue((char *)"");
20759 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20760 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20765 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20766 PyObject
*pyobj
= NULL
;
20770 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20772 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20779 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20780 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20785 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20786 PyObject
*pyobj
= NULL
;
20790 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20792 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20799 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20800 PyObject
*resultobj
= NULL
;
20801 wxPrintData
*result
;
20803 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= (wxPrintData
*)new wxPrintData();
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20818 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20819 PyObject
*resultobj
= NULL
;
20820 wxPrintData
*arg1
= 0 ;
20821 wxPrintData
*result
;
20822 PyObject
* obj0
= 0 ;
20824 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20827 if (SWIG_arg_fail(1)) SWIG_fail
;
20828 if (arg1
== NULL
) {
20829 SWIG_null_ref("wxPrintData");
20831 if (SWIG_arg_fail(1)) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20847 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20852 argc
= PyObject_Length(args
);
20853 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20854 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20857 return _wrap_new_PrintData__SWIG_0(self
,args
);
20863 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20871 return _wrap_new_PrintData__SWIG_1(self
,args
);
20875 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20880 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
= NULL
;
20882 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20883 PyObject
* obj0
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20890 if (SWIG_arg_fail(1)) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 Py_INCREF(Py_None
); resultobj
= Py_None
;
20905 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
= NULL
;
20907 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20909 PyObject
* obj0
= 0 ;
20910 char *kwnames
[] = {
20911 (char *) "self", NULL
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20916 if (SWIG_arg_fail(1)) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (int)(arg1
)->GetNoCopies();
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= SWIG_From_int(static_cast<int >(result
));
20933 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
= NULL
;
20935 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20937 PyObject
* obj0
= 0 ;
20938 char *kwnames
[] = {
20939 (char *) "self", NULL
20942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20944 if (SWIG_arg_fail(1)) SWIG_fail
;
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20947 result
= (bool)(arg1
)->GetCollate();
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20961 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
= NULL
;
20963 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20965 PyObject
* obj0
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "self", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20972 if (SWIG_arg_fail(1)) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (int)(arg1
)->GetOrientation();
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_From_int(static_cast<int >(result
));
20989 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
= NULL
;
20991 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20993 PyObject
* obj0
= 0 ;
20994 char *kwnames
[] = {
20995 (char *) "self", NULL
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21000 if (SWIG_arg_fail(1)) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (bool)(arg1
)->Ok();
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21017 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
= NULL
;
21019 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21021 PyObject
* obj0
= 0 ;
21022 char *kwnames
[] = {
21023 (char *) "self", NULL
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
21027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21028 if (SWIG_arg_fail(1)) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
21033 result
= (wxString
*) &_result_ref
;
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21043 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21052 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
= NULL
;
21054 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21056 PyObject
* obj0
= 0 ;
21057 char *kwnames
[] = {
21058 (char *) "self", NULL
21061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
21062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21063 if (SWIG_arg_fail(1)) SWIG_fail
;
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 result
= (bool)(arg1
)->GetColour();
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21080 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
= NULL
;
21082 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21083 wxDuplexMode result
;
21084 PyObject
* obj0
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "self", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
21090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21091 if (SWIG_arg_fail(1)) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_From_int((result
));
21106 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
= NULL
;
21108 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21109 wxPaperSize result
;
21110 PyObject
* obj0
= 0 ;
21111 char *kwnames
[] = {
21112 (char *) "self", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
21116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21117 if (SWIG_arg_fail(1)) SWIG_fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (wxPaperSize
)(arg1
)->GetPaperId();
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_From_int((result
));
21132 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
= NULL
;
21134 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21136 PyObject
* obj0
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "self", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
21142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21143 if (SWIG_arg_fail(1)) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
21148 result
= (wxSize
*) &_result_ref
;
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
21161 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
= NULL
;
21163 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
21171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21172 if (SWIG_arg_fail(1)) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (int)(arg1
)->GetQuality();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= SWIG_From_int(static_cast<int >(result
));
21189 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
= NULL
;
21191 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
21199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21200 if (SWIG_arg_fail(1)) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (wxPrintBin
)(arg1
)->GetBin();
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= SWIG_From_int((result
));
21215 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
= NULL
;
21217 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21218 wxPrintMode result
;
21219 PyObject
* obj0
= 0 ;
21220 char *kwnames
[] = {
21221 (char *) "self", NULL
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
21225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21226 if (SWIG_arg_fail(1)) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= SWIG_From_int((result
));
21241 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
= NULL
;
21243 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 PyObject
* obj1
= 0 ;
21247 char *kwnames
[] = {
21248 (char *) "self",(char *) "v", NULL
21251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21253 if (SWIG_arg_fail(1)) SWIG_fail
;
21255 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21256 if (SWIG_arg_fail(2)) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 (arg1
)->SetNoCopies(arg2
);
21262 wxPyEndAllowThreads(__tstate
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 Py_INCREF(Py_None
); resultobj
= Py_None
;
21272 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
= NULL
;
21274 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 char *kwnames
[] = {
21279 (char *) "self",(char *) "flag", NULL
21282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21284 if (SWIG_arg_fail(1)) SWIG_fail
;
21286 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21287 if (SWIG_arg_fail(2)) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 (arg1
)->SetCollate(arg2
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 Py_INCREF(Py_None
); resultobj
= Py_None
;
21303 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
= NULL
;
21305 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self",(char *) "orient", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21315 if (SWIG_arg_fail(1)) SWIG_fail
;
21317 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21318 if (SWIG_arg_fail(2)) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 (arg1
)->SetOrientation(arg2
);
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 Py_INCREF(Py_None
); resultobj
= Py_None
;
21334 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
= NULL
;
21336 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21337 wxString
*arg2
= 0 ;
21338 bool temp2
= false ;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self",(char *) "name", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
21346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21347 if (SWIG_arg_fail(1)) SWIG_fail
;
21349 arg2
= wxString_in_helper(obj1
);
21350 if (arg2
== NULL
) SWIG_fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 Py_INCREF(Py_None
); resultobj
= Py_None
;
21375 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
= NULL
;
21377 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21379 PyObject
* obj0
= 0 ;
21380 PyObject
* obj1
= 0 ;
21381 char *kwnames
[] = {
21382 (char *) "self",(char *) "colour", NULL
21385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21387 if (SWIG_arg_fail(1)) SWIG_fail
;
21389 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21390 if (SWIG_arg_fail(2)) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 (arg1
)->SetColour(arg2
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 Py_INCREF(Py_None
); resultobj
= Py_None
;
21406 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
= NULL
;
21408 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21409 wxDuplexMode arg2
;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 char *kwnames
[] = {
21413 (char *) "self",(char *) "duplex", NULL
21416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21418 if (SWIG_arg_fail(1)) SWIG_fail
;
21420 arg2
= static_cast<wxDuplexMode
>(SWIG_As_int(obj1
));
21421 if (SWIG_arg_fail(2)) SWIG_fail
;
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 (arg1
)->SetDuplex(arg2
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 Py_INCREF(Py_None
); resultobj
= Py_None
;
21437 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
= NULL
;
21439 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21441 PyObject
* obj0
= 0 ;
21442 PyObject
* obj1
= 0 ;
21443 char *kwnames
[] = {
21444 (char *) "self",(char *) "sizeId", NULL
21447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21449 if (SWIG_arg_fail(1)) SWIG_fail
;
21451 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
21452 if (SWIG_arg_fail(2)) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 (arg1
)->SetPaperId(arg2
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 Py_INCREF(Py_None
); resultobj
= Py_None
;
21468 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
= NULL
;
21470 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self",(char *) "sz", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21481 if (SWIG_arg_fail(1)) SWIG_fail
;
21484 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 Py_INCREF(Py_None
); resultobj
= Py_None
;
21500 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
= NULL
;
21502 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21504 PyObject
* obj0
= 0 ;
21505 PyObject
* obj1
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self",(char *) "quality", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21512 if (SWIG_arg_fail(1)) SWIG_fail
;
21514 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21515 if (SWIG_arg_fail(2)) SWIG_fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 (arg1
)->SetQuality(arg2
);
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21524 Py_INCREF(Py_None
); resultobj
= Py_None
;
21531 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
= NULL
;
21533 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21535 PyObject
* obj0
= 0 ;
21536 PyObject
* obj1
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self",(char *) "bin", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21543 if (SWIG_arg_fail(1)) SWIG_fail
;
21545 arg2
= static_cast<wxPrintBin
>(SWIG_As_int(obj1
));
21546 if (SWIG_arg_fail(2)) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 (arg1
)->SetBin(arg2
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 Py_INCREF(Py_None
); resultobj
= Py_None
;
21562 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
= NULL
;
21564 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21566 PyObject
* obj0
= 0 ;
21567 PyObject
* obj1
= 0 ;
21568 char *kwnames
[] = {
21569 (char *) "self",(char *) "printMode", NULL
21572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21574 if (SWIG_arg_fail(1)) SWIG_fail
;
21576 arg2
= static_cast<wxPrintMode
>(SWIG_As_int(obj1
));
21577 if (SWIG_arg_fail(2)) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 (arg1
)->SetPrintMode(arg2
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 Py_INCREF(Py_None
); resultobj
= Py_None
;
21593 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
= NULL
;
21595 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21597 PyObject
* obj0
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21604 if (SWIG_arg_fail(1)) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21625 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
= NULL
;
21627 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21628 wxString
*arg2
= 0 ;
21629 bool temp2
= false ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self",(char *) "filename", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",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
= wxString_in_helper(obj1
);
21641 if (arg2
== NULL
) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 (arg1
)->SetFilename((wxString
const &)*arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 Py_INCREF(Py_None
); resultobj
= Py_None
;
21666 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
= NULL
;
21668 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21677 if (SWIG_arg_fail(1)) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 resultobj
= result
;
21692 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21693 PyObject
*resultobj
= NULL
;
21694 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21695 PyObject
*arg2
= (PyObject
*) 0 ;
21696 PyObject
* obj0
= 0 ;
21697 PyObject
* obj1
= 0 ;
21698 char *kwnames
[] = {
21699 (char *) "self",(char *) "data", NULL
21702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21704 if (SWIG_arg_fail(1)) SWIG_fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 wxPrintData_SetPrivData(arg1
,arg2
);
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 Py_INCREF(Py_None
); resultobj
= Py_None
;
21720 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21723 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21725 return Py_BuildValue((char *)"");
21727 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21728 PyObject
*resultobj
= NULL
;
21729 wxPageSetupDialogData
*result
;
21731 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21746 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21747 PyObject
*resultobj
= NULL
;
21748 wxPageSetupDialogData
*arg1
= 0 ;
21749 wxPageSetupDialogData
*result
;
21750 PyObject
* obj0
= 0 ;
21752 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21755 if (SWIG_arg_fail(1)) SWIG_fail
;
21756 if (arg1
== NULL
) {
21757 SWIG_null_ref("wxPageSetupDialogData");
21759 if (SWIG_arg_fail(1)) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21775 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21776 PyObject
*resultobj
= NULL
;
21777 wxPrintData
*arg1
= 0 ;
21778 wxPageSetupDialogData
*result
;
21779 PyObject
* obj0
= 0 ;
21781 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21784 if (SWIG_arg_fail(1)) SWIG_fail
;
21785 if (arg1
== NULL
) {
21786 SWIG_null_ref("wxPrintData");
21788 if (SWIG_arg_fail(1)) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21804 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21809 argc
= PyObject_Length(args
);
21810 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21811 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21814 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21820 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21828 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21835 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21843 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21847 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21852 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
= NULL
;
21854 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21862 if (SWIG_arg_fail(1)) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 Py_INCREF(Py_None
); resultobj
= Py_None
;
21877 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
= NULL
;
21879 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21881 PyObject
* obj0
= 0 ;
21882 PyObject
* obj1
= 0 ;
21883 char *kwnames
[] = {
21884 (char *) "self",(char *) "flag", NULL
21887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21889 if (SWIG_arg_fail(1)) SWIG_fail
;
21891 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21892 if (SWIG_arg_fail(2)) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 (arg1
)->EnableHelp(arg2
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 Py_INCREF(Py_None
); resultobj
= Py_None
;
21908 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
= NULL
;
21910 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 char *kwnames
[] = {
21915 (char *) "self",(char *) "flag", NULL
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21920 if (SWIG_arg_fail(1)) SWIG_fail
;
21922 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21923 if (SWIG_arg_fail(2)) SWIG_fail
;
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 (arg1
)->EnableMargins(arg2
);
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21932 Py_INCREF(Py_None
); resultobj
= Py_None
;
21939 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21940 PyObject
*resultobj
= NULL
;
21941 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21943 PyObject
* obj0
= 0 ;
21944 PyObject
* obj1
= 0 ;
21945 char *kwnames
[] = {
21946 (char *) "self",(char *) "flag", NULL
21949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21951 if (SWIG_arg_fail(1)) SWIG_fail
;
21953 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21954 if (SWIG_arg_fail(2)) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 (arg1
)->EnableOrientation(arg2
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 Py_INCREF(Py_None
); resultobj
= Py_None
;
21970 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21971 PyObject
*resultobj
= NULL
;
21972 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21974 PyObject
* obj0
= 0 ;
21975 PyObject
* obj1
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self",(char *) "flag", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21982 if (SWIG_arg_fail(1)) SWIG_fail
;
21984 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21985 if (SWIG_arg_fail(2)) SWIG_fail
;
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 (arg1
)->EnablePaper(arg2
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 Py_INCREF(Py_None
); resultobj
= Py_None
;
22001 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
= NULL
;
22003 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 PyObject
* obj1
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self",(char *) "flag", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22013 if (SWIG_arg_fail(1)) SWIG_fail
;
22015 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22016 if (SWIG_arg_fail(2)) SWIG_fail
;
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 (arg1
)->EnablePrinter(arg2
);
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 Py_INCREF(Py_None
); resultobj
= Py_None
;
22032 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
= NULL
;
22034 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22036 PyObject
* obj0
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "self", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22043 if (SWIG_arg_fail(1)) SWIG_fail
;
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 result
= (bool)(arg1
)->GetDefaultMinMargins();
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22060 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
= NULL
;
22062 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22064 PyObject
* obj0
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22071 if (SWIG_arg_fail(1)) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22074 result
= (bool)(arg1
)->GetEnableMargins();
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22088 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
= NULL
;
22090 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22092 PyObject
* obj0
= 0 ;
22093 char *kwnames
[] = {
22094 (char *) "self", NULL
22097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22099 if (SWIG_arg_fail(1)) SWIG_fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 result
= (bool)(arg1
)->GetEnableOrientation();
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22116 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
= NULL
;
22118 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22120 PyObject
* obj0
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22127 if (SWIG_arg_fail(1)) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= (bool)(arg1
)->GetEnablePaper();
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22144 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
= NULL
;
22146 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22148 PyObject
* obj0
= 0 ;
22149 char *kwnames
[] = {
22150 (char *) "self", NULL
22153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22155 if (SWIG_arg_fail(1)) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (bool)(arg1
)->GetEnablePrinter();
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22172 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
= NULL
;
22174 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22176 PyObject
* obj0
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22183 if (SWIG_arg_fail(1)) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 result
= (bool)(arg1
)->GetEnableHelp();
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22200 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
= NULL
;
22202 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22211 if (SWIG_arg_fail(1)) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (bool)(arg1
)->GetDefaultInfo();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22228 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
= NULL
;
22230 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22232 PyObject
* obj0
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22239 if (SWIG_arg_fail(1)) SWIG_fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= (arg1
)->GetMarginTopLeft();
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22248 wxPoint
* resultptr
;
22249 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22258 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
= NULL
;
22260 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22269 if (SWIG_arg_fail(1)) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (arg1
)->GetMarginBottomRight();
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22278 wxPoint
* resultptr
;
22279 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22288 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
= NULL
;
22290 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22292 PyObject
* obj0
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail
;
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 result
= (arg1
)->GetMinMarginTopLeft();
22304 wxPyEndAllowThreads(__tstate
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22308 wxPoint
* resultptr
;
22309 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22318 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
= NULL
;
22320 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22322 PyObject
* obj0
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22329 if (SWIG_arg_fail(1)) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22332 result
= (arg1
)->GetMinMarginBottomRight();
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22338 wxPoint
* resultptr
;
22339 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22348 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
= NULL
;
22350 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22351 wxPaperSize result
;
22352 PyObject
* obj0
= 0 ;
22353 char *kwnames
[] = {
22354 (char *) "self", NULL
22357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22359 if (SWIG_arg_fail(1)) SWIG_fail
;
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= SWIG_From_int((result
));
22374 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
= NULL
;
22376 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22378 PyObject
* obj0
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 result
= (arg1
)->GetPaperSize();
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 wxSize
* resultptr
;
22395 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22404 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
= NULL
;
22406 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22407 wxPrintData
*result
;
22408 PyObject
* obj0
= 0 ;
22409 char *kwnames
[] = {
22410 (char *) "self", NULL
22413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22415 if (SWIG_arg_fail(1)) SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22420 result
= (wxPrintData
*) &_result_ref
;
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22433 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
= NULL
;
22435 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22437 PyObject
* obj0
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22444 if (SWIG_arg_fail(1)) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= (bool)(arg1
)->Ok();
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22461 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
= NULL
;
22463 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22465 PyObject
* obj0
= 0 ;
22466 PyObject
* obj1
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self",(char *) "flag", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22473 if (SWIG_arg_fail(1)) SWIG_fail
;
22475 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22476 if (SWIG_arg_fail(2)) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 (arg1
)->SetDefaultInfo(arg2
);
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22485 Py_INCREF(Py_None
); resultobj
= Py_None
;
22492 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22493 PyObject
*resultobj
= NULL
;
22494 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self",(char *) "flag", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22504 if (SWIG_arg_fail(1)) SWIG_fail
;
22506 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22507 if (SWIG_arg_fail(2)) SWIG_fail
;
22510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 (arg1
)->SetDefaultMinMargins(arg2
);
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22516 Py_INCREF(Py_None
); resultobj
= Py_None
;
22523 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
= NULL
;
22525 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22526 wxPoint
*arg2
= 0 ;
22528 PyObject
* obj0
= 0 ;
22529 PyObject
* obj1
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "self",(char *) "pt", NULL
22534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22536 if (SWIG_arg_fail(1)) SWIG_fail
;
22539 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 Py_INCREF(Py_None
); resultobj
= Py_None
;
22555 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
= NULL
;
22557 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22558 wxPoint
*arg2
= 0 ;
22560 PyObject
* obj0
= 0 ;
22561 PyObject
* obj1
= 0 ;
22562 char *kwnames
[] = {
22563 (char *) "self",(char *) "pt", NULL
22566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",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
;
22571 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 Py_INCREF(Py_None
); resultobj
= Py_None
;
22587 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
= NULL
;
22589 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22590 wxPoint
*arg2
= 0 ;
22592 PyObject
* obj0
= 0 ;
22593 PyObject
* obj1
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "pt", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22600 if (SWIG_arg_fail(1)) SWIG_fail
;
22603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 Py_INCREF(Py_None
); resultobj
= Py_None
;
22619 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
= NULL
;
22621 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22622 wxPoint
*arg2
= 0 ;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self",(char *) "pt", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22632 if (SWIG_arg_fail(1)) SWIG_fail
;
22635 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22644 Py_INCREF(Py_None
); resultobj
= Py_None
;
22651 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22652 PyObject
*resultobj
= NULL
;
22653 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self",(char *) "id", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",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
;
22665 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
22666 if (SWIG_arg_fail(2)) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 (arg1
)->SetPaperId(arg2
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 Py_INCREF(Py_None
); resultobj
= Py_None
;
22682 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
= NULL
;
22684 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22687 PyObject
* obj0
= 0 ;
22688 PyObject
* obj1
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self",(char *) "size", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",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 ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 Py_INCREF(Py_None
); resultobj
= Py_None
;
22714 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
= NULL
;
22716 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22717 wxPrintData
*arg2
= 0 ;
22718 PyObject
* obj0
= 0 ;
22719 PyObject
* obj1
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self",(char *) "printData", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22726 if (SWIG_arg_fail(1)) SWIG_fail
;
22728 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22729 if (SWIG_arg_fail(2)) SWIG_fail
;
22730 if (arg2
== NULL
) {
22731 SWIG_null_ref("wxPrintData");
22733 if (SWIG_arg_fail(2)) SWIG_fail
;
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 Py_INCREF(Py_None
); resultobj
= Py_None
;
22749 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
= NULL
;
22751 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22752 PyObject
* obj0
= 0 ;
22753 char *kwnames
[] = {
22754 (char *) "self", NULL
22757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22759 if (SWIG_arg_fail(1)) SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 (arg1
)->CalculateIdFromPaperSize();
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 Py_INCREF(Py_None
); resultobj
= Py_None
;
22774 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
= NULL
;
22776 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22784 if (SWIG_arg_fail(1)) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 (arg1
)->CalculatePaperSizeFromId();
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22792 Py_INCREF(Py_None
); resultobj
= Py_None
;
22799 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22802 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22804 return Py_BuildValue((char *)"");
22806 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
= NULL
;
22808 wxWindow
*arg1
= (wxWindow
*) 0 ;
22809 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22810 wxPageSetupDialog
*result
;
22811 PyObject
* obj0
= 0 ;
22812 PyObject
* obj1
= 0 ;
22813 char *kwnames
[] = {
22814 (char *) "parent",(char *) "data", NULL
22817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22819 if (SWIG_arg_fail(1)) SWIG_fail
;
22821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22822 if (SWIG_arg_fail(2)) SWIG_fail
;
22825 if (!wxPyCheckForApp()) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22839 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
= NULL
;
22841 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22842 wxPageSetupDialogData
*result
;
22843 PyObject
* obj0
= 0 ;
22844 char *kwnames
[] = {
22845 (char *) "self", NULL
22848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22850 if (SWIG_arg_fail(1)) SWIG_fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22855 result
= (wxPageSetupDialogData
*) &_result_ref
;
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22868 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22869 PyObject
*resultobj
= NULL
;
22870 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22871 wxPageSetupDialogData
*result
;
22872 PyObject
* obj0
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22879 if (SWIG_arg_fail(1)) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22884 result
= (wxPageSetupDialogData
*) &_result_ref
;
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22897 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
= NULL
;
22899 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22901 PyObject
* obj0
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22908 if (SWIG_arg_fail(1)) SWIG_fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 result
= (int)(arg1
)->ShowModal();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_From_int(static_cast<int >(result
));
22925 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22928 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22930 return Py_BuildValue((char *)"");
22932 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22933 PyObject
*resultobj
= NULL
;
22934 wxPrintDialogData
*result
;
22936 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22951 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22952 PyObject
*resultobj
= NULL
;
22953 wxPrintData
*arg1
= 0 ;
22954 wxPrintDialogData
*result
;
22955 PyObject
* obj0
= 0 ;
22957 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22960 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 if (arg1
== NULL
) {
22962 SWIG_null_ref("wxPrintData");
22964 if (SWIG_arg_fail(1)) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22968 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22980 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22981 PyObject
*resultobj
= NULL
;
22982 wxPrintDialogData
*arg1
= 0 ;
22983 wxPrintDialogData
*result
;
22984 PyObject
* obj0
= 0 ;
22986 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22989 if (SWIG_arg_fail(1)) SWIG_fail
;
22990 if (arg1
== NULL
) {
22991 SWIG_null_ref("wxPrintDialogData");
22993 if (SWIG_arg_fail(1)) SWIG_fail
;
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
22999 wxPyEndAllowThreads(__tstate
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23009 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23014 argc
= PyObject_Length(args
);
23015 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23016 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23019 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23025 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23033 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23040 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23048 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23052 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23057 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23058 PyObject
*resultobj
= NULL
;
23059 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23060 PyObject
* obj0
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23067 if (SWIG_arg_fail(1)) SWIG_fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23075 Py_INCREF(Py_None
); resultobj
= Py_None
;
23082 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23083 PyObject
*resultobj
= NULL
;
23084 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23086 PyObject
* obj0
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23093 if (SWIG_arg_fail(1)) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= SWIG_From_int(static_cast<int >(result
));
23110 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
= NULL
;
23112 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23114 PyObject
* obj0
= 0 ;
23115 char *kwnames
[] = {
23116 (char *) "self", NULL
23119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23121 if (SWIG_arg_fail(1)) SWIG_fail
;
23123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_From_int(static_cast<int >(result
));
23138 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
= NULL
;
23140 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23142 PyObject
* obj0
= 0 ;
23143 char *kwnames
[] = {
23144 (char *) "self", NULL
23147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23149 if (SWIG_arg_fail(1)) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_From_int(static_cast<int >(result
));
23166 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
= NULL
;
23168 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23170 PyObject
* obj0
= 0 ;
23171 char *kwnames
[] = {
23172 (char *) "self", NULL
23175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23177 if (SWIG_arg_fail(1)) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= SWIG_From_int(static_cast<int >(result
));
23194 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
= NULL
;
23196 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23198 PyObject
* obj0
= 0 ;
23199 char *kwnames
[] = {
23200 (char *) "self", NULL
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23205 if (SWIG_arg_fail(1)) SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= SWIG_From_int(static_cast<int >(result
));
23222 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
= NULL
;
23224 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23226 PyObject
* obj0
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "self", NULL
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23233 if (SWIG_arg_fail(1)) SWIG_fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23250 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
= NULL
;
23252 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23254 PyObject
* obj0
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23278 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
= NULL
;
23280 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23282 PyObject
* obj0
= 0 ;
23283 char *kwnames
[] = {
23284 (char *) "self", NULL
23287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23289 if (SWIG_arg_fail(1)) SWIG_fail
;
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23306 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
= NULL
;
23308 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23310 PyObject
* obj0
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23317 if (SWIG_arg_fail(1)) SWIG_fail
;
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23334 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
= NULL
;
23336 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23338 PyObject
* obj0
= 0 ;
23339 PyObject
* obj1
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self",(char *) "v", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23346 if (SWIG_arg_fail(1)) SWIG_fail
;
23348 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23349 if (SWIG_arg_fail(2)) SWIG_fail
;
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 (arg1
)->SetFromPage(arg2
);
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23358 Py_INCREF(Py_None
); resultobj
= Py_None
;
23365 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
= NULL
;
23367 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self",(char *) "v", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23377 if (SWIG_arg_fail(1)) SWIG_fail
;
23379 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23380 if (SWIG_arg_fail(2)) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 (arg1
)->SetToPage(arg2
);
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23389 Py_INCREF(Py_None
); resultobj
= Py_None
;
23396 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
= NULL
;
23398 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23400 PyObject
* obj0
= 0 ;
23401 PyObject
* obj1
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self",(char *) "v", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23408 if (SWIG_arg_fail(1)) SWIG_fail
;
23410 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23411 if (SWIG_arg_fail(2)) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 (arg1
)->SetMinPage(arg2
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 Py_INCREF(Py_None
); resultobj
= Py_None
;
23427 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
= NULL
;
23429 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23431 PyObject
* obj0
= 0 ;
23432 PyObject
* obj1
= 0 ;
23433 char *kwnames
[] = {
23434 (char *) "self",(char *) "v", NULL
23437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23439 if (SWIG_arg_fail(1)) SWIG_fail
;
23441 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23442 if (SWIG_arg_fail(2)) SWIG_fail
;
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 (arg1
)->SetMaxPage(arg2
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 Py_INCREF(Py_None
); resultobj
= Py_None
;
23458 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
= NULL
;
23460 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23462 PyObject
* obj0
= 0 ;
23463 PyObject
* obj1
= 0 ;
23464 char *kwnames
[] = {
23465 (char *) "self",(char *) "v", NULL
23468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23470 if (SWIG_arg_fail(1)) SWIG_fail
;
23472 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23473 if (SWIG_arg_fail(2)) SWIG_fail
;
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 (arg1
)->SetNoCopies(arg2
);
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 Py_INCREF(Py_None
); resultobj
= Py_None
;
23489 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23490 PyObject
*resultobj
= NULL
;
23491 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "flag", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23501 if (SWIG_arg_fail(1)) SWIG_fail
;
23503 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23504 if (SWIG_arg_fail(2)) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 (arg1
)->SetAllPages(arg2
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 Py_INCREF(Py_None
); resultobj
= Py_None
;
23520 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
= NULL
;
23522 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 PyObject
* obj1
= 0 ;
23526 char *kwnames
[] = {
23527 (char *) "self",(char *) "flag", NULL
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23532 if (SWIG_arg_fail(1)) SWIG_fail
;
23534 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23535 if (SWIG_arg_fail(2)) SWIG_fail
;
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23539 (arg1
)->SetSelection(arg2
);
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23544 Py_INCREF(Py_None
); resultobj
= Py_None
;
23551 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23552 PyObject
*resultobj
= NULL
;
23553 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23555 PyObject
* obj0
= 0 ;
23556 PyObject
* obj1
= 0 ;
23557 char *kwnames
[] = {
23558 (char *) "self",(char *) "flag", NULL
23561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23563 if (SWIG_arg_fail(1)) SWIG_fail
;
23565 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23566 if (SWIG_arg_fail(2)) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 (arg1
)->SetCollate(arg2
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 Py_INCREF(Py_None
); resultobj
= Py_None
;
23582 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
= NULL
;
23584 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23586 PyObject
* obj0
= 0 ;
23587 PyObject
* obj1
= 0 ;
23588 char *kwnames
[] = {
23589 (char *) "self",(char *) "flag", NULL
23592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23594 if (SWIG_arg_fail(1)) SWIG_fail
;
23596 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23597 if (SWIG_arg_fail(2)) SWIG_fail
;
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 (arg1
)->SetPrintToFile(arg2
);
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 Py_INCREF(Py_None
); resultobj
= Py_None
;
23613 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23614 PyObject
*resultobj
= NULL
;
23615 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 char *kwnames
[] = {
23620 (char *) "self",(char *) "flag", NULL
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23625 if (SWIG_arg_fail(1)) SWIG_fail
;
23627 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23628 if (SWIG_arg_fail(2)) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 (arg1
)->EnablePrintToFile(arg2
);
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 Py_INCREF(Py_None
); resultobj
= Py_None
;
23644 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
= NULL
;
23646 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "flag", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23656 if (SWIG_arg_fail(1)) SWIG_fail
;
23658 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23659 if (SWIG_arg_fail(2)) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 (arg1
)->EnableSelection(arg2
);
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 Py_INCREF(Py_None
); resultobj
= Py_None
;
23675 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23676 PyObject
*resultobj
= NULL
;
23677 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23679 PyObject
* obj0
= 0 ;
23680 PyObject
* obj1
= 0 ;
23681 char *kwnames
[] = {
23682 (char *) "self",(char *) "flag", NULL
23685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23687 if (SWIG_arg_fail(1)) SWIG_fail
;
23689 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23690 if (SWIG_arg_fail(2)) SWIG_fail
;
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 (arg1
)->EnablePageNumbers(arg2
);
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 Py_INCREF(Py_None
); resultobj
= Py_None
;
23706 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
= NULL
;
23708 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 PyObject
* obj1
= 0 ;
23712 char *kwnames
[] = {
23713 (char *) "self",(char *) "flag", NULL
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23718 if (SWIG_arg_fail(1)) SWIG_fail
;
23720 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23721 if (SWIG_arg_fail(2)) SWIG_fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 (arg1
)->EnableHelp(arg2
);
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 Py_INCREF(Py_None
); resultobj
= Py_None
;
23737 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
= NULL
;
23739 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23741 PyObject
* obj0
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "self", NULL
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23748 if (SWIG_arg_fail(1)) SWIG_fail
;
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23765 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
= NULL
;
23767 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23769 PyObject
* obj0
= 0 ;
23770 char *kwnames
[] = {
23771 (char *) "self", NULL
23774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23776 if (SWIG_arg_fail(1)) SWIG_fail
;
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23793 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
= NULL
;
23795 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23804 if (SWIG_arg_fail(1)) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23821 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
= NULL
;
23823 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23832 if (SWIG_arg_fail(1)) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23849 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
= NULL
;
23851 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23860 if (SWIG_arg_fail(1)) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23863 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23877 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
= NULL
;
23879 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23880 wxPrintData
*result
;
23881 PyObject
* obj0
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "self", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23888 if (SWIG_arg_fail(1)) SWIG_fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23893 result
= (wxPrintData
*) &_result_ref
;
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23906 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
= NULL
;
23908 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23909 wxPrintData
*arg2
= 0 ;
23910 PyObject
* obj0
= 0 ;
23911 PyObject
* obj1
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "self",(char *) "printData", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23918 if (SWIG_arg_fail(1)) SWIG_fail
;
23920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23921 if (SWIG_arg_fail(2)) SWIG_fail
;
23922 if (arg2
== NULL
) {
23923 SWIG_null_ref("wxPrintData");
23925 if (SWIG_arg_fail(2)) SWIG_fail
;
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 Py_INCREF(Py_None
); resultobj
= Py_None
;
23941 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23944 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23946 return Py_BuildValue((char *)"");
23948 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
= NULL
;
23950 wxWindow
*arg1
= (wxWindow
*) 0 ;
23951 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23952 wxPrintDialog
*result
;
23953 PyObject
* obj0
= 0 ;
23954 PyObject
* obj1
= 0 ;
23955 char *kwnames
[] = {
23956 (char *) "parent",(char *) "data", NULL
23959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23961 if (SWIG_arg_fail(1)) SWIG_fail
;
23963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23964 if (SWIG_arg_fail(2)) SWIG_fail
;
23967 if (!wxPyCheckForApp()) SWIG_fail
;
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23969 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23981 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
= NULL
;
23983 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23985 PyObject
* obj0
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "self", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23992 if (SWIG_arg_fail(1)) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (int)(arg1
)->ShowModal();
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24001 resultobj
= SWIG_From_int(static_cast<int >(result
));
24009 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
= NULL
;
24011 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24012 wxPrintDialogData
*result
;
24013 PyObject
* obj0
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24020 if (SWIG_arg_fail(1)) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24025 result
= (wxPrintDialogData
*) &_result_ref
;
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24038 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
= NULL
;
24040 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24041 wxPrintData
*result
;
24042 PyObject
* obj0
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24049 if (SWIG_arg_fail(1)) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24054 result
= (wxPrintData
*) &_result_ref
;
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24067 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
= NULL
;
24069 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24078 if (SWIG_arg_fail(1)) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (wxDC
*)(arg1
)->GetPrintDC();
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24095 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24098 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24100 return Py_BuildValue((char *)"");
24102 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
= NULL
;
24104 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24106 PyObject
* obj0
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "data", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24114 if (SWIG_arg_fail(1)) SWIG_fail
;
24117 if (!wxPyCheckForApp()) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (wxPrinter
*)new wxPrinter(arg1
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24131 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
= NULL
;
24133 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24134 PyObject
* obj0
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24141 if (SWIG_arg_fail(1)) SWIG_fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 Py_INCREF(Py_None
); resultobj
= Py_None
;
24156 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
= NULL
;
24158 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24159 wxWindow
*arg2
= (wxWindow
*) 0 ;
24160 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 PyObject
* obj2
= 0 ;
24165 char *kwnames
[] = {
24166 (char *) "self",(char *) "parent",(char *) "printout", NULL
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24171 if (SWIG_arg_fail(1)) SWIG_fail
;
24172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24173 if (SWIG_arg_fail(2)) SWIG_fail
;
24174 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24175 if (SWIG_arg_fail(3)) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= wxPyMake_wxObject(result
, 0);
24192 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
= NULL
;
24194 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24195 wxWindow
*arg2
= (wxWindow
*) 0 ;
24196 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24197 wxString
*arg4
= 0 ;
24198 bool temp4
= false ;
24199 PyObject
* obj0
= 0 ;
24200 PyObject
* obj1
= 0 ;
24201 PyObject
* obj2
= 0 ;
24202 PyObject
* obj3
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24209 if (SWIG_arg_fail(1)) SWIG_fail
;
24210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24211 if (SWIG_arg_fail(2)) SWIG_fail
;
24212 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24213 if (SWIG_arg_fail(3)) SWIG_fail
;
24215 arg4
= wxString_in_helper(obj3
);
24216 if (arg4
== NULL
) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 Py_INCREF(Py_None
); resultobj
= Py_None
;
24241 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
= NULL
;
24243 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24244 wxWindow
*arg2
= (wxWindow
*) 0 ;
24246 PyObject
* obj0
= 0 ;
24247 PyObject
* obj1
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "self",(char *) "parent", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24254 if (SWIG_arg_fail(1)) SWIG_fail
;
24255 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24256 if (SWIG_arg_fail(2)) SWIG_fail
;
24258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24259 result
= (bool)(arg1
)->Setup(arg2
);
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24273 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
= NULL
;
24275 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24276 wxWindow
*arg2
= (wxWindow
*) 0 ;
24277 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24278 bool arg4
= (bool) true ;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 PyObject
* obj2
= 0 ;
24283 PyObject
* obj3
= 0 ;
24284 char *kwnames
[] = {
24285 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24290 if (SWIG_arg_fail(1)) SWIG_fail
;
24291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24292 if (SWIG_arg_fail(2)) SWIG_fail
;
24293 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24294 if (SWIG_arg_fail(3)) SWIG_fail
;
24297 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
24298 if (SWIG_arg_fail(4)) SWIG_fail
;
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24317 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24318 PyObject
*resultobj
= NULL
;
24319 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24320 wxWindow
*arg2
= (wxWindow
*) 0 ;
24322 PyObject
* obj0
= 0 ;
24323 PyObject
* obj1
= 0 ;
24324 char *kwnames
[] = {
24325 (char *) "self",(char *) "parent", NULL
24328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24330 if (SWIG_arg_fail(1)) SWIG_fail
;
24331 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24332 if (SWIG_arg_fail(2)) SWIG_fail
;
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24349 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24350 PyObject
*resultobj
= NULL
;
24351 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24352 wxPrintDialogData
*result
;
24353 PyObject
* obj0
= 0 ;
24354 char *kwnames
[] = {
24355 (char *) "self", NULL
24358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24360 if (SWIG_arg_fail(1)) SWIG_fail
;
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24365 result
= (wxPrintDialogData
*) &_result_ref
;
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24378 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
= NULL
;
24380 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24389 if (SWIG_arg_fail(1)) SWIG_fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (bool)(arg1
)->GetAbort();
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24406 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
= NULL
;
24408 wxPrinterError result
;
24409 char *kwnames
[] = {
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (wxPrinterError
)wxPrinter::GetLastError();
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= SWIG_From_int((result
));
24428 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24431 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24433 return Py_BuildValue((char *)"");
24435 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
= NULL
;
24437 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24438 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24439 wxPyPrintout
*result
;
24440 bool temp1
= false ;
24441 PyObject
* obj0
= 0 ;
24442 char *kwnames
[] = {
24443 (char *) "title", NULL
24446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24449 arg1
= wxString_in_helper(obj0
);
24450 if (arg1
== NULL
) SWIG_fail
;
24455 if (!wxPyCheckForApp()) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24479 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
= NULL
;
24481 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24482 PyObject
*arg2
= (PyObject
*) 0 ;
24483 PyObject
*arg3
= (PyObject
*) 0 ;
24484 PyObject
* obj0
= 0 ;
24485 PyObject
* obj1
= 0 ;
24486 PyObject
* obj2
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self",(char *) "self",(char *) "_class", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24493 if (SWIG_arg_fail(1)) SWIG_fail
;
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 Py_INCREF(Py_None
); resultobj
= Py_None
;
24510 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
= NULL
;
24512 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24514 PyObject
* obj0
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail
;
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24542 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
= NULL
;
24544 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24546 PyObject
* obj0
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24553 if (SWIG_arg_fail(1)) SWIG_fail
;
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 result
= (wxDC
*)(arg1
)->GetDC();
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24562 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24570 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
= NULL
;
24572 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24573 wxDC
*arg2
= (wxDC
*) 0 ;
24574 PyObject
* obj0
= 0 ;
24575 PyObject
* obj1
= 0 ;
24576 char *kwnames
[] = {
24577 (char *) "self",(char *) "dc", NULL
24580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24582 if (SWIG_arg_fail(1)) SWIG_fail
;
24583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24584 if (SWIG_arg_fail(2)) SWIG_fail
;
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 (arg1
)->SetDC(arg2
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 Py_INCREF(Py_None
); resultobj
= Py_None
;
24599 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
= NULL
;
24601 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24604 PyObject
* obj0
= 0 ;
24605 PyObject
* obj1
= 0 ;
24606 PyObject
* obj2
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self",(char *) "w",(char *) "h", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24613 if (SWIG_arg_fail(1)) SWIG_fail
;
24615 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24616 if (SWIG_arg_fail(2)) SWIG_fail
;
24619 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24620 if (SWIG_arg_fail(3)) SWIG_fail
;
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24626 wxPyEndAllowThreads(__tstate
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 Py_INCREF(Py_None
); resultobj
= Py_None
;
24636 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
= NULL
;
24638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24639 int *arg2
= (int *) 0 ;
24640 int *arg3
= (int *) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self", NULL
24650 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24651 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24654 if (SWIG_arg_fail(1)) SWIG_fail
;
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 Py_INCREF(Py_None
); resultobj
= Py_None
;
24663 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24664 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24665 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24666 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24673 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
= NULL
;
24675 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 PyObject
* obj2
= 0 ;
24681 char *kwnames
[] = {
24682 (char *) "self",(char *) "w",(char *) "h", NULL
24685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24687 if (SWIG_arg_fail(1)) SWIG_fail
;
24689 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24690 if (SWIG_arg_fail(2)) SWIG_fail
;
24693 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24694 if (SWIG_arg_fail(3)) SWIG_fail
;
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 Py_INCREF(Py_None
); resultobj
= Py_None
;
24710 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
= NULL
;
24712 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24713 int *arg2
= (int *) 0 ;
24714 int *arg3
= (int *) 0 ;
24719 PyObject
* obj0
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self", NULL
24724 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24725 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 Py_INCREF(Py_None
); resultobj
= Py_None
;
24737 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24738 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24739 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24740 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24747 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
= NULL
;
24749 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24752 PyObject
* obj0
= 0 ;
24753 PyObject
* obj1
= 0 ;
24754 PyObject
* obj2
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "self",(char *) "x",(char *) "y", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24761 if (SWIG_arg_fail(1)) SWIG_fail
;
24763 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24764 if (SWIG_arg_fail(2)) SWIG_fail
;
24767 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24768 if (SWIG_arg_fail(3)) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 (arg1
)->SetPPIScreen(arg2
,arg3
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 Py_INCREF(Py_None
); resultobj
= Py_None
;
24784 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
= NULL
;
24786 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24787 int *arg2
= (int *) 0 ;
24788 int *arg3
= (int *) 0 ;
24793 PyObject
* obj0
= 0 ;
24794 char *kwnames
[] = {
24795 (char *) "self", NULL
24798 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24799 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24802 if (SWIG_arg_fail(1)) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 (arg1
)->GetPPIScreen(arg2
,arg3
);
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 Py_INCREF(Py_None
); resultobj
= Py_None
;
24811 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24812 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24813 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24814 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24821 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
= NULL
;
24823 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24826 PyObject
* obj0
= 0 ;
24827 PyObject
* obj1
= 0 ;
24828 PyObject
* obj2
= 0 ;
24829 char *kwnames
[] = {
24830 (char *) "self",(char *) "x",(char *) "y", NULL
24833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24835 if (SWIG_arg_fail(1)) SWIG_fail
;
24837 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24838 if (SWIG_arg_fail(2)) SWIG_fail
;
24841 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24842 if (SWIG_arg_fail(3)) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 Py_INCREF(Py_None
); resultobj
= Py_None
;
24858 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
= NULL
;
24860 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24861 int *arg2
= (int *) 0 ;
24862 int *arg3
= (int *) 0 ;
24867 PyObject
* obj0
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self", NULL
24872 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24873 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24876 if (SWIG_arg_fail(1)) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 Py_INCREF(Py_None
); resultobj
= Py_None
;
24885 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24886 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24887 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24888 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24895 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
= NULL
;
24897 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24899 PyObject
* obj0
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "self", NULL
24904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24906 if (SWIG_arg_fail(1)) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= (bool)(arg1
)->IsPreview();
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24923 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
= NULL
;
24925 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 PyObject
* obj1
= 0 ;
24929 char *kwnames
[] = {
24930 (char *) "self",(char *) "p", NULL
24933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24935 if (SWIG_arg_fail(1)) SWIG_fail
;
24937 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
24938 if (SWIG_arg_fail(2)) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 (arg1
)->SetIsPreview(arg2
);
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 Py_INCREF(Py_None
); resultobj
= Py_None
;
24954 static PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
= NULL
;
24956 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 PyObject
* obj2
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24969 if (SWIG_arg_fail(1)) SWIG_fail
;
24971 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24972 if (SWIG_arg_fail(2)) SWIG_fail
;
24975 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24976 if (SWIG_arg_fail(3)) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24994 static PyObject
*_wrap_Printout_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
= NULL
;
24996 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24997 PyObject
* obj0
= 0 ;
24998 char *kwnames
[] = {
24999 (char *) "self", NULL
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25004 if (SWIG_arg_fail(1)) SWIG_fail
;
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 (arg1
)->OnEndDocument();
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 Py_INCREF(Py_None
); resultobj
= Py_None
;
25019 static PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
= NULL
;
25021 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25022 PyObject
* obj0
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "self", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25029 if (SWIG_arg_fail(1)) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 (arg1
)->OnBeginPrinting();
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 Py_INCREF(Py_None
); resultobj
= Py_None
;
25044 static PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
= NULL
;
25046 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25047 PyObject
* obj0
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "self", NULL
25052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25054 if (SWIG_arg_fail(1)) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 (arg1
)->OnEndPrinting();
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 Py_INCREF(Py_None
); resultobj
= Py_None
;
25069 static PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
= NULL
;
25071 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25072 PyObject
* obj0
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25079 if (SWIG_arg_fail(1)) SWIG_fail
;
25081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25082 (arg1
)->OnPreparePrinting();
25084 wxPyEndAllowThreads(__tstate
);
25085 if (PyErr_Occurred()) SWIG_fail
;
25087 Py_INCREF(Py_None
); resultobj
= Py_None
;
25094 static PyObject
*_wrap_Printout_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25095 PyObject
*resultobj
= NULL
;
25096 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25099 PyObject
* obj0
= 0 ;
25100 PyObject
* obj1
= 0 ;
25101 char *kwnames
[] = {
25102 (char *) "self",(char *) "page", NULL
25105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25107 if (SWIG_arg_fail(1)) SWIG_fail
;
25109 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25110 if (SWIG_arg_fail(2)) SWIG_fail
;
25113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25114 result
= (bool)(arg1
)->HasPage(arg2
);
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25128 static PyObject
*_wrap_Printout_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
= NULL
;
25130 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25131 int *arg2
= (int *) 0 ;
25132 int *arg3
= (int *) 0 ;
25133 int *arg4
= (int *) 0 ;
25134 int *arg5
= (int *) 0 ;
25143 PyObject
* obj0
= 0 ;
25144 char *kwnames
[] = {
25145 (char *) "self", NULL
25148 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25149 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25150 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25151 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25154 if (SWIG_arg_fail(1)) SWIG_fail
;
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 Py_INCREF(Py_None
); resultobj
= Py_None
;
25163 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25164 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25165 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25166 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25167 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25168 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25169 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25170 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25177 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25180 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25182 return Py_BuildValue((char *)"");
25184 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
= NULL
;
25186 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25187 wxWindow
*arg2
= (wxWindow
*) 0 ;
25188 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25189 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25190 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25191 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25192 long arg5
= (long) 0 ;
25193 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25194 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25195 wxPreviewCanvas
*result
;
25198 bool temp6
= false ;
25199 PyObject
* obj0
= 0 ;
25200 PyObject
* obj1
= 0 ;
25201 PyObject
* obj2
= 0 ;
25202 PyObject
* obj3
= 0 ;
25203 PyObject
* obj4
= 0 ;
25204 PyObject
* obj5
= 0 ;
25205 char *kwnames
[] = {
25206 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25211 if (SWIG_arg_fail(1)) SWIG_fail
;
25212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25213 if (SWIG_arg_fail(2)) SWIG_fail
;
25217 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25223 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25228 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25229 if (SWIG_arg_fail(5)) SWIG_fail
;
25234 arg6
= wxString_in_helper(obj5
);
25235 if (arg6
== NULL
) SWIG_fail
;
25240 if (!wxPyCheckForApp()) SWIG_fail
;
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25262 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25265 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25267 return Py_BuildValue((char *)"");
25269 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
= NULL
;
25271 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25272 wxFrame
*arg2
= (wxFrame
*) 0 ;
25273 wxString
*arg3
= 0 ;
25274 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25275 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25276 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25277 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25278 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25279 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25280 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25281 wxPreviewFrame
*result
;
25282 bool temp3
= false ;
25285 bool temp7
= false ;
25286 PyObject
* obj0
= 0 ;
25287 PyObject
* obj1
= 0 ;
25288 PyObject
* obj2
= 0 ;
25289 PyObject
* obj3
= 0 ;
25290 PyObject
* obj4
= 0 ;
25291 PyObject
* obj5
= 0 ;
25292 PyObject
* obj6
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25299 if (SWIG_arg_fail(1)) SWIG_fail
;
25300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25301 if (SWIG_arg_fail(2)) SWIG_fail
;
25303 arg3
= wxString_in_helper(obj2
);
25304 if (arg3
== NULL
) SWIG_fail
;
25310 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25316 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25321 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25322 if (SWIG_arg_fail(6)) SWIG_fail
;
25327 arg7
= wxString_in_helper(obj6
);
25328 if (arg7
== NULL
) SWIG_fail
;
25333 if (!wxPyCheckForApp()) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25363 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
= NULL
;
25365 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25366 PyObject
* obj0
= 0 ;
25367 char *kwnames
[] = {
25368 (char *) "self", NULL
25371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25373 if (SWIG_arg_fail(1)) SWIG_fail
;
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 (arg1
)->Initialize();
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 Py_INCREF(Py_None
); resultobj
= Py_None
;
25388 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25389 PyObject
*resultobj
= NULL
;
25390 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25391 PyObject
* obj0
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "self", NULL
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25398 if (SWIG_arg_fail(1)) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 (arg1
)->CreateControlBar();
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 Py_INCREF(Py_None
); resultobj
= Py_None
;
25413 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
= NULL
;
25415 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25416 PyObject
* obj0
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25423 if (SWIG_arg_fail(1)) SWIG_fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 (arg1
)->CreateCanvas();
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 Py_INCREF(Py_None
); resultobj
= Py_None
;
25438 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
= NULL
;
25440 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25441 wxPreviewControlBar
*result
;
25442 PyObject
* obj0
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25449 if (SWIG_arg_fail(1)) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25464 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25467 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25469 return Py_BuildValue((char *)"");
25471 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
= NULL
;
25473 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25475 wxWindow
*arg3
= (wxWindow
*) 0 ;
25476 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25477 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25478 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25479 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25480 long arg6
= (long) wxTAB_TRAVERSAL
;
25481 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25482 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25483 wxPreviewControlBar
*result
;
25486 bool temp7
= false ;
25487 PyObject
* obj0
= 0 ;
25488 PyObject
* obj1
= 0 ;
25489 PyObject
* obj2
= 0 ;
25490 PyObject
* obj3
= 0 ;
25491 PyObject
* obj4
= 0 ;
25492 PyObject
* obj5
= 0 ;
25493 PyObject
* obj6
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25500 if (SWIG_arg_fail(1)) SWIG_fail
;
25502 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25503 if (SWIG_arg_fail(2)) SWIG_fail
;
25505 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25506 if (SWIG_arg_fail(3)) SWIG_fail
;
25510 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25516 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25521 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25522 if (SWIG_arg_fail(6)) SWIG_fail
;
25527 arg7
= wxString_in_helper(obj6
);
25528 if (arg7
== NULL
) SWIG_fail
;
25533 if (!wxPyCheckForApp()) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25555 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
= NULL
;
25557 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25559 PyObject
* obj0
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25566 if (SWIG_arg_fail(1)) SWIG_fail
;
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (int)(arg1
)->GetZoomControl();
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25575 resultobj
= SWIG_From_int(static_cast<int >(result
));
25583 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
= NULL
;
25585 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25587 PyObject
* obj0
= 0 ;
25588 PyObject
* obj1
= 0 ;
25589 char *kwnames
[] = {
25590 (char *) "self",(char *) "zoom", NULL
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25595 if (SWIG_arg_fail(1)) SWIG_fail
;
25597 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25598 if (SWIG_arg_fail(2)) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 (arg1
)->SetZoomControl(arg2
);
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 Py_INCREF(Py_None
); resultobj
= Py_None
;
25614 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
= NULL
;
25616 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25617 wxPrintPreview
*result
;
25618 PyObject
* obj0
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25625 if (SWIG_arg_fail(1)) SWIG_fail
;
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25640 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
= NULL
;
25642 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25643 PyObject
* obj0
= 0 ;
25644 char *kwnames
[] = {
25645 (char *) "self", NULL
25648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25650 if (SWIG_arg_fail(1)) SWIG_fail
;
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 Py_INCREF(Py_None
); resultobj
= Py_None
;
25665 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
= NULL
;
25667 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25668 PyObject
* obj0
= 0 ;
25669 char *kwnames
[] = {
25670 (char *) "self", NULL
25673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25675 if (SWIG_arg_fail(1)) SWIG_fail
;
25677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 (arg1
)->OnPrevious();
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25683 Py_INCREF(Py_None
); resultobj
= Py_None
;
25690 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
= NULL
;
25692 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25693 PyObject
* obj0
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25700 if (SWIG_arg_fail(1)) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 Py_INCREF(Py_None
); resultobj
= Py_None
;
25715 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
= NULL
;
25717 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25718 PyObject
* obj0
= 0 ;
25719 char *kwnames
[] = {
25720 (char *) "self", NULL
25723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25725 if (SWIG_arg_fail(1)) SWIG_fail
;
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 Py_INCREF(Py_None
); resultobj
= Py_None
;
25740 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
= NULL
;
25742 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25743 PyObject
* obj0
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25750 if (SWIG_arg_fail(1)) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 Py_INCREF(Py_None
); resultobj
= Py_None
;
25765 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25768 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25770 return Py_BuildValue((char *)"");
25772 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25773 PyObject
*resultobj
= NULL
;
25774 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25775 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25776 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25777 wxPrintPreview
*result
;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 PyObject
* obj2
= 0 ;
25782 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25784 if (SWIG_arg_fail(1)) SWIG_fail
;
25785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25786 if (SWIG_arg_fail(2)) SWIG_fail
;
25788 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25789 if (SWIG_arg_fail(3)) SWIG_fail
;
25792 if (!wxPyCheckForApp()) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25806 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25807 PyObject
*resultobj
= NULL
;
25808 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25809 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25810 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25811 wxPrintPreview
*result
;
25812 PyObject
* obj0
= 0 ;
25813 PyObject
* obj1
= 0 ;
25814 PyObject
* obj2
= 0 ;
25816 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25818 if (SWIG_arg_fail(1)) SWIG_fail
;
25819 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25820 if (SWIG_arg_fail(2)) SWIG_fail
;
25821 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25822 if (SWIG_arg_fail(3)) SWIG_fail
;
25824 if (!wxPyCheckForApp()) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25838 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25843 argc
= PyObject_Length(args
);
25844 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25845 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25847 if ((argc
>= 2) && (argc
<= 3)) {
25851 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25861 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25870 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25874 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25882 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25891 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25901 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25911 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25919 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25925 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25930 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25931 PyObject
*resultobj
= NULL
;
25932 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25935 PyObject
* obj0
= 0 ;
25936 PyObject
* obj1
= 0 ;
25937 char *kwnames
[] = {
25938 (char *) "self",(char *) "pageNum", NULL
25941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25943 if (SWIG_arg_fail(1)) SWIG_fail
;
25945 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25946 if (SWIG_arg_fail(2)) SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25964 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25965 PyObject
*resultobj
= NULL
;
25966 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25968 PyObject
* obj0
= 0 ;
25969 char *kwnames
[] = {
25970 (char *) "self", NULL
25973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25975 if (SWIG_arg_fail(1)) SWIG_fail
;
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 result
= (int)(arg1
)->GetCurrentPage();
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25984 resultobj
= SWIG_From_int(static_cast<int >(result
));
25992 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
= NULL
;
25994 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25995 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self",(char *) "printout", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail
;
26005 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26006 if (SWIG_arg_fail(2)) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 (arg1
)->SetPrintout(arg2
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 Py_INCREF(Py_None
); resultobj
= Py_None
;
26021 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
= NULL
;
26023 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26024 wxPyPrintout
*result
;
26025 PyObject
* obj0
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self", NULL
26030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26032 if (SWIG_arg_fail(1)) SWIG_fail
;
26034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26049 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
= NULL
;
26051 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26052 wxPyPrintout
*result
;
26053 PyObject
* obj0
= 0 ;
26054 char *kwnames
[] = {
26055 (char *) "self", NULL
26058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26060 if (SWIG_arg_fail(1)) SWIG_fail
;
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26065 wxPyEndAllowThreads(__tstate
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26077 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26078 PyObject
*resultobj
= NULL
;
26079 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26080 wxFrame
*arg2
= (wxFrame
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 char *kwnames
[] = {
26084 (char *) "self",(char *) "frame", NULL
26087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26089 if (SWIG_arg_fail(1)) SWIG_fail
;
26090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26091 if (SWIG_arg_fail(2)) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 (arg1
)->SetFrame(arg2
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 Py_INCREF(Py_None
); resultobj
= Py_None
;
26106 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
= NULL
;
26108 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26109 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self",(char *) "canvas", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26118 if (SWIG_arg_fail(1)) SWIG_fail
;
26119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26120 if (SWIG_arg_fail(2)) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 (arg1
)->SetCanvas(arg2
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 Py_INCREF(Py_None
); resultobj
= Py_None
;
26135 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
= NULL
;
26137 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26139 PyObject
* obj0
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26146 if (SWIG_arg_fail(1)) SWIG_fail
;
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 result
= (wxFrame
*)(arg1
)->GetFrame();
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= wxPyMake_wxObject(result
, 0);
26163 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
= NULL
;
26165 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26166 wxPreviewCanvas
*result
;
26167 PyObject
* obj0
= 0 ;
26168 char *kwnames
[] = {
26169 (char *) "self", NULL
26172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26174 if (SWIG_arg_fail(1)) SWIG_fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26189 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
= NULL
;
26191 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26192 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26195 PyObject
* obj0
= 0 ;
26196 PyObject
* obj1
= 0 ;
26197 PyObject
* obj2
= 0 ;
26198 char *kwnames
[] = {
26199 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26204 if (SWIG_arg_fail(1)) SWIG_fail
;
26205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26206 if (SWIG_arg_fail(2)) SWIG_fail
;
26208 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26209 if (SWIG_arg_fail(3)) SWIG_fail
;
26210 if (arg3
== NULL
) {
26211 SWIG_null_ref("wxDC");
26213 if (SWIG_arg_fail(3)) SWIG_fail
;
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26231 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26232 PyObject
*resultobj
= NULL
;
26233 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26234 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26237 PyObject
* obj0
= 0 ;
26238 PyObject
* obj1
= 0 ;
26239 PyObject
* obj2
= 0 ;
26240 char *kwnames
[] = {
26241 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26246 if (SWIG_arg_fail(1)) SWIG_fail
;
26247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26248 if (SWIG_arg_fail(2)) SWIG_fail
;
26250 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26251 if (SWIG_arg_fail(3)) SWIG_fail
;
26252 if (arg3
== NULL
) {
26253 SWIG_null_ref("wxDC");
26255 if (SWIG_arg_fail(3)) SWIG_fail
;
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26273 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
= NULL
;
26275 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26278 PyObject
* obj0
= 0 ;
26279 PyObject
* obj1
= 0 ;
26280 char *kwnames
[] = {
26281 (char *) "self",(char *) "pageNum", NULL
26284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26286 if (SWIG_arg_fail(1)) SWIG_fail
;
26288 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26289 if (SWIG_arg_fail(2)) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 result
= (bool)(arg1
)->RenderPage(arg2
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26307 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26308 PyObject
*resultobj
= NULL
;
26309 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26310 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj1
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self",(char *) "canvas", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26319 if (SWIG_arg_fail(1)) SWIG_fail
;
26320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26321 if (SWIG_arg_fail(2)) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 (arg1
)->AdjustScrollbars(arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 Py_INCREF(Py_None
); resultobj
= Py_None
;
26336 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= NULL
;
26338 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26339 wxPrintDialogData
*result
;
26340 PyObject
* obj0
= 0 ;
26341 char *kwnames
[] = {
26342 (char *) "self", NULL
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26347 if (SWIG_arg_fail(1)) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26352 result
= (wxPrintDialogData
*) &_result_ref
;
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26365 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
= NULL
;
26367 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self",(char *) "percent", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26377 if (SWIG_arg_fail(1)) SWIG_fail
;
26379 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26380 if (SWIG_arg_fail(2)) SWIG_fail
;
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->SetZoom(arg2
);
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 Py_INCREF(Py_None
); resultobj
= Py_None
;
26396 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
= NULL
;
26398 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26400 PyObject
* obj0
= 0 ;
26401 char *kwnames
[] = {
26402 (char *) "self", NULL
26405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26407 if (SWIG_arg_fail(1)) SWIG_fail
;
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= (int)(arg1
)->GetZoom();
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= SWIG_From_int(static_cast<int >(result
));
26424 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
= NULL
;
26426 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26428 PyObject
* obj0
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "self", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26435 if (SWIG_arg_fail(1)) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (int)(arg1
)->GetMaxPage();
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= SWIG_From_int(static_cast<int >(result
));
26452 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
= NULL
;
26454 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26456 PyObject
* obj0
= 0 ;
26457 char *kwnames
[] = {
26458 (char *) "self", NULL
26461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26463 if (SWIG_arg_fail(1)) SWIG_fail
;
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 result
= (int)(arg1
)->GetMinPage();
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= SWIG_From_int(static_cast<int >(result
));
26480 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
= NULL
;
26482 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26484 PyObject
* obj0
= 0 ;
26485 char *kwnames
[] = {
26486 (char *) "self", NULL
26489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26491 if (SWIG_arg_fail(1)) SWIG_fail
;
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26494 result
= (bool)(arg1
)->Ok();
26496 wxPyEndAllowThreads(__tstate
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26508 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26509 PyObject
*resultobj
= NULL
;
26510 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26512 PyObject
* obj0
= 0 ;
26513 PyObject
* obj1
= 0 ;
26514 char *kwnames
[] = {
26515 (char *) "self",(char *) "ok", NULL
26518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26520 if (SWIG_arg_fail(1)) SWIG_fail
;
26522 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26523 if (SWIG_arg_fail(2)) SWIG_fail
;
26526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26527 (arg1
)->SetOk(arg2
);
26529 wxPyEndAllowThreads(__tstate
);
26530 if (PyErr_Occurred()) SWIG_fail
;
26532 Py_INCREF(Py_None
); resultobj
= Py_None
;
26539 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26540 PyObject
*resultobj
= NULL
;
26541 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26544 PyObject
* obj0
= 0 ;
26545 PyObject
* obj1
= 0 ;
26546 char *kwnames
[] = {
26547 (char *) "self",(char *) "interactive", NULL
26550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26552 if (SWIG_arg_fail(1)) SWIG_fail
;
26554 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26555 if (SWIG_arg_fail(2)) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= (bool)(arg1
)->Print(arg2
);
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26573 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
= NULL
;
26575 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26576 PyObject
* obj0
= 0 ;
26577 char *kwnames
[] = {
26578 (char *) "self", NULL
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26583 if (SWIG_arg_fail(1)) SWIG_fail
;
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 (arg1
)->DetermineScaling();
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 Py_INCREF(Py_None
); resultobj
= Py_None
;
26598 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26601 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26603 return Py_BuildValue((char *)"");
26605 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26606 PyObject
*resultobj
= NULL
;
26607 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26608 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26609 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26610 wxPyPrintPreview
*result
;
26611 PyObject
* obj0
= 0 ;
26612 PyObject
* obj1
= 0 ;
26613 PyObject
* obj2
= 0 ;
26615 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26617 if (SWIG_arg_fail(1)) SWIG_fail
;
26618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26619 if (SWIG_arg_fail(2)) SWIG_fail
;
26621 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26622 if (SWIG_arg_fail(3)) SWIG_fail
;
26625 if (!wxPyCheckForApp()) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26639 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26640 PyObject
*resultobj
= NULL
;
26641 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26642 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26643 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26644 wxPyPrintPreview
*result
;
26645 PyObject
* obj0
= 0 ;
26646 PyObject
* obj1
= 0 ;
26647 PyObject
* obj2
= 0 ;
26649 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26651 if (SWIG_arg_fail(1)) SWIG_fail
;
26652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26653 if (SWIG_arg_fail(2)) SWIG_fail
;
26654 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26655 if (SWIG_arg_fail(3)) SWIG_fail
;
26657 if (!wxPyCheckForApp()) SWIG_fail
;
26658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26659 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26671 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26676 argc
= PyObject_Length(args
);
26677 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26678 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26680 if ((argc
>= 2) && (argc
<= 3)) {
26684 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26694 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26703 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26707 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26715 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26724 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26734 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26744 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26752 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26758 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26763 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
= NULL
;
26765 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26766 PyObject
*arg2
= (PyObject
*) 0 ;
26767 PyObject
*arg3
= (PyObject
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 PyObject
* obj2
= 0 ;
26771 char *kwnames
[] = {
26772 (char *) "self",(char *) "self",(char *) "_class", NULL
26775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26777 if (SWIG_arg_fail(1)) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26787 Py_INCREF(Py_None
); resultobj
= Py_None
;
26794 static PyObject
*_wrap_PyPrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26795 PyObject
*resultobj
= NULL
;
26796 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 char *kwnames
[] = {
26802 (char *) "self",(char *) "pageNum", NULL
26805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26807 if (SWIG_arg_fail(1)) SWIG_fail
;
26809 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26810 if (SWIG_arg_fail(2)) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26828 static PyObject
*_wrap_PyPrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
= NULL
;
26830 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26831 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 PyObject
* obj2
= 0 ;
26837 char *kwnames
[] = {
26838 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26843 if (SWIG_arg_fail(1)) SWIG_fail
;
26844 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26845 if (SWIG_arg_fail(2)) SWIG_fail
;
26847 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26848 if (SWIG_arg_fail(3)) SWIG_fail
;
26849 if (arg3
== NULL
) {
26850 SWIG_null_ref("wxDC");
26852 if (SWIG_arg_fail(3)) SWIG_fail
;
26855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26856 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26870 static PyObject
*_wrap_PyPrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26871 PyObject
*resultobj
= NULL
;
26872 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26873 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 PyObject
* obj2
= 0 ;
26879 char *kwnames
[] = {
26880 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26885 if (SWIG_arg_fail(1)) SWIG_fail
;
26886 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26887 if (SWIG_arg_fail(2)) SWIG_fail
;
26889 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26890 if (SWIG_arg_fail(3)) SWIG_fail
;
26891 if (arg3
== NULL
) {
26892 SWIG_null_ref("wxDC");
26894 if (SWIG_arg_fail(3)) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26912 static PyObject
*_wrap_PyPrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26913 PyObject
*resultobj
= NULL
;
26914 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 char *kwnames
[] = {
26920 (char *) "self",(char *) "pageNum", NULL
26923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26925 if (SWIG_arg_fail(1)) SWIG_fail
;
26927 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26928 if (SWIG_arg_fail(2)) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= (bool)(arg1
)->RenderPage(arg2
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26946 static PyObject
*_wrap_PyPrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26947 PyObject
*resultobj
= NULL
;
26948 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26950 PyObject
* obj0
= 0 ;
26951 PyObject
* obj1
= 0 ;
26952 char *kwnames
[] = {
26953 (char *) "self",(char *) "percent", NULL
26956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26958 if (SWIG_arg_fail(1)) SWIG_fail
;
26960 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26961 if (SWIG_arg_fail(2)) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 (arg1
)->SetZoom(arg2
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 Py_INCREF(Py_None
); resultobj
= Py_None
;
26977 static PyObject
*_wrap_PyPrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
= NULL
;
26979 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26982 PyObject
* obj0
= 0 ;
26983 PyObject
* obj1
= 0 ;
26984 char *kwnames
[] = {
26985 (char *) "self",(char *) "interactive", NULL
26988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26990 if (SWIG_arg_fail(1)) SWIG_fail
;
26992 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26993 if (SWIG_arg_fail(2)) SWIG_fail
;
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 result
= (bool)(arg1
)->Print(arg2
);
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27011 static PyObject
*_wrap_PyPrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
= NULL
;
27013 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27014 PyObject
* obj0
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27021 if (SWIG_arg_fail(1)) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 (arg1
)->DetermineScaling();
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 Py_INCREF(Py_None
); resultobj
= Py_None
;
27036 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27039 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27041 return Py_BuildValue((char *)"");
27043 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
= NULL
;
27045 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27046 wxFrame
*arg2
= (wxFrame
*) 0 ;
27047 wxString
*arg3
= 0 ;
27048 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27049 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27050 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27051 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27052 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27053 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27054 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27055 wxPyPreviewFrame
*result
;
27056 bool temp3
= false ;
27059 bool temp7
= false ;
27060 PyObject
* obj0
= 0 ;
27061 PyObject
* obj1
= 0 ;
27062 PyObject
* obj2
= 0 ;
27063 PyObject
* obj3
= 0 ;
27064 PyObject
* obj4
= 0 ;
27065 PyObject
* obj5
= 0 ;
27066 PyObject
* obj6
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27073 if (SWIG_arg_fail(1)) SWIG_fail
;
27074 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27075 if (SWIG_arg_fail(2)) SWIG_fail
;
27077 arg3
= wxString_in_helper(obj2
);
27078 if (arg3
== NULL
) SWIG_fail
;
27084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27095 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27096 if (SWIG_arg_fail(6)) SWIG_fail
;
27101 arg7
= wxString_in_helper(obj6
);
27102 if (arg7
== NULL
) SWIG_fail
;
27107 if (!wxPyCheckForApp()) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27137 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
= NULL
;
27139 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27140 PyObject
*arg2
= (PyObject
*) 0 ;
27141 PyObject
*arg3
= (PyObject
*) 0 ;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 PyObject
* obj2
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "self",(char *) "self",(char *) "_class", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27151 if (SWIG_arg_fail(1)) SWIG_fail
;
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 Py_INCREF(Py_None
); resultobj
= Py_None
;
27168 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
= NULL
;
27170 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27171 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27172 PyObject
* obj0
= 0 ;
27173 PyObject
* obj1
= 0 ;
27174 char *kwnames
[] = {
27175 (char *) "self",(char *) "canvas", NULL
27178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27180 if (SWIG_arg_fail(1)) SWIG_fail
;
27181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27182 if (SWIG_arg_fail(2)) SWIG_fail
;
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 (arg1
)->SetPreviewCanvas(arg2
);
27187 wxPyEndAllowThreads(__tstate
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27190 Py_INCREF(Py_None
); resultobj
= Py_None
;
27197 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
= NULL
;
27199 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27200 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27201 PyObject
* obj0
= 0 ;
27202 PyObject
* obj1
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "self",(char *) "bar", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27209 if (SWIG_arg_fail(1)) SWIG_fail
;
27210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27211 if (SWIG_arg_fail(2)) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 (arg1
)->SetControlBar(arg2
);
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27219 Py_INCREF(Py_None
); resultobj
= Py_None
;
27226 static PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27227 PyObject
*resultobj
= NULL
;
27228 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27229 PyObject
* obj0
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "self", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
27235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27236 if (SWIG_arg_fail(1)) SWIG_fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 (arg1
)->Initialize();
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 Py_INCREF(Py_None
); resultobj
= Py_None
;
27251 static PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
= NULL
;
27253 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27254 PyObject
* obj0
= 0 ;
27255 char *kwnames
[] = {
27256 (char *) "self", NULL
27259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27261 if (SWIG_arg_fail(1)) SWIG_fail
;
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 (arg1
)->CreateCanvas();
27266 wxPyEndAllowThreads(__tstate
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 Py_INCREF(Py_None
); resultobj
= Py_None
;
27276 static PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27277 PyObject
*resultobj
= NULL
;
27278 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27279 PyObject
* obj0
= 0 ;
27280 char *kwnames
[] = {
27281 (char *) "self", NULL
27284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27286 if (SWIG_arg_fail(1)) SWIG_fail
;
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 (arg1
)->CreateControlBar();
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27294 Py_INCREF(Py_None
); resultobj
= Py_None
;
27301 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27304 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27306 return Py_BuildValue((char *)"");
27308 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27309 PyObject
*resultobj
= NULL
;
27310 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27312 wxWindow
*arg3
= (wxWindow
*) 0 ;
27313 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27314 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27315 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27316 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27317 long arg6
= (long) 0 ;
27318 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27319 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27320 wxPyPreviewControlBar
*result
;
27323 bool temp7
= false ;
27324 PyObject
* obj0
= 0 ;
27325 PyObject
* obj1
= 0 ;
27326 PyObject
* obj2
= 0 ;
27327 PyObject
* obj3
= 0 ;
27328 PyObject
* obj4
= 0 ;
27329 PyObject
* obj5
= 0 ;
27330 PyObject
* obj6
= 0 ;
27331 char *kwnames
[] = {
27332 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27337 if (SWIG_arg_fail(1)) SWIG_fail
;
27339 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27340 if (SWIG_arg_fail(2)) SWIG_fail
;
27342 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27343 if (SWIG_arg_fail(3)) SWIG_fail
;
27347 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27353 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27358 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27359 if (SWIG_arg_fail(6)) SWIG_fail
;
27364 arg7
= wxString_in_helper(obj6
);
27365 if (arg7
== NULL
) SWIG_fail
;
27370 if (!wxPyCheckForApp()) SWIG_fail
;
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27392 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27393 PyObject
*resultobj
= NULL
;
27394 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27395 PyObject
*arg2
= (PyObject
*) 0 ;
27396 PyObject
*arg3
= (PyObject
*) 0 ;
27397 PyObject
* obj0
= 0 ;
27398 PyObject
* obj1
= 0 ;
27399 PyObject
* obj2
= 0 ;
27400 char *kwnames
[] = {
27401 (char *) "self",(char *) "self",(char *) "_class", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27406 if (SWIG_arg_fail(1)) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 Py_INCREF(Py_None
); resultobj
= Py_None
;
27423 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
= NULL
;
27425 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27426 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27427 PyObject
* obj0
= 0 ;
27428 PyObject
* obj1
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "preview", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27435 if (SWIG_arg_fail(1)) SWIG_fail
;
27436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27437 if (SWIG_arg_fail(2)) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 (arg1
)->SetPrintPreview(arg2
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 Py_INCREF(Py_None
); resultobj
= Py_None
;
27452 static PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
= NULL
;
27454 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27455 PyObject
* obj0
= 0 ;
27456 char *kwnames
[] = {
27457 (char *) "self", NULL
27460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_CreateButtons",kwnames
,&obj0
)) goto fail
;
27461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27462 if (SWIG_arg_fail(1)) SWIG_fail
;
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 (arg1
)->CreateButtons();
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 Py_INCREF(Py_None
); resultobj
= Py_None
;
27477 static PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
= NULL
;
27479 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27481 PyObject
* obj0
= 0 ;
27482 PyObject
* obj1
= 0 ;
27483 char *kwnames
[] = {
27484 (char *) "self",(char *) "zoom", NULL
27487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27489 if (SWIG_arg_fail(1)) SWIG_fail
;
27491 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27492 if (SWIG_arg_fail(2)) SWIG_fail
;
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 (arg1
)->SetZoomControl(arg2
);
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 Py_INCREF(Py_None
); resultobj
= Py_None
;
27508 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27511 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27513 return Py_BuildValue((char *)"");
27515 static PyMethodDef SwigMethods
[] = {
27516 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27520 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27521 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27523 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27524 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27528 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27530 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27531 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27532 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27538 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27539 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27540 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27543 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27544 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27547 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27549 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27568 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27592 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
) _wrap_Dialog_GetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"Dialog_GetEscapeId", (PyCFunction
) _wrap_Dialog_GetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27609 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27613 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27617 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27622 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27639 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27669 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27676 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27699 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27707 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27719 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27725 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27734 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27740 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27743 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27746 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27750 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27770 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27796 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27804 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27814 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27816 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27825 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27828 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27836 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27854 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27858 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27863 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27867 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27869 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27885 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27888 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27891 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27895 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27904 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27913 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27919 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27931 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27938 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27942 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"PyWindow_DoGetSize", (PyCFunction
) _wrap_PyWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"PyWindow_DoGetPosition", (PyCFunction
) _wrap_PyWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"PyWindow_InitDialog", (PyCFunction
) _wrap_PyWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"PyWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"PyWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"PyWindow_Validate", (PyCFunction
) _wrap_PyWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"PyWindow_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"PyWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"PyWindow_GetMaxSize", (PyCFunction
) _wrap_PyWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"PyWindow_AddChild", (PyCFunction
) _wrap_PyWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"PyWindow_RemoveChild", (PyCFunction
) _wrap_PyWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"PyWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
) _wrap_PyWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27969 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"PyPanel_DoGetSize", (PyCFunction
) _wrap_PyPanel_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PyPanel_DoGetPosition", (PyCFunction
) _wrap_PyPanel_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PyPanel_InitDialog", (PyCFunction
) _wrap_PyPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"PyPanel_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"PyPanel_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PyPanel_Validate", (PyCFunction
) _wrap_PyPanel_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"PyPanel_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PyPanel_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PyPanel_GetMaxSize", (PyCFunction
) _wrap_PyPanel_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PyPanel_AddChild", (PyCFunction
) _wrap_PyPanel_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PyPanel_RemoveChild", (PyCFunction
) _wrap_PyPanel_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PyPanel_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
) _wrap_PyPanel_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27996 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PyScrolledWindow_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PyScrolledWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PyScrolledWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PyScrolledWindow_Validate", (PyCFunction
) _wrap_PyScrolledWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PyScrolledWindow_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PyScrolledWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PyScrolledWindow_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PyScrolledWindow_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PyScrolledWindow_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PyScrolledWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
) _wrap_PyScrolledWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28023 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28024 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28053 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28054 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28087 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28092 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28093 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28124 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28130 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28141 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"Printout_OnEndDocument", (PyCFunction
) _wrap_Printout_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"Printout_OnBeginPrinting", (PyCFunction
) _wrap_Printout_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"Printout_OnEndPrinting", (PyCFunction
) _wrap_Printout_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"Printout_OnPreparePrinting", (PyCFunction
) _wrap_Printout_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"Printout_GetPageInfo", (PyCFunction
) _wrap_Printout_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28164 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28166 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28172 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28182 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28183 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28206 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28207 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PyPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PyPrintPreview_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"PyPrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PyPrintPreview_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PyPrintPreview_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PyPrintPreview_Print", (PyCFunction
) _wrap_PyPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PyPrintPreview_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28216 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28224 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28230 { NULL
, NULL
, 0, NULL
}
28234 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28236 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28237 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28239 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28240 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28242 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28243 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28245 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28246 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28248 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28249 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28251 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28252 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28254 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28255 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28257 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28258 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28260 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28261 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28263 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28264 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28266 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28269 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28270 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28272 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28273 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28275 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28276 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28278 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28279 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28281 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28282 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28284 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28285 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28287 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28288 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28290 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28291 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28293 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28294 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28296 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28297 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28299 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28300 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28302 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28303 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28305 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28306 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28308 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28309 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28311 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28312 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28314 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28315 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28317 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28318 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28320 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28321 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28323 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28324 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28326 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28327 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28329 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28330 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28332 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28335 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28338 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28339 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28341 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28342 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28344 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28345 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28347 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28348 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28350 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28351 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28353 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28354 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28356 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28357 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28359 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28360 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28362 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28363 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28365 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28366 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28368 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28369 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28371 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28374 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28377 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28380 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28381 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28383 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28384 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28386 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28387 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28389 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28390 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28392 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28395 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28398 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28401 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28404 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28407 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28410 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28413 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28414 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28416 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28417 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28419 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28420 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28422 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28425 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28428 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28431 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28432 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28434 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28437 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28438 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28440 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28441 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28443 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28444 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28446 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28447 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28449 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28452 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28453 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28455 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28456 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28458 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28461 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28462 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28464 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28467 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28468 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28470 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28473 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28474 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28476 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28479 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28480 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28482 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28485 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28488 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28489 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28491 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28494 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28497 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28498 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28500 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28501 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28503 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28506 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28509 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28512 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28515 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28518 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28519 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28521 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28522 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28524 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28525 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28527 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28528 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28530 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28531 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28533 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28534 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28536 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28537 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28539 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28540 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28542 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28543 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28545 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28546 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28548 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28549 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28551 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28554 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28557 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28558 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28560 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28561 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28563 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28564 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28566 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28567 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28569 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28570 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28572 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28573 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28575 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28576 return (void *)((wxObject
*) ((wxSizer
*) x
));
28578 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28579 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28581 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28584 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28587 static void *_p_wxEventTo_p_wxObject(void *x
) {
28588 return (void *)((wxObject
*) ((wxEvent
*) x
));
28590 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28591 return (void *)((wxObject
*) ((wxFontData
*) x
));
28593 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28594 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28596 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28597 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28599 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28600 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28602 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28603 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28605 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28606 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28608 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28609 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28611 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28614 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28615 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28617 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28618 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28620 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28621 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28623 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28624 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28626 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28627 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28629 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28630 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28632 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28635 static void *_p_wxControlTo_p_wxObject(void *x
) {
28636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28638 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28639 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28641 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28644 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28645 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28647 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28648 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28650 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28651 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28653 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28656 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28657 return (void *)((wxObject
*) ((wxColourData
*) x
));
28659 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28660 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28662 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28663 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28665 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28668 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28671 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28674 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28677 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28680 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28683 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28686 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28689 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28692 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28695 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28696 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28698 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28699 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28701 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28702 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28704 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28705 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28707 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28708 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28710 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28711 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28713 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28714 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28716 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28717 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28719 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28720 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28722 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28723 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28725 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28726 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28728 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28729 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28731 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28732 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28734 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28735 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28737 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28738 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28740 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28741 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28743 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28744 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28746 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28747 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28749 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28750 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28752 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28753 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28755 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28756 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28758 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
28759 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
28761 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28762 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28764 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28765 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28767 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28768 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28770 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28771 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28773 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28774 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28776 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28779 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28780 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28782 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28783 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28785 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28786 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28788 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28789 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28791 static void *_p_wxImageTo_p_wxObject(void *x
) {
28792 return (void *)((wxObject
*) ((wxImage
*) x
));
28794 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28797 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28798 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28800 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28801 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28803 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28804 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28806 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28809 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28812 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28813 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28815 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28816 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28818 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28819 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28821 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28822 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28824 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28825 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28827 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28830 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28833 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28836 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28837 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28839 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28842 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28845 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28848 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28851 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28854 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28857 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28860 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28863 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28866 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28867 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28869 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28870 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28872 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28873 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28875 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28878 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28881 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28884 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28887 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28890 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28891 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28893 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28894 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28896 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28897 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28899 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28902 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28903 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28905 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28906 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28908 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28909 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28911 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28912 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28914 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28915 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28917 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28918 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28920 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28921 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28923 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28926 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28929 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28930 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28932 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28933 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28935 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28938 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28941 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28942 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28944 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28945 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28947 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28950 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28951 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28953 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28954 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28956 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28957 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28959 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28960 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28962 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28963 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28965 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28966 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28968 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28969 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28971 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28972 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28974 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28975 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28977 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28978 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28980 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28981 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28983 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28984 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28986 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
28987 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
28989 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28990 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28992 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28993 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28995 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28996 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28998 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28999 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29001 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29002 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29004 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29005 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29007 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29008 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29010 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29011 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29013 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29014 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29016 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29017 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29019 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29020 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29022 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29023 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29025 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29026 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29028 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29029 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29031 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29032 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29034 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29035 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29037 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29038 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29040 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29041 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29043 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29044 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29046 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29047 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29049 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29050 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29052 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29053 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29055 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29056 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29058 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29059 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29061 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29062 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29064 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29065 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29067 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29068 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29070 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29071 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
29073 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29074 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29076 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29077 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29079 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29080 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29082 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29083 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29085 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29086 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29088 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29089 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29091 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29092 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29094 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29095 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29097 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29098 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29100 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29101 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29103 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29104 return (void *)((wxWindow
*) ((wxControl
*) x
));
29106 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29107 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29109 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29110 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29112 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29113 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29115 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29116 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29118 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29119 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29121 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29122 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29124 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29125 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29127 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29128 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29130 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29131 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29133 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29134 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29136 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29137 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29139 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29140 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29142 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29143 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29145 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29146 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29148 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29149 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29151 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29152 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29154 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29155 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29157 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29158 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29160 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29161 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29163 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29164 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29166 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29167 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29169 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29170 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29172 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29173 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29175 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29176 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29178 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29179 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29181 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29182 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29184 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29185 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29187 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29188 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29190 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29191 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29193 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29194 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29196 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29197 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29199 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29200 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29202 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29203 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29205 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29206 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29208 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29209 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29211 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29212 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29214 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29215 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29217 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29218 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29220 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29221 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29223 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29224 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29226 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29227 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29229 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29230 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29232 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29233 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29235 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29236 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29238 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29239 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29241 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29242 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29244 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29245 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29247 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29248 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29250 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29251 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29253 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29254 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29256 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29257 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29259 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
29260 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29261 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
29262 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29263 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29264 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29265 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29266 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29267 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29268 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
29269 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29270 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29271 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29272 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29273 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
29274 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29275 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
29276 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29277 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29278 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29279 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29280 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
29281 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29282 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29283 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29284 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29285 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
29286 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
29287 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
29288 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
29289 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29290 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29291 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
29292 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
29293 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29294 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29295 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
29296 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
29297 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
29298 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
29299 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
29300 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29301 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29302 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29303 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29304 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29305 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29306 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
29307 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
29308 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29309 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
29310 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29311 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
29312 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
29313 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
29314 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
29315 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
29316 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29317 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29318 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29319 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29320 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29321 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
29322 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29323 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29324 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29325 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29326 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29327 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29328 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29329 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29330 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29331 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29332 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29333 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29334 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29335 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29336 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29337 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
29338 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29339 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
29340 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
29341 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29342 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29343 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
29344 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
29345 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
29346 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
29347 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29348 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
29349 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
29350 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
29351 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
29352 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
29353 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
29354 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
29355 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
29356 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
29357 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
29358 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
29359 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
29360 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
29361 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
29362 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
29363 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
29364 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29365 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
29366 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29367 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29368 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29369 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29370 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29371 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29372 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29373 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29374 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29375 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29376 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29377 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29378 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29379 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29380 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29381 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29382 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29383 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29384 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29385 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29386 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29387 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29388 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29389 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29390 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29391 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29392 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29393 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29394 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29395 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
29396 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29397 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29398 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29399 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29400 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29401 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29402 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29403 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
29404 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29405 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29406 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29407 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29408 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29409 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29410 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
29411 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29412 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29413 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29414 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29415 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29416 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29417 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29418 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29419 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29420 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29421 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29423 static swig_type_info
*swig_type_initial
[] = {
29425 &_swigt__p_form_ops_t
,
29427 &_swigt__p_unsigned_char
,
29428 &_swigt__p_unsigned_int
,
29429 &_swigt__p_unsigned_long
,
29430 &_swigt__p_wxANIHandler
,
29431 &_swigt__p_wxAcceleratorTable
,
29432 &_swigt__p_wxActivateEvent
,
29433 &_swigt__p_wxArrayInt
,
29434 &_swigt__p_wxBMPHandler
,
29435 &_swigt__p_wxBitmap
,
29436 &_swigt__p_wxBoxSizer
,
29437 &_swigt__p_wxCURHandler
,
29438 &_swigt__p_wxCalculateLayoutEvent
,
29439 &_swigt__p_wxChildFocusEvent
,
29440 &_swigt__p_wxCloseEvent
,
29441 &_swigt__p_wxColour
,
29442 &_swigt__p_wxColourData
,
29443 &_swigt__p_wxColourDialog
,
29444 &_swigt__p_wxCommandEvent
,
29445 &_swigt__p_wxContextMenuEvent
,
29446 &_swigt__p_wxControl
,
29447 &_swigt__p_wxControlWithItems
,
29449 &_swigt__p_wxDateEvent
,
29450 &_swigt__p_wxDialog
,
29451 &_swigt__p_wxDirDialog
,
29452 &_swigt__p_wxDisplayChangedEvent
,
29453 &_swigt__p_wxDropFilesEvent
,
29454 &_swigt__p_wxDuplexMode
,
29455 &_swigt__p_wxEraseEvent
,
29456 &_swigt__p_wxEvent
,
29457 &_swigt__p_wxEvtHandler
,
29458 &_swigt__p_wxFSFile
,
29459 &_swigt__p_wxFileDialog
,
29460 &_swigt__p_wxFileSystem
,
29461 &_swigt__p_wxFindDialogEvent
,
29462 &_swigt__p_wxFindReplaceData
,
29463 &_swigt__p_wxFindReplaceDialog
,
29464 &_swigt__p_wxFlexGridSizer
,
29465 &_swigt__p_wxFocusEvent
,
29467 &_swigt__p_wxFontData
,
29468 &_swigt__p_wxFontDialog
,
29469 &_swigt__p_wxFrame
,
29470 &_swigt__p_wxGBSizerItem
,
29471 &_swigt__p_wxGIFHandler
,
29472 &_swigt__p_wxGridBagSizer
,
29473 &_swigt__p_wxGridSizer
,
29474 &_swigt__p_wxICOHandler
,
29476 &_swigt__p_wxIconBundle
,
29477 &_swigt__p_wxIconizeEvent
,
29478 &_swigt__p_wxIdleEvent
,
29479 &_swigt__p_wxImage
,
29480 &_swigt__p_wxImageHandler
,
29481 &_swigt__p_wxIndividualLayoutConstraint
,
29482 &_swigt__p_wxInitDialogEvent
,
29483 &_swigt__p_wxJPEGHandler
,
29484 &_swigt__p_wxKeyEvent
,
29485 &_swigt__p_wxLayoutAlgorithm
,
29486 &_swigt__p_wxLayoutConstraints
,
29487 &_swigt__p_wxMDIChildFrame
,
29488 &_swigt__p_wxMDIClientWindow
,
29489 &_swigt__p_wxMDIParentFrame
,
29490 &_swigt__p_wxMaximizeEvent
,
29492 &_swigt__p_wxMenuBar
,
29493 &_swigt__p_wxMenuEvent
,
29494 &_swigt__p_wxMenuItem
,
29495 &_swigt__p_wxMessageDialog
,
29496 &_swigt__p_wxMiniFrame
,
29497 &_swigt__p_wxMouseCaptureChangedEvent
,
29498 &_swigt__p_wxMouseEvent
,
29499 &_swigt__p_wxMoveEvent
,
29500 &_swigt__p_wxMultiChoiceDialog
,
29501 &_swigt__p_wxNavigationKeyEvent
,
29502 &_swigt__p_wxNcPaintEvent
,
29503 &_swigt__p_wxNotifyEvent
,
29504 &_swigt__p_wxObject
,
29505 &_swigt__p_wxPCXHandler
,
29506 &_swigt__p_wxPNGHandler
,
29507 &_swigt__p_wxPNMHandler
,
29508 &_swigt__p_wxPageSetupDialog
,
29509 &_swigt__p_wxPageSetupDialogData
,
29510 &_swigt__p_wxPaintEvent
,
29511 &_swigt__p_wxPaletteChangedEvent
,
29512 &_swigt__p_wxPanel
,
29513 &_swigt__p_wxPaperSize
,
29514 &_swigt__p_wxPasswordEntryDialog
,
29515 &_swigt__p_wxPoint
,
29516 &_swigt__p_wxPopupWindow
,
29517 &_swigt__p_wxPreviewCanvas
,
29518 &_swigt__p_wxPreviewControlBar
,
29519 &_swigt__p_wxPreviewFrame
,
29520 &_swigt__p_wxPrintData
,
29521 &_swigt__p_wxPrintDialog
,
29522 &_swigt__p_wxPrintDialogData
,
29523 &_swigt__p_wxPrintPreview
,
29524 &_swigt__p_wxPrinter
,
29525 &_swigt__p_wxProgressDialog
,
29526 &_swigt__p_wxPyApp
,
29527 &_swigt__p_wxPyCommandEvent
,
29528 &_swigt__p_wxPyEvent
,
29529 &_swigt__p_wxPyHtmlListBox
,
29530 &_swigt__p_wxPyImageHandler
,
29531 &_swigt__p_wxPyPanel
,
29532 &_swigt__p_wxPyPopupTransientWindow
,
29533 &_swigt__p_wxPyPreviewControlBar
,
29534 &_swigt__p_wxPyPreviewFrame
,
29535 &_swigt__p_wxPyPrintPreview
,
29536 &_swigt__p_wxPyPrintout
,
29537 &_swigt__p_wxPyScrolledWindow
,
29538 &_swigt__p_wxPySizer
,
29539 &_swigt__p_wxPyTaskBarIcon
,
29540 &_swigt__p_wxPyVListBox
,
29541 &_swigt__p_wxPyVScrolledWindow
,
29542 &_swigt__p_wxPyValidator
,
29543 &_swigt__p_wxPyWindow
,
29544 &_swigt__p_wxQueryLayoutInfoEvent
,
29545 &_swigt__p_wxQueryNewPaletteEvent
,
29547 &_swigt__p_wxRegion
,
29548 &_swigt__p_wxSashEvent
,
29549 &_swigt__p_wxSashLayoutWindow
,
29550 &_swigt__p_wxSashWindow
,
29551 &_swigt__p_wxScrollEvent
,
29552 &_swigt__p_wxScrollWinEvent
,
29553 &_swigt__p_wxScrolledWindow
,
29554 &_swigt__p_wxSetCursorEvent
,
29555 &_swigt__p_wxShowEvent
,
29556 &_swigt__p_wxSingleChoiceDialog
,
29558 &_swigt__p_wxSizeEvent
,
29559 &_swigt__p_wxSizer
,
29560 &_swigt__p_wxSizerItem
,
29561 &_swigt__p_wxSplashScreen
,
29562 &_swigt__p_wxSplashScreenWindow
,
29563 &_swigt__p_wxSplitterEvent
,
29564 &_swigt__p_wxSplitterWindow
,
29565 &_swigt__p_wxStaticBoxSizer
,
29566 &_swigt__p_wxStatusBar
,
29567 &_swigt__p_wxStdDialogButtonSizer
,
29568 &_swigt__p_wxString
,
29569 &_swigt__p_wxSysColourChangedEvent
,
29570 &_swigt__p_wxTIFFHandler
,
29571 &_swigt__p_wxTaskBarIcon
,
29572 &_swigt__p_wxTaskBarIconEvent
,
29573 &_swigt__p_wxTextEntryDialog
,
29574 &_swigt__p_wxTipWindow
,
29575 &_swigt__p_wxToolBar
,
29576 &_swigt__p_wxTopLevelWindow
,
29577 &_swigt__p_wxUpdateUIEvent
,
29578 &_swigt__p_wxValidator
,
29579 &_swigt__p_wxVisualAttributes
,
29580 &_swigt__p_wxWindow
,
29581 &_swigt__p_wxWindowCreateEvent
,
29582 &_swigt__p_wxWindowDestroyEvent
,
29583 &_swigt__p_wxXPMHandler
,
29584 &_swigt__ptrdiff_t
,
29585 &_swigt__std__ptrdiff_t
,
29586 &_swigt__unsigned_int
,
29589 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
29590 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
29591 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
29592 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
29593 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29594 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
29595 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
29596 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
29597 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
29598 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
29599 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
29600 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
29601 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29602 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
29603 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29604 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29605 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
29606 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29607 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29608 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29609 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}};
29610 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
29611 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}};
29612 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
29613 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
29614 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29615 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29616 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29617 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29618 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
29619 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29620 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29621 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
29622 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
29623 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29624 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29625 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29626 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29627 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
29628 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29629 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29630 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29631 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29632 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29633 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29634 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
29635 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29636 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
29637 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29638 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29639 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}};
29640 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
29641 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
29642 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
29643 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
29644 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
29645 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_wxTipWindow
, _p_wxTipWindowTo_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_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_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_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}};
29646 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
29647 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
29648 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29649 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
29650 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29651 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
29652 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
29653 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
29654 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_wxTipWindow
, _p_wxTipWindowTo_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}};
29655 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
29656 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
29657 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
29658 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
29659 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29660 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
29661 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
29662 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
29663 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
29664 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
29665 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29666 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}};
29667 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
29668 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29669 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29670 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
29671 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29672 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29673 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29674 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
29675 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29676 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29677 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
29678 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
29679 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
29680 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29681 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29682 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
29683 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
29684 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
29685 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
29686 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29687 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29688 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
29689 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29690 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29691 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29692 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29693 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
29694 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
29695 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_wxTipWindow
, _p_wxTipWindowTo_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_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}};
29696 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
29697 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29698 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}};
29699 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
29700 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
29701 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
29702 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
29703 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
29704 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}};
29705 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}};
29706 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
29707 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
29708 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29709 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}};
29710 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
29711 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
29712 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
29713 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
29714 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29715 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
29716 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
29717 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
29718 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
29719 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
29720 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29721 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}};
29722 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}};
29723 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
29724 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
29725 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
29726 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
29727 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
29728 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
29729 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}};
29730 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
29731 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}};
29732 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29733 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
29734 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
29735 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
29736 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
29737 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
29738 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
29739 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
29740 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
29741 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29742 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
29743 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}};
29744 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
29745 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
29746 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_wxTipWindow
, _p_wxTipWindowTo_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_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_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}};
29747 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
29748 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_wxTipWindow
, _p_wxTipWindowTo_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_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}};
29749 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29750 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29751 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29753 static swig_cast_info
*swig_cast_initial
[] = {
29755 _swigc__p_form_ops_t
,
29757 _swigc__p_unsigned_char
,
29758 _swigc__p_unsigned_int
,
29759 _swigc__p_unsigned_long
,
29760 _swigc__p_wxANIHandler
,
29761 _swigc__p_wxAcceleratorTable
,
29762 _swigc__p_wxActivateEvent
,
29763 _swigc__p_wxArrayInt
,
29764 _swigc__p_wxBMPHandler
,
29765 _swigc__p_wxBitmap
,
29766 _swigc__p_wxBoxSizer
,
29767 _swigc__p_wxCURHandler
,
29768 _swigc__p_wxCalculateLayoutEvent
,
29769 _swigc__p_wxChildFocusEvent
,
29770 _swigc__p_wxCloseEvent
,
29771 _swigc__p_wxColour
,
29772 _swigc__p_wxColourData
,
29773 _swigc__p_wxColourDialog
,
29774 _swigc__p_wxCommandEvent
,
29775 _swigc__p_wxContextMenuEvent
,
29776 _swigc__p_wxControl
,
29777 _swigc__p_wxControlWithItems
,
29779 _swigc__p_wxDateEvent
,
29780 _swigc__p_wxDialog
,
29781 _swigc__p_wxDirDialog
,
29782 _swigc__p_wxDisplayChangedEvent
,
29783 _swigc__p_wxDropFilesEvent
,
29784 _swigc__p_wxDuplexMode
,
29785 _swigc__p_wxEraseEvent
,
29787 _swigc__p_wxEvtHandler
,
29788 _swigc__p_wxFSFile
,
29789 _swigc__p_wxFileDialog
,
29790 _swigc__p_wxFileSystem
,
29791 _swigc__p_wxFindDialogEvent
,
29792 _swigc__p_wxFindReplaceData
,
29793 _swigc__p_wxFindReplaceDialog
,
29794 _swigc__p_wxFlexGridSizer
,
29795 _swigc__p_wxFocusEvent
,
29797 _swigc__p_wxFontData
,
29798 _swigc__p_wxFontDialog
,
29800 _swigc__p_wxGBSizerItem
,
29801 _swigc__p_wxGIFHandler
,
29802 _swigc__p_wxGridBagSizer
,
29803 _swigc__p_wxGridSizer
,
29804 _swigc__p_wxICOHandler
,
29806 _swigc__p_wxIconBundle
,
29807 _swigc__p_wxIconizeEvent
,
29808 _swigc__p_wxIdleEvent
,
29810 _swigc__p_wxImageHandler
,
29811 _swigc__p_wxIndividualLayoutConstraint
,
29812 _swigc__p_wxInitDialogEvent
,
29813 _swigc__p_wxJPEGHandler
,
29814 _swigc__p_wxKeyEvent
,
29815 _swigc__p_wxLayoutAlgorithm
,
29816 _swigc__p_wxLayoutConstraints
,
29817 _swigc__p_wxMDIChildFrame
,
29818 _swigc__p_wxMDIClientWindow
,
29819 _swigc__p_wxMDIParentFrame
,
29820 _swigc__p_wxMaximizeEvent
,
29822 _swigc__p_wxMenuBar
,
29823 _swigc__p_wxMenuEvent
,
29824 _swigc__p_wxMenuItem
,
29825 _swigc__p_wxMessageDialog
,
29826 _swigc__p_wxMiniFrame
,
29827 _swigc__p_wxMouseCaptureChangedEvent
,
29828 _swigc__p_wxMouseEvent
,
29829 _swigc__p_wxMoveEvent
,
29830 _swigc__p_wxMultiChoiceDialog
,
29831 _swigc__p_wxNavigationKeyEvent
,
29832 _swigc__p_wxNcPaintEvent
,
29833 _swigc__p_wxNotifyEvent
,
29834 _swigc__p_wxObject
,
29835 _swigc__p_wxPCXHandler
,
29836 _swigc__p_wxPNGHandler
,
29837 _swigc__p_wxPNMHandler
,
29838 _swigc__p_wxPageSetupDialog
,
29839 _swigc__p_wxPageSetupDialogData
,
29840 _swigc__p_wxPaintEvent
,
29841 _swigc__p_wxPaletteChangedEvent
,
29843 _swigc__p_wxPaperSize
,
29844 _swigc__p_wxPasswordEntryDialog
,
29846 _swigc__p_wxPopupWindow
,
29847 _swigc__p_wxPreviewCanvas
,
29848 _swigc__p_wxPreviewControlBar
,
29849 _swigc__p_wxPreviewFrame
,
29850 _swigc__p_wxPrintData
,
29851 _swigc__p_wxPrintDialog
,
29852 _swigc__p_wxPrintDialogData
,
29853 _swigc__p_wxPrintPreview
,
29854 _swigc__p_wxPrinter
,
29855 _swigc__p_wxProgressDialog
,
29857 _swigc__p_wxPyCommandEvent
,
29858 _swigc__p_wxPyEvent
,
29859 _swigc__p_wxPyHtmlListBox
,
29860 _swigc__p_wxPyImageHandler
,
29861 _swigc__p_wxPyPanel
,
29862 _swigc__p_wxPyPopupTransientWindow
,
29863 _swigc__p_wxPyPreviewControlBar
,
29864 _swigc__p_wxPyPreviewFrame
,
29865 _swigc__p_wxPyPrintPreview
,
29866 _swigc__p_wxPyPrintout
,
29867 _swigc__p_wxPyScrolledWindow
,
29868 _swigc__p_wxPySizer
,
29869 _swigc__p_wxPyTaskBarIcon
,
29870 _swigc__p_wxPyVListBox
,
29871 _swigc__p_wxPyVScrolledWindow
,
29872 _swigc__p_wxPyValidator
,
29873 _swigc__p_wxPyWindow
,
29874 _swigc__p_wxQueryLayoutInfoEvent
,
29875 _swigc__p_wxQueryNewPaletteEvent
,
29877 _swigc__p_wxRegion
,
29878 _swigc__p_wxSashEvent
,
29879 _swigc__p_wxSashLayoutWindow
,
29880 _swigc__p_wxSashWindow
,
29881 _swigc__p_wxScrollEvent
,
29882 _swigc__p_wxScrollWinEvent
,
29883 _swigc__p_wxScrolledWindow
,
29884 _swigc__p_wxSetCursorEvent
,
29885 _swigc__p_wxShowEvent
,
29886 _swigc__p_wxSingleChoiceDialog
,
29888 _swigc__p_wxSizeEvent
,
29890 _swigc__p_wxSizerItem
,
29891 _swigc__p_wxSplashScreen
,
29892 _swigc__p_wxSplashScreenWindow
,
29893 _swigc__p_wxSplitterEvent
,
29894 _swigc__p_wxSplitterWindow
,
29895 _swigc__p_wxStaticBoxSizer
,
29896 _swigc__p_wxStatusBar
,
29897 _swigc__p_wxStdDialogButtonSizer
,
29898 _swigc__p_wxString
,
29899 _swigc__p_wxSysColourChangedEvent
,
29900 _swigc__p_wxTIFFHandler
,
29901 _swigc__p_wxTaskBarIcon
,
29902 _swigc__p_wxTaskBarIconEvent
,
29903 _swigc__p_wxTextEntryDialog
,
29904 _swigc__p_wxTipWindow
,
29905 _swigc__p_wxToolBar
,
29906 _swigc__p_wxTopLevelWindow
,
29907 _swigc__p_wxUpdateUIEvent
,
29908 _swigc__p_wxValidator
,
29909 _swigc__p_wxVisualAttributes
,
29910 _swigc__p_wxWindow
,
29911 _swigc__p_wxWindowCreateEvent
,
29912 _swigc__p_wxWindowDestroyEvent
,
29913 _swigc__p_wxXPMHandler
,
29915 _swigc__std__ptrdiff_t
,
29916 _swigc__unsigned_int
,
29920 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29922 static swig_const_info swig_const_table
[] = {
29923 {0, 0, 0, 0.0, 0, 0}};
29928 /*************************************************************************
29929 * Type initialization:
29930 * This problem is tough by the requirement that no dynamic
29931 * memory is used. Also, since swig_type_info structures store pointers to
29932 * swig_cast_info structures and swig_cast_info structures store pointers back
29933 * to swig_type_info structures, we need some lookup code at initialization.
29934 * The idea is that swig generates all the structures that are needed.
29935 * The runtime then collects these partially filled structures.
29936 * The SWIG_InitializeModule function takes these initial arrays out of
29937 * swig_module, and does all the lookup, filling in the swig_module.types
29938 * array with the correct data and linking the correct swig_cast_info
29939 * structures together.
29941 * The generated swig_type_info structures are assigned staticly to an initial
29942 * array. We just loop though that array, and handle each type individually.
29943 * First we lookup if this type has been already loaded, and if so, use the
29944 * loaded structure instead of the generated one. Then we have to fill in the
29945 * cast linked list. The cast data is initially stored in something like a
29946 * two-dimensional array. Each row corresponds to a type (there are the same
29947 * number of rows as there are in the swig_type_initial array). Each entry in
29948 * a column is one of the swig_cast_info structures for that type.
29949 * The cast_initial array is actually an array of arrays, because each row has
29950 * a variable number of columns. So to actually build the cast linked list,
29951 * we find the array of casts associated with the type, and loop through it
29952 * adding the casts to the list. The one last trick we need to do is making
29953 * sure the type pointer in the swig_cast_info struct is correct.
29955 * First off, we lookup the cast->type name to see if it is already loaded.
29956 * There are three cases to handle:
29957 * 1) If the cast->type has already been loaded AND the type we are adding
29958 * casting info to has not been loaded (it is in this module), THEN we
29959 * replace the cast->type pointer with the type pointer that has already
29961 * 2) If BOTH types (the one we are adding casting info to, and the
29962 * cast->type) are loaded, THEN the cast info has already been loaded by
29963 * the previous module so we just ignore it.
29964 * 3) Finally, if cast->type has not already been loaded, then we add that
29965 * swig_cast_info to the linked list (because the cast->type) pointer will
29977 #define SWIGRUNTIME_DEBUG
29981 SWIG_InitializeModule(void *clientdata
) {
29983 swig_module_info
*module_head
;
29984 static int init_run
= 0;
29986 clientdata
= clientdata
;
29988 if (init_run
) return;
29991 /* Initialize the swig_module */
29992 swig_module
.type_initial
= swig_type_initial
;
29993 swig_module
.cast_initial
= swig_cast_initial
;
29995 /* Try and load any already created modules */
29996 module_head
= SWIG_GetModule(clientdata
);
29998 swig_module
.next
= module_head
->next
;
29999 module_head
->next
= &swig_module
;
30001 /* This is the first module loaded */
30002 swig_module
.next
= &swig_module
;
30003 SWIG_SetModule(clientdata
, &swig_module
);
30006 /* Now work on filling in swig_module.types */
30007 #ifdef SWIGRUNTIME_DEBUG
30008 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
30010 for (i
= 0; i
< swig_module
.size
; ++i
) {
30011 swig_type_info
*type
= 0;
30012 swig_type_info
*ret
;
30013 swig_cast_info
*cast
;
30015 #ifdef SWIGRUNTIME_DEBUG
30016 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30019 /* if there is another module already loaded */
30020 if (swig_module
.next
!= &swig_module
) {
30021 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
30024 /* Overwrite clientdata field */
30025 #ifdef SWIGRUNTIME_DEBUG
30026 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
30028 if (swig_module
.type_initial
[i
]->clientdata
) {
30029 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
30030 #ifdef SWIGRUNTIME_DEBUG
30031 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
30035 type
= swig_module
.type_initial
[i
];
30038 /* Insert casting types */
30039 cast
= swig_module
.cast_initial
[i
];
30040 while (cast
->type
) {
30041 /* Don't need to add information already in the list */
30043 #ifdef SWIGRUNTIME_DEBUG
30044 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
30046 if (swig_module
.next
!= &swig_module
) {
30047 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
30048 #ifdef SWIGRUNTIME_DEBUG
30049 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
30053 if (type
== swig_module
.type_initial
[i
]) {
30054 #ifdef SWIGRUNTIME_DEBUG
30055 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
30060 /* Check for casting already in the list */
30061 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
30062 #ifdef SWIGRUNTIME_DEBUG
30063 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
30065 if (!ocast
) ret
= 0;
30070 #ifdef SWIGRUNTIME_DEBUG
30071 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
30074 type
->cast
->prev
= cast
;
30075 cast
->next
= type
->cast
;
30081 /* Set entry in modules->types array equal to the type */
30082 swig_module
.types
[i
] = type
;
30084 swig_module
.types
[i
] = 0;
30086 #ifdef SWIGRUNTIME_DEBUG
30087 printf("**** SWIG_InitializeModule: Cast List ******\n");
30088 for (i
= 0; i
< swig_module
.size
; ++i
) {
30090 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
30091 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30092 while (cast
->type
) {
30093 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
30097 printf("---- Total casts: %d\n",j
);
30099 printf("**** SWIG_InitializeModule: Cast List ******\n");
30103 /* This function will propagate the clientdata field of type to
30104 * any new swig_type_info structures that have been added into the list
30105 * of equivalent types. It is like calling
30106 * SWIG_TypeClientData(type, clientdata) a second time.
30109 SWIG_PropagateClientData(void) {
30111 swig_cast_info
*equiv
;
30112 static int init_run
= 0;
30114 if (init_run
) return;
30117 for (i
= 0; i
< swig_module
.size
; i
++) {
30118 if (swig_module
.types
[i
]->clientdata
) {
30119 equiv
= swig_module
.types
[i
]->cast
;
30121 if (!equiv
->converter
) {
30122 if (equiv
->type
&& !equiv
->type
->clientdata
)
30123 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
30125 equiv
= equiv
->next
;
30145 /* Python-specific SWIG API */
30146 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30147 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30148 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30150 /* -----------------------------------------------------------------------------
30151 * global variable support code.
30152 * ----------------------------------------------------------------------------- */
30154 typedef struct swig_globalvar
{
30155 char *name
; /* Name of global variable */
30156 PyObject
*(*get_attr
)(void); /* Return the current value */
30157 int (*set_attr
)(PyObject
*); /* Set the value */
30158 struct swig_globalvar
*next
;
30161 typedef struct swig_varlinkobject
{
30163 swig_globalvar
*vars
;
30164 } swig_varlinkobject
;
30166 SWIGINTERN PyObject
*
30167 swig_varlink_repr(swig_varlinkobject
*v
) {
30169 return PyString_FromString("<Swig global variables>");
30173 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
30174 swig_globalvar
*var
;
30176 fprintf(fp
,"Swig global variables { ");
30177 for (var
= v
->vars
; var
; var
=var
->next
) {
30178 fprintf(fp
,"%s", var
->name
);
30179 if (var
->next
) fprintf(fp
,", ");
30181 fprintf(fp
," }\n");
30185 SWIGINTERN PyObject
*
30186 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30187 swig_globalvar
*var
= v
->vars
;
30189 if (strcmp(var
->name
,n
) == 0) {
30190 return (*var
->get_attr
)();
30194 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30199 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30200 swig_globalvar
*var
= v
->vars
;
30202 if (strcmp(var
->name
,n
) == 0) {
30203 return (*var
->set_attr
)(p
);
30207 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30211 SWIGINTERN PyTypeObject
*
30212 swig_varlink_type(void) {
30213 static char varlink__doc__
[] = "Swig var link object";
30214 static PyTypeObject varlink_type
30215 #if !defined(__cplusplus)
30217 static int type_init
= 0;
30222 PyObject_HEAD_INIT(&PyType_Type
)
30223 0, /* Number of items in variable part (ob_size) */
30224 (char *)"swigvarlink", /* Type name (tp_name) */
30225 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30226 0, /* Itemsize (tp_itemsize) */
30227 0, /* Deallocator (tp_dealloc) */
30228 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30229 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30230 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30231 0, /* tp_compare */
30232 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30233 0, /* tp_as_number */
30234 0, /* tp_as_sequence */
30235 0, /* tp_as_mapping */
30239 0, /* tp_getattro */
30240 0, /* tp_setattro */
30241 0, /* tp_as_buffer */
30243 varlink__doc__
, /* tp_doc */
30244 #if PY_VERSION_HEX >= 0x02000000
30245 0, /* tp_traverse */
30248 #if PY_VERSION_HEX >= 0x02010000
30249 0, /* tp_richcompare */
30250 0, /* tp_weaklistoffset */
30252 #if PY_VERSION_HEX >= 0x02020000
30253 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30255 #if PY_VERSION_HEX >= 0x02030000
30258 #ifdef COUNT_ALLOCS
30259 0,0,0,0 /* tp_alloc -> tp_next */
30262 #if !defined(__cplusplus)
30263 varlink_type
= tmp
;
30267 return &varlink_type
;
30270 /* Create a variable linking object for use later */
30271 SWIGINTERN PyObject
*
30272 SWIG_Python_newvarlink(void) {
30273 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
30277 return ((PyObject
*) result
);
30281 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
30282 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
30283 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
30285 size_t size
= strlen(name
)+1;
30286 gv
->name
= (char *)malloc(size
);
30288 strncpy(gv
->name
,name
,size
);
30289 gv
->get_attr
= get_attr
;
30290 gv
->set_attr
= set_attr
;
30291 gv
->next
= v
->vars
;
30297 /* -----------------------------------------------------------------------------
30298 * constants/methods manipulation
30299 * ----------------------------------------------------------------------------- */
30301 /* Install Constants */
30303 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30306 for (i
= 0; constants
[i
].type
; ++i
) {
30307 switch(constants
[i
].type
) {
30309 obj
= PyInt_FromLong(constants
[i
].lvalue
);
30311 case SWIG_PY_FLOAT
:
30312 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
30314 case SWIG_PY_STRING
:
30315 if (constants
[i
].pvalue
) {
30316 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
30318 Py_INCREF(Py_None
);
30322 case SWIG_PY_POINTER
:
30323 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30325 case SWIG_PY_BINARY
:
30326 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30333 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
30339 /* -----------------------------------------------------------------------------*/
30340 /* Fix SwigMethods to carry the callback ptrs when needed */
30341 /* -----------------------------------------------------------------------------*/
30344 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30345 swig_const_info
*const_table
,
30346 swig_type_info
**types
,
30347 swig_type_info
**types_initial
) {
30349 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30350 char *c
= methods
[i
].ml_doc
;
30351 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30353 swig_const_info
*ci
= 0;
30354 char *name
= c
+ 10;
30355 for (j
= 0; const_table
[j
].type
; ++j
) {
30356 if (strncmp(const_table
[j
].name
, name
,
30357 strlen(const_table
[j
].name
)) == 0) {
30358 ci
= &(const_table
[j
]);
30363 size_t shift
= (ci
->ptype
) - types
;
30364 swig_type_info
*ty
= types_initial
[shift
];
30365 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30366 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30367 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30370 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
30372 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30374 strncpy(buff
, "swig_ptr: ", 10);
30376 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30377 methods
[i
].ml_doc
= ndoc
;
30385 /* -----------------------------------------------------------------------------*
30386 * Initialize type list
30387 * -----------------------------------------------------------------------------*/
30393 /* -----------------------------------------------------------------------------*
30394 * Partial Init method
30395 * -----------------------------------------------------------------------------*/
30400 SWIGEXPORT
void SWIG_init(void) {
30401 static PyObject
*SWIG_globals
= 0;
30403 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30405 /* Fix SwigMethods to carry the callback ptrs when needed */
30406 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
30408 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30409 d
= PyModule_GetDict(m
);
30411 SWIG_InitializeModule(0);
30412 SWIG_InstallConstants(d
,swig_const_table
);
30414 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30415 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30416 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30417 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30418 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30420 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP
)));
30423 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE
)));
30426 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE
)));
30429 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE
)));
30432 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX
)));
30435 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME
)));
30438 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU
)));
30441 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX
)));
30444 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX
)));
30447 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ
)));
30450 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT
)));
30453 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX
)));
30456 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER
)));
30459 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT
)));
30462 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE
)));
30465 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE
)));
30468 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW
)));
30471 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT
)));
30474 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU
)));
30477 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR
)));
30480 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED
)));
30483 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER
)));
30486 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL
)));
30489 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL
)));
30492 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL
)));
30495 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS
)));
30498 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS
)));
30501 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D
)));
30504 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR
)));
30507 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR
)));
30510 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR
)));
30513 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER
)));
30516 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION
)));
30519 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL
)));
30522 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG
)));
30525 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO
)));
30528 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR
)));
30531 PyDict_SetItemString(d
,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags
)));
30534 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT
)));
30537 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN
)));
30540 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE
)));
30543 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT
)));
30546 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT
)));
30549 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL
)));
30552 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT
)));
30555 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED
)));
30557 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30559 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER
)));
30562 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH
)));
30565 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT
)));
30568 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE
)));
30571 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH
)));
30574 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER
)));
30577 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME
)));
30580 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER
)));
30583 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D
)));
30586 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL
)));
30589 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL
)));
30592 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE
)));
30595 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING
)));
30598 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN
)));
30600 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30601 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30602 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30603 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30604 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30605 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30607 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE
)));
30610 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING
)));
30613 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN
)));
30616 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER
)));
30619 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER
)));
30622 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH
)));
30625 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER
)));
30628 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D
)));
30631 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP
)));
30634 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT
)));
30637 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM
)));
30640 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT
)));
30643 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE
)));
30646 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK
)));
30649 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE
)));
30651 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30653 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL
)));
30656 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL
)));
30659 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE
)));
30662 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP
)));
30665 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT
)));
30668 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT
)));
30671 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM
)));
30674 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y
)));
30677 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X
)));
30680 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH
)));
30683 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY
)));
30685 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30686 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30687 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30689 // Map renamed classes back to their common name for OOR
30690 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30691 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30692 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30694 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30695 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30696 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30697 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30698 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30699 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30700 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30701 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30702 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30703 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30704 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30705 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30706 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30708 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE
)));
30711 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle
)));
30713 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30715 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN
)));
30718 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD
)));
30721 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE
)));
30724 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG
)));
30727 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN
)));
30730 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE
)));
30733 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD
)));
30735 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30736 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30737 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30738 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30739 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30741 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30744 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30747 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30750 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30753 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30756 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30759 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30762 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30765 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30767 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30768 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30770 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE
)));
30773 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW
)));
30776 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE
)));
30779 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER
)));
30782 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM
)));
30785 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT
)));
30788 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE
)));
30791 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER
)));
30794 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE
)));
30797 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL
)));
30800 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE
)));
30803 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL
)));
30806 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO
)));
30809 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR
)));
30812 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT
)));
30815 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT
)));
30818 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY
)));
30821 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE
)));
30824 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE
)));
30827 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER
)));
30830 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR
)));
30833 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED
)));
30836 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR
)));
30839 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT
)));
30842 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS
)));
30845 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT
)));
30848 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM
)));
30851 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST
)));
30854 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST
)));
30857 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO
)));
30860 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT
)));
30863 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE
)));
30866 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT
)));
30869 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS
)));
30872 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT
)));
30875 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM
)));
30878 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST
)));
30881 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST
)));
30884 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO
)));
30887 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");