1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_unsigned_char swig_types[3]
1439 #define SWIGTYPE_p_unsigned_int swig_types[4]
1440 #define SWIGTYPE_p_unsigned_long swig_types[5]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[6]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
1444 #define SWIGTYPE_p_wxArrayInt swig_types[9]
1445 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1446 #define SWIGTYPE_p_wxBitmap swig_types[11]
1447 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1448 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1449 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1450 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1451 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1452 #define SWIGTYPE_p_wxColour swig_types[17]
1453 #define SWIGTYPE_p_wxColourData swig_types[18]
1454 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1455 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1456 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1457 #define SWIGTYPE_p_wxControl swig_types[22]
1458 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1459 #define SWIGTYPE_p_wxDC swig_types[24]
1460 #define SWIGTYPE_p_wxDateEvent swig_types[25]
1461 #define SWIGTYPE_p_wxDialog swig_types[26]
1462 #define SWIGTYPE_p_wxDirDialog swig_types[27]
1463 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1465 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
1466 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
1467 #define SWIGTYPE_p_wxEvent swig_types[32]
1468 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
1469 #define SWIGTYPE_p_wxFSFile swig_types[34]
1470 #define SWIGTYPE_p_wxFileDialog swig_types[35]
1471 #define SWIGTYPE_p_wxFileSystem swig_types[36]
1472 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1473 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1474 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1475 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1476 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
1477 #define SWIGTYPE_p_wxFont swig_types[42]
1478 #define SWIGTYPE_p_wxFontData swig_types[43]
1479 #define SWIGTYPE_p_wxFontDialog swig_types[44]
1480 #define SWIGTYPE_p_wxFrame swig_types[45]
1481 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1482 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
1483 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
1484 #define SWIGTYPE_p_wxGridSizer swig_types[49]
1485 #define SWIGTYPE_p_wxICOHandler swig_types[50]
1486 #define SWIGTYPE_p_wxIcon swig_types[51]
1487 #define SWIGTYPE_p_wxIconBundle swig_types[52]
1488 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1489 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
1490 #define SWIGTYPE_p_wxImage swig_types[55]
1491 #define SWIGTYPE_p_wxImageHandler swig_types[56]
1492 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
1493 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
1494 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
1495 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
1496 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
1497 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
1498 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
1499 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
1500 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
1501 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
1502 #define SWIGTYPE_p_wxMenu swig_types[67]
1503 #define SWIGTYPE_p_wxMenuBar swig_types[68]
1504 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
1505 #define SWIGTYPE_p_wxMenuItem swig_types[70]
1506 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
1507 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
1508 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
1509 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
1510 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
1511 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
1512 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
1513 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
1514 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
1515 #define SWIGTYPE_p_wxObject swig_types[80]
1516 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
1517 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
1518 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
1519 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
1520 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
1521 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
1522 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1523 #define SWIGTYPE_p_wxPanel swig_types[88]
1524 #define SWIGTYPE_p_wxPaperSize swig_types[89]
1525 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
1526 #define SWIGTYPE_p_wxPoint swig_types[91]
1527 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
1528 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
1529 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
1530 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
1531 #define SWIGTYPE_p_wxPrintData swig_types[96]
1532 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
1533 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
1534 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
1535 #define SWIGTYPE_p_wxPrinter swig_types[100]
1536 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
1537 #define SWIGTYPE_p_wxPyApp swig_types[102]
1538 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
1539 #define SWIGTYPE_p_wxPyEvent swig_types[104]
1540 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
1541 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
1542 #define SWIGTYPE_p_wxPyPanel swig_types[107]
1543 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
1544 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
1545 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
1546 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
1547 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
1548 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
1549 #define SWIGTYPE_p_wxPySizer swig_types[114]
1550 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
1551 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
1552 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
1553 #define SWIGTYPE_p_wxPyValidator swig_types[118]
1554 #define SWIGTYPE_p_wxPyWindow swig_types[119]
1555 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
1556 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
1557 #define SWIGTYPE_p_wxRect swig_types[122]
1558 #define SWIGTYPE_p_wxRegion swig_types[123]
1559 #define SWIGTYPE_p_wxSashEvent swig_types[124]
1560 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
1561 #define SWIGTYPE_p_wxSashWindow swig_types[126]
1562 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
1563 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
1564 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
1565 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
1566 #define SWIGTYPE_p_wxShowEvent swig_types[131]
1567 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
1568 #define SWIGTYPE_p_wxSize swig_types[133]
1569 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
1570 #define SWIGTYPE_p_wxSizer swig_types[135]
1571 #define SWIGTYPE_p_wxSizerItem swig_types[136]
1572 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
1573 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
1574 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
1575 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
1576 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
1577 #define SWIGTYPE_p_wxStatusBar swig_types[142]
1578 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
1579 #define SWIGTYPE_p_wxString swig_types[144]
1580 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
1581 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
1582 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
1583 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
1584 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
1585 #define SWIGTYPE_p_wxTipWindow swig_types[150]
1586 #define SWIGTYPE_p_wxToolBar swig_types[151]
1587 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
1588 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
1589 #define SWIGTYPE_p_wxValidator swig_types[154]
1590 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
1591 #define SWIGTYPE_p_wxWindow swig_types[156]
1592 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
1593 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
1594 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
1595 #define SWIGTYPE_ptrdiff_t swig_types[160]
1596 #define SWIGTYPE_std__ptrdiff_t swig_types[161]
1597 #define SWIGTYPE_unsigned_int swig_types[162]
1598 static swig_type_info
*swig_types
[164];
1599 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
1600 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1601 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1603 /* -------- TYPES TABLE (END) -------- */
1606 /*-----------------------------------------------
1607 @(target):= _windows_.so
1608 ------------------------------------------------*/
1609 #define SWIG_init init_windows_
1611 #define SWIG_name "_windows_"
1613 #include "wx/wxPython/wxPython.h"
1614 #include "wx/wxPython/pyclasses.h"
1617 static const wxString
wxPyEmptyString(wxEmptyString
);
1618 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1626 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1629 if (value
< min_value
) {
1631 PyErr_Format(PyExc_OverflowError
,
1632 "value %ld is less than '%s' minimum %ld",
1633 value
, errmsg
, min_value
);
1636 } else if (value
> max_value
) {
1638 PyErr_Format(PyExc_OverflowError
,
1639 "value %ld is greater than '%s' maximum %ld",
1640 value
, errmsg
, max_value
);
1649 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1651 if (PyNumber_Check(obj
)) {
1652 if (val
) *val
= PyInt_AsLong(obj
);
1656 SWIG_Python_TypeError("number", obj
);
1662 #if INT_MAX != LONG_MAX
1664 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1666 const char* errmsg
= val
? "int" : (char*)0;
1668 if (SWIG_AsVal_long(obj
, &v
)) {
1669 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1670 if (val
) *val
= static_cast<int >(v
);
1679 SWIG_type_error(errmsg
, obj
);
1684 SWIGINTERNINLINE
int
1685 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1687 return SWIG_AsVal_long(obj
,(long*)val
);
1692 SWIGINTERNINLINE
int
1693 SWIG_As_int(PyObject
* obj
)
1696 if (!SWIG_AsVal_int(obj
, &v
)) {
1698 this is needed to make valgrind/purify happier.
1700 memset((void*)&v
, 0, sizeof(int));
1706 SWIGINTERNINLINE
long
1707 SWIG_As_long(PyObject
* obj
)
1710 if (!SWIG_AsVal_long(obj
, &v
)) {
1712 this is needed to make valgrind/purify happier.
1714 memset((void*)&v
, 0, sizeof(long));
1720 SWIGINTERNINLINE
int
1721 SWIG_Check_int(PyObject
* obj
)
1723 return SWIG_AsVal_int(obj
, (int*)0);
1727 SWIGINTERNINLINE
int
1728 SWIG_Check_long(PyObject
* obj
)
1730 return SWIG_AsVal_long(obj
, (long*)0);
1735 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1737 if (obj
== Py_True
) {
1738 if (val
) *val
= true;
1741 if (obj
== Py_False
) {
1742 if (val
) *val
= false;
1746 if (SWIG_AsVal_int(obj
, &res
)) {
1747 if (val
) *val
= res
? true : false;
1753 SWIG_type_error("bool", obj
);
1759 SWIGINTERNINLINE
bool
1760 SWIG_As_bool(PyObject
* obj
)
1763 if (!SWIG_AsVal_bool(obj
, &v
)) {
1765 this is needed to make valgrind/purify happier.
1767 memset((void*)&v
, 0, sizeof(bool));
1773 SWIGINTERNINLINE
int
1774 SWIG_Check_bool(PyObject
* obj
)
1776 return SWIG_AsVal_bool(obj
, (bool*)0);
1780 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1781 #define SWIG_From_int PyInt_FromLong
1785 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1791 } else if (result
== Py_None
) {
1795 if (!PyTuple_Check(result
)) {
1797 result
= PyTuple_New(1);
1798 PyTuple_SET_ITEM(result
, 0, o2
);
1800 o3
= PyTuple_New(1);
1801 PyTuple_SetItem(o3
, 0, obj
);
1803 result
= PySequence_Concat(o2
, o3
);
1813 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1815 if (PyNumber_Check(obj
)) {
1816 if (val
) *val
= PyFloat_AsDouble(obj
);
1820 SWIG_Python_TypeError("number", obj
);
1826 SWIGINTERNINLINE
double
1827 SWIG_As_double(PyObject
* obj
)
1830 if (!SWIG_AsVal_double(obj
, &v
)) {
1832 this is needed to make valgrind/purify happier.
1834 memset((void*)&v
, 0, sizeof(double));
1840 SWIGINTERNINLINE
int
1841 SWIG_Check_double(PyObject
* obj
)
1843 return SWIG_AsVal_double(obj
, (double*)0);
1847 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1848 #define SWIG_From_double PyFloat_FromDouble
1851 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1852 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1853 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1854 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1855 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1856 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1858 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1859 #define SWIG_From_long PyInt_FromLong
1864 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1866 self
->GetFieldRect(i
, r
);
1869 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1870 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1871 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1873 #include <wx/popupwin.h>
1876 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1879 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1880 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1881 : wxPopupTransientWindow(parent
, style
) {}
1883 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1884 DEC_PYCALLBACK__(OnDismiss
);
1885 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1890 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1891 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1892 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1895 #include <wx/tipwin.h>
1897 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1898 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1901 #include <wx/tipwin.h>
1904 #include <wx/vscroll.h>
1907 class wxPyVScrolledWindow
: public wxVScrolledWindow
1909 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
1911 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1913 wxPyVScrolledWindow(wxWindow
*parent
,
1914 wxWindowID id
= wxID_ANY
,
1915 const wxPoint
& pos
= wxDefaultPosition
,
1916 const wxSize
& size
= wxDefaultSize
,
1918 const wxString
& name
= wxPyPanelNameStr
)
1919 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1922 // Overridable virtuals
1924 // this function must be overridden in the derived class and it should
1925 // return the height of the given line in pixels
1926 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1929 // this function doesn't have to be overridden but it may be useful to do
1930 // it if calculating the lines heights is a relatively expensive operation
1931 // as it gives the user code a possibility to calculate several of them at
1934 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1935 // shouldn't rely on the latter being called for all lines in the interval
1936 // specified here. It is also possible that OnGetLineHeight() will be
1937 // called for the lines outside of this interval, so this is really just a
1938 // hint, not a promise.
1940 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1942 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1945 // when the number of lines changes, we try to estimate the total height
1946 // of all lines which is a rather expensive operation in terms of lines
1947 // access, so if the user code may estimate the average height
1948 // better/faster than we do, it should override this function to implement
1951 // this function should return the best guess for the total height it may
1953 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1956 // Also expose some other interesting protected methods
1959 // find the index of the line we need to show at the top of the window such
1960 // that the last (fully or partially) visible line is the given one
1961 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1962 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1964 // get the total height of the lines between lineMin (inclusive) and
1965 // lineMax (exclusive)
1966 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1967 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1973 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1975 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1976 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1977 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1981 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1984 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1985 SWIG_Python_TypeError("unsigned number", obj
);
1988 *val
= (unsigned long)v
;
1993 SWIGINTERNINLINE
unsigned long
1994 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1997 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1999 this is needed to make valgrind/purify happier.
2001 memset((void*)&v
, 0, sizeof(unsigned long));
2007 SWIGINTERNINLINE
int
2008 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2010 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2014 SWIGINTERNINLINE PyObject
*
2015 SWIG_From_unsigned_SS_long(unsigned long value
)
2017 return (value
> LONG_MAX
) ?
2018 PyLong_FromUnsignedLong(value
)
2019 : PyInt_FromLong(static_cast<long >(value
));
2023 #include <wx/vlbox.h>
2025 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2027 class wxPyVListBox
: public wxVListBox
2029 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2031 wxPyVListBox() : wxVListBox() {}
2033 wxPyVListBox(wxWindow
*parent
,
2034 wxWindowID id
= wxID_ANY
,
2035 const wxPoint
& pos
= wxDefaultPosition
,
2036 const wxSize
& size
= wxDefaultSize
,
2038 const wxString
& name
= wxPyVListBoxNameStr
)
2039 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2042 // Overridable virtuals
2044 // the derived class must implement this function to actually draw the item
2045 // with the given index on the provided DC
2046 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2047 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2050 // the derived class must implement this method to return the height of the
2052 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2053 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
2056 // this method may be used to draw separators between the lines; note that
2057 // the rectangle may be modified, typically to deflate it a bit before
2058 // passing to OnDrawItem()
2060 // the base class version doesn't do anything
2061 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2062 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
2065 // this method is used to draw the items background and, maybe, a border
2068 // the base class version implements a reasonable default behaviour which
2069 // consists in drawing the selected item with the standard background
2070 // colour and drawing a border around the item if it is either selected or
2072 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2073 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
2079 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
2081 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
2082 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
2083 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
2084 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
2087 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
2088 unsigned long cookie
= 0;
2089 int selected
= self
->GetFirstSelected(cookie
);
2090 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2091 PyObject
* tup
= PyTuple_New(2);
2092 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2093 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2094 wxPyEndBlockThreads(blocked
);
2097 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
2098 int selected
= self
->GetNextSelected(cookie
);
2099 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2100 PyObject
* tup
= PyTuple_New(2);
2101 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2102 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2103 wxPyEndBlockThreads(blocked
);
2107 #include <wx/htmllbox.h>
2110 class wxPyHtmlListBox
: public wxHtmlListBox
2112 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
2114 wxPyHtmlListBox() : wxHtmlListBox() {}
2116 wxPyHtmlListBox(wxWindow
*parent
,
2117 wxWindowID id
= wxID_ANY
,
2118 const wxPoint
& pos
= wxDefaultPosition
,
2119 const wxSize
& size
= wxDefaultSize
,
2121 const wxString
& name
= wxPyVListBoxNameStr
)
2122 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
2125 // Overridable virtuals
2127 // this method must be implemented in the derived class and should return
2128 // the body (i.e. without <html>) of the HTML for the given item
2129 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
2131 // this function may be overridden to decorate HTML returned by OnGetItem()
2132 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
2135 // // this method allows to customize the selection appearance: it may be used
2136 // // to specify the colour of the text which normally has the given colour
2137 // // colFg when it is inside the selection
2139 // // by default, the original colour is not used at all and all text has the
2140 // // same (default for this system) colour inside selection
2141 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2143 // // this is the same as GetSelectedTextColour() but allows to customize the
2144 // // background colour -- this is even more rarely used as you can change it
2145 // // globally using SetSelectionBackground()
2146 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2153 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
2155 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
2156 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2162 #ifndef wxHAS_TASK_BAR_ICON
2163 // implement dummy classes for platforms that don't have it
2165 class wxTaskBarIcon
: public wxEvtHandler
2168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2172 class wxTaskBarIconEvent
: public wxEvent
2175 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2176 { wxPyRaiseNotImplemented(); }
2177 virtual wxEvent
* Clone() const { return NULL
; }
2178 bool IsOk() const { return false; }
2179 bool IsIconInstalled() const { return false; }
2180 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2181 bool RemoveIcon() { return false; }
2182 bool PopupMenu(wxMenu
*menu
) { return false; }
2186 wxEVT_TASKBAR_MOVE
= 0,
2187 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2188 wxEVT_TASKBAR_LEFT_UP
= 0,
2189 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2190 wxEVT_TASKBAR_RIGHT_UP
= 0,
2191 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2192 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2197 // Otherwise make a class that can virtualize CreatePopupMenu
2198 class wxPyTaskBarIcon
: public wxTaskBarIcon
2200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
2202 wxPyTaskBarIcon() : wxTaskBarIcon()
2205 wxMenu
* CreatePopupMenu() {
2206 wxMenu
*rval
= NULL
;
2208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2209 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2212 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2214 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2219 wxPyEndBlockThreads(blocked
);
2221 rval
= wxTaskBarIcon::CreatePopupMenu();
2228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2232 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2236 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2237 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2238 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2239 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2240 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2241 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2242 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2244 self
->GetFilenames(arr
);
2245 return wxArrayString2PyList_helper(arr
);
2247 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2249 self
->GetPaths(arr
);
2250 return wxArrayString2PyList_helper(arr
);
2252 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2253 return wxArrayInt2PyList_helper(self
->GetSelections());
2255 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
2256 return new wxSingleChoiceDialog(parent
, message
, caption
,
2257 choices
, choices_array
, NULL
, style
, pos
);
2259 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2263 // C++ version of Python aware wxWindow
2264 class wxPyWindow
: public wxWindow
2266 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2268 wxPyWindow() : wxWindow() {}
2269 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2270 const wxPoint
& pos
= wxDefaultPosition
,
2271 const wxSize
& size
= wxDefaultSize
,
2273 const wxString
& name
= wxPyPanelNameStr
)
2274 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2276 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2278 bool DoEraseBackground(wxDC
* dc
) {
2280 return wxWindow::DoEraseBackground(dc
->GetHDC());
2282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2300 DEC_PYCALLBACK__(InitDialog
);
2301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2303 DEC_PYCALLBACK_BOOL_(Validate
);
2305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2336 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2348 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2353 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
2355 // C++ version of Python aware wxPanel
2356 class wxPyPanel
: public wxPanel
2358 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2360 wxPyPanel() : wxPanel() {}
2361 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2362 const wxPoint
& pos
= wxDefaultPosition
,
2363 const wxSize
& size
= wxDefaultSize
,
2365 const wxString
& name
= wxPyPanelNameStr
)
2366 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2368 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2369 bool DoEraseBackground(wxDC
* dc
) {
2371 return wxWindow::DoEraseBackground(dc
->GetHDC());
2373 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2381 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2392 DEC_PYCALLBACK__(InitDialog
);
2393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2395 DEC_PYCALLBACK_BOOL_(Validate
);
2397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2399 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2409 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2428 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2440 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2443 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2445 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
2447 // C++ version of Python aware wxScrolledWindow
2448 class wxPyScrolledWindow
: public wxScrolledWindow
2450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2452 wxPyScrolledWindow() : wxScrolledWindow() {}
2453 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2454 const wxPoint
& pos
= wxDefaultPosition
,
2455 const wxSize
& size
= wxDefaultSize
,
2457 const wxString
& name
= wxPyPanelNameStr
)
2458 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2460 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2461 bool DoEraseBackground(wxDC
* dc
) {
2463 return wxWindow::DoEraseBackground(dc
->GetHDC());
2465 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2472 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2483 DEC_PYCALLBACK__(InitDialog
);
2484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2486 DEC_PYCALLBACK_BOOL_(Validate
);
2488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2490 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2500 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2519 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
2539 #include "wx/wxPython/printfw.h"
2542 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2543 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2544 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2546 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2547 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2548 self
->GetPrivDataLen());
2549 wxPyEndBlockThreads(blocked
);
2552 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2553 if (! PyString_Check(data
)) {
2554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2555 "Expected string object"));
2559 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2560 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2561 wxPyEndBlockThreads(blocked
);
2565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2567 // Since this one would be tough and ugly to do with the Macros...
2568 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2569 bool hadErr
= false;
2572 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2573 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2574 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2575 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2578 val
= PyTuple_GetItem(result
, 0);
2579 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2582 val
= PyTuple_GetItem(result
, 1);
2583 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2586 val
= PyTuple_GetItem(result
, 2);
2587 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2590 val
= PyTuple_GetItem(result
, 3);
2591 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2598 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2603 wxPyEndBlockThreads(blocked
);
2605 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2608 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2609 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2613 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2616 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2617 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2618 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2619 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2625 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2626 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2627 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2630 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2631 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2634 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2635 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2636 PyObject* win = wxPyMake_wxObject(a,false); \
2637 PyObject* dc = wxPyMake_wxObject(&b,false); \
2638 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2642 wxPyEndBlockThreads(blocked); \
2644 rval = PCLASS::CBNAME(a, b); \
2647 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2648 return PCLASS::CBNAME(a, b); \
2654 class wxPyPrintPreview
: public wxPrintPreview
2656 DECLARE_CLASS(wxPyPrintPreview
)
2658 wxPyPrintPreview(wxPyPrintout
* printout
,
2659 wxPyPrintout
* printoutForPrinting
,
2660 wxPrintDialogData
* data
=NULL
)
2661 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2663 wxPyPrintPreview(wxPyPrintout
* printout
,
2664 wxPyPrintout
* printoutForPrinting
,
2666 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2669 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2670 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2671 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2672 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2673 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2674 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2675 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2680 // Stupid renamed classes... Fix this in 2.5...
2681 #if defined(__WXMSW__)
2682 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2683 #elif defined(__WXMAC__)
2684 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2686 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2689 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2690 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2691 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2692 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2693 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2694 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2695 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2698 class wxPyPreviewFrame
: public wxPreviewFrame
2700 DECLARE_CLASS(wxPyPreviewFrame
)
2702 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2703 const wxString
& title
,
2704 const wxPoint
& pos
= wxDefaultPosition
,
2705 const wxSize
& size
= wxDefaultSize
,
2706 long style
= wxDEFAULT_FRAME_STYLE
,
2707 const wxString
& name
= wxPyFrameNameStr
)
2708 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2711 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2712 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2714 DEC_PYCALLBACK_VOID_(Initialize
);
2715 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2716 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2721 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2723 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2724 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2728 class wxPyPreviewControlBar
: public wxPreviewControlBar
2730 DECLARE_CLASS(wxPyPreviewControlBar
)
2732 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2735 const wxPoint
& pos
= wxDefaultPosition
,
2736 const wxSize
& size
= wxDefaultSize
,
2738 const wxString
& name
= wxPyPanelNameStr
)
2739 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2742 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2744 DEC_PYCALLBACK_VOID_(CreateButtons
);
2745 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2750 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2751 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2752 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2757 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
*resultobj
= NULL
;
2759 wxWindow
*arg1
= (wxWindow
*) 0 ;
2760 int arg2
= (int) (int)-1 ;
2761 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2762 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2763 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2764 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2765 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2766 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2767 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2771 bool temp6
= false ;
2772 PyObject
* obj0
= 0 ;
2773 PyObject
* obj1
= 0 ;
2774 PyObject
* obj2
= 0 ;
2775 PyObject
* obj3
= 0 ;
2776 PyObject
* obj4
= 0 ;
2777 PyObject
* obj5
= 0 ;
2779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2784 if (SWIG_arg_fail(1)) SWIG_fail
;
2787 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
2788 if (SWIG_arg_fail(2)) SWIG_fail
;
2794 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2800 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2805 arg5
= static_cast<long >(SWIG_As_long(obj4
));
2806 if (SWIG_arg_fail(5)) SWIG_fail
;
2811 arg6
= wxString_in_helper(obj5
);
2812 if (arg6
== NULL
) SWIG_fail
;
2817 if (!wxPyCheckForApp()) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2839 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
= NULL
;
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2848 if (!wxPyCheckForApp()) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 result
= (wxPanel
*)new wxPanel();
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2862 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
= NULL
;
2864 wxPanel
*arg1
= (wxPanel
*) 0 ;
2865 wxWindow
*arg2
= (wxWindow
*) 0 ;
2866 int arg3
= (int) (int)-1 ;
2867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2871 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2872 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2877 bool temp7
= false ;
2878 PyObject
* obj0
= 0 ;
2879 PyObject
* obj1
= 0 ;
2880 PyObject
* obj2
= 0 ;
2881 PyObject
* obj3
= 0 ;
2882 PyObject
* obj4
= 0 ;
2883 PyObject
* obj5
= 0 ;
2884 PyObject
* obj6
= 0 ;
2886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2891 if (SWIG_arg_fail(1)) SWIG_fail
;
2892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2893 if (SWIG_arg_fail(2)) SWIG_fail
;
2896 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
2897 if (SWIG_arg_fail(3)) SWIG_fail
;
2903 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2909 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2914 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2915 if (SWIG_arg_fail(6)) SWIG_fail
;
2920 arg7
= wxString_in_helper(obj6
);
2921 if (arg7
== NULL
) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2949 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
= NULL
;
2951 wxPanel
*arg1
= (wxPanel
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2954 (char *) "self", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2959 if (SWIG_arg_fail(1)) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 (arg1
)->InitDialog();
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2967 Py_INCREF(Py_None
); resultobj
= Py_None
;
2974 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
= NULL
;
2976 wxPanel
*arg1
= (wxPanel
*) 0 ;
2977 PyObject
* obj0
= 0 ;
2979 (char *) "self", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2992 Py_INCREF(Py_None
); resultobj
= Py_None
;
2999 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
*resultobj
= NULL
;
3001 wxPanel
*arg1
= (wxPanel
*) 0 ;
3002 PyObject
* obj0
= 0 ;
3004 (char *) "self", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
3008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
3009 if (SWIG_arg_fail(1)) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 (arg1
)->SetFocusIgnoringChildren();
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3017 Py_INCREF(Py_None
); resultobj
= Py_None
;
3024 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
= NULL
;
3026 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3027 wxVisualAttributes result
;
3028 PyObject
* obj0
= 0 ;
3030 (char *) "variant", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3036 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3037 if (SWIG_arg_fail(1)) SWIG_fail
;
3041 if (!wxPyCheckForApp()) SWIG_fail
;
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3049 wxVisualAttributes
* resultptr
;
3050 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3059 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
3061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3062 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
3064 return Py_BuildValue((char *)"");
3066 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
= NULL
;
3068 wxWindow
*arg1
= (wxWindow
*) 0 ;
3069 int arg2
= (int) (int)-1 ;
3070 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3071 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3072 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3073 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3074 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3075 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3076 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3077 wxScrolledWindow
*result
;
3080 bool temp6
= false ;
3081 PyObject
* obj0
= 0 ;
3082 PyObject
* obj1
= 0 ;
3083 PyObject
* obj2
= 0 ;
3084 PyObject
* obj3
= 0 ;
3085 PyObject
* obj4
= 0 ;
3086 PyObject
* obj5
= 0 ;
3088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3093 if (SWIG_arg_fail(1)) SWIG_fail
;
3096 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
3097 if (SWIG_arg_fail(2)) SWIG_fail
;
3103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3109 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3114 arg5
= static_cast<long >(SWIG_As_long(obj4
));
3115 if (SWIG_arg_fail(5)) SWIG_fail
;
3120 arg6
= wxString_in_helper(obj5
);
3121 if (arg6
== NULL
) SWIG_fail
;
3126 if (!wxPyCheckForApp()) SWIG_fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3148 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
= NULL
;
3150 wxScrolledWindow
*result
;
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
3157 if (!wxPyCheckForApp()) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 result
= (wxScrolledWindow
*)new wxScrolledWindow();
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3171 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
= NULL
;
3173 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3174 wxWindow
*arg2
= (wxWindow
*) 0 ;
3175 int arg3
= (int) (int)-1 ;
3176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3180 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3181 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3182 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3186 bool temp7
= false ;
3187 PyObject
* obj0
= 0 ;
3188 PyObject
* obj1
= 0 ;
3189 PyObject
* obj2
= 0 ;
3190 PyObject
* obj3
= 0 ;
3191 PyObject
* obj4
= 0 ;
3192 PyObject
* obj5
= 0 ;
3193 PyObject
* obj6
= 0 ;
3195 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail
;
3201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3202 if (SWIG_arg_fail(2)) SWIG_fail
;
3205 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
3206 if (SWIG_arg_fail(3)) SWIG_fail
;
3212 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3218 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3223 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3224 if (SWIG_arg_fail(6)) SWIG_fail
;
3229 arg7
= wxString_in_helper(obj6
);
3230 if (arg7
== NULL
) SWIG_fail
;
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3258 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
= NULL
;
3260 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3265 int arg6
= (int) 0 ;
3266 int arg7
= (int) 0 ;
3267 bool arg8
= (bool) false ;
3268 PyObject
* obj0
= 0 ;
3269 PyObject
* obj1
= 0 ;
3270 PyObject
* obj2
= 0 ;
3271 PyObject
* obj3
= 0 ;
3272 PyObject
* obj4
= 0 ;
3273 PyObject
* obj5
= 0 ;
3274 PyObject
* obj6
= 0 ;
3275 PyObject
* obj7
= 0 ;
3277 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail
;
3284 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3285 if (SWIG_arg_fail(2)) SWIG_fail
;
3288 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3289 if (SWIG_arg_fail(3)) SWIG_fail
;
3292 arg4
= static_cast<int >(SWIG_As_int(obj3
));
3293 if (SWIG_arg_fail(4)) SWIG_fail
;
3296 arg5
= static_cast<int >(SWIG_As_int(obj4
));
3297 if (SWIG_arg_fail(5)) SWIG_fail
;
3301 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3302 if (SWIG_arg_fail(6)) SWIG_fail
;
3307 arg7
= static_cast<int >(SWIG_As_int(obj6
));
3308 if (SWIG_arg_fail(7)) SWIG_fail
;
3313 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
3314 if (SWIG_arg_fail(8)) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 Py_INCREF(Py_None
); resultobj
= Py_None
;
3331 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
= NULL
;
3333 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3338 PyObject
* obj2
= 0 ;
3340 (char *) "self",(char *) "x",(char *) "y", NULL
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3345 if (SWIG_arg_fail(1)) SWIG_fail
;
3347 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3348 if (SWIG_arg_fail(2)) SWIG_fail
;
3351 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3352 if (SWIG_arg_fail(3)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 (arg1
)->Scroll(arg2
,arg3
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 Py_INCREF(Py_None
); resultobj
= Py_None
;
3368 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
= NULL
;
3370 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3373 PyObject
* obj0
= 0 ;
3374 PyObject
* obj1
= 0 ;
3376 (char *) "self",(char *) "orient", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3381 if (SWIG_arg_fail(1)) SWIG_fail
;
3383 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3384 if (SWIG_arg_fail(2)) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3394 resultobj
= SWIG_From_int(static_cast<int >(result
));
3402 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
= NULL
;
3404 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3407 PyObject
* obj0
= 0 ;
3408 PyObject
* obj1
= 0 ;
3409 PyObject
* obj2
= 0 ;
3411 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3416 if (SWIG_arg_fail(1)) SWIG_fail
;
3418 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3419 if (SWIG_arg_fail(2)) SWIG_fail
;
3422 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3423 if (SWIG_arg_fail(3)) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3432 Py_INCREF(Py_None
); resultobj
= Py_None
;
3439 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
= NULL
;
3441 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3444 PyObject
* obj0
= 0 ;
3445 PyObject
* obj1
= 0 ;
3446 PyObject
* obj2
= 0 ;
3448 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3453 if (SWIG_arg_fail(1)) SWIG_fail
;
3455 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3456 if (SWIG_arg_fail(2)) SWIG_fail
;
3459 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3460 if (SWIG_arg_fail(3)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 (arg1
)->SetScrollRate(arg2
,arg3
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 Py_INCREF(Py_None
); resultobj
= Py_None
;
3476 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
= NULL
;
3478 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3479 int *arg2
= (int *) 0 ;
3480 int *arg3
= (int *) 0 ;
3485 PyObject
* obj0
= 0 ;
3487 (char *) "self", NULL
3490 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3491 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3494 if (SWIG_arg_fail(1)) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 Py_INCREF(Py_None
); resultobj
= Py_None
;
3503 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3504 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3505 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3506 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3513 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
= NULL
;
3515 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3520 PyObject
* obj2
= 0 ;
3522 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3527 if (SWIG_arg_fail(1)) SWIG_fail
;
3529 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3530 if (SWIG_arg_fail(2)) SWIG_fail
;
3533 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
3534 if (SWIG_arg_fail(3)) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 (arg1
)->EnableScrolling(arg2
,arg3
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 Py_INCREF(Py_None
); resultobj
= Py_None
;
3550 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
= NULL
;
3552 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3553 int *arg2
= (int *) 0 ;
3554 int *arg3
= (int *) 0 ;
3559 PyObject
* obj0
= 0 ;
3561 (char *) "self", NULL
3564 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3565 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 Py_INCREF(Py_None
); resultobj
= Py_None
;
3577 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3578 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3579 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3580 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3587 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
= NULL
;
3589 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3593 PyObject
* obj1
= 0 ;
3594 PyObject
* obj2
= 0 ;
3596 (char *) "self",(char *) "xs",(char *) "ys", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail
;
3603 arg2
= static_cast<double >(SWIG_As_double(obj1
));
3604 if (SWIG_arg_fail(2)) SWIG_fail
;
3607 arg3
= static_cast<double >(SWIG_As_double(obj2
));
3608 if (SWIG_arg_fail(3)) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 (arg1
)->SetScale(arg2
,arg3
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 Py_INCREF(Py_None
); resultobj
= Py_None
;
3624 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
= NULL
;
3626 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3628 PyObject
* obj0
= 0 ;
3630 (char *) "self", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3635 if (SWIG_arg_fail(1)) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3644 resultobj
= SWIG_From_double(static_cast<double >(result
));
3652 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
= NULL
;
3654 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3656 PyObject
* obj0
= 0 ;
3658 (char *) "self", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3663 if (SWIG_arg_fail(1)) SWIG_fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_From_double(static_cast<double >(result
));
3680 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3681 PyObject
*resultobj
= NULL
;
3682 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3686 PyObject
* obj0
= 0 ;
3687 PyObject
* obj1
= 0 ;
3689 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3691 if (SWIG_arg_fail(1)) SWIG_fail
;
3694 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3704 wxPoint
* resultptr
;
3705 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3714 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3715 PyObject
*resultobj
= NULL
;
3716 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3719 int *arg4
= (int *) 0 ;
3720 int *arg5
= (int *) 0 ;
3725 PyObject
* obj0
= 0 ;
3726 PyObject
* obj1
= 0 ;
3727 PyObject
* obj2
= 0 ;
3729 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3730 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3731 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3733 if (SWIG_arg_fail(1)) SWIG_fail
;
3735 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3736 if (SWIG_arg_fail(2)) SWIG_fail
;
3739 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3740 if (SWIG_arg_fail(3)) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 Py_INCREF(Py_None
); resultobj
= Py_None
;
3750 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3751 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3752 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3753 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3760 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3765 argc
= PyObject_Length(args
);
3766 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3767 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3773 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3782 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3785 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3793 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3801 _v
= SWIG_Check_int(argv
[1]);
3803 _v
= SWIG_Check_int(argv
[2]);
3805 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3811 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3816 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3817 PyObject
*resultobj
= NULL
;
3818 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3823 PyObject
* obj1
= 0 ;
3825 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3827 if (SWIG_arg_fail(1)) SWIG_fail
;
3830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3840 wxPoint
* resultptr
;
3841 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3850 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3851 PyObject
*resultobj
= NULL
;
3852 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3855 int *arg4
= (int *) 0 ;
3856 int *arg5
= (int *) 0 ;
3861 PyObject
* obj0
= 0 ;
3862 PyObject
* obj1
= 0 ;
3863 PyObject
* obj2
= 0 ;
3865 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3866 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3867 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3869 if (SWIG_arg_fail(1)) SWIG_fail
;
3871 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3872 if (SWIG_arg_fail(2)) SWIG_fail
;
3875 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3876 if (SWIG_arg_fail(3)) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 Py_INCREF(Py_None
); resultobj
= Py_None
;
3886 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3887 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3888 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3889 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3896 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3901 argc
= PyObject_Length(args
);
3902 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3903 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3909 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3918 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3921 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3929 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3937 _v
= SWIG_Check_int(argv
[1]);
3939 _v
= SWIG_Check_int(argv
[2]);
3941 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3947 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3952 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
= NULL
;
3954 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3955 PyObject
* obj0
= 0 ;
3957 (char *) "self", NULL
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3962 if (SWIG_arg_fail(1)) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 (arg1
)->AdjustScrollbars();
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 Py_INCREF(Py_None
); resultobj
= Py_None
;
3977 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
*resultobj
= NULL
;
3979 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3980 wxScrollWinEvent
*arg2
= 0 ;
3982 PyObject
* obj0
= 0 ;
3983 PyObject
* obj1
= 0 ;
3985 (char *) "self",(char *) "event", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail
;
3992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3993 if (SWIG_arg_fail(2)) SWIG_fail
;
3995 SWIG_null_ref("wxScrollWinEvent");
3997 if (SWIG_arg_fail(2)) SWIG_fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= SWIG_From_int(static_cast<int >(result
));
4015 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
= NULL
;
4017 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4018 wxWindow
*arg2
= (wxWindow
*) 0 ;
4019 PyObject
* obj0
= 0 ;
4020 PyObject
* obj1
= 0 ;
4022 (char *) "self",(char *) "target", NULL
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
4026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail
;
4028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4029 if (SWIG_arg_fail(2)) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 (arg1
)->SetTargetWindow(arg2
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 Py_INCREF(Py_None
); resultobj
= Py_None
;
4044 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
= NULL
;
4046 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4048 PyObject
* obj0
= 0 ;
4050 (char *) "self", NULL
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
4054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4055 if (SWIG_arg_fail(1)) SWIG_fail
;
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= wxPyMake_wxObject(result
, 0);
4072 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
= NULL
;
4074 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4076 PyObject
* obj0
= 0 ;
4077 PyObject
* obj1
= 0 ;
4079 (char *) "self",(char *) "dc", NULL
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
4083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4084 if (SWIG_arg_fail(1)) SWIG_fail
;
4086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4087 if (SWIG_arg_fail(2)) SWIG_fail
;
4089 SWIG_null_ref("wxDC");
4091 if (SWIG_arg_fail(2)) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 (arg1
)->DoPrepareDC(*arg2
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 Py_INCREF(Py_None
); resultobj
= Py_None
;
4107 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
= NULL
;
4109 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4110 wxVisualAttributes result
;
4111 PyObject
* obj0
= 0 ;
4113 (char *) "variant", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4119 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4120 if (SWIG_arg_fail(1)) SWIG_fail
;
4124 if (!wxPyCheckForApp()) SWIG_fail
;
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4132 wxVisualAttributes
* resultptr
;
4133 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4142 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4145 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4147 return Py_BuildValue((char *)"");
4149 static int _wrap_FrameNameStr_set(PyObject
*) {
4150 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4155 static PyObject
*_wrap_FrameNameStr_get(void) {
4156 PyObject
*pyobj
= NULL
;
4160 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4162 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4169 static int _wrap_DialogNameStr_set(PyObject
*) {
4170 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4175 static PyObject
*_wrap_DialogNameStr_get(void) {
4176 PyObject
*pyobj
= NULL
;
4180 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4182 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4189 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4190 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4195 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4196 PyObject
*pyobj
= NULL
;
4200 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4202 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4209 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4210 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4215 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4216 PyObject
*pyobj
= NULL
;
4220 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4222 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4229 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
= NULL
;
4231 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4232 bool arg2
= (bool) true ;
4233 PyObject
* obj0
= 0 ;
4234 PyObject
* obj1
= 0 ;
4236 (char *) "self",(char *) "maximize", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4241 if (SWIG_arg_fail(1)) SWIG_fail
;
4244 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4245 if (SWIG_arg_fail(2)) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 (arg1
)->Maximize(arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 Py_INCREF(Py_None
); resultobj
= Py_None
;
4262 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
= NULL
;
4264 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4272 if (SWIG_arg_fail(1)) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 Py_INCREF(Py_None
); resultobj
= Py_None
;
4287 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
= NULL
;
4289 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4290 bool arg2
= (bool) true ;
4291 PyObject
* obj0
= 0 ;
4292 PyObject
* obj1
= 0 ;
4294 (char *) "self",(char *) "iconize", NULL
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4299 if (SWIG_arg_fail(1)) SWIG_fail
;
4302 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4303 if (SWIG_arg_fail(2)) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 (arg1
)->Iconize(arg2
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 Py_INCREF(Py_None
); resultobj
= Py_None
;
4320 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
= NULL
;
4322 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4326 (char *) "self", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4331 if (SWIG_arg_fail(1)) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4348 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
= NULL
;
4350 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4352 PyObject
* obj0
= 0 ;
4354 (char *) "self", NULL
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4359 if (SWIG_arg_fail(1)) SWIG_fail
;
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4376 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
= NULL
;
4378 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4380 PyObject
* obj0
= 0 ;
4382 (char *) "self", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4387 if (SWIG_arg_fail(1)) SWIG_fail
;
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4397 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
4398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4406 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
= NULL
;
4408 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4413 (char *) "self",(char *) "icon", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail
;
4420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4421 if (SWIG_arg_fail(2)) SWIG_fail
;
4423 SWIG_null_ref("wxIcon");
4425 if (SWIG_arg_fail(2)) SWIG_fail
;
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 Py_INCREF(Py_None
); resultobj
= Py_None
;
4441 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
= NULL
;
4443 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4444 wxIconBundle
*arg2
= 0 ;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4448 (char *) "self",(char *) "icons", NULL
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4453 if (SWIG_arg_fail(1)) SWIG_fail
;
4455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4456 if (SWIG_arg_fail(2)) SWIG_fail
;
4458 SWIG_null_ref("wxIconBundle");
4460 if (SWIG_arg_fail(2)) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 Py_INCREF(Py_None
); resultobj
= Py_None
;
4476 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
= NULL
;
4478 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4480 long arg3
= (long) wxFULLSCREEN_ALL
;
4482 PyObject
* obj0
= 0 ;
4483 PyObject
* obj1
= 0 ;
4484 PyObject
* obj2
= 0 ;
4486 (char *) "self",(char *) "show",(char *) "style", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail
;
4493 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4494 if (SWIG_arg_fail(2)) SWIG_fail
;
4498 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4499 if (SWIG_arg_fail(3)) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4504 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4518 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
*resultobj
= NULL
;
4520 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4522 PyObject
* obj0
= 0 ;
4524 (char *) "self", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4529 if (SWIG_arg_fail(1)) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4546 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
= NULL
;
4548 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4549 wxString
*arg2
= 0 ;
4550 bool temp2
= false ;
4551 PyObject
* obj0
= 0 ;
4552 PyObject
* obj1
= 0 ;
4554 (char *) "self",(char *) "title", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4559 if (SWIG_arg_fail(1)) SWIG_fail
;
4561 arg2
= wxString_in_helper(obj1
);
4562 if (arg2
== NULL
) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 (arg1
)->SetTitle((wxString
const &)*arg2
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4587 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
*resultobj
= NULL
;
4589 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4591 PyObject
* obj0
= 0 ;
4593 (char *) "self", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4598 if (SWIG_arg_fail(1)) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4619 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
= NULL
;
4621 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4622 wxRegion
*arg2
= 0 ;
4624 PyObject
* obj0
= 0 ;
4625 PyObject
* obj1
= 0 ;
4627 (char *) "self",(char *) "region", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4632 if (SWIG_arg_fail(1)) SWIG_fail
;
4634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4635 if (SWIG_arg_fail(2)) SWIG_fail
;
4637 SWIG_null_ref("wxRegion");
4639 if (SWIG_arg_fail(2)) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4657 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
= NULL
;
4659 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4660 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4664 (char *) "self",(char *) "flags", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail
;
4672 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4673 if (SWIG_arg_fail(2)) SWIG_fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 (arg1
)->RequestUserAttention(arg2
);
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 Py_INCREF(Py_None
); resultobj
= Py_None
;
4690 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
= NULL
;
4692 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4694 PyObject
* obj0
= 0 ;
4696 (char *) "self", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4701 if (SWIG_arg_fail(1)) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (bool)(arg1
)->IsActive();
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4718 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
= NULL
;
4720 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4723 PyObject
* obj1
= 0 ;
4725 (char *) "self",(char *) "on", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail
;
4732 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4733 if (SWIG_arg_fail(2)) SWIG_fail
;
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) SWIG_fail
;
4742 Py_INCREF(Py_None
); resultobj
= Py_None
;
4749 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
= NULL
;
4751 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4753 PyObject
* obj0
= 0 ;
4755 (char *) "self", NULL
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4760 if (SWIG_arg_fail(1)) SWIG_fail
;
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4765 wxPyEndAllowThreads(__tstate
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4777 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4780 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4782 return Py_BuildValue((char *)"");
4784 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
= NULL
;
4786 wxWindow
*arg1
= (wxWindow
*) 0 ;
4787 int arg2
= (int) (int)-1 ;
4788 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4789 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4790 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4791 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4792 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4793 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4794 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4795 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4796 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4798 bool temp3
= false ;
4801 bool temp7
= false ;
4802 PyObject
* obj0
= 0 ;
4803 PyObject
* obj1
= 0 ;
4804 PyObject
* obj2
= 0 ;
4805 PyObject
* obj3
= 0 ;
4806 PyObject
* obj4
= 0 ;
4807 PyObject
* obj5
= 0 ;
4808 PyObject
* obj6
= 0 ;
4810 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4815 if (SWIG_arg_fail(1)) SWIG_fail
;
4818 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
4819 if (SWIG_arg_fail(2)) SWIG_fail
;
4824 arg3
= wxString_in_helper(obj2
);
4825 if (arg3
== NULL
) SWIG_fail
;
4832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4843 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4844 if (SWIG_arg_fail(6)) SWIG_fail
;
4849 arg7
= wxString_in_helper(obj6
);
4850 if (arg7
== NULL
) SWIG_fail
;
4855 if (!wxPyCheckForApp()) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4885 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
= NULL
;
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4894 if (!wxPyCheckForApp()) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (wxFrame
*)new wxFrame();
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4908 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
= NULL
;
4910 wxFrame
*arg1
= (wxFrame
*) 0 ;
4911 wxWindow
*arg2
= (wxWindow
*) 0 ;
4912 int arg3
= (int) (int)-1 ;
4913 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4914 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4915 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4916 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4917 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4918 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4919 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4920 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4921 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4923 bool temp4
= false ;
4926 bool temp8
= false ;
4927 PyObject
* obj0
= 0 ;
4928 PyObject
* obj1
= 0 ;
4929 PyObject
* obj2
= 0 ;
4930 PyObject
* obj3
= 0 ;
4931 PyObject
* obj4
= 0 ;
4932 PyObject
* obj5
= 0 ;
4933 PyObject
* obj6
= 0 ;
4934 PyObject
* obj7
= 0 ;
4936 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4941 if (SWIG_arg_fail(1)) SWIG_fail
;
4942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4943 if (SWIG_arg_fail(2)) SWIG_fail
;
4946 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
4947 if (SWIG_arg_fail(3)) SWIG_fail
;
4952 arg4
= wxString_in_helper(obj3
);
4953 if (arg4
== NULL
) SWIG_fail
;
4960 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4966 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4971 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4972 if (SWIG_arg_fail(7)) SWIG_fail
;
4977 arg8
= wxString_in_helper(obj7
);
4978 if (arg8
== NULL
) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5014 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
= NULL
;
5016 wxFrame
*arg1
= (wxFrame
*) 0 ;
5018 PyObject
* obj0
= 0 ;
5020 (char *) "self", NULL
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
5024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5025 if (SWIG_arg_fail(1)) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5034 wxPoint
* resultptr
;
5035 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5044 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
= NULL
;
5046 wxFrame
*arg1
= (wxFrame
*) 0 ;
5047 PyObject
* obj0
= 0 ;
5049 (char *) "self", NULL
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
5053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5054 if (SWIG_arg_fail(1)) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 (arg1
)->SendSizeEvent();
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 Py_INCREF(Py_None
); resultobj
= Py_None
;
5069 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
= NULL
;
5071 wxFrame
*arg1
= (wxFrame
*) 0 ;
5072 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5076 (char *) "self",(char *) "menubar", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5081 if (SWIG_arg_fail(1)) SWIG_fail
;
5082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
5083 if (SWIG_arg_fail(2)) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 (arg1
)->SetMenuBar(arg2
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 Py_INCREF(Py_None
); resultobj
= Py_None
;
5098 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5099 PyObject
*resultobj
= NULL
;
5100 wxFrame
*arg1
= (wxFrame
*) 0 ;
5102 PyObject
* obj0
= 0 ;
5104 (char *) "self", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
5108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5109 if (SWIG_arg_fail(1)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= wxPyMake_wxObject(result
, 0);
5126 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
= NULL
;
5128 wxFrame
*arg1
= (wxFrame
*) 0 ;
5131 PyObject
* obj0
= 0 ;
5132 PyObject
* obj1
= 0 ;
5134 (char *) "self",(char *) "winid", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5139 if (SWIG_arg_fail(1)) SWIG_fail
;
5141 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5142 if (SWIG_arg_fail(2)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5160 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
= NULL
;
5162 wxFrame
*arg1
= (wxFrame
*) 0 ;
5163 int arg2
= (int) 1 ;
5164 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5165 int arg4
= (int) 0 ;
5166 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5167 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5168 wxStatusBar
*result
;
5169 bool temp5
= false ;
5170 PyObject
* obj0
= 0 ;
5171 PyObject
* obj1
= 0 ;
5172 PyObject
* obj2
= 0 ;
5173 PyObject
* obj3
= 0 ;
5174 PyObject
* obj4
= 0 ;
5176 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail
;
5184 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5185 if (SWIG_arg_fail(2)) SWIG_fail
;
5190 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5191 if (SWIG_arg_fail(3)) SWIG_fail
;
5196 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5197 if (SWIG_arg_fail(4)) SWIG_fail
;
5202 arg5
= wxString_in_helper(obj4
);
5203 if (arg5
== NULL
) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5231 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
= NULL
;
5233 wxFrame
*arg1
= (wxFrame
*) 0 ;
5234 wxStatusBar
*result
;
5235 PyObject
* obj0
= 0 ;
5237 (char *) "self", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5242 if (SWIG_arg_fail(1)) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5259 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
= NULL
;
5261 wxFrame
*arg1
= (wxFrame
*) 0 ;
5262 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5264 PyObject
* obj1
= 0 ;
5266 (char *) "self",(char *) "statBar", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5271 if (SWIG_arg_fail(1)) SWIG_fail
;
5272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5273 if (SWIG_arg_fail(2)) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 (arg1
)->SetStatusBar(arg2
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 Py_INCREF(Py_None
); resultobj
= Py_None
;
5288 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
= NULL
;
5290 wxFrame
*arg1
= (wxFrame
*) 0 ;
5291 wxString
*arg2
= 0 ;
5292 int arg3
= (int) 0 ;
5293 bool temp2
= false ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5296 PyObject
* obj2
= 0 ;
5298 (char *) "self",(char *) "text",(char *) "number", NULL
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5303 if (SWIG_arg_fail(1)) SWIG_fail
;
5305 arg2
= wxString_in_helper(obj1
);
5306 if (arg2
== NULL
) SWIG_fail
;
5311 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5312 if (SWIG_arg_fail(3)) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 Py_INCREF(Py_None
); resultobj
= Py_None
;
5337 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
= NULL
;
5339 wxFrame
*arg1
= (wxFrame
*) 0 ;
5341 int *arg3
= (int *) 0 ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5345 (char *) "self",(char *) "widths", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5350 if (SWIG_arg_fail(1)) SWIG_fail
;
5352 arg2
= PyList_Size(obj1
);
5353 arg3
= int_LIST_helper(obj1
);
5354 if (arg3
== NULL
) SWIG_fail
;
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 Py_INCREF(Py_None
); resultobj
= Py_None
;
5365 if (arg3
) delete [] arg3
;
5370 if (arg3
) delete [] arg3
;
5376 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
= NULL
;
5378 wxFrame
*arg1
= (wxFrame
*) 0 ;
5379 wxString
*arg2
= 0 ;
5380 int arg3
= (int) 0 ;
5381 bool temp2
= false ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5384 PyObject
* obj2
= 0 ;
5386 (char *) "self",(char *) "text",(char *) "number", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5391 if (SWIG_arg_fail(1)) SWIG_fail
;
5393 arg2
= wxString_in_helper(obj1
);
5394 if (arg2
== NULL
) SWIG_fail
;
5399 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5400 if (SWIG_arg_fail(3)) SWIG_fail
;
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 Py_INCREF(Py_None
); resultobj
= Py_None
;
5425 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
= NULL
;
5427 wxFrame
*arg1
= (wxFrame
*) 0 ;
5428 int arg2
= (int) 0 ;
5429 PyObject
* obj0
= 0 ;
5430 PyObject
* obj1
= 0 ;
5432 (char *) "self",(char *) "number", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail
;
5440 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5441 if (SWIG_arg_fail(2)) SWIG_fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 (arg1
)->PopStatusText(arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5451 Py_INCREF(Py_None
); resultobj
= Py_None
;
5458 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
*resultobj
= NULL
;
5460 wxFrame
*arg1
= (wxFrame
*) 0 ;
5462 PyObject
* obj0
= 0 ;
5463 PyObject
* obj1
= 0 ;
5465 (char *) "self",(char *) "n", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail
;
5472 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5473 if (SWIG_arg_fail(2)) SWIG_fail
;
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 (arg1
)->SetStatusBarPane(arg2
);
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 Py_INCREF(Py_None
); resultobj
= Py_None
;
5489 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
= NULL
;
5491 wxFrame
*arg1
= (wxFrame
*) 0 ;
5493 PyObject
* obj0
= 0 ;
5495 (char *) "self", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5500 if (SWIG_arg_fail(1)) SWIG_fail
;
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= SWIG_From_int(static_cast<int >(result
));
5517 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
= NULL
;
5519 wxFrame
*arg1
= (wxFrame
*) 0 ;
5520 long arg2
= (long) -1 ;
5521 int arg3
= (int) -1 ;
5522 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5523 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5525 bool temp4
= false ;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5528 PyObject
* obj2
= 0 ;
5529 PyObject
* obj3
= 0 ;
5531 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5536 if (SWIG_arg_fail(1)) SWIG_fail
;
5539 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5540 if (SWIG_arg_fail(2)) SWIG_fail
;
5545 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5546 if (SWIG_arg_fail(3)) SWIG_fail
;
5551 arg4
= wxString_in_helper(obj3
);
5552 if (arg4
== NULL
) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5580 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
= NULL
;
5582 wxFrame
*arg1
= (wxFrame
*) 0 ;
5584 PyObject
* obj0
= 0 ;
5586 (char *) "self", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5591 if (SWIG_arg_fail(1)) SWIG_fail
;
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5596 wxPyEndAllowThreads(__tstate
);
5597 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5608 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
= NULL
;
5610 wxFrame
*arg1
= (wxFrame
*) 0 ;
5611 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5615 (char *) "self",(char *) "toolbar", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5620 if (SWIG_arg_fail(1)) SWIG_fail
;
5621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5622 if (SWIG_arg_fail(2)) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 (arg1
)->SetToolBar(arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 Py_INCREF(Py_None
); resultobj
= Py_None
;
5637 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
= NULL
;
5639 wxFrame
*arg1
= (wxFrame
*) 0 ;
5640 wxString
*arg2
= 0 ;
5642 bool temp2
= false ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5645 PyObject
* obj2
= 0 ;
5647 (char *) "self",(char *) "text",(char *) "show", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5652 if (SWIG_arg_fail(1)) SWIG_fail
;
5654 arg2
= wxString_in_helper(obj1
);
5655 if (arg2
== NULL
) SWIG_fail
;
5659 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
5660 if (SWIG_arg_fail(3)) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5684 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
= NULL
;
5686 wxFrame
*arg1
= (wxFrame
*) 0 ;
5687 wxMenu
*arg2
= (wxMenu
*) NULL
;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5691 (char *) "self",(char *) "menu", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5696 if (SWIG_arg_fail(1)) SWIG_fail
;
5698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5699 if (SWIG_arg_fail(2)) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 (arg1
)->DoMenuUpdates(arg2
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 Py_INCREF(Py_None
); resultobj
= Py_None
;
5715 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
= NULL
;
5717 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5718 wxVisualAttributes result
;
5719 PyObject
* obj0
= 0 ;
5721 (char *) "variant", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5727 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5728 if (SWIG_arg_fail(1)) SWIG_fail
;
5732 if (!wxPyCheckForApp()) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= wxFrame::GetClassDefaultAttributes(arg1
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5740 wxVisualAttributes
* resultptr
;
5741 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5750 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5753 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5755 return Py_BuildValue((char *)"");
5757 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
*resultobj
= NULL
;
5759 wxWindow
*arg1
= (wxWindow
*) 0 ;
5760 int arg2
= (int) (int)-1 ;
5761 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5762 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5763 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5764 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5765 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5766 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5767 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5768 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5769 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5771 bool temp3
= false ;
5774 bool temp7
= false ;
5775 PyObject
* obj0
= 0 ;
5776 PyObject
* obj1
= 0 ;
5777 PyObject
* obj2
= 0 ;
5778 PyObject
* obj3
= 0 ;
5779 PyObject
* obj4
= 0 ;
5780 PyObject
* obj5
= 0 ;
5781 PyObject
* obj6
= 0 ;
5783 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5788 if (SWIG_arg_fail(1)) SWIG_fail
;
5791 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
5792 if (SWIG_arg_fail(2)) SWIG_fail
;
5797 arg3
= wxString_in_helper(obj2
);
5798 if (arg3
== NULL
) SWIG_fail
;
5805 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5811 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5816 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5817 if (SWIG_arg_fail(6)) SWIG_fail
;
5822 arg7
= wxString_in_helper(obj6
);
5823 if (arg7
== NULL
) SWIG_fail
;
5828 if (!wxPyCheckForApp()) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5858 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
= NULL
;
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5867 if (!wxPyCheckForApp()) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (wxDialog
*)new wxDialog();
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5881 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
= NULL
;
5883 wxDialog
*arg1
= (wxDialog
*) 0 ;
5884 wxWindow
*arg2
= (wxWindow
*) 0 ;
5885 int arg3
= (int) (int)-1 ;
5886 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5887 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5888 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5889 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5890 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5891 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5892 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5893 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5894 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5896 bool temp4
= false ;
5899 bool temp8
= false ;
5900 PyObject
* obj0
= 0 ;
5901 PyObject
* obj1
= 0 ;
5902 PyObject
* obj2
= 0 ;
5903 PyObject
* obj3
= 0 ;
5904 PyObject
* obj4
= 0 ;
5905 PyObject
* obj5
= 0 ;
5906 PyObject
* obj6
= 0 ;
5907 PyObject
* obj7
= 0 ;
5909 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5914 if (SWIG_arg_fail(1)) SWIG_fail
;
5915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5916 if (SWIG_arg_fail(2)) SWIG_fail
;
5919 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5920 if (SWIG_arg_fail(3)) SWIG_fail
;
5925 arg4
= wxString_in_helper(obj3
);
5926 if (arg4
== NULL
) SWIG_fail
;
5933 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5939 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5944 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5945 if (SWIG_arg_fail(7)) SWIG_fail
;
5950 arg8
= wxString_in_helper(obj7
);
5951 if (arg8
== NULL
) SWIG_fail
;
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5987 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
= NULL
;
5989 wxDialog
*arg1
= (wxDialog
*) 0 ;
5991 PyObject
* obj0
= 0 ;
5992 PyObject
* obj1
= 0 ;
5994 (char *) "self",(char *) "returnCode", NULL
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5999 if (SWIG_arg_fail(1)) SWIG_fail
;
6001 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6002 if (SWIG_arg_fail(2)) SWIG_fail
;
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 (arg1
)->SetReturnCode(arg2
);
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 Py_INCREF(Py_None
); resultobj
= Py_None
;
6018 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
= NULL
;
6020 wxDialog
*arg1
= (wxDialog
*) 0 ;
6022 PyObject
* obj0
= 0 ;
6024 (char *) "self", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
6028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6029 if (SWIG_arg_fail(1)) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6038 resultobj
= SWIG_From_int(static_cast<int >(result
));
6046 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
= NULL
;
6048 wxDialog
*arg1
= (wxDialog
*) 0 ;
6049 wxString
*arg2
= 0 ;
6051 bool temp2
= false ;
6052 PyObject
* obj0
= 0 ;
6053 PyObject
* obj1
= 0 ;
6055 (char *) "self",(char *) "message", NULL
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6060 if (SWIG_arg_fail(1)) SWIG_fail
;
6062 arg2
= wxString_in_helper(obj1
);
6063 if (arg2
== NULL
) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6090 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
= NULL
;
6092 wxDialog
*arg1
= (wxDialog
*) 0 ;
6094 bool arg3
= (bool) false ;
6095 int arg4
= (int) 0 ;
6097 PyObject
* obj0
= 0 ;
6098 PyObject
* obj1
= 0 ;
6099 PyObject
* obj2
= 0 ;
6100 PyObject
* obj3
= 0 ;
6102 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6107 if (SWIG_arg_fail(1)) SWIG_fail
;
6109 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6110 if (SWIG_arg_fail(2)) SWIG_fail
;
6114 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
6115 if (SWIG_arg_fail(3)) SWIG_fail
;
6120 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6121 if (SWIG_arg_fail(4)) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6132 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6140 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
= NULL
;
6142 wxDialog
*arg1
= (wxDialog
*) 0 ;
6144 wxStdDialogButtonSizer
*result
;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6148 (char *) "self",(char *) "flags", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6153 if (SWIG_arg_fail(1)) SWIG_fail
;
6155 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6156 if (SWIG_arg_fail(2)) SWIG_fail
;
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6162 wxPyEndAllowThreads(__tstate
);
6163 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6172 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
= NULL
;
6174 wxDialog
*arg1
= (wxDialog
*) 0 ;
6176 PyObject
* obj0
= 0 ;
6178 (char *) "self", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6183 if (SWIG_arg_fail(1)) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6186 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6188 wxPyEndAllowThreads(__tstate
);
6189 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6200 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
= NULL
;
6202 wxDialog
*arg1
= (wxDialog
*) 0 ;
6204 PyObject
* obj0
= 0 ;
6206 (char *) "self", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6211 if (SWIG_arg_fail(1)) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 result
= (int)(arg1
)->ShowModal();
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_From_int(static_cast<int >(result
));
6228 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
= NULL
;
6230 wxDialog
*arg1
= (wxDialog
*) 0 ;
6232 PyObject
* obj0
= 0 ;
6233 PyObject
* obj1
= 0 ;
6235 (char *) "self",(char *) "retCode", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6240 if (SWIG_arg_fail(1)) SWIG_fail
;
6242 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6243 if (SWIG_arg_fail(2)) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 (arg1
)->EndModal(arg2
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 Py_INCREF(Py_None
); resultobj
= Py_None
;
6259 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
= NULL
;
6261 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6262 wxVisualAttributes result
;
6263 PyObject
* obj0
= 0 ;
6265 (char *) "variant", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6271 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6272 if (SWIG_arg_fail(1)) SWIG_fail
;
6276 if (!wxPyCheckForApp()) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 result
= wxDialog::GetClassDefaultAttributes(arg1
);
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6284 wxVisualAttributes
* resultptr
;
6285 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6294 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6297 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6299 return Py_BuildValue((char *)"");
6301 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
= NULL
;
6303 wxWindow
*arg1
= (wxWindow
*) 0 ;
6304 int arg2
= (int) (int)-1 ;
6305 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6306 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6307 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6308 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6309 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6310 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6311 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6312 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6313 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6314 wxMiniFrame
*result
;
6315 bool temp3
= false ;
6318 bool temp7
= false ;
6319 PyObject
* obj0
= 0 ;
6320 PyObject
* obj1
= 0 ;
6321 PyObject
* obj2
= 0 ;
6322 PyObject
* obj3
= 0 ;
6323 PyObject
* obj4
= 0 ;
6324 PyObject
* obj5
= 0 ;
6325 PyObject
* obj6
= 0 ;
6327 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6332 if (SWIG_arg_fail(1)) SWIG_fail
;
6335 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
6336 if (SWIG_arg_fail(2)) SWIG_fail
;
6341 arg3
= wxString_in_helper(obj2
);
6342 if (arg3
== NULL
) SWIG_fail
;
6349 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6355 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6360 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6361 if (SWIG_arg_fail(6)) SWIG_fail
;
6366 arg7
= wxString_in_helper(obj6
);
6367 if (arg7
== NULL
) SWIG_fail
;
6372 if (!wxPyCheckForApp()) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6402 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
= NULL
;
6404 wxMiniFrame
*result
;
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6411 if (!wxPyCheckForApp()) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 result
= (wxMiniFrame
*)new wxMiniFrame();
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6425 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
= NULL
;
6427 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6428 wxWindow
*arg2
= (wxWindow
*) 0 ;
6429 int arg3
= (int) (int)-1 ;
6430 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6431 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6432 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6433 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6434 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6435 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6436 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6437 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6438 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6440 bool temp4
= false ;
6443 bool temp8
= false ;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6446 PyObject
* obj2
= 0 ;
6447 PyObject
* obj3
= 0 ;
6448 PyObject
* obj4
= 0 ;
6449 PyObject
* obj5
= 0 ;
6450 PyObject
* obj6
= 0 ;
6451 PyObject
* obj7
= 0 ;
6453 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6458 if (SWIG_arg_fail(1)) SWIG_fail
;
6459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6460 if (SWIG_arg_fail(2)) SWIG_fail
;
6463 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
6464 if (SWIG_arg_fail(3)) SWIG_fail
;
6469 arg4
= wxString_in_helper(obj3
);
6470 if (arg4
== NULL
) SWIG_fail
;
6477 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6483 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6488 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6489 if (SWIG_arg_fail(7)) SWIG_fail
;
6494 arg8
= wxString_in_helper(obj7
);
6495 if (arg8
== NULL
) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6531 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6534 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6536 return Py_BuildValue((char *)"");
6538 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
= NULL
;
6540 wxBitmap
*arg1
= 0 ;
6541 wxWindow
*arg2
= (wxWindow
*) 0 ;
6543 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6544 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6545 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6546 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6547 long arg6
= (long) wxNO_BORDER
;
6548 wxSplashScreenWindow
*result
;
6551 PyObject
* obj0
= 0 ;
6552 PyObject
* obj1
= 0 ;
6553 PyObject
* obj2
= 0 ;
6554 PyObject
* obj3
= 0 ;
6555 PyObject
* obj4
= 0 ;
6556 PyObject
* obj5
= 0 ;
6558 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6564 if (SWIG_arg_fail(1)) SWIG_fail
;
6566 SWIG_null_ref("wxBitmap");
6568 if (SWIG_arg_fail(1)) SWIG_fail
;
6570 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6571 if (SWIG_arg_fail(2)) SWIG_fail
;
6573 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6574 if (SWIG_arg_fail(3)) SWIG_fail
;
6579 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6585 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6590 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6591 if (SWIG_arg_fail(6)) SWIG_fail
;
6595 if (!wxPyCheckForApp()) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6609 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
= NULL
;
6611 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6612 wxBitmap
*arg2
= 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 (char *) "self",(char *) "bitmap", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6621 if (SWIG_arg_fail(1)) SWIG_fail
;
6623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6624 if (SWIG_arg_fail(2)) SWIG_fail
;
6626 SWIG_null_ref("wxBitmap");
6628 if (SWIG_arg_fail(2)) SWIG_fail
;
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 Py_INCREF(Py_None
); resultobj
= Py_None
;
6644 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
= NULL
;
6646 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6648 PyObject
* obj0
= 0 ;
6650 (char *) "self", NULL
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6655 if (SWIG_arg_fail(1)) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6660 result
= (wxBitmap
*) &_result_ref
;
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 wxBitmap
* resultptr
= new wxBitmap(*result
);
6668 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6676 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6679 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6681 return Py_BuildValue((char *)"");
6683 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
= NULL
;
6685 wxBitmap
*arg1
= 0 ;
6688 wxWindow
*arg4
= (wxWindow
*) 0 ;
6689 int arg5
= (int) -1 ;
6690 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6691 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6692 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6693 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6694 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6695 wxSplashScreen
*result
;
6698 PyObject
* obj0
= 0 ;
6699 PyObject
* obj1
= 0 ;
6700 PyObject
* obj2
= 0 ;
6701 PyObject
* obj3
= 0 ;
6702 PyObject
* obj4
= 0 ;
6703 PyObject
* obj5
= 0 ;
6704 PyObject
* obj6
= 0 ;
6705 PyObject
* obj7
= 0 ;
6707 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6713 if (SWIG_arg_fail(1)) SWIG_fail
;
6715 SWIG_null_ref("wxBitmap");
6717 if (SWIG_arg_fail(1)) SWIG_fail
;
6720 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6721 if (SWIG_arg_fail(2)) SWIG_fail
;
6724 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6725 if (SWIG_arg_fail(3)) SWIG_fail
;
6727 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6728 if (SWIG_arg_fail(4)) SWIG_fail
;
6731 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6732 if (SWIG_arg_fail(5)) SWIG_fail
;
6738 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6744 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6749 arg8
= static_cast<long >(SWIG_As_long(obj7
));
6750 if (SWIG_arg_fail(8)) SWIG_fail
;
6754 if (!wxPyCheckForApp()) SWIG_fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6768 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
= NULL
;
6770 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6774 (char *) "self", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6779 if (SWIG_arg_fail(1)) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= SWIG_From_long(static_cast<long >(result
));
6796 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
= NULL
;
6798 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6799 wxSplashScreenWindow
*result
;
6800 PyObject
* obj0
= 0 ;
6802 (char *) "self", NULL
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6807 if (SWIG_arg_fail(1)) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6822 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
= NULL
;
6824 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6826 PyObject
* obj0
= 0 ;
6828 (char *) "self", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6833 if (SWIG_arg_fail(1)) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= SWIG_From_int(static_cast<int >(result
));
6850 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6853 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6855 return Py_BuildValue((char *)"");
6857 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
= NULL
;
6859 wxWindow
*arg1
= (wxWindow
*) 0 ;
6860 int arg2
= (int) -1 ;
6861 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6862 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6863 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6864 wxStatusBar
*result
;
6865 bool temp4
= false ;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6868 PyObject
* obj2
= 0 ;
6869 PyObject
* obj3
= 0 ;
6871 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6876 if (SWIG_arg_fail(1)) SWIG_fail
;
6879 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6880 if (SWIG_arg_fail(2)) SWIG_fail
;
6885 arg3
= static_cast<long >(SWIG_As_long(obj2
));
6886 if (SWIG_arg_fail(3)) SWIG_fail
;
6891 arg4
= wxString_in_helper(obj3
);
6892 if (arg4
== NULL
) SWIG_fail
;
6897 if (!wxPyCheckForApp()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6919 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
= NULL
;
6921 wxStatusBar
*result
;
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6928 if (!wxPyCheckForApp()) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (wxStatusBar
*)new wxStatusBar();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6942 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
= NULL
;
6944 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6945 wxWindow
*arg2
= (wxWindow
*) 0 ;
6946 int arg3
= (int) -1 ;
6947 long arg4
= (long) wxST_SIZEGRIP
;
6948 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6949 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6951 bool temp5
= false ;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6954 PyObject
* obj2
= 0 ;
6955 PyObject
* obj3
= 0 ;
6956 PyObject
* obj4
= 0 ;
6958 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6963 if (SWIG_arg_fail(1)) SWIG_fail
;
6964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6965 if (SWIG_arg_fail(2)) SWIG_fail
;
6968 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6969 if (SWIG_arg_fail(3)) SWIG_fail
;
6974 arg4
= static_cast<long >(SWIG_As_long(obj3
));
6975 if (SWIG_arg_fail(4)) SWIG_fail
;
6980 arg5
= wxString_in_helper(obj4
);
6981 if (arg5
== NULL
) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7009 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
= NULL
;
7011 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7012 int arg2
= (int) 1 ;
7013 PyObject
* obj0
= 0 ;
7014 PyObject
* obj1
= 0 ;
7016 (char *) "self",(char *) "number", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail
;
7024 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7025 if (SWIG_arg_fail(2)) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 (arg1
)->SetFieldsCount(arg2
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 Py_INCREF(Py_None
); resultobj
= Py_None
;
7042 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
= NULL
;
7044 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7048 (char *) "self", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
7052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7053 if (SWIG_arg_fail(1)) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7062 resultobj
= SWIG_From_int(static_cast<int >(result
));
7070 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
= NULL
;
7072 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7073 wxString
*arg2
= 0 ;
7074 int arg3
= (int) 0 ;
7075 bool temp2
= false ;
7076 PyObject
* obj0
= 0 ;
7077 PyObject
* obj1
= 0 ;
7078 PyObject
* obj2
= 0 ;
7080 (char *) "self",(char *) "text",(char *) "number", NULL
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7085 if (SWIG_arg_fail(1)) SWIG_fail
;
7087 arg2
= wxString_in_helper(obj1
);
7088 if (arg2
== NULL
) SWIG_fail
;
7093 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7094 if (SWIG_arg_fail(3)) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 Py_INCREF(Py_None
); resultobj
= Py_None
;
7119 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
= NULL
;
7121 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7122 int arg2
= (int) 0 ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7127 (char *) "self",(char *) "number", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail
;
7135 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7136 if (SWIG_arg_fail(2)) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7159 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
= NULL
;
7161 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7162 wxString
*arg2
= 0 ;
7163 int arg3
= (int) 0 ;
7164 bool temp2
= false ;
7165 PyObject
* obj0
= 0 ;
7166 PyObject
* obj1
= 0 ;
7167 PyObject
* obj2
= 0 ;
7169 (char *) "self",(char *) "text",(char *) "number", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7174 if (SWIG_arg_fail(1)) SWIG_fail
;
7176 arg2
= wxString_in_helper(obj1
);
7177 if (arg2
== NULL
) SWIG_fail
;
7182 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7183 if (SWIG_arg_fail(3)) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 Py_INCREF(Py_None
); resultobj
= Py_None
;
7208 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
= NULL
;
7210 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7211 int arg2
= (int) 0 ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7215 (char *) "self",(char *) "number", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7220 if (SWIG_arg_fail(1)) SWIG_fail
;
7223 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7224 if (SWIG_arg_fail(2)) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 (arg1
)->PopStatusText(arg2
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 Py_INCREF(Py_None
); resultobj
= Py_None
;
7241 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
= NULL
;
7243 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7245 int *arg3
= (int *) 0 ;
7246 PyObject
* obj0
= 0 ;
7247 PyObject
* obj1
= 0 ;
7249 (char *) "self",(char *) "widths", NULL
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7254 if (SWIG_arg_fail(1)) SWIG_fail
;
7256 arg2
= PyList_Size(obj1
);
7257 arg3
= int_LIST_helper(obj1
);
7258 if (arg3
== NULL
) SWIG_fail
;
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) SWIG_fail
;
7267 Py_INCREF(Py_None
); resultobj
= Py_None
;
7269 if (arg3
) delete [] arg3
;
7274 if (arg3
) delete [] arg3
;
7280 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
= NULL
;
7282 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7284 int *arg3
= (int *) 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7288 (char *) "self",(char *) "styles", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7293 if (SWIG_arg_fail(1)) SWIG_fail
;
7295 arg2
= PyList_Size(obj1
);
7296 arg3
= int_LIST_helper(obj1
);
7297 if (arg3
== NULL
) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 Py_INCREF(Py_None
); resultobj
= Py_None
;
7308 if (arg3
) delete [] arg3
;
7313 if (arg3
) delete [] arg3
;
7319 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
= NULL
;
7321 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7325 PyObject
* obj1
= 0 ;
7327 (char *) "self",(char *) "i", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7332 if (SWIG_arg_fail(1)) SWIG_fail
;
7334 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7335 if (SWIG_arg_fail(2)) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7346 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7355 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
= NULL
;
7357 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7360 PyObject
* obj1
= 0 ;
7362 (char *) "self",(char *) "height", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7367 if (SWIG_arg_fail(1)) SWIG_fail
;
7369 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7370 if (SWIG_arg_fail(2)) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 (arg1
)->SetMinHeight(arg2
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 Py_INCREF(Py_None
); resultobj
= Py_None
;
7386 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7387 PyObject
*resultobj
= NULL
;
7388 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "self", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7397 if (SWIG_arg_fail(1)) SWIG_fail
;
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7406 resultobj
= SWIG_From_int(static_cast<int >(result
));
7414 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
= NULL
;
7416 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7418 PyObject
* obj0
= 0 ;
7420 (char *) "self", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7434 resultobj
= SWIG_From_int(static_cast<int >(result
));
7442 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
= NULL
;
7444 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7445 wxVisualAttributes result
;
7446 PyObject
* obj0
= 0 ;
7448 (char *) "variant", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7454 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7455 if (SWIG_arg_fail(1)) SWIG_fail
;
7459 if (!wxPyCheckForApp()) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7467 wxVisualAttributes
* resultptr
;
7468 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7477 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7480 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7482 return Py_BuildValue((char *)"");
7484 static int _wrap_SplitterNameStr_set(PyObject
*) {
7485 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7490 static PyObject
*_wrap_SplitterNameStr_get(void) {
7491 PyObject
*pyobj
= NULL
;
7495 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7497 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7504 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
= NULL
;
7506 wxWindow
*arg1
= (wxWindow
*) 0 ;
7507 int arg2
= (int) -1 ;
7508 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7509 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7510 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7511 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7512 long arg5
= (long) wxSP_3D
;
7513 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7514 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7515 wxSplitterWindow
*result
;
7518 bool temp6
= false ;
7519 PyObject
* obj0
= 0 ;
7520 PyObject
* obj1
= 0 ;
7521 PyObject
* obj2
= 0 ;
7522 PyObject
* obj3
= 0 ;
7523 PyObject
* obj4
= 0 ;
7524 PyObject
* obj5
= 0 ;
7526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7531 if (SWIG_arg_fail(1)) SWIG_fail
;
7534 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7535 if (SWIG_arg_fail(2)) SWIG_fail
;
7541 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7547 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7552 arg5
= static_cast<long >(SWIG_As_long(obj4
));
7553 if (SWIG_arg_fail(5)) SWIG_fail
;
7558 arg6
= wxString_in_helper(obj5
);
7559 if (arg6
== NULL
) SWIG_fail
;
7564 if (!wxPyCheckForApp()) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7586 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
= NULL
;
7588 wxSplitterWindow
*result
;
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7595 if (!wxPyCheckForApp()) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7609 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
= NULL
;
7611 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7612 wxWindow
*arg2
= (wxWindow
*) 0 ;
7613 int arg3
= (int) -1 ;
7614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7618 long arg6
= (long) wxSP_3D
;
7619 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7620 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7624 bool temp7
= false ;
7625 PyObject
* obj0
= 0 ;
7626 PyObject
* obj1
= 0 ;
7627 PyObject
* obj2
= 0 ;
7628 PyObject
* obj3
= 0 ;
7629 PyObject
* obj4
= 0 ;
7630 PyObject
* obj5
= 0 ;
7631 PyObject
* obj6
= 0 ;
7633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail
;
7639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7640 if (SWIG_arg_fail(2)) SWIG_fail
;
7643 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7644 if (SWIG_arg_fail(3)) SWIG_fail
;
7650 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7656 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7661 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7662 if (SWIG_arg_fail(6)) SWIG_fail
;
7667 arg7
= wxString_in_helper(obj6
);
7668 if (arg7
== NULL
) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7696 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
= NULL
;
7698 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7700 PyObject
* obj0
= 0 ;
7702 (char *) "self", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7707 if (SWIG_arg_fail(1)) SWIG_fail
;
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= wxPyMake_wxObject(result
, 0);
7724 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
= NULL
;
7726 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "self", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7735 if (SWIG_arg_fail(1)) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= wxPyMake_wxObject(result
, 0);
7752 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
= NULL
;
7754 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7759 (char *) "self",(char *) "mode", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7764 if (SWIG_arg_fail(1)) SWIG_fail
;
7766 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7767 if (SWIG_arg_fail(2)) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 (arg1
)->SetSplitMode(arg2
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 Py_INCREF(Py_None
); resultobj
= Py_None
;
7783 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
= NULL
;
7785 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7787 PyObject
* obj0
= 0 ;
7789 (char *) "self", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7794 if (SWIG_arg_fail(1)) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 resultobj
= SWIG_From_int((result
));
7809 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
= NULL
;
7811 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7812 wxWindow
*arg2
= (wxWindow
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7814 PyObject
* obj1
= 0 ;
7816 (char *) "self",(char *) "window", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail
;
7822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7823 if (SWIG_arg_fail(2)) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 (arg1
)->Initialize(arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 Py_INCREF(Py_None
); resultobj
= Py_None
;
7838 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
= NULL
;
7840 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7841 wxWindow
*arg2
= (wxWindow
*) 0 ;
7842 wxWindow
*arg3
= (wxWindow
*) 0 ;
7843 int arg4
= (int) 0 ;
7845 PyObject
* obj0
= 0 ;
7846 PyObject
* obj1
= 0 ;
7847 PyObject
* obj2
= 0 ;
7848 PyObject
* obj3
= 0 ;
7850 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7855 if (SWIG_arg_fail(1)) SWIG_fail
;
7856 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7857 if (SWIG_arg_fail(2)) SWIG_fail
;
7858 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7859 if (SWIG_arg_fail(3)) SWIG_fail
;
7862 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7863 if (SWIG_arg_fail(4)) SWIG_fail
;
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7882 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
= NULL
;
7884 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7885 wxWindow
*arg2
= (wxWindow
*) 0 ;
7886 wxWindow
*arg3
= (wxWindow
*) 0 ;
7887 int arg4
= (int) 0 ;
7889 PyObject
* obj0
= 0 ;
7890 PyObject
* obj1
= 0 ;
7891 PyObject
* obj2
= 0 ;
7892 PyObject
* obj3
= 0 ;
7894 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7899 if (SWIG_arg_fail(1)) SWIG_fail
;
7900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7901 if (SWIG_arg_fail(2)) SWIG_fail
;
7902 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7903 if (SWIG_arg_fail(3)) SWIG_fail
;
7906 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7907 if (SWIG_arg_fail(4)) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7914 wxPyEndAllowThreads(__tstate
);
7915 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7926 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
= NULL
;
7928 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7929 wxWindow
*arg2
= (wxWindow
*) NULL
;
7931 PyObject
* obj0
= 0 ;
7932 PyObject
* obj1
= 0 ;
7934 (char *) "self",(char *) "toRemove", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail
;
7941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7942 if (SWIG_arg_fail(2)) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 result
= (bool)(arg1
)->Unsplit(arg2
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7960 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
= NULL
;
7962 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7963 wxWindow
*arg2
= (wxWindow
*) 0 ;
7964 wxWindow
*arg3
= (wxWindow
*) 0 ;
7966 PyObject
* obj0
= 0 ;
7967 PyObject
* obj1
= 0 ;
7968 PyObject
* obj2
= 0 ;
7970 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7975 if (SWIG_arg_fail(1)) SWIG_fail
;
7976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7977 if (SWIG_arg_fail(2)) SWIG_fail
;
7978 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7979 if (SWIG_arg_fail(3)) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7996 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
= NULL
;
7998 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7999 PyObject
* obj0
= 0 ;
8001 (char *) "self", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
8005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8006 if (SWIG_arg_fail(1)) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 (arg1
)->UpdateSize();
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8014 Py_INCREF(Py_None
); resultobj
= Py_None
;
8021 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
= NULL
;
8023 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "self", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
8031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8032 if (SWIG_arg_fail(1)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8049 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
= NULL
;
8051 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8054 PyObject
* obj1
= 0 ;
8056 (char *) "self",(char *) "width", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8063 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8064 if (SWIG_arg_fail(2)) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 (arg1
)->SetSashSize(arg2
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 Py_INCREF(Py_None
); resultobj
= Py_None
;
8080 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
= NULL
;
8082 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8087 (char *) "self",(char *) "width", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail
;
8094 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8095 if (SWIG_arg_fail(2)) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 (arg1
)->SetBorderSize(arg2
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8111 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
= NULL
;
8113 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8117 (char *) "self", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
8121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8122 if (SWIG_arg_fail(1)) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= SWIG_From_int(static_cast<int >(result
));
8139 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
= NULL
;
8141 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8143 PyObject
* obj0
= 0 ;
8145 (char *) "self", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8150 if (SWIG_arg_fail(1)) SWIG_fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= SWIG_From_int(static_cast<int >(result
));
8167 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
= NULL
;
8169 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8171 bool arg3
= (bool) true ;
8172 PyObject
* obj0
= 0 ;
8173 PyObject
* obj1
= 0 ;
8174 PyObject
* obj2
= 0 ;
8176 (char *) "self",(char *) "position",(char *) "redraw", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8181 if (SWIG_arg_fail(1)) SWIG_fail
;
8183 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8184 if (SWIG_arg_fail(2)) SWIG_fail
;
8188 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8189 if (SWIG_arg_fail(3)) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 (arg1
)->SetSashPosition(arg2
,arg3
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 Py_INCREF(Py_None
); resultobj
= Py_None
;
8206 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
= NULL
;
8208 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8210 PyObject
* obj0
= 0 ;
8212 (char *) "self", NULL
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8217 if (SWIG_arg_fail(1)) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8226 resultobj
= SWIG_From_int(static_cast<int >(result
));
8234 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
*resultobj
= NULL
;
8236 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8238 PyObject
* obj0
= 0 ;
8239 PyObject
* obj1
= 0 ;
8241 (char *) "self",(char *) "gravity", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8246 if (SWIG_arg_fail(1)) SWIG_fail
;
8248 arg2
= static_cast<double >(SWIG_As_double(obj1
));
8249 if (SWIG_arg_fail(2)) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 (arg1
)->SetSashGravity(arg2
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 Py_INCREF(Py_None
); resultobj
= Py_None
;
8265 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
= NULL
;
8267 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8271 (char *) "self", NULL
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8276 if (SWIG_arg_fail(1)) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= SWIG_From_double(static_cast<double >(result
));
8293 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8294 PyObject
*resultobj
= NULL
;
8295 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8300 (char *) "self",(char *) "min", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail
;
8307 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8308 if (SWIG_arg_fail(2)) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 (arg1
)->SetMinimumPaneSize(arg2
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 Py_INCREF(Py_None
); resultobj
= Py_None
;
8324 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
= NULL
;
8326 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8328 PyObject
* obj0
= 0 ;
8330 (char *) "self", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8335 if (SWIG_arg_fail(1)) SWIG_fail
;
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8338 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_From_int(static_cast<int >(result
));
8352 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
= NULL
;
8354 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8357 int arg4
= (int) 5 ;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8361 PyObject
* obj2
= 0 ;
8362 PyObject
* obj3
= 0 ;
8364 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8369 if (SWIG_arg_fail(1)) SWIG_fail
;
8371 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8372 if (SWIG_arg_fail(2)) SWIG_fail
;
8375 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8376 if (SWIG_arg_fail(3)) SWIG_fail
;
8380 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8381 if (SWIG_arg_fail(4)) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8400 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
= NULL
;
8402 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8403 PyObject
* obj0
= 0 ;
8405 (char *) "self", NULL
8408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8410 if (SWIG_arg_fail(1)) SWIG_fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 (arg1
)->SizeWindows();
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 Py_INCREF(Py_None
); resultobj
= Py_None
;
8425 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
= NULL
;
8427 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8429 PyObject
* obj0
= 0 ;
8430 PyObject
* obj1
= 0 ;
8432 (char *) "self",(char *) "needUpdating", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8437 if (SWIG_arg_fail(1)) SWIG_fail
;
8439 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8440 if (SWIG_arg_fail(2)) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 (arg1
)->SetNeedUpdating(arg2
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 Py_INCREF(Py_None
); resultobj
= Py_None
;
8456 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
= NULL
;
8458 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8460 PyObject
* obj0
= 0 ;
8462 (char *) "self", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8467 if (SWIG_arg_fail(1)) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8484 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
= NULL
;
8486 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8487 wxVisualAttributes result
;
8488 PyObject
* obj0
= 0 ;
8490 (char *) "variant", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8496 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8497 if (SWIG_arg_fail(1)) SWIG_fail
;
8501 if (!wxPyCheckForApp()) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8509 wxVisualAttributes
* resultptr
;
8510 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8519 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8522 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8524 return Py_BuildValue((char *)"");
8526 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
= NULL
;
8528 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8529 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8530 wxSplitterEvent
*result
;
8531 PyObject
* obj0
= 0 ;
8532 PyObject
* obj1
= 0 ;
8534 (char *) "type",(char *) "splitter", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8540 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
8541 if (SWIG_arg_fail(1)) SWIG_fail
;
8545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8546 if (SWIG_arg_fail(2)) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8562 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
= NULL
;
8564 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8566 PyObject
* obj0
= 0 ;
8567 PyObject
* obj1
= 0 ;
8569 (char *) "self",(char *) "pos", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8574 if (SWIG_arg_fail(1)) SWIG_fail
;
8576 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8577 if (SWIG_arg_fail(2)) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 (arg1
)->SetSashPosition(arg2
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 Py_INCREF(Py_None
); resultobj
= Py_None
;
8593 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
= NULL
;
8595 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8597 PyObject
* obj0
= 0 ;
8599 (char *) "self", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8604 if (SWIG_arg_fail(1)) SWIG_fail
;
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= SWIG_From_int(static_cast<int >(result
));
8621 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8622 PyObject
*resultobj
= NULL
;
8623 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8625 PyObject
* obj0
= 0 ;
8627 (char *) "self", NULL
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8632 if (SWIG_arg_fail(1)) SWIG_fail
;
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= wxPyMake_wxObject(result
, 0);
8649 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
= NULL
;
8651 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8655 (char *) "self", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8660 if (SWIG_arg_fail(1)) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_From_int(static_cast<int >(result
));
8677 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
= NULL
;
8679 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8681 PyObject
* obj0
= 0 ;
8683 (char *) "self", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8688 if (SWIG_arg_fail(1)) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= SWIG_From_int(static_cast<int >(result
));
8705 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8708 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8710 return Py_BuildValue((char *)"");
8712 static int _wrap_SashNameStr_set(PyObject
*) {
8713 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8718 static PyObject
*_wrap_SashNameStr_get(void) {
8719 PyObject
*pyobj
= NULL
;
8723 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8725 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8732 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8733 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8738 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8739 PyObject
*pyobj
= NULL
;
8743 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8745 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8752 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
= NULL
;
8754 wxWindow
*arg1
= (wxWindow
*) 0 ;
8755 int arg2
= (int) -1 ;
8756 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8757 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8758 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8759 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8760 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8761 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8762 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8763 wxSashWindow
*result
;
8766 bool temp6
= false ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 PyObject
* obj2
= 0 ;
8770 PyObject
* obj3
= 0 ;
8771 PyObject
* obj4
= 0 ;
8772 PyObject
* obj5
= 0 ;
8774 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8779 if (SWIG_arg_fail(1)) SWIG_fail
;
8782 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8783 if (SWIG_arg_fail(2)) SWIG_fail
;
8789 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8795 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8800 arg5
= static_cast<long >(SWIG_As_long(obj4
));
8801 if (SWIG_arg_fail(5)) SWIG_fail
;
8806 arg6
= wxString_in_helper(obj5
);
8807 if (arg6
== NULL
) SWIG_fail
;
8812 if (!wxPyCheckForApp()) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8834 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
*resultobj
= NULL
;
8836 wxSashWindow
*result
;
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8843 if (!wxPyCheckForApp()) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (wxSashWindow
*)new wxSashWindow();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8857 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
= NULL
;
8859 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8860 wxWindow
*arg2
= (wxWindow
*) 0 ;
8861 int arg3
= (int) -1 ;
8862 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8863 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8864 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8865 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8866 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8867 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8868 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8872 bool temp7
= false ;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8875 PyObject
* obj2
= 0 ;
8876 PyObject
* obj3
= 0 ;
8877 PyObject
* obj4
= 0 ;
8878 PyObject
* obj5
= 0 ;
8879 PyObject
* obj6
= 0 ;
8881 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8886 if (SWIG_arg_fail(1)) SWIG_fail
;
8887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8888 if (SWIG_arg_fail(2)) SWIG_fail
;
8891 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8892 if (SWIG_arg_fail(3)) SWIG_fail
;
8898 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8904 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8909 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8910 if (SWIG_arg_fail(6)) SWIG_fail
;
8915 arg7
= wxString_in_helper(obj6
);
8916 if (arg7
== NULL
) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8944 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= NULL
;
8946 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8947 wxSashEdgePosition arg2
;
8949 PyObject
* obj0
= 0 ;
8950 PyObject
* obj1
= 0 ;
8951 PyObject
* obj2
= 0 ;
8953 (char *) "self",(char *) "edge",(char *) "sash", NULL
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8958 if (SWIG_arg_fail(1)) SWIG_fail
;
8960 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
8961 if (SWIG_arg_fail(2)) SWIG_fail
;
8964 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8965 if (SWIG_arg_fail(3)) SWIG_fail
;
8968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8969 (arg1
)->SetSashVisible(arg2
,arg3
);
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 Py_INCREF(Py_None
); resultobj
= Py_None
;
8981 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
*resultobj
= NULL
;
8983 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8984 wxSashEdgePosition arg2
;
8986 PyObject
* obj0
= 0 ;
8987 PyObject
* obj1
= 0 ;
8989 (char *) "self",(char *) "edge", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8994 if (SWIG_arg_fail(1)) SWIG_fail
;
8996 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
8997 if (SWIG_arg_fail(2)) SWIG_fail
;
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9015 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
= NULL
;
9017 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9018 wxSashEdgePosition arg2
;
9020 PyObject
* obj0
= 0 ;
9021 PyObject
* obj1
= 0 ;
9022 PyObject
* obj2
= 0 ;
9024 (char *) "self",(char *) "edge",(char *) "border", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9029 if (SWIG_arg_fail(1)) SWIG_fail
;
9031 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9032 if (SWIG_arg_fail(2)) SWIG_fail
;
9035 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9036 if (SWIG_arg_fail(3)) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 (arg1
)->SetSashBorder(arg2
,arg3
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 Py_INCREF(Py_None
); resultobj
= Py_None
;
9052 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
= NULL
;
9054 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9055 wxSashEdgePosition arg2
;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9060 (char *) "self",(char *) "edge", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
9064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9065 if (SWIG_arg_fail(1)) SWIG_fail
;
9067 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9068 if (SWIG_arg_fail(2)) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9086 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= NULL
;
9088 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9089 wxSashEdgePosition arg2
;
9091 PyObject
* obj0
= 0 ;
9092 PyObject
* obj1
= 0 ;
9094 (char *) "self",(char *) "edge", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
9098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail
;
9101 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9102 if (SWIG_arg_fail(2)) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= SWIG_From_int(static_cast<int >(result
));
9120 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
= NULL
;
9122 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9127 (char *) "self",(char *) "width", NULL
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9132 if (SWIG_arg_fail(1)) SWIG_fail
;
9134 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9135 if (SWIG_arg_fail(2)) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 (arg1
)->SetDefaultBorderSize(arg2
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 Py_INCREF(Py_None
); resultobj
= Py_None
;
9151 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
= NULL
;
9153 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9155 PyObject
* obj0
= 0 ;
9157 (char *) "self", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9162 if (SWIG_arg_fail(1)) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= SWIG_From_int(static_cast<int >(result
));
9179 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
= NULL
;
9181 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9183 PyObject
* obj0
= 0 ;
9184 PyObject
* obj1
= 0 ;
9186 (char *) "self",(char *) "width", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9191 if (SWIG_arg_fail(1)) SWIG_fail
;
9193 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9194 if (SWIG_arg_fail(2)) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 (arg1
)->SetExtraBorderSize(arg2
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 Py_INCREF(Py_None
); resultobj
= Py_None
;
9210 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
= NULL
;
9212 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9216 (char *) "self", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9221 if (SWIG_arg_fail(1)) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= SWIG_From_int(static_cast<int >(result
));
9238 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
= NULL
;
9240 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9242 PyObject
* obj0
= 0 ;
9243 PyObject
* obj1
= 0 ;
9245 (char *) "self",(char *) "min", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9250 if (SWIG_arg_fail(1)) SWIG_fail
;
9252 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9253 if (SWIG_arg_fail(2)) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 (arg1
)->SetMinimumSizeX(arg2
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9262 Py_INCREF(Py_None
); resultobj
= Py_None
;
9269 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9270 PyObject
*resultobj
= NULL
;
9271 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9276 (char *) "self",(char *) "min", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9281 if (SWIG_arg_fail(1)) SWIG_fail
;
9283 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9284 if (SWIG_arg_fail(2)) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 (arg1
)->SetMinimumSizeY(arg2
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 Py_INCREF(Py_None
); resultobj
= Py_None
;
9300 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
= NULL
;
9302 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9304 PyObject
* obj0
= 0 ;
9306 (char *) "self", NULL
9309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9311 if (SWIG_arg_fail(1)) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_From_int(static_cast<int >(result
));
9328 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
= NULL
;
9330 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9332 PyObject
* obj0
= 0 ;
9334 (char *) "self", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9339 if (SWIG_arg_fail(1)) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_From_int(static_cast<int >(result
));
9356 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
= NULL
;
9358 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9363 (char *) "self",(char *) "max", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9368 if (SWIG_arg_fail(1)) SWIG_fail
;
9370 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9371 if (SWIG_arg_fail(2)) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 (arg1
)->SetMaximumSizeX(arg2
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 Py_INCREF(Py_None
); resultobj
= Py_None
;
9387 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
= NULL
;
9389 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9394 (char *) "self",(char *) "max", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9399 if (SWIG_arg_fail(1)) SWIG_fail
;
9401 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9402 if (SWIG_arg_fail(2)) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 (arg1
)->SetMaximumSizeY(arg2
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 Py_INCREF(Py_None
); resultobj
= Py_None
;
9418 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
= NULL
;
9420 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9422 PyObject
* obj0
= 0 ;
9424 (char *) "self", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9429 if (SWIG_arg_fail(1)) SWIG_fail
;
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9434 wxPyEndAllowThreads(__tstate
);
9435 if (PyErr_Occurred()) SWIG_fail
;
9438 resultobj
= SWIG_From_int(static_cast<int >(result
));
9446 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
= NULL
;
9448 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9450 PyObject
* obj0
= 0 ;
9452 (char *) "self", NULL
9455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9457 if (SWIG_arg_fail(1)) SWIG_fail
;
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_From_int(static_cast<int >(result
));
9474 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
= NULL
;
9476 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9479 int arg4
= (int) 2 ;
9480 wxSashEdgePosition result
;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9483 PyObject
* obj2
= 0 ;
9484 PyObject
* obj3
= 0 ;
9486 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9491 if (SWIG_arg_fail(1)) SWIG_fail
;
9493 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9494 if (SWIG_arg_fail(2)) SWIG_fail
;
9497 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9498 if (SWIG_arg_fail(3)) SWIG_fail
;
9502 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9503 if (SWIG_arg_fail(4)) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= SWIG_From_int((result
));
9520 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
= NULL
;
9522 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9523 PyObject
* obj0
= 0 ;
9525 (char *) "self", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9530 if (SWIG_arg_fail(1)) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 (arg1
)->SizeWindows();
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 Py_INCREF(Py_None
); resultobj
= Py_None
;
9545 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9548 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9550 return Py_BuildValue((char *)"");
9552 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
*resultobj
= NULL
;
9554 int arg1
= (int) 0 ;
9555 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9556 wxSashEvent
*result
;
9557 PyObject
* obj0
= 0 ;
9558 PyObject
* obj1
= 0 ;
9560 (char *) "id",(char *) "edge", NULL
9563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9566 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9567 if (SWIG_arg_fail(1)) SWIG_fail
;
9572 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9573 if (SWIG_arg_fail(2)) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9590 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
= NULL
;
9592 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9593 wxSashEdgePosition arg2
;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9597 (char *) "self",(char *) "edge", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9602 if (SWIG_arg_fail(1)) SWIG_fail
;
9604 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9605 if (SWIG_arg_fail(2)) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 (arg1
)->SetEdge(arg2
);
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 Py_INCREF(Py_None
); resultobj
= Py_None
;
9621 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
= NULL
;
9623 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9624 wxSashEdgePosition result
;
9625 PyObject
* obj0
= 0 ;
9627 (char *) "self", NULL
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9632 if (SWIG_arg_fail(1)) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_From_int((result
));
9647 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
= NULL
;
9649 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9655 (char *) "self",(char *) "rect", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9660 if (SWIG_arg_fail(1)) SWIG_fail
;
9663 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 Py_INCREF(Py_None
); resultobj
= Py_None
;
9679 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
= NULL
;
9681 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9683 PyObject
* obj0
= 0 ;
9685 (char *) "self", NULL
9688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9690 if (SWIG_arg_fail(1)) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9700 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
9701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9709 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
= NULL
;
9711 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9712 wxSashDragStatus arg2
;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9716 (char *) "self",(char *) "status", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9721 if (SWIG_arg_fail(1)) SWIG_fail
;
9723 arg2
= static_cast<wxSashDragStatus
>(SWIG_As_int(obj1
));
9724 if (SWIG_arg_fail(2)) SWIG_fail
;
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 (arg1
)->SetDragStatus(arg2
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 Py_INCREF(Py_None
); resultobj
= Py_None
;
9740 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
*resultobj
= NULL
;
9742 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9743 wxSashDragStatus result
;
9744 PyObject
* obj0
= 0 ;
9746 (char *) "self", NULL
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9751 if (SWIG_arg_fail(1)) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= SWIG_From_int((result
));
9766 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9769 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9771 return Py_BuildValue((char *)"");
9773 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
= NULL
;
9775 int arg1
= (int) 0 ;
9776 wxQueryLayoutInfoEvent
*result
;
9777 PyObject
* obj0
= 0 ;
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9785 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9786 if (SWIG_arg_fail(1)) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9803 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
= NULL
;
9805 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9810 (char *) "self",(char *) "length", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9815 if (SWIG_arg_fail(1)) SWIG_fail
;
9817 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9818 if (SWIG_arg_fail(2)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 (arg1
)->SetRequestedLength(arg2
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 Py_INCREF(Py_None
); resultobj
= Py_None
;
9834 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
= NULL
;
9836 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9840 (char *) "self", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9845 if (SWIG_arg_fail(1)) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_From_int(static_cast<int >(result
));
9862 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= NULL
;
9864 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9866 PyObject
* obj0
= 0 ;
9867 PyObject
* obj1
= 0 ;
9869 (char *) "self",(char *) "flags", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9874 if (SWIG_arg_fail(1)) SWIG_fail
;
9876 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9877 if (SWIG_arg_fail(2)) SWIG_fail
;
9880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9881 (arg1
)->SetFlags(arg2
);
9883 wxPyEndAllowThreads(__tstate
);
9884 if (PyErr_Occurred()) SWIG_fail
;
9886 Py_INCREF(Py_None
); resultobj
= Py_None
;
9893 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
= NULL
;
9895 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9897 PyObject
* obj0
= 0 ;
9899 (char *) "self", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9904 if (SWIG_arg_fail(1)) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= SWIG_From_int(static_cast<int >(result
));
9921 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
= NULL
;
9923 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9926 PyObject
* obj0
= 0 ;
9927 PyObject
* obj1
= 0 ;
9929 (char *) "self",(char *) "size", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9934 if (SWIG_arg_fail(1)) SWIG_fail
;
9937 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 (arg1
)->SetSize((wxSize
const &)*arg2
);
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 Py_INCREF(Py_None
); resultobj
= Py_None
;
9953 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
= NULL
;
9955 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9959 (char *) "self", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9964 if (SWIG_arg_fail(1)) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9974 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
9975 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9983 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= NULL
;
9985 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9986 wxLayoutOrientation arg2
;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9990 (char *) "self",(char *) "orient", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9995 if (SWIG_arg_fail(1)) SWIG_fail
;
9997 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
9998 if (SWIG_arg_fail(2)) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 (arg1
)->SetOrientation(arg2
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 Py_INCREF(Py_None
); resultobj
= Py_None
;
10014 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
= NULL
;
10016 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10017 wxLayoutOrientation result
;
10018 PyObject
* obj0
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
10024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10025 if (SWIG_arg_fail(1)) SWIG_fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 resultobj
= SWIG_From_int((result
));
10040 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
= NULL
;
10042 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10043 wxLayoutAlignment arg2
;
10044 PyObject
* obj0
= 0 ;
10045 PyObject
* obj1
= 0 ;
10046 char *kwnames
[] = {
10047 (char *) "self",(char *) "align", NULL
10050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10052 if (SWIG_arg_fail(1)) SWIG_fail
;
10054 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10055 if (SWIG_arg_fail(2)) SWIG_fail
;
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 (arg1
)->SetAlignment(arg2
);
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10064 Py_INCREF(Py_None
); resultobj
= Py_None
;
10071 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
= NULL
;
10073 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10074 wxLayoutAlignment result
;
10075 PyObject
* obj0
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "self", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
10081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10082 if (SWIG_arg_fail(1)) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_From_int((result
));
10097 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
10099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10100 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
10102 return Py_BuildValue((char *)"");
10104 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
= NULL
;
10106 int arg1
= (int) 0 ;
10107 wxCalculateLayoutEvent
*result
;
10108 PyObject
* obj0
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "id", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
10116 arg1
= static_cast<int >(SWIG_As_int(obj0
));
10117 if (SWIG_arg_fail(1)) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10134 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
= NULL
;
10136 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10138 PyObject
* obj0
= 0 ;
10139 PyObject
* obj1
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self",(char *) "flags", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10146 if (SWIG_arg_fail(1)) SWIG_fail
;
10148 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10149 if (SWIG_arg_fail(2)) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 (arg1
)->SetFlags(arg2
);
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10158 Py_INCREF(Py_None
); resultobj
= Py_None
;
10165 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
= NULL
;
10167 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10169 PyObject
* obj0
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "self", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10176 if (SWIG_arg_fail(1)) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_From_int(static_cast<int >(result
));
10193 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
= NULL
;
10195 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10198 PyObject
* obj0
= 0 ;
10199 PyObject
* obj1
= 0 ;
10200 char *kwnames
[] = {
10201 (char *) "self",(char *) "rect", NULL
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10206 if (SWIG_arg_fail(1)) SWIG_fail
;
10209 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 (arg1
)->SetRect((wxRect
const &)*arg2
);
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 Py_INCREF(Py_None
); resultobj
= Py_None
;
10225 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
= NULL
;
10227 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10229 PyObject
* obj0
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10236 if (SWIG_arg_fail(1)) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10245 wxRect
* resultptr
;
10246 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
10247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10255 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10258 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10260 return Py_BuildValue((char *)"");
10262 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
= NULL
;
10264 wxWindow
*arg1
= (wxWindow
*) 0 ;
10265 int arg2
= (int) -1 ;
10266 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10267 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10268 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10269 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10270 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10271 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10272 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10273 wxSashLayoutWindow
*result
;
10276 bool temp6
= false ;
10277 PyObject
* obj0
= 0 ;
10278 PyObject
* obj1
= 0 ;
10279 PyObject
* obj2
= 0 ;
10280 PyObject
* obj3
= 0 ;
10281 PyObject
* obj4
= 0 ;
10282 PyObject
* obj5
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10289 if (SWIG_arg_fail(1)) SWIG_fail
;
10292 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10293 if (SWIG_arg_fail(2)) SWIG_fail
;
10299 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10305 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10310 arg5
= static_cast<long >(SWIG_As_long(obj4
));
10311 if (SWIG_arg_fail(5)) SWIG_fail
;
10316 arg6
= wxString_in_helper(obj5
);
10317 if (arg6
== NULL
) SWIG_fail
;
10322 if (!wxPyCheckForApp()) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10344 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
= NULL
;
10346 wxSashLayoutWindow
*result
;
10347 char *kwnames
[] = {
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10353 if (!wxPyCheckForApp()) SWIG_fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10367 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10368 PyObject
*resultobj
= NULL
;
10369 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10370 wxWindow
*arg2
= (wxWindow
*) 0 ;
10371 int arg3
= (int) -1 ;
10372 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10373 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10374 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10375 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10376 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10377 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10378 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10382 bool temp7
= false ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 PyObject
* obj2
= 0 ;
10386 PyObject
* obj3
= 0 ;
10387 PyObject
* obj4
= 0 ;
10388 PyObject
* obj5
= 0 ;
10389 PyObject
* obj6
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10396 if (SWIG_arg_fail(1)) SWIG_fail
;
10397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10398 if (SWIG_arg_fail(2)) SWIG_fail
;
10401 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10402 if (SWIG_arg_fail(3)) SWIG_fail
;
10408 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10414 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10419 arg6
= static_cast<long >(SWIG_As_long(obj5
));
10420 if (SWIG_arg_fail(6)) SWIG_fail
;
10425 arg7
= wxString_in_helper(obj6
);
10426 if (arg7
== NULL
) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10454 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
= NULL
;
10456 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10457 wxLayoutAlignment result
;
10458 PyObject
* obj0
= 0 ;
10459 char *kwnames
[] = {
10460 (char *) "self", NULL
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10465 if (SWIG_arg_fail(1)) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= SWIG_From_int((result
));
10480 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
= NULL
;
10482 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10483 wxLayoutOrientation result
;
10484 PyObject
* obj0
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10491 if (SWIG_arg_fail(1)) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= SWIG_From_int((result
));
10506 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
= NULL
;
10508 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10509 wxLayoutAlignment arg2
;
10510 PyObject
* obj0
= 0 ;
10511 PyObject
* obj1
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "self",(char *) "alignment", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10518 if (SWIG_arg_fail(1)) SWIG_fail
;
10520 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10521 if (SWIG_arg_fail(2)) SWIG_fail
;
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 (arg1
)->SetAlignment(arg2
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 Py_INCREF(Py_None
); resultobj
= Py_None
;
10537 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
= NULL
;
10539 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10542 PyObject
* obj0
= 0 ;
10543 PyObject
* obj1
= 0 ;
10544 char *kwnames
[] = {
10545 (char *) "self",(char *) "size", NULL
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10550 if (SWIG_arg_fail(1)) SWIG_fail
;
10553 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 Py_INCREF(Py_None
); resultobj
= Py_None
;
10569 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
= NULL
;
10571 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10572 wxLayoutOrientation arg2
;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 char *kwnames
[] = {
10576 (char *) "self",(char *) "orientation", NULL
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10581 if (SWIG_arg_fail(1)) SWIG_fail
;
10583 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10584 if (SWIG_arg_fail(2)) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 (arg1
)->SetOrientation(arg2
);
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 Py_INCREF(Py_None
); resultobj
= Py_None
;
10600 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10603 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10605 return Py_BuildValue((char *)"");
10607 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10608 PyObject
*resultobj
= NULL
;
10609 wxLayoutAlgorithm
*result
;
10610 char *kwnames
[] = {
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10629 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
= NULL
;
10631 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10639 if (SWIG_arg_fail(1)) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 Py_INCREF(Py_None
); resultobj
= Py_None
;
10654 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
= NULL
;
10656 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10657 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10658 wxRect
*arg3
= (wxRect
*) NULL
;
10660 PyObject
* obj0
= 0 ;
10661 PyObject
* obj1
= 0 ;
10662 PyObject
* obj2
= 0 ;
10663 char *kwnames
[] = {
10664 (char *) "self",(char *) "frame",(char *) "rect", NULL
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10669 if (SWIG_arg_fail(1)) SWIG_fail
;
10670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10671 if (SWIG_arg_fail(2)) SWIG_fail
;
10673 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10674 if (SWIG_arg_fail(3)) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10692 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
= NULL
;
10694 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10695 wxFrame
*arg2
= (wxFrame
*) 0 ;
10696 wxWindow
*arg3
= (wxWindow
*) NULL
;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 PyObject
* obj2
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10707 if (SWIG_arg_fail(1)) SWIG_fail
;
10708 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10709 if (SWIG_arg_fail(2)) SWIG_fail
;
10711 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10712 if (SWIG_arg_fail(3)) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10730 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10731 PyObject
*resultobj
= NULL
;
10732 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10733 wxWindow
*arg2
= (wxWindow
*) 0 ;
10734 wxWindow
*arg3
= (wxWindow
*) NULL
;
10736 PyObject
* obj0
= 0 ;
10737 PyObject
* obj1
= 0 ;
10738 PyObject
* obj2
= 0 ;
10739 char *kwnames
[] = {
10740 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10745 if (SWIG_arg_fail(1)) SWIG_fail
;
10746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10747 if (SWIG_arg_fail(2)) SWIG_fail
;
10749 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10750 if (SWIG_arg_fail(3)) SWIG_fail
;
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10768 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10771 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10773 return Py_BuildValue((char *)"");
10775 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
= NULL
;
10777 wxWindow
*arg1
= (wxWindow
*) 0 ;
10778 int arg2
= (int) wxBORDER_NONE
;
10779 wxPopupWindow
*result
;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "parent",(char *) "flags", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10788 if (SWIG_arg_fail(1)) SWIG_fail
;
10791 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10792 if (SWIG_arg_fail(2)) SWIG_fail
;
10796 if (!wxPyCheckForApp()) SWIG_fail
;
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10810 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
= NULL
;
10812 wxPopupWindow
*result
;
10813 char *kwnames
[] = {
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10819 if (!wxPyCheckForApp()) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (wxPopupWindow
*)new wxPopupWindow();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10833 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
= NULL
;
10835 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10836 wxWindow
*arg2
= (wxWindow
*) 0 ;
10837 int arg3
= (int) wxBORDER_NONE
;
10839 PyObject
* obj0
= 0 ;
10840 PyObject
* obj1
= 0 ;
10841 PyObject
* obj2
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self",(char *) "parent",(char *) "flags", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10848 if (SWIG_arg_fail(1)) SWIG_fail
;
10849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10850 if (SWIG_arg_fail(2)) SWIG_fail
;
10853 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10854 if (SWIG_arg_fail(3)) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10873 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
= NULL
;
10875 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10876 wxPoint
*arg2
= 0 ;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 PyObject
* obj2
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10889 if (SWIG_arg_fail(1)) SWIG_fail
;
10892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10896 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10902 wxPyEndAllowThreads(__tstate
);
10903 if (PyErr_Occurred()) SWIG_fail
;
10905 Py_INCREF(Py_None
); resultobj
= Py_None
;
10912 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10915 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10917 return Py_BuildValue((char *)"");
10919 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
= NULL
;
10921 wxWindow
*arg1
= (wxWindow
*) 0 ;
10922 int arg2
= (int) wxBORDER_NONE
;
10923 wxPyPopupTransientWindow
*result
;
10924 PyObject
* obj0
= 0 ;
10925 PyObject
* obj1
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "parent",(char *) "style", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10932 if (SWIG_arg_fail(1)) SWIG_fail
;
10935 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10936 if (SWIG_arg_fail(2)) SWIG_fail
;
10940 if (!wxPyCheckForApp()) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10954 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
= NULL
;
10956 wxPyPopupTransientWindow
*result
;
10957 char *kwnames
[] = {
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10963 if (!wxPyCheckForApp()) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10977 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
= NULL
;
10979 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10980 PyObject
*arg2
= (PyObject
*) 0 ;
10981 PyObject
*arg3
= (PyObject
*) 0 ;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 PyObject
* obj2
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self",(char *) "self",(char *) "_class", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 Py_INCREF(Py_None
); resultobj
= Py_None
;
11008 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
= NULL
;
11010 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11011 wxWindow
*arg2
= (wxWindow
*) NULL
;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self",(char *) "focus", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
11019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11020 if (SWIG_arg_fail(1)) SWIG_fail
;
11022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11023 if (SWIG_arg_fail(2)) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 (arg1
)->Popup(arg2
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 Py_INCREF(Py_None
); resultobj
= Py_None
;
11039 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
= NULL
;
11041 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11042 PyObject
* obj0
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
11048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 Py_INCREF(Py_None
); resultobj
= Py_None
;
11064 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
11066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11067 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
11069 return Py_BuildValue((char *)"");
11071 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
= NULL
;
11073 wxWindow
*arg1
= (wxWindow
*) 0 ;
11074 wxString
*arg2
= 0 ;
11075 int arg3
= (int) 100 ;
11076 wxRect
*arg4
= (wxRect
*) NULL
;
11077 wxTipWindow
*result
;
11078 bool temp2
= false ;
11079 PyObject
* obj0
= 0 ;
11080 PyObject
* obj1
= 0 ;
11081 PyObject
* obj2
= 0 ;
11082 PyObject
* obj3
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11089 if (SWIG_arg_fail(1)) SWIG_fail
;
11091 arg2
= wxString_in_helper(obj1
);
11092 if (arg2
== NULL
) SWIG_fail
;
11097 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11098 if (SWIG_arg_fail(3)) SWIG_fail
;
11102 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
11103 if (SWIG_arg_fail(4)) SWIG_fail
;
11106 if (!wxPyCheckForApp()) SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
11128 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
= NULL
;
11130 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11133 PyObject
* obj0
= 0 ;
11134 PyObject
* obj1
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self",(char *) "rectBound", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11141 if (SWIG_arg_fail(1)) SWIG_fail
;
11144 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
= NULL
;
11162 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11170 if (SWIG_arg_fail(1)) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 Py_INCREF(Py_None
); resultobj
= Py_None
;
11185 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11188 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11190 return Py_BuildValue((char *)"");
11192 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
= NULL
;
11194 wxWindow
*arg1
= (wxWindow
*) 0 ;
11195 int arg2
= (int) wxID_ANY
;
11196 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11197 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11198 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11199 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11200 long arg5
= (long) 0 ;
11201 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11202 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11203 wxPyVScrolledWindow
*result
;
11206 bool temp6
= false ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 PyObject
* obj2
= 0 ;
11210 PyObject
* obj3
= 0 ;
11211 PyObject
* obj4
= 0 ;
11212 PyObject
* obj5
= 0 ;
11213 char *kwnames
[] = {
11214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11219 if (SWIG_arg_fail(1)) SWIG_fail
;
11222 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11223 if (SWIG_arg_fail(2)) SWIG_fail
;
11229 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11235 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11240 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11241 if (SWIG_arg_fail(5)) SWIG_fail
;
11246 arg6
= wxString_in_helper(obj5
);
11247 if (arg6
== NULL
) SWIG_fail
;
11252 if (!wxPyCheckForApp()) SWIG_fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11274 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
= NULL
;
11276 wxPyVScrolledWindow
*result
;
11277 char *kwnames
[] = {
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11283 if (!wxPyCheckForApp()) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11297 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
= NULL
;
11299 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11300 PyObject
*arg2
= (PyObject
*) 0 ;
11301 PyObject
*arg3
= (PyObject
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 PyObject
* obj2
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "self",(char *) "self",(char *) "_class", NULL
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11311 if (SWIG_arg_fail(1)) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
= NULL
;
11330 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11331 wxWindow
*arg2
= (wxWindow
*) 0 ;
11332 int arg3
= (int) wxID_ANY
;
11333 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11334 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11335 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11336 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11337 long arg6
= (long) 0 ;
11338 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11339 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11343 bool temp7
= false ;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 PyObject
* obj2
= 0 ;
11347 PyObject
* obj3
= 0 ;
11348 PyObject
* obj4
= 0 ;
11349 PyObject
* obj5
= 0 ;
11350 PyObject
* obj6
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11357 if (SWIG_arg_fail(1)) SWIG_fail
;
11358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11359 if (SWIG_arg_fail(2)) SWIG_fail
;
11362 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11363 if (SWIG_arg_fail(3)) SWIG_fail
;
11369 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11375 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11380 arg6
= static_cast<long >(SWIG_As_long(obj5
));
11381 if (SWIG_arg_fail(6)) SWIG_fail
;
11386 arg7
= wxString_in_helper(obj6
);
11387 if (arg7
== NULL
) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11415 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
= NULL
;
11417 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11419 PyObject
* obj0
= 0 ;
11420 PyObject
* obj1
= 0 ;
11421 char *kwnames
[] = {
11422 (char *) "self",(char *) "count", NULL
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11427 if (SWIG_arg_fail(1)) SWIG_fail
;
11429 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11430 if (SWIG_arg_fail(2)) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 (arg1
)->SetLineCount(arg2
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 Py_INCREF(Py_None
); resultobj
= Py_None
;
11446 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
= NULL
;
11448 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self",(char *) "line", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail
;
11461 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11462 if (SWIG_arg_fail(2)) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11480 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
= NULL
;
11482 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self",(char *) "lines", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11493 if (SWIG_arg_fail(1)) SWIG_fail
;
11495 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11496 if (SWIG_arg_fail(2)) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (bool)(arg1
)->ScrollLines(arg2
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11514 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11515 PyObject
*resultobj
= NULL
;
11516 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11519 PyObject
* obj0
= 0 ;
11520 PyObject
* obj1
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self",(char *) "pages", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11527 if (SWIG_arg_fail(1)) SWIG_fail
;
11529 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11530 if (SWIG_arg_fail(2)) SWIG_fail
;
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (bool)(arg1
)->ScrollPages(arg2
);
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11548 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
= NULL
;
11550 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11552 PyObject
* obj0
= 0 ;
11553 PyObject
* obj1
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self",(char *) "line", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11560 if (SWIG_arg_fail(1)) SWIG_fail
;
11562 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11563 if (SWIG_arg_fail(2)) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 (arg1
)->RefreshLine(arg2
);
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 Py_INCREF(Py_None
); resultobj
= Py_None
;
11579 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
= NULL
;
11581 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 PyObject
* obj2
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "self",(char *) "from",(char *) "to", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11593 if (SWIG_arg_fail(1)) SWIG_fail
;
11595 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11596 if (SWIG_arg_fail(2)) SWIG_fail
;
11599 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
11600 if (SWIG_arg_fail(3)) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 (arg1
)->RefreshLines(arg2
,arg3
);
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 Py_INCREF(Py_None
); resultobj
= Py_None
;
11616 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
= NULL
;
11618 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 PyObject
* obj2
= 0 ;
11625 char *kwnames
[] = {
11626 (char *) "self",(char *) "x",(char *) "y", NULL
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11631 if (SWIG_arg_fail(1)) SWIG_fail
;
11633 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11634 if (SWIG_arg_fail(2)) SWIG_fail
;
11637 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11638 if (SWIG_arg_fail(3)) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= SWIG_From_int(static_cast<int >(result
));
11656 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
= NULL
;
11658 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11659 wxPoint
*arg2
= 0 ;
11662 PyObject
* obj0
= 0 ;
11663 PyObject
* obj1
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self",(char *) "pt", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11670 if (SWIG_arg_fail(1)) SWIG_fail
;
11673 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= SWIG_From_int(static_cast<int >(result
));
11691 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
= NULL
;
11693 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11694 PyObject
* obj0
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "self", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11701 if (SWIG_arg_fail(1)) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 (arg1
)->RefreshAll();
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 Py_INCREF(Py_None
); resultobj
= Py_None
;
11716 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
= NULL
;
11718 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11720 PyObject
* obj0
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "self", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11727 if (SWIG_arg_fail(1)) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11736 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11744 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(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_GetVisibleBegin",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
)->GetVisibleBegin();
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_GetVisibleEnd(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_GetVisibleEnd",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
)->GetVisibleEnd();
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_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
= NULL
;
11802 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self",(char *) "line", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11813 if (SWIG_arg_fail(1)) SWIG_fail
;
11815 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11816 if (SWIG_arg_fail(2)) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11834 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
= NULL
;
11836 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11838 PyObject
* obj0
= 0 ;
11839 char *kwnames
[] = {
11840 (char *) "self", NULL
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11845 if (SWIG_arg_fail(1)) SWIG_fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11862 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(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_GetLastVisibleLine",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
)->GetLastVisibleLine();
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11890 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11893 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11895 return Py_BuildValue((char *)"");
11897 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11898 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11903 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11904 PyObject
*pyobj
= NULL
;
11908 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11910 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11917 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
= NULL
;
11919 wxWindow
*arg1
= (wxWindow
*) 0 ;
11920 int arg2
= (int) wxID_ANY
;
11921 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11922 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11923 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11924 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11925 long arg5
= (long) 0 ;
11926 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11927 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11928 wxPyVListBox
*result
;
11931 bool temp6
= false ;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 PyObject
* obj2
= 0 ;
11935 PyObject
* obj3
= 0 ;
11936 PyObject
* obj4
= 0 ;
11937 PyObject
* obj5
= 0 ;
11938 char *kwnames
[] = {
11939 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11944 if (SWIG_arg_fail(1)) SWIG_fail
;
11947 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11948 if (SWIG_arg_fail(2)) SWIG_fail
;
11954 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11960 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11965 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11966 if (SWIG_arg_fail(5)) SWIG_fail
;
11971 arg6
= wxString_in_helper(obj5
);
11972 if (arg6
== NULL
) SWIG_fail
;
11977 if (!wxPyCheckForApp()) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11999 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
= NULL
;
12001 wxPyVListBox
*result
;
12002 char *kwnames
[] = {
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
12008 if (!wxPyCheckForApp()) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 result
= (wxPyVListBox
*)new wxPyVListBox();
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12022 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
= NULL
;
12024 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12025 PyObject
*arg2
= (PyObject
*) 0 ;
12026 PyObject
*arg3
= (PyObject
*) 0 ;
12027 PyObject
* obj0
= 0 ;
12028 PyObject
* obj1
= 0 ;
12029 PyObject
* obj2
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self",(char *) "self",(char *) "_class", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 Py_INCREF(Py_None
); resultobj
= Py_None
;
12053 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
= NULL
;
12055 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12056 wxWindow
*arg2
= (wxWindow
*) 0 ;
12057 int arg3
= (int) wxID_ANY
;
12058 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12059 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12060 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12061 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12062 long arg6
= (long) 0 ;
12063 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12064 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12068 bool temp7
= false ;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 PyObject
* obj2
= 0 ;
12072 PyObject
* obj3
= 0 ;
12073 PyObject
* obj4
= 0 ;
12074 PyObject
* obj5
= 0 ;
12075 PyObject
* obj6
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail
;
12083 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12084 if (SWIG_arg_fail(2)) SWIG_fail
;
12087 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12088 if (SWIG_arg_fail(3)) SWIG_fail
;
12094 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12100 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12105 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12106 if (SWIG_arg_fail(6)) SWIG_fail
;
12111 arg7
= wxString_in_helper(obj6
);
12112 if (arg7
== NULL
) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12140 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
= NULL
;
12142 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
12150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12151 if (SWIG_arg_fail(1)) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12168 static PyObject
*_wrap_VListBox_HasMultipleSelection(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_HasMultipleSelection",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
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12196 static PyObject
*_wrap_VListBox_GetSelection(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_GetSelection",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
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= SWIG_From_int(static_cast<int >(result
));
12224 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
= NULL
;
12226 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12229 PyObject
* obj0
= 0 ;
12230 PyObject
* obj1
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self",(char *) "item", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12237 if (SWIG_arg_fail(1)) SWIG_fail
;
12239 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12240 if (SWIG_arg_fail(2)) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12258 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= NULL
;
12260 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 PyObject
* obj1
= 0 ;
12265 char *kwnames
[] = {
12266 (char *) "self",(char *) "item", NULL
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12271 if (SWIG_arg_fail(1)) SWIG_fail
;
12273 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12274 if (SWIG_arg_fail(2)) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12292 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
= NULL
;
12294 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12303 if (SWIG_arg_fail(1)) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12320 static PyObject
*_wrap_VListBox_GetFirstSelected(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_GetFirstSelected",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
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= result
;
12346 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
= NULL
;
12348 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12349 unsigned long arg2
;
12351 PyObject
* obj0
= 0 ;
12352 PyObject
* obj1
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self",(char *) "cookie", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
12362 if (SWIG_arg_fail(2)) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= result
;
12378 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
= NULL
;
12380 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12398 wxPoint
* resultptr
;
12399 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12408 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
= NULL
;
12410 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12412 PyObject
* obj0
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12419 if (SWIG_arg_fail(1)) SWIG_fail
;
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12424 result
= (wxColour
*) &_result_ref
;
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12437 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
= NULL
;
12439 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self",(char *) "count", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12449 if (SWIG_arg_fail(1)) SWIG_fail
;
12451 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12452 if (SWIG_arg_fail(2)) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 (arg1
)->SetItemCount(arg2
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 Py_INCREF(Py_None
); resultobj
= Py_None
;
12468 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
= NULL
;
12470 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12471 PyObject
* obj0
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12478 if (SWIG_arg_fail(1)) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 Py_INCREF(Py_None
); resultobj
= Py_None
;
12493 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
= NULL
;
12495 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 PyObject
* obj1
= 0 ;
12499 char *kwnames
[] = {
12500 (char *) "self",(char *) "selection", NULL
12503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12505 if (SWIG_arg_fail(1)) SWIG_fail
;
12507 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12508 if (SWIG_arg_fail(2)) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 (arg1
)->SetSelection(arg2
);
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 Py_INCREF(Py_None
); resultobj
= Py_None
;
12524 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
= NULL
;
12526 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12528 bool arg3
= (bool) true ;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 PyObject
* obj2
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self",(char *) "item",(char *) "select", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12539 if (SWIG_arg_fail(1)) SWIG_fail
;
12541 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12542 if (SWIG_arg_fail(2)) SWIG_fail
;
12546 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
12547 if (SWIG_arg_fail(3)) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12566 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
= NULL
;
12568 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 PyObject
* obj1
= 0 ;
12574 PyObject
* obj2
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self",(char *) "from",(char *) "to", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12581 if (SWIG_arg_fail(1)) SWIG_fail
;
12583 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12584 if (SWIG_arg_fail(2)) SWIG_fail
;
12587 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12588 if (SWIG_arg_fail(3)) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12606 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12607 PyObject
*resultobj
= NULL
;
12608 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self",(char *) "item", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12618 if (SWIG_arg_fail(1)) SWIG_fail
;
12620 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12621 if (SWIG_arg_fail(2)) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 (arg1
)->Toggle(arg2
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 Py_INCREF(Py_None
); resultobj
= Py_None
;
12637 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
= NULL
;
12639 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12641 PyObject
* obj0
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12648 if (SWIG_arg_fail(1)) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 result
= (bool)(arg1
)->SelectAll();
12653 wxPyEndAllowThreads(__tstate
);
12654 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12665 static PyObject
*_wrap_VListBox_DeselectAll(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_DeselectAll",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
)->DeselectAll();
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12693 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
= NULL
;
12695 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12696 wxPoint
*arg2
= 0 ;
12698 PyObject
* obj0
= 0 ;
12699 PyObject
* obj1
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "self",(char *) "pt", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12706 if (SWIG_arg_fail(1)) SWIG_fail
;
12709 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 Py_INCREF(Py_None
); resultobj
= Py_None
;
12725 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
= NULL
;
12727 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 PyObject
* obj1
= 0 ;
12732 PyObject
* obj2
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self",(char *) "x",(char *) "y", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12739 if (SWIG_arg_fail(1)) SWIG_fail
;
12741 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12742 if (SWIG_arg_fail(2)) SWIG_fail
;
12745 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12746 if (SWIG_arg_fail(3)) SWIG_fail
;
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 (arg1
)->SetMargins(arg2
,arg3
);
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12755 Py_INCREF(Py_None
); resultobj
= Py_None
;
12762 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12763 PyObject
*resultobj
= NULL
;
12764 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12765 wxColour
*arg2
= 0 ;
12767 PyObject
* obj0
= 0 ;
12768 PyObject
* obj1
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self",(char *) "col", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail
;
12778 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 Py_INCREF(Py_None
); resultobj
= Py_None
;
12794 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12797 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12799 return Py_BuildValue((char *)"");
12801 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
= NULL
;
12803 wxWindow
*arg1
= (wxWindow
*) 0 ;
12804 int arg2
= (int) wxID_ANY
;
12805 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12806 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12807 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12808 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12809 long arg5
= (long) 0 ;
12810 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12811 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12812 wxPyHtmlListBox
*result
;
12815 bool temp6
= false ;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 PyObject
* obj2
= 0 ;
12819 PyObject
* obj3
= 0 ;
12820 PyObject
* obj4
= 0 ;
12821 PyObject
* obj5
= 0 ;
12822 char *kwnames
[] = {
12823 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12828 if (SWIG_arg_fail(1)) SWIG_fail
;
12831 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12832 if (SWIG_arg_fail(2)) SWIG_fail
;
12838 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12844 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12849 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12850 if (SWIG_arg_fail(5)) SWIG_fail
;
12855 arg6
= wxString_in_helper(obj5
);
12856 if (arg6
== NULL
) SWIG_fail
;
12861 if (!wxPyCheckForApp()) SWIG_fail
;
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12883 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
= NULL
;
12885 wxPyHtmlListBox
*result
;
12886 char *kwnames
[] = {
12890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12892 if (!wxPyCheckForApp()) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12906 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
= NULL
;
12908 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12909 PyObject
*arg2
= (PyObject
*) 0 ;
12910 PyObject
*arg3
= (PyObject
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 PyObject
* obj1
= 0 ;
12913 PyObject
* obj2
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self",(char *) "self",(char *) "_class", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12920 if (SWIG_arg_fail(1)) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 Py_INCREF(Py_None
); resultobj
= Py_None
;
12937 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12938 PyObject
*resultobj
= NULL
;
12939 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12940 wxWindow
*arg2
= (wxWindow
*) 0 ;
12941 int arg3
= (int) wxID_ANY
;
12942 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12943 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12944 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12945 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12946 long arg6
= (long) 0 ;
12947 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12948 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12952 bool temp7
= false ;
12953 PyObject
* obj0
= 0 ;
12954 PyObject
* obj1
= 0 ;
12955 PyObject
* obj2
= 0 ;
12956 PyObject
* obj3
= 0 ;
12957 PyObject
* obj4
= 0 ;
12958 PyObject
* obj5
= 0 ;
12959 PyObject
* obj6
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12966 if (SWIG_arg_fail(1)) SWIG_fail
;
12967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12968 if (SWIG_arg_fail(2)) SWIG_fail
;
12971 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12972 if (SWIG_arg_fail(3)) SWIG_fail
;
12978 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12984 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12989 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12990 if (SWIG_arg_fail(6)) SWIG_fail
;
12995 arg7
= wxString_in_helper(obj6
);
12996 if (arg7
== NULL
) SWIG_fail
;
13001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13024 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
= NULL
;
13026 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
13033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 (arg1
)->RefreshAll();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 Py_INCREF(Py_None
); resultobj
= Py_None
;
13049 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
= NULL
;
13051 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self",(char *) "count", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
13060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13061 if (SWIG_arg_fail(1)) SWIG_fail
;
13063 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
13064 if (SWIG_arg_fail(2)) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 (arg1
)->SetItemCount(arg2
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 Py_INCREF(Py_None
); resultobj
= Py_None
;
13080 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
= NULL
;
13082 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13083 wxFileSystem
*result
;
13084 PyObject
* obj0
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
13090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13091 if (SWIG_arg_fail(1)) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
13096 result
= (wxFileSystem
*) &_result_ref
;
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
13109 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
13111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13112 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
13114 return Py_BuildValue((char *)"");
13116 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
= NULL
;
13118 wxPyTaskBarIcon
*result
;
13119 char *kwnames
[] = {
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
13125 if (!wxPyCheckForApp()) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
13139 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
= NULL
;
13141 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
13148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13149 if (SWIG_arg_fail(1)) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 Py_INCREF(Py_None
); resultobj
= Py_None
;
13164 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13165 PyObject
*resultobj
= NULL
;
13166 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13167 PyObject
*arg2
= (PyObject
*) 0 ;
13168 PyObject
*arg3
= (PyObject
*) 0 ;
13170 PyObject
* obj0
= 0 ;
13171 PyObject
* obj1
= 0 ;
13172 PyObject
* obj2
= 0 ;
13173 PyObject
* obj3
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13180 if (SWIG_arg_fail(1)) SWIG_fail
;
13184 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13185 if (SWIG_arg_fail(4)) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 Py_INCREF(Py_None
); resultobj
= Py_None
;
13201 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
= NULL
;
13203 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13204 PyObject
* obj0
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
13210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13211 if (SWIG_arg_fail(1)) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 wxPyTaskBarIcon_Destroy(arg1
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 Py_INCREF(Py_None
); resultobj
= Py_None
;
13226 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
= NULL
;
13228 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13230 PyObject
* obj0
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13237 if (SWIG_arg_fail(1)) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13254 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(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_IsIconInstalled",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
)->IsIconInstalled();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13282 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
= NULL
;
13284 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13286 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13287 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13289 bool temp3
= false ;
13290 PyObject
* obj0
= 0 ;
13291 PyObject
* obj1
= 0 ;
13292 PyObject
* obj2
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13299 if (SWIG_arg_fail(1)) SWIG_fail
;
13301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13302 if (SWIG_arg_fail(2)) SWIG_fail
;
13303 if (arg2
== NULL
) {
13304 SWIG_null_ref("wxIcon");
13306 if (SWIG_arg_fail(2)) SWIG_fail
;
13310 arg3
= wxString_in_helper(obj2
);
13311 if (arg3
== NULL
) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13339 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
= NULL
;
13341 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13343 PyObject
* obj0
= 0 ;
13344 char *kwnames
[] = {
13345 (char *) "self", NULL
13348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13350 if (SWIG_arg_fail(1)) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (bool)(arg1
)->RemoveIcon();
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13367 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
= NULL
;
13369 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13370 wxMenu
*arg2
= (wxMenu
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 PyObject
* obj1
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self",(char *) "menu", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13380 if (SWIG_arg_fail(1)) SWIG_fail
;
13381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13382 if (SWIG_arg_fail(2)) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 result
= (bool)(arg1
)->PopupMenu(arg2
);
13387 wxPyEndAllowThreads(__tstate
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13399 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13402 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13404 return Py_BuildValue((char *)"");
13406 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
= NULL
;
13409 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13410 wxTaskBarIconEvent
*result
;
13411 PyObject
* obj0
= 0 ;
13412 PyObject
* obj1
= 0 ;
13413 char *kwnames
[] = {
13414 (char *) "evtType",(char *) "tbIcon", NULL
13417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13419 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13420 if (SWIG_arg_fail(1)) SWIG_fail
;
13422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13423 if (SWIG_arg_fail(2)) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13438 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13441 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13443 return Py_BuildValue((char *)"");
13445 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13446 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13451 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13452 PyObject
*pyobj
= NULL
;
13456 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13458 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13465 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13466 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13471 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13472 PyObject
*pyobj
= NULL
;
13476 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13478 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13485 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13486 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13491 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13492 PyObject
*pyobj
= NULL
;
13496 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13498 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13505 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13506 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13511 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13512 PyObject
*pyobj
= NULL
;
13516 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13518 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13525 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13526 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13531 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13532 PyObject
*pyobj
= NULL
;
13536 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13538 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13545 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13546 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13551 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13552 PyObject
*pyobj
= NULL
;
13556 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13558 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13565 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
= NULL
;
13567 wxColourData
*result
;
13568 char *kwnames
[] = {
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (wxColourData
*)new wxColourData();
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13587 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
= NULL
;
13589 wxColourData
*arg1
= (wxColourData
*) 0 ;
13590 PyObject
* obj0
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "self", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13597 if (SWIG_arg_fail(1)) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 Py_INCREF(Py_None
); resultobj
= Py_None
;
13612 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
= NULL
;
13614 wxColourData
*arg1
= (wxColourData
*) 0 ;
13616 PyObject
* obj0
= 0 ;
13617 char *kwnames
[] = {
13618 (char *) "self", NULL
13621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13623 if (SWIG_arg_fail(1)) SWIG_fail
;
13625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13626 result
= (bool)(arg1
)->GetChooseFull();
13628 wxPyEndAllowThreads(__tstate
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13640 static PyObject
*_wrap_ColourData_GetColour(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_GetColour",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
= (arg1
)->GetColour();
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13660 wxColour
* resultptr
;
13661 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13670 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
= NULL
;
13672 wxColourData
*arg1
= (wxColourData
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 PyObject
* obj1
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "self",(char *) "i", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13683 if (SWIG_arg_fail(1)) SWIG_fail
;
13685 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13686 if (SWIG_arg_fail(2)) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (arg1
)->GetCustomColour(arg2
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 wxColour
* resultptr
;
13697 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13706 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
= NULL
;
13708 wxColourData
*arg1
= (wxColourData
*) 0 ;
13710 PyObject
* obj0
= 0 ;
13711 PyObject
* obj1
= 0 ;
13712 char *kwnames
[] = {
13713 (char *) "self",(char *) "flag", NULL
13716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13718 if (SWIG_arg_fail(1)) SWIG_fail
;
13720 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13721 if (SWIG_arg_fail(2)) SWIG_fail
;
13724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13725 (arg1
)->SetChooseFull(arg2
);
13727 wxPyEndAllowThreads(__tstate
);
13728 if (PyErr_Occurred()) SWIG_fail
;
13730 Py_INCREF(Py_None
); resultobj
= Py_None
;
13737 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
= NULL
;
13739 wxColourData
*arg1
= (wxColourData
*) 0 ;
13740 wxColour
*arg2
= 0 ;
13742 PyObject
* obj0
= 0 ;
13743 PyObject
* obj1
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self",(char *) "colour", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13750 if (SWIG_arg_fail(1)) SWIG_fail
;
13753 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13757 (arg1
)->SetColour((wxColour
const &)*arg2
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 Py_INCREF(Py_None
); resultobj
= Py_None
;
13769 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
= NULL
;
13771 wxColourData
*arg1
= (wxColourData
*) 0 ;
13773 wxColour
*arg3
= 0 ;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 PyObject
* obj2
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self",(char *) "i",(char *) "colour", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13784 if (SWIG_arg_fail(1)) SWIG_fail
;
13786 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13787 if (SWIG_arg_fail(2)) SWIG_fail
;
13791 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13795 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13797 wxPyEndAllowThreads(__tstate
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 Py_INCREF(Py_None
); resultobj
= Py_None
;
13807 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13810 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13812 return Py_BuildValue((char *)"");
13814 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
= NULL
;
13816 wxWindow
*arg1
= (wxWindow
*) 0 ;
13817 wxColourData
*arg2
= (wxColourData
*) NULL
;
13818 wxColourDialog
*result
;
13819 PyObject
* obj0
= 0 ;
13820 PyObject
* obj1
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "parent",(char *) "data", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13827 if (SWIG_arg_fail(1)) SWIG_fail
;
13829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13830 if (SWIG_arg_fail(2)) SWIG_fail
;
13833 if (!wxPyCheckForApp()) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13847 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
= NULL
;
13849 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13850 wxColourData
*result
;
13851 PyObject
* obj0
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13858 if (SWIG_arg_fail(1)) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13863 result
= (wxColourData
*) &_result_ref
;
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13876 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13879 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13881 return Py_BuildValue((char *)"");
13883 static PyObject
*_wrap_GetColourFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
= NULL
;
13885 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
13886 wxColour
const &arg2_defvalue
= wxNullColour
;
13887 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
13888 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13889 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13892 bool temp3
= false ;
13893 PyObject
* obj0
= 0 ;
13894 PyObject
* obj1
= 0 ;
13895 PyObject
* obj2
= 0 ;
13896 char *kwnames
[] = {
13897 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13903 if (SWIG_arg_fail(1)) SWIG_fail
;
13908 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13913 arg3
= wxString_in_helper(obj2
);
13914 if (arg3
== NULL
) SWIG_fail
;
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13926 wxColour
* resultptr
;
13927 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13944 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
= NULL
;
13946 wxWindow
*arg1
= (wxWindow
*) 0 ;
13947 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13948 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13949 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13950 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13951 long arg4
= (long) 0 ;
13952 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13953 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13954 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13955 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13956 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13957 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13958 wxDirDialog
*result
;
13959 bool temp2
= false ;
13960 bool temp3
= false ;
13963 bool temp7
= false ;
13964 PyObject
* obj0
= 0 ;
13965 PyObject
* obj1
= 0 ;
13966 PyObject
* obj2
= 0 ;
13967 PyObject
* obj3
= 0 ;
13968 PyObject
* obj4
= 0 ;
13969 PyObject
* obj5
= 0 ;
13970 PyObject
* obj6
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13977 if (SWIG_arg_fail(1)) SWIG_fail
;
13980 arg2
= wxString_in_helper(obj1
);
13981 if (arg2
== NULL
) SWIG_fail
;
13987 arg3
= wxString_in_helper(obj2
);
13988 if (arg3
== NULL
) SWIG_fail
;
13994 arg4
= static_cast<long >(SWIG_As_long(obj3
));
13995 if (SWIG_arg_fail(4)) SWIG_fail
;
14001 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14007 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14012 arg7
= wxString_in_helper(obj6
);
14013 if (arg7
== NULL
) SWIG_fail
;
14018 if (!wxPyCheckForApp()) SWIG_fail
;
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14020 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
14056 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
= NULL
;
14058 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14060 PyObject
* obj0
= 0 ;
14061 char *kwnames
[] = {
14062 (char *) "self", NULL
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14067 if (SWIG_arg_fail(1)) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 result
= (arg1
)->GetPath();
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14088 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
= NULL
;
14090 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14099 if (SWIG_arg_fail(1)) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= (arg1
)->GetMessage();
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14120 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
= NULL
;
14122 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14131 if (SWIG_arg_fail(1)) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (long)(arg1
)->GetStyle();
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_From_long(static_cast<long >(result
));
14148 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
= NULL
;
14150 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14151 wxString
*arg2
= 0 ;
14152 bool temp2
= false ;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self",(char *) "message", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14161 if (SWIG_arg_fail(1)) SWIG_fail
;
14163 arg2
= wxString_in_helper(obj1
);
14164 if (arg2
== NULL
) SWIG_fail
;
14168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14169 (arg1
)->SetMessage((wxString
const &)*arg2
);
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 Py_INCREF(Py_None
); resultobj
= Py_None
;
14189 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
= NULL
;
14191 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14192 wxString
*arg2
= 0 ;
14193 bool temp2
= false ;
14194 PyObject
* obj0
= 0 ;
14195 PyObject
* obj1
= 0 ;
14196 char *kwnames
[] = {
14197 (char *) "self",(char *) "path", NULL
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14202 if (SWIG_arg_fail(1)) SWIG_fail
;
14204 arg2
= wxString_in_helper(obj1
);
14205 if (arg2
== NULL
) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 (arg1
)->SetPath((wxString
const &)*arg2
);
14212 wxPyEndAllowThreads(__tstate
);
14213 if (PyErr_Occurred()) SWIG_fail
;
14215 Py_INCREF(Py_None
); resultobj
= Py_None
;
14230 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
14232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14233 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
14235 return Py_BuildValue((char *)"");
14237 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
= NULL
;
14239 wxWindow
*arg1
= (wxWindow
*) 0 ;
14240 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
14241 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14242 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14243 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14244 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14245 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14246 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14247 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14248 long arg6
= (long) 0 ;
14249 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14250 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14251 wxFileDialog
*result
;
14252 bool temp2
= false ;
14253 bool temp3
= false ;
14254 bool temp4
= false ;
14255 bool temp5
= false ;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 PyObject
* obj2
= 0 ;
14260 PyObject
* obj3
= 0 ;
14261 PyObject
* obj4
= 0 ;
14262 PyObject
* obj5
= 0 ;
14263 PyObject
* obj6
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14270 if (SWIG_arg_fail(1)) SWIG_fail
;
14273 arg2
= wxString_in_helper(obj1
);
14274 if (arg2
== NULL
) SWIG_fail
;
14280 arg3
= wxString_in_helper(obj2
);
14281 if (arg3
== NULL
) SWIG_fail
;
14287 arg4
= wxString_in_helper(obj3
);
14288 if (arg4
== NULL
) SWIG_fail
;
14294 arg5
= wxString_in_helper(obj4
);
14295 if (arg5
== NULL
) SWIG_fail
;
14301 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14302 if (SWIG_arg_fail(6)) SWIG_fail
;
14308 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14312 if (!wxPyCheckForApp()) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14358 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
= NULL
;
14360 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14361 wxString
*arg2
= 0 ;
14362 bool temp2
= false ;
14363 PyObject
* obj0
= 0 ;
14364 PyObject
* obj1
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self",(char *) "message", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14371 if (SWIG_arg_fail(1)) SWIG_fail
;
14373 arg2
= wxString_in_helper(obj1
);
14374 if (arg2
== NULL
) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 (arg1
)->SetMessage((wxString
const &)*arg2
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 Py_INCREF(Py_None
); resultobj
= Py_None
;
14399 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
= NULL
;
14401 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14402 wxString
*arg2
= 0 ;
14403 bool temp2
= false ;
14404 PyObject
* obj0
= 0 ;
14405 PyObject
* obj1
= 0 ;
14406 char *kwnames
[] = {
14407 (char *) "self",(char *) "path", NULL
14410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14412 if (SWIG_arg_fail(1)) SWIG_fail
;
14414 arg2
= wxString_in_helper(obj1
);
14415 if (arg2
== NULL
) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 (arg1
)->SetPath((wxString
const &)*arg2
);
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 Py_INCREF(Py_None
); resultobj
= Py_None
;
14440 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
= NULL
;
14442 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14443 wxString
*arg2
= 0 ;
14444 bool temp2
= false ;
14445 PyObject
* obj0
= 0 ;
14446 PyObject
* obj1
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self",(char *) "dir", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14453 if (SWIG_arg_fail(1)) SWIG_fail
;
14455 arg2
= wxString_in_helper(obj1
);
14456 if (arg2
== NULL
) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 Py_INCREF(Py_None
); resultobj
= Py_None
;
14481 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
= NULL
;
14483 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14484 wxString
*arg2
= 0 ;
14485 bool temp2
= false ;
14486 PyObject
* obj0
= 0 ;
14487 PyObject
* obj1
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self",(char *) "name", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14494 if (SWIG_arg_fail(1)) SWIG_fail
;
14496 arg2
= wxString_in_helper(obj1
);
14497 if (arg2
== NULL
) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 (arg1
)->SetFilename((wxString
const &)*arg2
);
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 Py_INCREF(Py_None
); resultobj
= Py_None
;
14522 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
= NULL
;
14524 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14525 wxString
*arg2
= 0 ;
14526 bool temp2
= false ;
14527 PyObject
* obj0
= 0 ;
14528 PyObject
* obj1
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self",(char *) "wildCard", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14535 if (SWIG_arg_fail(1)) SWIG_fail
;
14537 arg2
= wxString_in_helper(obj1
);
14538 if (arg2
== NULL
) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 Py_INCREF(Py_None
); resultobj
= Py_None
;
14563 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
= NULL
;
14565 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self",(char *) "style", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14575 if (SWIG_arg_fail(1)) SWIG_fail
;
14577 arg2
= static_cast<long >(SWIG_As_long(obj1
));
14578 if (SWIG_arg_fail(2)) SWIG_fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 (arg1
)->SetStyle(arg2
);
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14587 Py_INCREF(Py_None
); resultobj
= Py_None
;
14594 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
= NULL
;
14596 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14598 PyObject
* obj0
= 0 ;
14599 PyObject
* obj1
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self",(char *) "filterIndex", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14606 if (SWIG_arg_fail(1)) SWIG_fail
;
14608 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14609 if (SWIG_arg_fail(2)) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 (arg1
)->SetFilterIndex(arg2
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 Py_INCREF(Py_None
); resultobj
= Py_None
;
14625 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
= NULL
;
14627 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14629 PyObject
* obj0
= 0 ;
14630 char *kwnames
[] = {
14631 (char *) "self", NULL
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14636 if (SWIG_arg_fail(1)) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14657 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
= NULL
;
14659 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14661 PyObject
* obj0
= 0 ;
14662 char *kwnames
[] = {
14663 (char *) "self", NULL
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14668 if (SWIG_arg_fail(1)) SWIG_fail
;
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14689 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14690 PyObject
*resultobj
= NULL
;
14691 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14693 PyObject
* obj0
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "self", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14700 if (SWIG_arg_fail(1)) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14721 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
= NULL
;
14723 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14725 PyObject
* obj0
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14732 if (SWIG_arg_fail(1)) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14753 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
= NULL
;
14755 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14757 PyObject
* obj0
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14764 if (SWIG_arg_fail(1)) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14785 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
= NULL
;
14787 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14789 PyObject
* obj0
= 0 ;
14790 char *kwnames
[] = {
14791 (char *) "self", NULL
14794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14796 if (SWIG_arg_fail(1)) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14805 resultobj
= SWIG_From_long(static_cast<long >(result
));
14813 static PyObject
*_wrap_FileDialog_GetFilterIndex(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_GetFilterIndex",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
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_From_int(static_cast<int >(result
));
14841 static PyObject
*_wrap_FileDialog_GetFilenames(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_GetFilenames",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
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= result
;
14867 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
= NULL
;
14869 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14871 PyObject
* obj0
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14878 if (SWIG_arg_fail(1)) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= result
;
14893 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14896 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14898 return Py_BuildValue((char *)"");
14900 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14901 PyObject
*resultobj
= NULL
;
14902 wxWindow
*arg1
= (wxWindow
*) 0 ;
14903 wxString
*arg2
= 0 ;
14904 wxString
*arg3
= 0 ;
14905 int arg4
= (int) 0 ;
14906 wxString
*arg5
= (wxString
*) NULL
;
14907 long arg6
= (long) wxCHOICEDLG_STYLE
;
14908 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14909 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14910 wxMultiChoiceDialog
*result
;
14911 bool temp2
= false ;
14912 bool temp3
= false ;
14914 PyObject
* obj0
= 0 ;
14915 PyObject
* obj1
= 0 ;
14916 PyObject
* obj2
= 0 ;
14917 PyObject
* obj3
= 0 ;
14918 PyObject
* obj4
= 0 ;
14919 PyObject
* obj5
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14926 if (SWIG_arg_fail(1)) SWIG_fail
;
14928 arg2
= wxString_in_helper(obj1
);
14929 if (arg2
== NULL
) SWIG_fail
;
14933 arg3
= wxString_in_helper(obj2
);
14934 if (arg3
== NULL
) SWIG_fail
;
14939 arg4
= PyList_Size(obj3
);
14940 arg5
= wxString_LIST_helper(obj3
);
14941 if (arg5
== NULL
) SWIG_fail
;
14946 arg6
= static_cast<long >(SWIG_As_long(obj4
));
14947 if (SWIG_arg_fail(6)) SWIG_fail
;
14953 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14957 if (!wxPyCheckForApp()) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14974 if (arg5
) delete [] arg5
;
14987 if (arg5
) delete [] arg5
;
14993 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
= NULL
;
14995 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14996 wxArrayInt
*arg2
= 0 ;
14997 bool temp2
= false ;
14998 PyObject
* obj0
= 0 ;
14999 PyObject
* obj1
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self",(char *) "selections", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
15005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15006 if (SWIG_arg_fail(1)) SWIG_fail
;
15008 if (! PySequence_Check(obj1
)) {
15009 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
15012 arg2
= new wxArrayInt
;
15014 int i
, len
=PySequence_Length(obj1
);
15015 for (i
=0; i
<len
; i
++) {
15016 PyObject
* item
= PySequence_GetItem(obj1
, i
);
15017 PyObject
* number
= PyNumber_Int(item
);
15018 arg2
->Add(PyInt_AS_LONG(number
));
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 Py_INCREF(Py_None
); resultobj
= Py_None
;
15032 if (temp2
) delete arg2
;
15037 if (temp2
) delete arg2
;
15043 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
= NULL
;
15045 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
15053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15054 if (SWIG_arg_fail(1)) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= result
;
15069 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15072 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
15074 return Py_BuildValue((char *)"");
15076 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
= NULL
;
15078 wxWindow
*arg1
= (wxWindow
*) 0 ;
15079 wxString
*arg2
= 0 ;
15080 wxString
*arg3
= 0 ;
15082 wxString
*arg5
= (wxString
*) 0 ;
15083 long arg6
= (long) wxCHOICEDLG_STYLE
;
15084 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15085 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15086 wxSingleChoiceDialog
*result
;
15087 bool temp2
= false ;
15088 bool temp3
= false ;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 PyObject
* obj2
= 0 ;
15093 PyObject
* obj3
= 0 ;
15094 PyObject
* obj4
= 0 ;
15095 PyObject
* obj5
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15102 if (SWIG_arg_fail(1)) SWIG_fail
;
15104 arg2
= wxString_in_helper(obj1
);
15105 if (arg2
== NULL
) SWIG_fail
;
15109 arg3
= wxString_in_helper(obj2
);
15110 if (arg3
== NULL
) SWIG_fail
;
15114 arg4
= PyList_Size(obj3
);
15115 arg5
= wxString_LIST_helper(obj3
);
15116 if (arg5
== NULL
) SWIG_fail
;
15120 arg6
= static_cast<long >(SWIG_As_long(obj4
));
15121 if (SWIG_arg_fail(6)) SWIG_fail
;
15127 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15131 if (!wxPyCheckForApp()) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
15148 if (arg5
) delete [] arg5
;
15161 if (arg5
) delete [] arg5
;
15167 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
= NULL
;
15169 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
15177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (int)(arg1
)->GetSelection();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= SWIG_From_int(static_cast<int >(result
));
15195 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(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_GetStringSelection",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
= (arg1
)->GetStringSelection();
15211 wxPyEndAllowThreads(__tstate
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15218 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15227 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
= NULL
;
15229 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15231 PyObject
* obj0
= 0 ;
15232 PyObject
* obj1
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self",(char *) "sel", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15239 if (SWIG_arg_fail(1)) SWIG_fail
;
15241 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15242 if (SWIG_arg_fail(2)) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 (arg1
)->SetSelection(arg2
);
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15251 Py_INCREF(Py_None
); resultobj
= Py_None
;
15258 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15261 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15263 return Py_BuildValue((char *)"");
15265 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15266 PyObject
*resultobj
= NULL
;
15267 wxWindow
*arg1
= (wxWindow
*) 0 ;
15268 wxString
*arg2
= 0 ;
15269 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15270 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15271 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15272 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15273 long arg5
= (long) wxTextEntryDialogStyle
;
15274 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15275 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15276 wxTextEntryDialog
*result
;
15277 bool temp2
= false ;
15278 bool temp3
= false ;
15279 bool temp4
= false ;
15281 PyObject
* obj0
= 0 ;
15282 PyObject
* obj1
= 0 ;
15283 PyObject
* obj2
= 0 ;
15284 PyObject
* obj3
= 0 ;
15285 PyObject
* obj4
= 0 ;
15286 PyObject
* obj5
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15293 if (SWIG_arg_fail(1)) SWIG_fail
;
15295 arg2
= wxString_in_helper(obj1
);
15296 if (arg2
== NULL
) SWIG_fail
;
15301 arg3
= wxString_in_helper(obj2
);
15302 if (arg3
== NULL
) SWIG_fail
;
15308 arg4
= wxString_in_helper(obj3
);
15309 if (arg4
== NULL
) SWIG_fail
;
15315 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15316 if (SWIG_arg_fail(5)) SWIG_fail
;
15322 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15326 if (!wxPyCheckForApp()) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15364 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
= NULL
;
15366 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15368 PyObject
* obj0
= 0 ;
15369 char *kwnames
[] = {
15370 (char *) "self", NULL
15373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15375 if (SWIG_arg_fail(1)) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 result
= (arg1
)->GetValue();
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15396 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15397 PyObject
*resultobj
= NULL
;
15398 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15399 wxString
*arg2
= 0 ;
15400 bool temp2
= false ;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 char *kwnames
[] = {
15404 (char *) "self",(char *) "value", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15409 if (SWIG_arg_fail(1)) SWIG_fail
;
15411 arg2
= wxString_in_helper(obj1
);
15412 if (arg2
== NULL
) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetValue((wxString
const &)*arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 Py_INCREF(Py_None
); resultobj
= Py_None
;
15437 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15440 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15442 return Py_BuildValue((char *)"");
15444 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15445 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15450 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15451 PyObject
*pyobj
= NULL
;
15455 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15457 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15464 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
= NULL
;
15466 wxWindow
*arg1
= (wxWindow
*) 0 ;
15467 wxString
*arg2
= 0 ;
15468 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15469 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15470 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15471 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15472 long arg5
= (long) wxTextEntryDialogStyle
;
15473 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15474 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15475 wxPasswordEntryDialog
*result
;
15476 bool temp2
= false ;
15477 bool temp3
= false ;
15478 bool temp4
= false ;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 PyObject
* obj2
= 0 ;
15483 PyObject
* obj3
= 0 ;
15484 PyObject
* obj4
= 0 ;
15485 PyObject
* obj5
= 0 ;
15486 char *kwnames
[] = {
15487 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15492 if (SWIG_arg_fail(1)) SWIG_fail
;
15494 arg2
= wxString_in_helper(obj1
);
15495 if (arg2
== NULL
) SWIG_fail
;
15500 arg3
= wxString_in_helper(obj2
);
15501 if (arg3
== NULL
) SWIG_fail
;
15507 arg4
= wxString_in_helper(obj3
);
15508 if (arg4
== NULL
) SWIG_fail
;
15514 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15515 if (SWIG_arg_fail(5)) SWIG_fail
;
15521 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15562 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15565 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15567 return Py_BuildValue((char *)"");
15569 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
= NULL
;
15571 wxFontData
*result
;
15572 char *kwnames
[] = {
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (wxFontData
*)new wxFontData();
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15591 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
= NULL
;
15593 wxFontData
*arg1
= (wxFontData
*) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15601 if (SWIG_arg_fail(1)) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 Py_INCREF(Py_None
); resultobj
= Py_None
;
15616 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
= NULL
;
15618 wxFontData
*arg1
= (wxFontData
*) 0 ;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 char *kwnames
[] = {
15623 (char *) "self",(char *) "enable", NULL
15626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15628 if (SWIG_arg_fail(1)) SWIG_fail
;
15630 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15631 if (SWIG_arg_fail(2)) SWIG_fail
;
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 (arg1
)->EnableEffects(arg2
);
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 Py_INCREF(Py_None
); resultobj
= Py_None
;
15647 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
= NULL
;
15649 wxFontData
*arg1
= (wxFontData
*) 0 ;
15651 PyObject
* obj0
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15658 if (SWIG_arg_fail(1)) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (bool)(arg1
)->GetAllowSymbols();
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15675 static PyObject
*_wrap_FontData_GetColour(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_GetColour",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
= (arg1
)->GetColour();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15695 wxColour
* resultptr
;
15696 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
15697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15705 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
= NULL
;
15707 wxFontData
*arg1
= (wxFontData
*) 0 ;
15709 PyObject
* obj0
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15716 if (SWIG_arg_fail(1)) SWIG_fail
;
15718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 result
= (arg1
)->GetChosenFont();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 wxFont
* resultptr
;
15726 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15735 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15736 PyObject
*resultobj
= NULL
;
15737 wxFontData
*arg1
= (wxFontData
*) 0 ;
15739 PyObject
* obj0
= 0 ;
15740 char *kwnames
[] = {
15741 (char *) "self", NULL
15744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15746 if (SWIG_arg_fail(1)) SWIG_fail
;
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 result
= (bool)(arg1
)->GetEnableEffects();
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15763 static PyObject
*_wrap_FontData_GetInitialFont(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_GetInitialFont",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
= (arg1
)->GetInitialFont();
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15783 wxFont
* resultptr
;
15784 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15793 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
= NULL
;
15795 wxFontData
*arg1
= (wxFontData
*) 0 ;
15797 PyObject
* obj0
= 0 ;
15798 char *kwnames
[] = {
15799 (char *) "self", NULL
15802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15804 if (SWIG_arg_fail(1)) SWIG_fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 result
= (bool)(arg1
)->GetShowHelp();
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15821 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
= NULL
;
15823 wxFontData
*arg1
= (wxFontData
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self",(char *) "allowSymbols", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15833 if (SWIG_arg_fail(1)) SWIG_fail
;
15835 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15836 if (SWIG_arg_fail(2)) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 (arg1
)->SetAllowSymbols(arg2
);
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 Py_INCREF(Py_None
); resultobj
= Py_None
;
15852 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
= NULL
;
15854 wxFontData
*arg1
= (wxFontData
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 PyObject
* obj1
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "self",(char *) "font", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15864 if (SWIG_arg_fail(1)) SWIG_fail
;
15866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15867 if (SWIG_arg_fail(2)) SWIG_fail
;
15868 if (arg2
== NULL
) {
15869 SWIG_null_ref("wxFont");
15871 if (SWIG_arg_fail(2)) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15880 Py_INCREF(Py_None
); resultobj
= Py_None
;
15887 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
= NULL
;
15889 wxFontData
*arg1
= (wxFontData
*) 0 ;
15890 wxColour
*arg2
= 0 ;
15892 PyObject
* obj0
= 0 ;
15893 PyObject
* obj1
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "self",(char *) "colour", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15900 if (SWIG_arg_fail(1)) SWIG_fail
;
15903 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 (arg1
)->SetColour((wxColour
const &)*arg2
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 Py_INCREF(Py_None
); resultobj
= Py_None
;
15919 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
= NULL
;
15921 wxFontData
*arg1
= (wxFontData
*) 0 ;
15923 PyObject
* obj0
= 0 ;
15924 PyObject
* obj1
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self",(char *) "font", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15931 if (SWIG_arg_fail(1)) SWIG_fail
;
15933 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15934 if (SWIG_arg_fail(2)) SWIG_fail
;
15935 if (arg2
== NULL
) {
15936 SWIG_null_ref("wxFont");
15938 if (SWIG_arg_fail(2)) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 Py_INCREF(Py_None
); resultobj
= Py_None
;
15954 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
= NULL
;
15956 wxFontData
*arg1
= (wxFontData
*) 0 ;
15959 PyObject
* obj0
= 0 ;
15960 PyObject
* obj1
= 0 ;
15961 PyObject
* obj2
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self",(char *) "min",(char *) "max", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15968 if (SWIG_arg_fail(1)) SWIG_fail
;
15970 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15971 if (SWIG_arg_fail(2)) SWIG_fail
;
15974 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15975 if (SWIG_arg_fail(3)) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 (arg1
)->SetRange(arg2
,arg3
);
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 Py_INCREF(Py_None
); resultobj
= Py_None
;
15991 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
= NULL
;
15993 wxFontData
*arg1
= (wxFontData
*) 0 ;
15995 PyObject
* obj0
= 0 ;
15996 PyObject
* obj1
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "self",(char *) "showHelp", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16003 if (SWIG_arg_fail(1)) SWIG_fail
;
16005 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16006 if (SWIG_arg_fail(2)) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 (arg1
)->SetShowHelp(arg2
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 Py_INCREF(Py_None
); resultobj
= Py_None
;
16022 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
16024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16025 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
16027 return Py_BuildValue((char *)"");
16029 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
= NULL
;
16031 wxWindow
*arg1
= (wxWindow
*) 0 ;
16032 wxFontData
*arg2
= 0 ;
16033 wxFontDialog
*result
;
16034 PyObject
* obj0
= 0 ;
16035 PyObject
* obj1
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "parent",(char *) "data", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16042 if (SWIG_arg_fail(1)) SWIG_fail
;
16044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16045 if (SWIG_arg_fail(2)) SWIG_fail
;
16046 if (arg2
== NULL
) {
16047 SWIG_null_ref("wxFontData");
16049 if (SWIG_arg_fail(2)) SWIG_fail
;
16052 if (!wxPyCheckForApp()) SWIG_fail
;
16053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
16066 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
= NULL
;
16068 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
16069 wxFontData
*result
;
16070 PyObject
* obj0
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
16076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
16077 if (SWIG_arg_fail(1)) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 wxFontData
&_result_ref
= (arg1
)->GetFontData();
16082 result
= (wxFontData
*) &_result_ref
;
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
16095 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
16097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16098 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
16100 return Py_BuildValue((char *)"");
16102 static PyObject
*_wrap_GetFontFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
= NULL
;
16104 wxWindow
*arg1
= (wxWindow
*) NULL
;
16105 wxFont
const &arg2_defvalue
= wxNullFont
;
16106 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
16107 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16108 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16110 bool temp3
= false ;
16111 PyObject
* obj0
= 0 ;
16112 PyObject
* obj1
= 0 ;
16113 PyObject
* obj2
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16121 if (SWIG_arg_fail(1)) SWIG_fail
;
16125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16126 if (SWIG_arg_fail(2)) SWIG_fail
;
16127 if (arg2
== NULL
) {
16128 SWIG_null_ref("wxFont");
16130 if (SWIG_arg_fail(2)) SWIG_fail
;
16135 arg3
= wxString_in_helper(obj2
);
16136 if (arg3
== NULL
) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16148 wxFont
* resultptr
;
16149 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
16150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16166 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
= NULL
;
16168 wxWindow
*arg1
= (wxWindow
*) 0 ;
16169 wxString
*arg2
= 0 ;
16170 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
16171 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16172 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
16173 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16174 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16175 wxMessageDialog
*result
;
16176 bool temp2
= false ;
16177 bool temp3
= false ;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 PyObject
* obj2
= 0 ;
16182 PyObject
* obj3
= 0 ;
16183 PyObject
* obj4
= 0 ;
16184 char *kwnames
[] = {
16185 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16190 if (SWIG_arg_fail(1)) SWIG_fail
;
16192 arg2
= wxString_in_helper(obj1
);
16193 if (arg2
== NULL
) SWIG_fail
;
16198 arg3
= wxString_in_helper(obj2
);
16199 if (arg3
== NULL
) SWIG_fail
;
16205 arg4
= static_cast<long >(SWIG_As_long(obj3
));
16206 if (SWIG_arg_fail(4)) SWIG_fail
;
16212 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16216 if (!wxPyCheckForApp()) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
16246 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
16248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16249 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
16251 return Py_BuildValue((char *)"");
16253 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
= NULL
;
16255 wxString
*arg1
= 0 ;
16256 wxString
*arg2
= 0 ;
16257 int arg3
= (int) 100 ;
16258 wxWindow
*arg4
= (wxWindow
*) NULL
;
16259 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
16260 wxProgressDialog
*result
;
16261 bool temp1
= false ;
16262 bool temp2
= false ;
16263 PyObject
* obj0
= 0 ;
16264 PyObject
* obj1
= 0 ;
16265 PyObject
* obj2
= 0 ;
16266 PyObject
* obj3
= 0 ;
16267 PyObject
* obj4
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16274 arg1
= wxString_in_helper(obj0
);
16275 if (arg1
== NULL
) SWIG_fail
;
16279 arg2
= wxString_in_helper(obj1
);
16280 if (arg2
== NULL
) SWIG_fail
;
16285 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16286 if (SWIG_arg_fail(3)) SWIG_fail
;
16290 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16291 if (SWIG_arg_fail(4)) SWIG_fail
;
16295 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16296 if (SWIG_arg_fail(5)) SWIG_fail
;
16300 if (!wxPyCheckForApp()) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16330 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
= NULL
;
16332 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16334 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16335 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16337 bool temp3
= false ;
16338 PyObject
* obj0
= 0 ;
16339 PyObject
* obj1
= 0 ;
16340 PyObject
* obj2
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16347 if (SWIG_arg_fail(1)) SWIG_fail
;
16349 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16350 if (SWIG_arg_fail(2)) SWIG_fail
;
16354 arg3
= wxString_in_helper(obj2
);
16355 if (arg3
== NULL
) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16383 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
= NULL
;
16385 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16386 PyObject
* obj0
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16393 if (SWIG_arg_fail(1)) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 Py_INCREF(Py_None
); resultobj
= Py_None
;
16408 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16411 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16413 return Py_BuildValue((char *)"");
16415 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16416 PyObject
*resultobj
= NULL
;
16417 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16418 int arg2
= (int) 0 ;
16419 wxFindDialogEvent
*result
;
16420 PyObject
* obj0
= 0 ;
16421 PyObject
* obj1
= 0 ;
16422 char *kwnames
[] = {
16423 (char *) "commandType",(char *) "id", NULL
16426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16429 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
16430 if (SWIG_arg_fail(1)) SWIG_fail
;
16435 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16436 if (SWIG_arg_fail(2)) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16453 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
= NULL
;
16455 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16457 PyObject
* obj0
= 0 ;
16458 char *kwnames
[] = {
16459 (char *) "self", NULL
16462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16464 if (SWIG_arg_fail(1)) SWIG_fail
;
16466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16467 result
= (int)(arg1
)->GetFlags();
16469 wxPyEndAllowThreads(__tstate
);
16470 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= SWIG_From_int(static_cast<int >(result
));
16481 static PyObject
*_wrap_FindDialogEvent_GetFindString(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_GetFindString",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();
16496 wxString
const &_result_ref
= (arg1
)->GetFindString();
16497 result
= (wxString
*) &_result_ref
;
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16505 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16507 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16516 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16517 PyObject
*resultobj
= NULL
;
16518 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16527 if (SWIG_arg_fail(1)) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16532 result
= (wxString
*) &_result_ref
;
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16542 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16551 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16552 PyObject
*resultobj
= NULL
;
16553 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16554 wxFindReplaceDialog
*result
;
16555 PyObject
* obj0
= 0 ;
16556 char *kwnames
[] = {
16557 (char *) "self", NULL
16560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16562 if (SWIG_arg_fail(1)) SWIG_fail
;
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16577 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
= NULL
;
16579 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16581 PyObject
* obj0
= 0 ;
16582 PyObject
* obj1
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self",(char *) "flags", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16589 if (SWIG_arg_fail(1)) SWIG_fail
;
16591 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16592 if (SWIG_arg_fail(2)) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 (arg1
)->SetFlags(arg2
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 Py_INCREF(Py_None
); resultobj
= Py_None
;
16608 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
= NULL
;
16610 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16611 wxString
*arg2
= 0 ;
16612 bool temp2
= false ;
16613 PyObject
* obj0
= 0 ;
16614 PyObject
* obj1
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self",(char *) "str", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16621 if (SWIG_arg_fail(1)) SWIG_fail
;
16623 arg2
= wxString_in_helper(obj1
);
16624 if (arg2
== NULL
) SWIG_fail
;
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 (arg1
)->SetFindString((wxString
const &)*arg2
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 Py_INCREF(Py_None
); resultobj
= Py_None
;
16649 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
= NULL
;
16651 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16652 wxString
*arg2
= 0 ;
16653 bool temp2
= false ;
16654 PyObject
* obj0
= 0 ;
16655 PyObject
* obj1
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self",(char *) "str", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16662 if (SWIG_arg_fail(1)) SWIG_fail
;
16664 arg2
= wxString_in_helper(obj1
);
16665 if (arg2
== NULL
) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16675 Py_INCREF(Py_None
); resultobj
= Py_None
;
16690 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16693 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16695 return Py_BuildValue((char *)"");
16697 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
= NULL
;
16699 int arg1
= (int) 0 ;
16700 wxFindReplaceData
*result
;
16701 PyObject
* obj0
= 0 ;
16702 char *kwnames
[] = {
16703 (char *) "flags", NULL
16706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16709 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16710 if (SWIG_arg_fail(1)) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16727 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
= NULL
;
16729 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16730 PyObject
* obj0
= 0 ;
16731 char *kwnames
[] = {
16732 (char *) "self", NULL
16735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16737 if (SWIG_arg_fail(1)) SWIG_fail
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16745 Py_INCREF(Py_None
); resultobj
= Py_None
;
16752 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
= NULL
;
16754 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16763 if (SWIG_arg_fail(1)) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 wxString
const &_result_ref
= (arg1
)->GetFindString();
16768 result
= (wxString
*) &_result_ref
;
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16776 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16778 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16787 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
= NULL
;
16789 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16791 PyObject
* obj0
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16798 if (SWIG_arg_fail(1)) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16802 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16803 result
= (wxString
*) &_result_ref
;
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16813 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16822 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
= NULL
;
16824 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16826 PyObject
* obj0
= 0 ;
16827 char *kwnames
[] = {
16828 (char *) "self", NULL
16831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16833 if (SWIG_arg_fail(1)) SWIG_fail
;
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 result
= (int)(arg1
)->GetFlags();
16838 wxPyEndAllowThreads(__tstate
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16842 resultobj
= SWIG_From_int(static_cast<int >(result
));
16850 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
= NULL
;
16852 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 PyObject
* obj1
= 0 ;
16856 char *kwnames
[] = {
16857 (char *) "self",(char *) "flags", NULL
16860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16862 if (SWIG_arg_fail(1)) SWIG_fail
;
16864 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16865 if (SWIG_arg_fail(2)) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 (arg1
)->SetFlags(arg2
);
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 Py_INCREF(Py_None
); resultobj
= Py_None
;
16881 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
= NULL
;
16883 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16884 wxString
*arg2
= 0 ;
16885 bool temp2
= false ;
16886 PyObject
* obj0
= 0 ;
16887 PyObject
* obj1
= 0 ;
16888 char *kwnames
[] = {
16889 (char *) "self",(char *) "str", NULL
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16894 if (SWIG_arg_fail(1)) SWIG_fail
;
16896 arg2
= wxString_in_helper(obj1
);
16897 if (arg2
== NULL
) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 (arg1
)->SetFindString((wxString
const &)*arg2
);
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 Py_INCREF(Py_None
); resultobj
= Py_None
;
16922 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
= NULL
;
16924 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16925 wxString
*arg2
= 0 ;
16926 bool temp2
= false ;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 char *kwnames
[] = {
16930 (char *) "self",(char *) "str", NULL
16933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16935 if (SWIG_arg_fail(1)) SWIG_fail
;
16937 arg2
= wxString_in_helper(obj1
);
16938 if (arg2
== NULL
) SWIG_fail
;
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 Py_INCREF(Py_None
); resultobj
= Py_None
;
16963 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16966 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16968 return Py_BuildValue((char *)"");
16970 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
= NULL
;
16972 wxWindow
*arg1
= (wxWindow
*) 0 ;
16973 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16974 wxString
*arg3
= 0 ;
16975 int arg4
= (int) 0 ;
16976 wxFindReplaceDialog
*result
;
16977 bool temp3
= false ;
16978 PyObject
* obj0
= 0 ;
16979 PyObject
* obj1
= 0 ;
16980 PyObject
* obj2
= 0 ;
16981 PyObject
* obj3
= 0 ;
16982 char *kwnames
[] = {
16983 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16988 if (SWIG_arg_fail(1)) SWIG_fail
;
16989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16990 if (SWIG_arg_fail(2)) SWIG_fail
;
16992 arg3
= wxString_in_helper(obj2
);
16993 if (arg3
== NULL
) SWIG_fail
;
16998 arg4
= static_cast<int >(SWIG_As_int(obj3
));
16999 if (SWIG_arg_fail(4)) SWIG_fail
;
17003 if (!wxPyCheckForApp()) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17025 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
= NULL
;
17027 wxFindReplaceDialog
*result
;
17028 char *kwnames
[] = {
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
17034 if (!wxPyCheckForApp()) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17048 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
= NULL
;
17050 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17051 wxWindow
*arg2
= (wxWindow
*) 0 ;
17052 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
17053 wxString
*arg4
= 0 ;
17054 int arg5
= (int) 0 ;
17056 bool temp4
= false ;
17057 PyObject
* obj0
= 0 ;
17058 PyObject
* obj1
= 0 ;
17059 PyObject
* obj2
= 0 ;
17060 PyObject
* obj3
= 0 ;
17061 PyObject
* obj4
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17068 if (SWIG_arg_fail(1)) SWIG_fail
;
17069 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17070 if (SWIG_arg_fail(2)) SWIG_fail
;
17071 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17072 if (SWIG_arg_fail(3)) SWIG_fail
;
17074 arg4
= wxString_in_helper(obj3
);
17075 if (arg4
== NULL
) SWIG_fail
;
17080 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17081 if (SWIG_arg_fail(5)) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17108 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
= NULL
;
17110 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17111 wxFindReplaceData
*result
;
17112 PyObject
* obj0
= 0 ;
17113 char *kwnames
[] = {
17114 (char *) "self", NULL
17117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
17118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17119 if (SWIG_arg_fail(1)) SWIG_fail
;
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (wxFindReplaceData
*)(arg1
)->GetData();
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
17134 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
= NULL
;
17136 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17137 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self",(char *) "data", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17146 if (SWIG_arg_fail(1)) SWIG_fail
;
17147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17148 if (SWIG_arg_fail(2)) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 (arg1
)->SetData(arg2
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 Py_INCREF(Py_None
); resultobj
= Py_None
;
17163 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
17165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17166 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
17168 return Py_BuildValue((char *)"");
17170 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
= NULL
;
17172 wxWindow
*arg1
= (wxWindow
*) 0 ;
17173 int arg2
= (int) (int)-1 ;
17174 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17175 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17180 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17181 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17182 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17183 wxMDIParentFrame
*result
;
17184 bool temp3
= false ;
17187 bool temp7
= false ;
17188 PyObject
* obj0
= 0 ;
17189 PyObject
* obj1
= 0 ;
17190 PyObject
* obj2
= 0 ;
17191 PyObject
* obj3
= 0 ;
17192 PyObject
* obj4
= 0 ;
17193 PyObject
* obj5
= 0 ;
17194 PyObject
* obj6
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17201 if (SWIG_arg_fail(1)) SWIG_fail
;
17204 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17205 if (SWIG_arg_fail(2)) SWIG_fail
;
17210 arg3
= wxString_in_helper(obj2
);
17211 if (arg3
== NULL
) SWIG_fail
;
17218 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17224 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17229 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17230 if (SWIG_arg_fail(6)) SWIG_fail
;
17235 arg7
= wxString_in_helper(obj6
);
17236 if (arg7
== NULL
) SWIG_fail
;
17241 if (!wxPyCheckForApp()) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17271 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
= NULL
;
17273 wxMDIParentFrame
*result
;
17274 char *kwnames
[] = {
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
17280 if (!wxPyCheckForApp()) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17294 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
= NULL
;
17296 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17297 wxWindow
*arg2
= (wxWindow
*) 0 ;
17298 int arg3
= (int) (int)-1 ;
17299 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17300 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17301 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17302 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17303 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17304 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17305 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17306 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17307 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17309 bool temp4
= false ;
17312 bool temp8
= false ;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 PyObject
* obj2
= 0 ;
17316 PyObject
* obj3
= 0 ;
17317 PyObject
* obj4
= 0 ;
17318 PyObject
* obj5
= 0 ;
17319 PyObject
* obj6
= 0 ;
17320 PyObject
* obj7
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17327 if (SWIG_arg_fail(1)) SWIG_fail
;
17328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17329 if (SWIG_arg_fail(2)) SWIG_fail
;
17332 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17333 if (SWIG_arg_fail(3)) SWIG_fail
;
17338 arg4
= wxString_in_helper(obj3
);
17339 if (arg4
== NULL
) SWIG_fail
;
17346 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17352 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17357 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17358 if (SWIG_arg_fail(7)) SWIG_fail
;
17363 arg8
= wxString_in_helper(obj7
);
17364 if (arg8
== NULL
) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17400 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
= NULL
;
17402 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17410 if (SWIG_arg_fail(1)) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 (arg1
)->ActivateNext();
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 Py_INCREF(Py_None
); resultobj
= Py_None
;
17425 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
= NULL
;
17427 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17428 PyObject
* obj0
= 0 ;
17429 char *kwnames
[] = {
17430 (char *) "self", NULL
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17435 if (SWIG_arg_fail(1)) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 (arg1
)->ActivatePrevious();
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 Py_INCREF(Py_None
); resultobj
= Py_None
;
17450 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
= NULL
;
17452 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17453 PyObject
* obj0
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17460 if (SWIG_arg_fail(1)) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 (arg1
)->ArrangeIcons();
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 Py_INCREF(Py_None
); resultobj
= Py_None
;
17475 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
= NULL
;
17477 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17478 PyObject
* obj0
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17485 if (SWIG_arg_fail(1)) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 Py_INCREF(Py_None
); resultobj
= Py_None
;
17500 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
= NULL
;
17502 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17503 wxMDIChildFrame
*result
;
17504 PyObject
* obj0
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17511 if (SWIG_arg_fail(1)) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17528 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
= NULL
;
17530 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17531 wxMDIClientWindow
*result
;
17532 PyObject
* obj0
= 0 ;
17533 char *kwnames
[] = {
17534 (char *) "self", NULL
17537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",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
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17556 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
= NULL
;
17558 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17560 PyObject
* obj0
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",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
= (wxWindow
*)(arg1
)->GetToolBar();
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= wxPyMake_wxObject(result
, 0);
17584 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
= NULL
;
17586 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17587 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17588 PyObject
* obj0
= 0 ;
17589 PyObject
* obj1
= 0 ;
17590 char *kwnames
[] = {
17591 (char *) "self",(char *) "orient", NULL
17594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17596 if (SWIG_arg_fail(1)) SWIG_fail
;
17599 arg2
= static_cast<wxOrientation
>(SWIG_As_int(obj1
));
17600 if (SWIG_arg_fail(2)) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 (arg1
)->Tile(arg2
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 Py_INCREF(Py_None
); resultobj
= Py_None
;
17617 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17620 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17622 return Py_BuildValue((char *)"");
17624 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
= NULL
;
17626 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17627 int arg2
= (int) (int)-1 ;
17628 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17634 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17635 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17636 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17637 wxMDIChildFrame
*result
;
17638 bool temp3
= false ;
17641 bool temp7
= false ;
17642 PyObject
* obj0
= 0 ;
17643 PyObject
* obj1
= 0 ;
17644 PyObject
* obj2
= 0 ;
17645 PyObject
* obj3
= 0 ;
17646 PyObject
* obj4
= 0 ;
17647 PyObject
* obj5
= 0 ;
17648 PyObject
* obj6
= 0 ;
17649 char *kwnames
[] = {
17650 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17655 if (SWIG_arg_fail(1)) SWIG_fail
;
17658 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17659 if (SWIG_arg_fail(2)) SWIG_fail
;
17664 arg3
= wxString_in_helper(obj2
);
17665 if (arg3
== NULL
) SWIG_fail
;
17672 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17678 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17683 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17684 if (SWIG_arg_fail(6)) SWIG_fail
;
17689 arg7
= wxString_in_helper(obj6
);
17690 if (arg7
== NULL
) SWIG_fail
;
17695 if (!wxPyCheckForApp()) SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17725 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
= NULL
;
17727 wxMDIChildFrame
*result
;
17728 char *kwnames
[] = {
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17734 if (!wxPyCheckForApp()) SWIG_fail
;
17735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17748 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
= NULL
;
17750 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17751 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17752 int arg3
= (int) (int)-1 ;
17753 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17754 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17755 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17756 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17757 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17758 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17759 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17760 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17761 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17763 bool temp4
= false ;
17766 bool temp8
= false ;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 PyObject
* obj2
= 0 ;
17770 PyObject
* obj3
= 0 ;
17771 PyObject
* obj4
= 0 ;
17772 PyObject
* obj5
= 0 ;
17773 PyObject
* obj6
= 0 ;
17774 PyObject
* obj7
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail
;
17782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17783 if (SWIG_arg_fail(2)) SWIG_fail
;
17786 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17787 if (SWIG_arg_fail(3)) SWIG_fail
;
17792 arg4
= wxString_in_helper(obj3
);
17793 if (arg4
== NULL
) SWIG_fail
;
17800 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17806 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17811 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17812 if (SWIG_arg_fail(7)) SWIG_fail
;
17817 arg8
= wxString_in_helper(obj7
);
17818 if (arg8
== NULL
) SWIG_fail
;
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17854 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
= NULL
;
17856 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17864 if (SWIG_arg_fail(1)) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 (arg1
)->Activate();
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 Py_INCREF(Py_None
); resultobj
= Py_None
;
17879 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
= NULL
;
17881 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17882 bool arg2
= (bool) true ;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 char *kwnames
[] = {
17886 (char *) "self",(char *) "maximize", NULL
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17891 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17895 if (SWIG_arg_fail(2)) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 (arg1
)->Maximize(arg2
);
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 Py_INCREF(Py_None
); resultobj
= Py_None
;
17912 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
= NULL
;
17914 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17922 if (SWIG_arg_fail(1)) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 Py_INCREF(Py_None
); resultobj
= Py_None
;
17937 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17940 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17942 return Py_BuildValue((char *)"");
17944 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
= NULL
;
17946 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17947 long arg2
= (long) 0 ;
17948 wxMDIClientWindow
*result
;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "parent",(char *) "style", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17957 if (SWIG_arg_fail(1)) SWIG_fail
;
17960 arg2
= static_cast<long >(SWIG_As_long(obj1
));
17961 if (SWIG_arg_fail(2)) SWIG_fail
;
17965 if (!wxPyCheckForApp()) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17979 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
= NULL
;
17981 wxMDIClientWindow
*result
;
17982 char *kwnames
[] = {
17986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17988 if (!wxPyCheckForApp()) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
18002 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
= NULL
;
18004 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
18005 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
18006 long arg3
= (long) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 PyObject
* obj1
= 0 ;
18010 PyObject
* obj2
= 0 ;
18011 char *kwnames
[] = {
18012 (char *) "self",(char *) "parent",(char *) "style", NULL
18015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
18017 if (SWIG_arg_fail(1)) SWIG_fail
;
18018 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18019 if (SWIG_arg_fail(2)) SWIG_fail
;
18022 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18023 if (SWIG_arg_fail(3)) SWIG_fail
;
18027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18028 result
= (bool)(arg1
)->Create(arg2
,arg3
);
18030 wxPyEndAllowThreads(__tstate
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18042 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
18044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18045 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
18047 return Py_BuildValue((char *)"");
18049 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18050 PyObject
*resultobj
= NULL
;
18051 wxWindow
*arg1
= (wxWindow
*) 0 ;
18052 int arg2
= (int) (int)-1 ;
18053 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18054 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18055 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18056 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18057 long arg5
= (long) 0 ;
18058 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18059 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18060 wxPyWindow
*result
;
18063 bool temp6
= false ;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 PyObject
* obj2
= 0 ;
18067 PyObject
* obj3
= 0 ;
18068 PyObject
* obj4
= 0 ;
18069 PyObject
* obj5
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18076 if (SWIG_arg_fail(1)) SWIG_fail
;
18079 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
18080 if (SWIG_arg_fail(2)) SWIG_fail
;
18086 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18092 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18097 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18098 if (SWIG_arg_fail(5)) SWIG_fail
;
18103 arg6
= wxString_in_helper(obj5
);
18104 if (arg6
== NULL
) SWIG_fail
;
18109 if (!wxPyCheckForApp()) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18131 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
= NULL
;
18133 wxPyWindow
*result
;
18134 char *kwnames
[] = {
18138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
18140 if (!wxPyCheckForApp()) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (wxPyWindow
*)new wxPyWindow();
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18154 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
= NULL
;
18156 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18157 PyObject
*arg2
= (PyObject
*) 0 ;
18158 PyObject
*arg3
= (PyObject
*) 0 ;
18159 PyObject
* obj0
= 0 ;
18160 PyObject
* obj1
= 0 ;
18161 PyObject
* obj2
= 0 ;
18162 char *kwnames
[] = {
18163 (char *) "self",(char *) "self",(char *) "_class", NULL
18166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18168 if (SWIG_arg_fail(1)) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 Py_INCREF(Py_None
); resultobj
= Py_None
;
18185 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
= NULL
;
18187 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18190 PyObject
* obj0
= 0 ;
18191 PyObject
* obj1
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self",(char *) "size", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18198 if (SWIG_arg_fail(1)) SWIG_fail
;
18201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 Py_INCREF(Py_None
); resultobj
= Py_None
;
18217 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
= NULL
;
18219 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18220 wxDC
*arg2
= (wxDC
*) 0 ;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "self",(char *) "dc", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18230 if (SWIG_arg_fail(1)) SWIG_fail
;
18231 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18232 if (SWIG_arg_fail(2)) SWIG_fail
;
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18249 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18250 PyObject
*resultobj
= NULL
;
18251 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18256 PyObject
* obj0
= 0 ;
18257 PyObject
* obj1
= 0 ;
18258 PyObject
* obj2
= 0 ;
18259 PyObject
* obj3
= 0 ;
18260 PyObject
* obj4
= 0 ;
18261 char *kwnames
[] = {
18262 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18267 if (SWIG_arg_fail(1)) SWIG_fail
;
18269 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18270 if (SWIG_arg_fail(2)) SWIG_fail
;
18273 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18274 if (SWIG_arg_fail(3)) SWIG_fail
;
18277 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18278 if (SWIG_arg_fail(4)) SWIG_fail
;
18281 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18282 if (SWIG_arg_fail(5)) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 Py_INCREF(Py_None
); resultobj
= Py_None
;
18298 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
= NULL
;
18300 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18305 int arg6
= (int) wxSIZE_AUTO
;
18306 PyObject
* obj0
= 0 ;
18307 PyObject
* obj1
= 0 ;
18308 PyObject
* obj2
= 0 ;
18309 PyObject
* obj3
= 0 ;
18310 PyObject
* obj4
= 0 ;
18311 PyObject
* obj5
= 0 ;
18312 char *kwnames
[] = {
18313 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18318 if (SWIG_arg_fail(1)) SWIG_fail
;
18320 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18321 if (SWIG_arg_fail(2)) SWIG_fail
;
18324 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18325 if (SWIG_arg_fail(3)) SWIG_fail
;
18328 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18329 if (SWIG_arg_fail(4)) SWIG_fail
;
18332 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18333 if (SWIG_arg_fail(5)) SWIG_fail
;
18337 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18338 if (SWIG_arg_fail(6)) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 Py_INCREF(Py_None
); resultobj
= Py_None
;
18355 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
= NULL
;
18357 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 PyObject
* obj2
= 0 ;
18363 char *kwnames
[] = {
18364 (char *) "self",(char *) "width",(char *) "height", NULL
18367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18369 if (SWIG_arg_fail(1)) SWIG_fail
;
18371 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18372 if (SWIG_arg_fail(2)) SWIG_fail
;
18375 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18376 if (SWIG_arg_fail(3)) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 Py_INCREF(Py_None
); resultobj
= Py_None
;
18392 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
= NULL
;
18394 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 PyObject
* obj1
= 0 ;
18399 PyObject
* obj2
= 0 ;
18400 char *kwnames
[] = {
18401 (char *) "self",(char *) "x",(char *) "y", NULL
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18406 if (SWIG_arg_fail(1)) SWIG_fail
;
18408 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18409 if (SWIG_arg_fail(2)) SWIG_fail
;
18412 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18413 if (SWIG_arg_fail(3)) SWIG_fail
;
18416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18417 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 Py_INCREF(Py_None
); resultobj
= Py_None
;
18429 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
= NULL
;
18431 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18432 int *arg2
= (int *) 0 ;
18433 int *arg3
= (int *) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "self", NULL
18443 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18444 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18447 if (SWIG_arg_fail(1)) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 Py_INCREF(Py_None
); resultobj
= Py_None
;
18456 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18457 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18458 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18459 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18466 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
= NULL
;
18468 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18469 int *arg2
= (int *) 0 ;
18470 int *arg3
= (int *) 0 ;
18475 PyObject
* obj0
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "self", NULL
18480 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18481 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18484 if (SWIG_arg_fail(1)) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18492 Py_INCREF(Py_None
); resultobj
= Py_None
;
18493 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18494 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18495 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18496 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18503 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
= NULL
;
18505 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18506 int *arg2
= (int *) 0 ;
18507 int *arg3
= (int *) 0 ;
18512 PyObject
* obj0
= 0 ;
18513 char *kwnames
[] = {
18514 (char *) "self", NULL
18517 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18518 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18521 if (SWIG_arg_fail(1)) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 Py_INCREF(Py_None
); resultobj
= Py_None
;
18530 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18531 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18532 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18533 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18540 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
= NULL
;
18542 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "self", NULL
18549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18551 if (SWIG_arg_fail(1)) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18560 wxSize
* resultptr
;
18561 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18570 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
= NULL
;
18572 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18581 if (SWIG_arg_fail(1)) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18590 wxSize
* resultptr
;
18591 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18600 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
= NULL
;
18602 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 char *kwnames
[] = {
18605 (char *) "self", NULL
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18610 if (SWIG_arg_fail(1)) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 (arg1
)->base_InitDialog();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 Py_INCREF(Py_None
); resultobj
= Py_None
;
18625 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
= NULL
;
18627 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (bool)(arg1
)->base_TransferDataToWindow();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18653 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(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_base_TransferDataFromWindow",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
)->base_TransferDataFromWindow();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18681 static PyObject
*_wrap_PyWindow_base_Validate(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_base_Validate",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
)->base_Validate();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18709 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(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_base_AcceptsFocus",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)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18737 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(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_base_AcceptsFocusFromKeyboard",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
)->base_AcceptsFocusFromKeyboard();
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18765 static PyObject
*_wrap_PyWindow_base_GetMaxSize(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_base_GetMaxSize",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
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18785 wxSize
* resultptr
;
18786 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18795 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
= NULL
;
18797 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18798 wxWindow
*arg2
= (wxWindow
*) 0 ;
18799 PyObject
* obj0
= 0 ;
18800 PyObject
* obj1
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "self",(char *) "child", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18807 if (SWIG_arg_fail(1)) SWIG_fail
;
18808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18809 if (SWIG_arg_fail(2)) SWIG_fail
;
18811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18812 (arg1
)->base_AddChild(arg2
);
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 Py_INCREF(Py_None
); resultobj
= Py_None
;
18824 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
= NULL
;
18826 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18827 wxWindow
*arg2
= (wxWindow
*) 0 ;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self",(char *) "child", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18836 if (SWIG_arg_fail(1)) SWIG_fail
;
18837 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18838 if (SWIG_arg_fail(2)) SWIG_fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 (arg1
)->base_RemoveChild(arg2
);
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18846 Py_INCREF(Py_None
); resultobj
= Py_None
;
18853 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
= NULL
;
18855 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18857 PyObject
* obj0
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18864 if (SWIG_arg_fail(1)) SWIG_fail
;
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18881 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
= NULL
;
18883 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18884 wxVisualAttributes result
;
18885 PyObject
* obj0
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",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
= (arg1
)->base_GetDefaultAttributes();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18901 wxVisualAttributes
* resultptr
;
18902 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
18903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18911 static PyObject
*_wrap_PyWindow_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
= NULL
;
18913 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18914 PyObject
* obj0
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "self", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
18920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18921 if (SWIG_arg_fail(1)) SWIG_fail
;
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 (arg1
)->base_OnInternalIdle();
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 Py_INCREF(Py_None
); resultobj
= Py_None
;
18936 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18939 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18941 return Py_BuildValue((char *)"");
18943 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
= NULL
;
18945 wxWindow
*arg1
= (wxWindow
*) 0 ;
18946 int arg2
= (int) (int)-1 ;
18947 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18948 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18949 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18950 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18951 long arg5
= (long) 0 ;
18952 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18953 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18957 bool temp6
= false ;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 PyObject
* obj2
= 0 ;
18961 PyObject
* obj3
= 0 ;
18962 PyObject
* obj4
= 0 ;
18963 PyObject
* obj5
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18970 if (SWIG_arg_fail(1)) SWIG_fail
;
18973 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
18974 if (SWIG_arg_fail(2)) SWIG_fail
;
18980 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18986 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18991 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18992 if (SWIG_arg_fail(5)) SWIG_fail
;
18997 arg6
= wxString_in_helper(obj5
);
18998 if (arg6
== NULL
) SWIG_fail
;
19003 if (!wxPyCheckForApp()) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19025 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
= NULL
;
19028 char *kwnames
[] = {
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
19034 if (!wxPyCheckForApp()) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 result
= (wxPyPanel
*)new wxPyPanel();
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19048 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
= NULL
;
19050 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19051 PyObject
*arg2
= (PyObject
*) 0 ;
19052 PyObject
*arg3
= (PyObject
*) 0 ;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 PyObject
* obj2
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self",(char *) "self",(char *) "_class", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19062 if (SWIG_arg_fail(1)) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 Py_INCREF(Py_None
); resultobj
= Py_None
;
19079 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
= NULL
;
19081 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self",(char *) "size", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19092 if (SWIG_arg_fail(1)) SWIG_fail
;
19095 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 Py_INCREF(Py_None
); resultobj
= Py_None
;
19111 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
= NULL
;
19113 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19114 wxDC
*arg2
= (wxDC
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 PyObject
* obj1
= 0 ;
19118 char *kwnames
[] = {
19119 (char *) "self",(char *) "dc", NULL
19122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19124 if (SWIG_arg_fail(1)) SWIG_fail
;
19125 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19126 if (SWIG_arg_fail(2)) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19143 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
= NULL
;
19145 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19150 PyObject
* obj0
= 0 ;
19151 PyObject
* obj1
= 0 ;
19152 PyObject
* obj2
= 0 ;
19153 PyObject
* obj3
= 0 ;
19154 PyObject
* obj4
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19161 if (SWIG_arg_fail(1)) SWIG_fail
;
19163 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19164 if (SWIG_arg_fail(2)) SWIG_fail
;
19167 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19168 if (SWIG_arg_fail(3)) SWIG_fail
;
19171 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19172 if (SWIG_arg_fail(4)) SWIG_fail
;
19175 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19176 if (SWIG_arg_fail(5)) SWIG_fail
;
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19185 Py_INCREF(Py_None
); resultobj
= Py_None
;
19192 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
= NULL
;
19194 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19199 int arg6
= (int) wxSIZE_AUTO
;
19200 PyObject
* obj0
= 0 ;
19201 PyObject
* obj1
= 0 ;
19202 PyObject
* obj2
= 0 ;
19203 PyObject
* obj3
= 0 ;
19204 PyObject
* obj4
= 0 ;
19205 PyObject
* obj5
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19212 if (SWIG_arg_fail(1)) SWIG_fail
;
19214 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19215 if (SWIG_arg_fail(2)) SWIG_fail
;
19218 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19219 if (SWIG_arg_fail(3)) SWIG_fail
;
19222 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19223 if (SWIG_arg_fail(4)) SWIG_fail
;
19226 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19227 if (SWIG_arg_fail(5)) SWIG_fail
;
19231 arg6
= static_cast<int >(SWIG_As_int(obj5
));
19232 if (SWIG_arg_fail(6)) SWIG_fail
;
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 Py_INCREF(Py_None
); resultobj
= Py_None
;
19249 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19250 PyObject
*resultobj
= NULL
;
19251 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19254 PyObject
* obj0
= 0 ;
19255 PyObject
* obj1
= 0 ;
19256 PyObject
* obj2
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "self",(char *) "width",(char *) "height", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19263 if (SWIG_arg_fail(1)) SWIG_fail
;
19265 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19266 if (SWIG_arg_fail(2)) SWIG_fail
;
19269 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19270 if (SWIG_arg_fail(3)) SWIG_fail
;
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 Py_INCREF(Py_None
); resultobj
= Py_None
;
19286 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
= NULL
;
19288 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19291 PyObject
* obj0
= 0 ;
19292 PyObject
* obj1
= 0 ;
19293 PyObject
* obj2
= 0 ;
19294 char *kwnames
[] = {
19295 (char *) "self",(char *) "x",(char *) "y", NULL
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19300 if (SWIG_arg_fail(1)) SWIG_fail
;
19302 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19303 if (SWIG_arg_fail(2)) SWIG_fail
;
19306 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19307 if (SWIG_arg_fail(3)) SWIG_fail
;
19310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19311 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 Py_INCREF(Py_None
); resultobj
= Py_None
;
19323 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
= NULL
;
19325 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19326 int *arg2
= (int *) 0 ;
19327 int *arg3
= (int *) 0 ;
19332 PyObject
* obj0
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "self", NULL
19337 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19338 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19341 if (SWIG_arg_fail(1)) SWIG_fail
;
19343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19344 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19346 wxPyEndAllowThreads(__tstate
);
19347 if (PyErr_Occurred()) SWIG_fail
;
19349 Py_INCREF(Py_None
); resultobj
= Py_None
;
19350 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19351 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19352 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19353 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19360 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
= NULL
;
19362 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19363 int *arg2
= (int *) 0 ;
19364 int *arg3
= (int *) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 char *kwnames
[] = {
19371 (char *) "self", NULL
19374 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19375 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19378 if (SWIG_arg_fail(1)) SWIG_fail
;
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 Py_INCREF(Py_None
); resultobj
= Py_None
;
19387 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19388 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19389 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19390 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19397 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
= NULL
;
19399 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19400 int *arg2
= (int *) 0 ;
19401 int *arg3
= (int *) 0 ;
19406 PyObject
* obj0
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self", NULL
19411 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19412 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19415 if (SWIG_arg_fail(1)) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 Py_INCREF(Py_None
); resultobj
= Py_None
;
19424 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19425 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19426 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19427 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19434 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
= NULL
;
19436 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19438 PyObject
* obj0
= 0 ;
19439 char *kwnames
[] = {
19440 (char *) "self", NULL
19443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19445 if (SWIG_arg_fail(1)) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19454 wxSize
* resultptr
;
19455 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19464 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
= NULL
;
19466 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "self", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19475 if (SWIG_arg_fail(1)) SWIG_fail
;
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19484 wxSize
* resultptr
;
19485 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19494 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
= NULL
;
19496 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19497 PyObject
* obj0
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19504 if (SWIG_arg_fail(1)) SWIG_fail
;
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 (arg1
)->base_InitDialog();
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 Py_INCREF(Py_None
); resultobj
= Py_None
;
19519 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
= NULL
;
19521 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19523 PyObject
* obj0
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19530 if (SWIG_arg_fail(1)) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 result
= (bool)(arg1
)->base_TransferDataToWindow();
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19547 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(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_base_TransferDataFromWindow",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
)->base_TransferDataFromWindow();
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19575 static PyObject
*_wrap_PyPanel_base_Validate(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_base_Validate",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
)->base_Validate();
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19603 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(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_base_AcceptsFocus",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)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19631 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(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_base_AcceptsFocusFromKeyboard",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
)->base_AcceptsFocusFromKeyboard();
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19659 static PyObject
*_wrap_PyPanel_base_GetMaxSize(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_base_GetMaxSize",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
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19679 wxSize
* resultptr
;
19680 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19689 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
= NULL
;
19691 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19692 wxWindow
*arg2
= (wxWindow
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self",(char *) "child", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19701 if (SWIG_arg_fail(1)) SWIG_fail
;
19702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19703 if (SWIG_arg_fail(2)) SWIG_fail
;
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19706 (arg1
)->base_AddChild(arg2
);
19708 wxPyEndAllowThreads(__tstate
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19711 Py_INCREF(Py_None
); resultobj
= Py_None
;
19718 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
= NULL
;
19720 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19721 wxWindow
*arg2
= (wxWindow
*) 0 ;
19722 PyObject
* obj0
= 0 ;
19723 PyObject
* obj1
= 0 ;
19724 char *kwnames
[] = {
19725 (char *) "self",(char *) "child", NULL
19728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19730 if (SWIG_arg_fail(1)) SWIG_fail
;
19731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19732 if (SWIG_arg_fail(2)) SWIG_fail
;
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 (arg1
)->base_RemoveChild(arg2
);
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19740 Py_INCREF(Py_None
); resultobj
= Py_None
;
19747 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19748 PyObject
*resultobj
= NULL
;
19749 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19751 PyObject
* obj0
= 0 ;
19752 char *kwnames
[] = {
19753 (char *) "self", NULL
19756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19758 if (SWIG_arg_fail(1)) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19775 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
= NULL
;
19777 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19778 wxVisualAttributes result
;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",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
= (arg1
)->base_GetDefaultAttributes();
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19795 wxVisualAttributes
* resultptr
;
19796 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19805 static PyObject
*_wrap_PyPanel_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
= NULL
;
19807 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19815 if (SWIG_arg_fail(1)) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 (arg1
)->base_OnInternalIdle();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 Py_INCREF(Py_None
); resultobj
= Py_None
;
19830 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19833 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19835 return Py_BuildValue((char *)"");
19837 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
= NULL
;
19839 wxWindow
*arg1
= (wxWindow
*) 0 ;
19840 int arg2
= (int) (int)-1 ;
19841 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19842 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19843 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19844 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19845 long arg5
= (long) 0 ;
19846 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19847 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19848 wxPyScrolledWindow
*result
;
19851 bool temp6
= false ;
19852 PyObject
* obj0
= 0 ;
19853 PyObject
* obj1
= 0 ;
19854 PyObject
* obj2
= 0 ;
19855 PyObject
* obj3
= 0 ;
19856 PyObject
* obj4
= 0 ;
19857 PyObject
* obj5
= 0 ;
19858 char *kwnames
[] = {
19859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19864 if (SWIG_arg_fail(1)) SWIG_fail
;
19867 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
19868 if (SWIG_arg_fail(2)) SWIG_fail
;
19874 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19880 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19885 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19886 if (SWIG_arg_fail(5)) SWIG_fail
;
19891 arg6
= wxString_in_helper(obj5
);
19892 if (arg6
== NULL
) SWIG_fail
;
19897 if (!wxPyCheckForApp()) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19919 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19920 PyObject
*resultobj
= NULL
;
19921 wxPyScrolledWindow
*result
;
19922 char *kwnames
[] = {
19926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19928 if (!wxPyCheckForApp()) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19942 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
= NULL
;
19944 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19945 PyObject
*arg2
= (PyObject
*) 0 ;
19946 PyObject
*arg3
= (PyObject
*) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 PyObject
* obj2
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self",(char *) "self",(char *) "_class", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19956 if (SWIG_arg_fail(1)) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 Py_INCREF(Py_None
); resultobj
= Py_None
;
19973 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
= NULL
;
19975 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19978 PyObject
* obj0
= 0 ;
19979 PyObject
* obj1
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self",(char *) "size", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19986 if (SWIG_arg_fail(1)) SWIG_fail
;
19989 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 Py_INCREF(Py_None
); resultobj
= Py_None
;
20005 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
= NULL
;
20007 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20008 wxDC
*arg2
= (wxDC
*) 0 ;
20010 PyObject
* obj0
= 0 ;
20011 PyObject
* obj1
= 0 ;
20012 char *kwnames
[] = {
20013 (char *) "self",(char *) "dc", NULL
20016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20018 if (SWIG_arg_fail(1)) SWIG_fail
;
20019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20020 if (SWIG_arg_fail(2)) SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20037 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
= NULL
;
20039 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 PyObject
* obj1
= 0 ;
20046 PyObject
* obj2
= 0 ;
20047 PyObject
* obj3
= 0 ;
20048 PyObject
* obj4
= 0 ;
20049 char *kwnames
[] = {
20050 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20055 if (SWIG_arg_fail(1)) SWIG_fail
;
20057 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20058 if (SWIG_arg_fail(2)) SWIG_fail
;
20061 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20062 if (SWIG_arg_fail(3)) SWIG_fail
;
20065 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20066 if (SWIG_arg_fail(4)) SWIG_fail
;
20069 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20070 if (SWIG_arg_fail(5)) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 Py_INCREF(Py_None
); resultobj
= Py_None
;
20086 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
= NULL
;
20088 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20093 int arg6
= (int) wxSIZE_AUTO
;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 PyObject
* obj2
= 0 ;
20097 PyObject
* obj3
= 0 ;
20098 PyObject
* obj4
= 0 ;
20099 PyObject
* obj5
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20106 if (SWIG_arg_fail(1)) SWIG_fail
;
20108 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20109 if (SWIG_arg_fail(2)) SWIG_fail
;
20112 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20113 if (SWIG_arg_fail(3)) SWIG_fail
;
20116 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20117 if (SWIG_arg_fail(4)) SWIG_fail
;
20120 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20121 if (SWIG_arg_fail(5)) SWIG_fail
;
20125 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20126 if (SWIG_arg_fail(6)) SWIG_fail
;
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20136 Py_INCREF(Py_None
); resultobj
= Py_None
;
20143 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
= NULL
;
20145 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20148 PyObject
* obj0
= 0 ;
20149 PyObject
* obj1
= 0 ;
20150 PyObject
* obj2
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "self",(char *) "width",(char *) "height", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20157 if (SWIG_arg_fail(1)) SWIG_fail
;
20159 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20160 if (SWIG_arg_fail(2)) SWIG_fail
;
20163 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20164 if (SWIG_arg_fail(3)) SWIG_fail
;
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 Py_INCREF(Py_None
); resultobj
= Py_None
;
20180 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
= NULL
;
20182 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 PyObject
* obj2
= 0 ;
20188 char *kwnames
[] = {
20189 (char *) "self",(char *) "x",(char *) "y", NULL
20192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20194 if (SWIG_arg_fail(1)) SWIG_fail
;
20196 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20197 if (SWIG_arg_fail(2)) SWIG_fail
;
20200 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20201 if (SWIG_arg_fail(3)) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 Py_INCREF(Py_None
); resultobj
= Py_None
;
20217 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
= NULL
;
20219 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20220 int *arg2
= (int *) 0 ;
20221 int *arg3
= (int *) 0 ;
20226 PyObject
* obj0
= 0 ;
20227 char *kwnames
[] = {
20228 (char *) "self", NULL
20231 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20232 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
20234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20235 if (SWIG_arg_fail(1)) SWIG_fail
;
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 Py_INCREF(Py_None
); resultobj
= Py_None
;
20244 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20245 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20246 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20247 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20254 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
= NULL
;
20256 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20257 int *arg2
= (int *) 0 ;
20258 int *arg3
= (int *) 0 ;
20263 PyObject
* obj0
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self", NULL
20268 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20269 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
20271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20272 if (SWIG_arg_fail(1)) SWIG_fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 Py_INCREF(Py_None
); resultobj
= Py_None
;
20281 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20282 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20283 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20284 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20291 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
= NULL
;
20293 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20294 int *arg2
= (int *) 0 ;
20295 int *arg3
= (int *) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self", NULL
20305 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20306 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
20308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20309 if (SWIG_arg_fail(1)) SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 Py_INCREF(Py_None
); resultobj
= Py_None
;
20318 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20319 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20320 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20321 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20328 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
= NULL
;
20330 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20332 PyObject
* obj0
= 0 ;
20333 char *kwnames
[] = {
20334 (char *) "self", NULL
20337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
20338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20339 if (SWIG_arg_fail(1)) SWIG_fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20348 wxSize
* resultptr
;
20349 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20358 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
= NULL
;
20360 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20362 PyObject
* obj0
= 0 ;
20363 char *kwnames
[] = {
20364 (char *) "self", NULL
20367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20369 if (SWIG_arg_fail(1)) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20378 wxSize
* resultptr
;
20379 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20388 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
= NULL
;
20390 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20391 PyObject
* obj0
= 0 ;
20392 char *kwnames
[] = {
20393 (char *) "self", NULL
20396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
20397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20398 if (SWIG_arg_fail(1)) SWIG_fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 (arg1
)->base_InitDialog();
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 Py_INCREF(Py_None
); resultobj
= Py_None
;
20413 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
= NULL
;
20415 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20417 PyObject
* obj0
= 0 ;
20418 char *kwnames
[] = {
20419 (char *) "self", NULL
20422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20424 if (SWIG_arg_fail(1)) SWIG_fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= (bool)(arg1
)->base_TransferDataToWindow();
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20441 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(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_base_TransferDataFromWindow",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
)->base_TransferDataFromWindow();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20469 static PyObject
*_wrap_PyScrolledWindow_base_Validate(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_base_Validate",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
)->base_Validate();
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20497 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(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_base_AcceptsFocus",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)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20525 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(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_base_AcceptsFocusFromKeyboard",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
)->base_AcceptsFocusFromKeyboard();
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20553 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(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_base_GetMaxSize",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
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20573 wxSize
* resultptr
;
20574 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20583 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
= NULL
;
20585 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20586 wxWindow
*arg2
= (wxWindow
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self",(char *) "child", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20595 if (SWIG_arg_fail(1)) SWIG_fail
;
20596 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20597 if (SWIG_arg_fail(2)) SWIG_fail
;
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 (arg1
)->base_AddChild(arg2
);
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 Py_INCREF(Py_None
); resultobj
= Py_None
;
20612 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
= NULL
;
20614 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20615 wxWindow
*arg2
= (wxWindow
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self",(char *) "child", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20624 if (SWIG_arg_fail(1)) SWIG_fail
;
20625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20626 if (SWIG_arg_fail(2)) SWIG_fail
;
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 (arg1
)->base_RemoveChild(arg2
);
20631 wxPyEndAllowThreads(__tstate
);
20632 if (PyErr_Occurred()) SWIG_fail
;
20634 Py_INCREF(Py_None
); resultobj
= Py_None
;
20641 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20642 PyObject
*resultobj
= NULL
;
20643 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 char *kwnames
[] = {
20647 (char *) "self", NULL
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20669 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
= NULL
;
20671 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20672 wxVisualAttributes result
;
20673 PyObject
* obj0
= 0 ;
20674 char *kwnames
[] = {
20675 (char *) "self", NULL
20678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",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
= (arg1
)->base_GetDefaultAttributes();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20689 wxVisualAttributes
* resultptr
;
20690 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
20691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20699 static PyObject
*_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
= NULL
;
20701 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20702 PyObject
* obj0
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "self", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20709 if (SWIG_arg_fail(1)) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 (arg1
)->base_OnInternalIdle();
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 Py_INCREF(Py_None
); resultobj
= Py_None
;
20724 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20727 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20729 return Py_BuildValue((char *)"");
20731 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20732 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20737 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20738 PyObject
*pyobj
= NULL
;
20742 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20744 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20751 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20752 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20757 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20758 PyObject
*pyobj
= NULL
;
20762 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20764 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20771 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20772 PyObject
*resultobj
= NULL
;
20773 wxPrintData
*result
;
20775 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 result
= (wxPrintData
*)new wxPrintData();
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20790 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20791 PyObject
*resultobj
= NULL
;
20792 wxPrintData
*arg1
= 0 ;
20793 wxPrintData
*result
;
20794 PyObject
* obj0
= 0 ;
20796 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20799 if (SWIG_arg_fail(1)) SWIG_fail
;
20800 if (arg1
== NULL
) {
20801 SWIG_null_ref("wxPrintData");
20803 if (SWIG_arg_fail(1)) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20819 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20824 argc
= PyObject_Length(args
);
20825 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20826 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20829 return _wrap_new_PrintData__SWIG_0(self
,args
);
20835 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20843 return _wrap_new_PrintData__SWIG_1(self
,args
);
20847 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20852 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
= NULL
;
20854 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20855 PyObject
* obj0
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20862 if (SWIG_arg_fail(1)) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 Py_INCREF(Py_None
); resultobj
= Py_None
;
20877 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
= NULL
;
20879 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20881 PyObject
* obj0
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "self", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20888 if (SWIG_arg_fail(1)) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (int)(arg1
)->GetNoCopies();
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20897 resultobj
= SWIG_From_int(static_cast<int >(result
));
20905 static PyObject
*_wrap_PrintData_GetCollate(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_GetCollate",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
= (bool)(arg1
)->GetCollate();
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20933 static PyObject
*_wrap_PrintData_GetOrientation(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_GetOrientation",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
= (int)(arg1
)->GetOrientation();
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= SWIG_From_int(static_cast<int >(result
));
20961 static PyObject
*_wrap_PrintData_Ok(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_Ok",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
= (bool)(arg1
)->Ok();
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20989 static PyObject
*_wrap_PrintData_GetPrinterName(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_GetPrinterName",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();
21004 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
21005 result
= (wxString
*) &_result_ref
;
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21015 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21024 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
= NULL
;
21026 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
21034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21035 if (SWIG_arg_fail(1)) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 result
= (bool)(arg1
)->GetColour();
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21052 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
= NULL
;
21054 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21055 wxDuplexMode result
;
21056 PyObject
* obj0
= 0 ;
21057 char *kwnames
[] = {
21058 (char *) "self", NULL
21061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",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
= (wxDuplexMode
)(arg1
)->GetDuplex();
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= SWIG_From_int((result
));
21078 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
= NULL
;
21080 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21081 wxPaperSize result
;
21082 PyObject
* obj0
= 0 ;
21083 char *kwnames
[] = {
21084 (char *) "self", NULL
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
21088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21089 if (SWIG_arg_fail(1)) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= (wxPaperSize
)(arg1
)->GetPaperId();
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= SWIG_From_int((result
));
21104 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
= NULL
;
21106 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21108 PyObject
* obj0
= 0 ;
21109 char *kwnames
[] = {
21110 (char *) "self", NULL
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
21114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21115 if (SWIG_arg_fail(1)) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21119 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
21120 result
= (wxSize
*) &_result_ref
;
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
21133 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
= NULL
;
21135 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "self", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
21143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21144 if (SWIG_arg_fail(1)) SWIG_fail
;
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 result
= (int)(arg1
)->GetQuality();
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= SWIG_From_int(static_cast<int >(result
));
21161 static PyObject
*_wrap_PrintData_GetBin(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_GetBin",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
= (wxPrintBin
)(arg1
)->GetBin();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= SWIG_From_int((result
));
21187 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
= NULL
;
21189 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21190 wxPrintMode result
;
21191 PyObject
* obj0
= 0 ;
21192 char *kwnames
[] = {
21193 (char *) "self", NULL
21196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
21197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21198 if (SWIG_arg_fail(1)) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21206 resultobj
= SWIG_From_int((result
));
21213 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
= NULL
;
21215 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21217 PyObject
* obj0
= 0 ;
21218 PyObject
* obj1
= 0 ;
21219 char *kwnames
[] = {
21220 (char *) "self",(char *) "v", NULL
21223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21225 if (SWIG_arg_fail(1)) SWIG_fail
;
21227 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21228 if (SWIG_arg_fail(2)) SWIG_fail
;
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 (arg1
)->SetNoCopies(arg2
);
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 Py_INCREF(Py_None
); resultobj
= Py_None
;
21244 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
= NULL
;
21246 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21248 PyObject
* obj0
= 0 ;
21249 PyObject
* obj1
= 0 ;
21250 char *kwnames
[] = {
21251 (char *) "self",(char *) "flag", NULL
21254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21256 if (SWIG_arg_fail(1)) SWIG_fail
;
21258 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21259 if (SWIG_arg_fail(2)) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 (arg1
)->SetCollate(arg2
);
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 Py_INCREF(Py_None
); resultobj
= Py_None
;
21275 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
= NULL
;
21277 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self",(char *) "orient", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21287 if (SWIG_arg_fail(1)) SWIG_fail
;
21289 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21290 if (SWIG_arg_fail(2)) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 (arg1
)->SetOrientation(arg2
);
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21299 Py_INCREF(Py_None
); resultobj
= Py_None
;
21306 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
= NULL
;
21308 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21309 wxString
*arg2
= 0 ;
21310 bool temp2
= false ;
21311 PyObject
* obj0
= 0 ;
21312 PyObject
* obj1
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self",(char *) "name", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
21318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21319 if (SWIG_arg_fail(1)) SWIG_fail
;
21321 arg2
= wxString_in_helper(obj1
);
21322 if (arg2
== NULL
) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 Py_INCREF(Py_None
); resultobj
= Py_None
;
21347 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21348 PyObject
*resultobj
= NULL
;
21349 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21351 PyObject
* obj0
= 0 ;
21352 PyObject
* obj1
= 0 ;
21353 char *kwnames
[] = {
21354 (char *) "self",(char *) "colour", NULL
21357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21359 if (SWIG_arg_fail(1)) SWIG_fail
;
21361 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21362 if (SWIG_arg_fail(2)) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 (arg1
)->SetColour(arg2
);
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 Py_INCREF(Py_None
); resultobj
= Py_None
;
21378 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
= NULL
;
21380 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21381 wxDuplexMode arg2
;
21382 PyObject
* obj0
= 0 ;
21383 PyObject
* obj1
= 0 ;
21384 char *kwnames
[] = {
21385 (char *) "self",(char *) "duplex", NULL
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21390 if (SWIG_arg_fail(1)) SWIG_fail
;
21392 arg2
= static_cast<wxDuplexMode
>(SWIG_As_int(obj1
));
21393 if (SWIG_arg_fail(2)) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 (arg1
)->SetDuplex(arg2
);
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 Py_INCREF(Py_None
); resultobj
= Py_None
;
21409 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
= NULL
;
21411 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "sizeId", NULL
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21421 if (SWIG_arg_fail(1)) SWIG_fail
;
21423 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
21424 if (SWIG_arg_fail(2)) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 (arg1
)->SetPaperId(arg2
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 Py_INCREF(Py_None
); resultobj
= Py_None
;
21440 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
= NULL
;
21442 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "sz", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail
;
21456 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 Py_INCREF(Py_None
); resultobj
= Py_None
;
21472 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
= NULL
;
21474 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21476 PyObject
* obj0
= 0 ;
21477 PyObject
* obj1
= 0 ;
21478 char *kwnames
[] = {
21479 (char *) "self",(char *) "quality", NULL
21482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21484 if (SWIG_arg_fail(1)) SWIG_fail
;
21486 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21487 if (SWIG_arg_fail(2)) SWIG_fail
;
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 (arg1
)->SetQuality(arg2
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 Py_INCREF(Py_None
); resultobj
= Py_None
;
21503 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21504 PyObject
*resultobj
= NULL
;
21505 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21507 PyObject
* obj0
= 0 ;
21508 PyObject
* obj1
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self",(char *) "bin", NULL
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21515 if (SWIG_arg_fail(1)) SWIG_fail
;
21517 arg2
= static_cast<wxPrintBin
>(SWIG_As_int(obj1
));
21518 if (SWIG_arg_fail(2)) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 (arg1
)->SetBin(arg2
);
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 Py_INCREF(Py_None
); resultobj
= Py_None
;
21534 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
= NULL
;
21536 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21538 PyObject
* obj0
= 0 ;
21539 PyObject
* obj1
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self",(char *) "printMode", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21546 if (SWIG_arg_fail(1)) SWIG_fail
;
21548 arg2
= static_cast<wxPrintMode
>(SWIG_As_int(obj1
));
21549 if (SWIG_arg_fail(2)) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 (arg1
)->SetPrintMode(arg2
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 Py_INCREF(Py_None
); resultobj
= Py_None
;
21565 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21566 PyObject
*resultobj
= NULL
;
21567 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21576 if (SWIG_arg_fail(1)) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21597 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
= NULL
;
21599 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21600 wxString
*arg2
= 0 ;
21601 bool temp2
= false ;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self",(char *) "filename", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail
;
21612 arg2
= wxString_in_helper(obj1
);
21613 if (arg2
== NULL
) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 (arg1
)->SetFilename((wxString
const &)*arg2
);
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 Py_INCREF(Py_None
); resultobj
= Py_None
;
21638 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
= NULL
;
21640 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 char *kwnames
[] = {
21644 (char *) "self", NULL
21647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21649 if (SWIG_arg_fail(1)) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= result
;
21664 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
= NULL
;
21666 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21667 PyObject
*arg2
= (PyObject
*) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 PyObject
* obj1
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self",(char *) "data", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21676 if (SWIG_arg_fail(1)) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 wxPrintData_SetPrivData(arg1
,arg2
);
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 Py_INCREF(Py_None
); resultobj
= Py_None
;
21692 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21695 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21697 return Py_BuildValue((char *)"");
21699 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21700 PyObject
*resultobj
= NULL
;
21701 wxPageSetupDialogData
*result
;
21703 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21718 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21719 PyObject
*resultobj
= NULL
;
21720 wxPageSetupDialogData
*arg1
= 0 ;
21721 wxPageSetupDialogData
*result
;
21722 PyObject
* obj0
= 0 ;
21724 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail
;
21728 if (arg1
== NULL
) {
21729 SWIG_null_ref("wxPageSetupDialogData");
21731 if (SWIG_arg_fail(1)) SWIG_fail
;
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21747 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21748 PyObject
*resultobj
= NULL
;
21749 wxPrintData
*arg1
= 0 ;
21750 wxPageSetupDialogData
*result
;
21751 PyObject
* obj0
= 0 ;
21753 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21756 if (SWIG_arg_fail(1)) SWIG_fail
;
21757 if (arg1
== NULL
) {
21758 SWIG_null_ref("wxPrintData");
21760 if (SWIG_arg_fail(1)) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21776 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21781 argc
= PyObject_Length(args
);
21782 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21783 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21786 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21792 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21800 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21807 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21815 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21819 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21824 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21825 PyObject
*resultobj
= NULL
;
21826 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21827 PyObject
* obj0
= 0 ;
21828 char *kwnames
[] = {
21829 (char *) "self", NULL
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21834 if (SWIG_arg_fail(1)) SWIG_fail
;
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21842 Py_INCREF(Py_None
); resultobj
= Py_None
;
21849 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
= NULL
;
21851 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21853 PyObject
* obj0
= 0 ;
21854 PyObject
* obj1
= 0 ;
21855 char *kwnames
[] = {
21856 (char *) "self",(char *) "flag", NULL
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21861 if (SWIG_arg_fail(1)) SWIG_fail
;
21863 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21864 if (SWIG_arg_fail(2)) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 (arg1
)->EnableHelp(arg2
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 Py_INCREF(Py_None
); resultobj
= Py_None
;
21880 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
= NULL
;
21882 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21884 PyObject
* obj0
= 0 ;
21885 PyObject
* obj1
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self",(char *) "flag", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21892 if (SWIG_arg_fail(1)) SWIG_fail
;
21894 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21895 if (SWIG_arg_fail(2)) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 (arg1
)->EnableMargins(arg2
);
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 Py_INCREF(Py_None
); resultobj
= Py_None
;
21911 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
= NULL
;
21913 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "flag", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21923 if (SWIG_arg_fail(1)) SWIG_fail
;
21925 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21926 if (SWIG_arg_fail(2)) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 (arg1
)->EnableOrientation(arg2
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 Py_INCREF(Py_None
); resultobj
= Py_None
;
21942 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
= NULL
;
21944 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "flag", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21954 if (SWIG_arg_fail(1)) SWIG_fail
;
21956 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21957 if (SWIG_arg_fail(2)) SWIG_fail
;
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 (arg1
)->EnablePaper(arg2
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 Py_INCREF(Py_None
); resultobj
= Py_None
;
21973 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
= NULL
;
21975 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21977 PyObject
* obj0
= 0 ;
21978 PyObject
* obj1
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self",(char *) "flag", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21985 if (SWIG_arg_fail(1)) SWIG_fail
;
21987 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21988 if (SWIG_arg_fail(2)) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 (arg1
)->EnablePrinter(arg2
);
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21997 Py_INCREF(Py_None
); resultobj
= Py_None
;
22004 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22005 PyObject
*resultobj
= NULL
;
22006 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22008 PyObject
* obj0
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "self", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22015 if (SWIG_arg_fail(1)) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 result
= (bool)(arg1
)->GetDefaultMinMargins();
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22032 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(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_GetEnableMargins",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
)->GetEnableMargins();
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22060 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(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_GetEnableOrientation",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
)->GetEnableOrientation();
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22088 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(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_GetEnablePaper",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
)->GetEnablePaper();
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22116 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(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_GetEnablePrinter",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
)->GetEnablePrinter();
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22144 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(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_GetEnableHelp",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
)->GetEnableHelp();
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22172 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(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_GetDefaultInfo",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
)->GetDefaultInfo();
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22200 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(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_GetMarginTopLeft",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
= (arg1
)->GetMarginTopLeft();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 wxPoint
* resultptr
;
22221 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22230 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
= NULL
;
22232 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22241 if (SWIG_arg_fail(1)) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (arg1
)->GetMarginBottomRight();
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22250 wxPoint
* resultptr
;
22251 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22260 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
= NULL
;
22262 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22264 PyObject
* obj0
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22271 if (SWIG_arg_fail(1)) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 result
= (arg1
)->GetMinMarginTopLeft();
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22280 wxPoint
* resultptr
;
22281 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22290 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
= NULL
;
22292 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22294 PyObject
* obj0
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22301 if (SWIG_arg_fail(1)) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 result
= (arg1
)->GetMinMarginBottomRight();
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22310 wxPoint
* resultptr
;
22311 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22320 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
= NULL
;
22322 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22323 wxPaperSize result
;
22324 PyObject
* obj0
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22331 if (SWIG_arg_fail(1)) SWIG_fail
;
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 resultobj
= SWIG_From_int((result
));
22346 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
= NULL
;
22348 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22350 PyObject
* obj0
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22357 if (SWIG_arg_fail(1)) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= (arg1
)->GetPaperSize();
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22366 wxSize
* resultptr
;
22367 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22376 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
= NULL
;
22378 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22379 wxPrintData
*result
;
22380 PyObject
* obj0
= 0 ;
22381 char *kwnames
[] = {
22382 (char *) "self", NULL
22385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22387 if (SWIG_arg_fail(1)) SWIG_fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22392 result
= (wxPrintData
*) &_result_ref
;
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22405 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
= NULL
;
22407 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22416 if (SWIG_arg_fail(1)) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (bool)(arg1
)->Ok();
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22433 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
= NULL
;
22435 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22437 PyObject
* obj0
= 0 ;
22438 PyObject
* obj1
= 0 ;
22439 char *kwnames
[] = {
22440 (char *) "self",(char *) "flag", NULL
22443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22445 if (SWIG_arg_fail(1)) SWIG_fail
;
22447 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22448 if (SWIG_arg_fail(2)) SWIG_fail
;
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 (arg1
)->SetDefaultInfo(arg2
);
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22457 Py_INCREF(Py_None
); resultobj
= Py_None
;
22464 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22465 PyObject
*resultobj
= NULL
;
22466 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "flag", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22476 if (SWIG_arg_fail(1)) SWIG_fail
;
22478 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22479 if (SWIG_arg_fail(2)) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 (arg1
)->SetDefaultMinMargins(arg2
);
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22488 Py_INCREF(Py_None
); resultobj
= Py_None
;
22495 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
= NULL
;
22497 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22498 wxPoint
*arg2
= 0 ;
22500 PyObject
* obj0
= 0 ;
22501 PyObject
* obj1
= 0 ;
22502 char *kwnames
[] = {
22503 (char *) "self",(char *) "pt", NULL
22506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22508 if (SWIG_arg_fail(1)) SWIG_fail
;
22511 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22520 Py_INCREF(Py_None
); resultobj
= Py_None
;
22527 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
= NULL
;
22529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22530 wxPoint
*arg2
= 0 ;
22532 PyObject
* obj0
= 0 ;
22533 PyObject
* obj1
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "self",(char *) "pt", NULL
22538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22540 if (SWIG_arg_fail(1)) SWIG_fail
;
22543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 Py_INCREF(Py_None
); resultobj
= Py_None
;
22559 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
= NULL
;
22561 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22562 wxPoint
*arg2
= 0 ;
22564 PyObject
* obj0
= 0 ;
22565 PyObject
* obj1
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self",(char *) "pt", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22572 if (SWIG_arg_fail(1)) SWIG_fail
;
22575 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22579 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 Py_INCREF(Py_None
); resultobj
= Py_None
;
22591 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22592 PyObject
*resultobj
= NULL
;
22593 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22594 wxPoint
*arg2
= 0 ;
22596 PyObject
* obj0
= 0 ;
22597 PyObject
* obj1
= 0 ;
22598 char *kwnames
[] = {
22599 (char *) "self",(char *) "pt", NULL
22602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22604 if (SWIG_arg_fail(1)) SWIG_fail
;
22607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22616 Py_INCREF(Py_None
); resultobj
= Py_None
;
22623 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
= NULL
;
22625 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22627 PyObject
* obj0
= 0 ;
22628 PyObject
* obj1
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self",(char *) "id", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22635 if (SWIG_arg_fail(1)) SWIG_fail
;
22637 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
22638 if (SWIG_arg_fail(2)) SWIG_fail
;
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 (arg1
)->SetPaperId(arg2
);
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 Py_INCREF(Py_None
); resultobj
= Py_None
;
22654 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
= NULL
;
22656 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22659 PyObject
* obj0
= 0 ;
22660 PyObject
* obj1
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self",(char *) "size", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22667 if (SWIG_arg_fail(1)) SWIG_fail
;
22670 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 Py_INCREF(Py_None
); resultobj
= Py_None
;
22686 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
= NULL
;
22688 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22689 wxPrintData
*arg2
= 0 ;
22690 PyObject
* obj0
= 0 ;
22691 PyObject
* obj1
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self",(char *) "printData", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22698 if (SWIG_arg_fail(1)) SWIG_fail
;
22700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22701 if (SWIG_arg_fail(2)) SWIG_fail
;
22702 if (arg2
== NULL
) {
22703 SWIG_null_ref("wxPrintData");
22705 if (SWIG_arg_fail(2)) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22714 Py_INCREF(Py_None
); resultobj
= Py_None
;
22721 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
= NULL
;
22723 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22724 PyObject
* obj0
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail
;
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22734 (arg1
)->CalculateIdFromPaperSize();
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 Py_INCREF(Py_None
); resultobj
= Py_None
;
22746 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22747 PyObject
*resultobj
= NULL
;
22748 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22749 PyObject
* obj0
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22756 if (SWIG_arg_fail(1)) SWIG_fail
;
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 (arg1
)->CalculatePaperSizeFromId();
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 Py_INCREF(Py_None
); resultobj
= Py_None
;
22771 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22774 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22776 return Py_BuildValue((char *)"");
22778 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22779 PyObject
*resultobj
= NULL
;
22780 wxWindow
*arg1
= (wxWindow
*) 0 ;
22781 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22782 wxPageSetupDialog
*result
;
22783 PyObject
* obj0
= 0 ;
22784 PyObject
* obj1
= 0 ;
22785 char *kwnames
[] = {
22786 (char *) "parent",(char *) "data", NULL
22789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22791 if (SWIG_arg_fail(1)) SWIG_fail
;
22793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22794 if (SWIG_arg_fail(2)) SWIG_fail
;
22797 if (!wxPyCheckForApp()) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22811 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
= NULL
;
22813 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22814 wxPageSetupDialogData
*result
;
22815 PyObject
* obj0
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22822 if (SWIG_arg_fail(1)) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22827 result
= (wxPageSetupDialogData
*) &_result_ref
;
22830 wxPyEndAllowThreads(__tstate
);
22831 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22840 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
= NULL
;
22842 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22843 wxPageSetupDialogData
*result
;
22844 PyObject
* obj0
= 0 ;
22845 char *kwnames
[] = {
22846 (char *) "self", NULL
22849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22851 if (SWIG_arg_fail(1)) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22856 result
= (wxPageSetupDialogData
*) &_result_ref
;
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22869 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
= NULL
;
22871 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22880 if (SWIG_arg_fail(1)) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (int)(arg1
)->ShowModal();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= SWIG_From_int(static_cast<int >(result
));
22897 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22900 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22902 return Py_BuildValue((char *)"");
22904 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22905 PyObject
*resultobj
= NULL
;
22906 wxPrintDialogData
*result
;
22908 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22923 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22924 PyObject
*resultobj
= NULL
;
22925 wxPrintData
*arg1
= 0 ;
22926 wxPrintDialogData
*result
;
22927 PyObject
* obj0
= 0 ;
22929 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22932 if (SWIG_arg_fail(1)) SWIG_fail
;
22933 if (arg1
== NULL
) {
22934 SWIG_null_ref("wxPrintData");
22936 if (SWIG_arg_fail(1)) SWIG_fail
;
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22952 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22953 PyObject
*resultobj
= NULL
;
22954 wxPrintDialogData
*arg1
= 0 ;
22955 wxPrintDialogData
*result
;
22956 PyObject
* obj0
= 0 ;
22958 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22961 if (SWIG_arg_fail(1)) SWIG_fail
;
22962 if (arg1
== NULL
) {
22963 SWIG_null_ref("wxPrintDialogData");
22965 if (SWIG_arg_fail(1)) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22981 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22986 argc
= PyObject_Length(args
);
22987 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22988 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22991 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22997 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23005 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23012 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23020 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23024 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23029 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
= NULL
;
23031 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23032 PyObject
* obj0
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 Py_INCREF(Py_None
); resultobj
= Py_None
;
23054 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
= NULL
;
23056 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23065 if (SWIG_arg_fail(1)) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= SWIG_From_int(static_cast<int >(result
));
23082 static PyObject
*_wrap_PrintDialogData_GetToPage(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_GetToPage",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
)->GetToPage();
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= SWIG_From_int(static_cast<int >(result
));
23110 static PyObject
*_wrap_PrintDialogData_GetMinPage(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_GetMinPage",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
)->GetMinPage();
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_From_int(static_cast<int >(result
));
23138 static PyObject
*_wrap_PrintDialogData_GetMaxPage(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_GetMaxPage",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
)->GetMaxPage();
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_From_int(static_cast<int >(result
));
23166 static PyObject
*_wrap_PrintDialogData_GetNoCopies(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_GetNoCopies",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
)->GetNoCopies();
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= SWIG_From_int(static_cast<int >(result
));
23194 static PyObject
*_wrap_PrintDialogData_GetAllPages(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_GetAllPages",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
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23222 static PyObject
*_wrap_PrintDialogData_GetSelection(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_GetSelection",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
)->GetSelection();
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23250 static PyObject
*_wrap_PrintDialogData_GetCollate(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_GetCollate",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
)->GetCollate();
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23278 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(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_GetPrintToFile",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
)->GetPrintToFile();
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23306 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
= NULL
;
23308 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23310 PyObject
* obj0
= 0 ;
23311 PyObject
* obj1
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self",(char *) "v", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23318 if (SWIG_arg_fail(1)) SWIG_fail
;
23320 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23321 if (SWIG_arg_fail(2)) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 (arg1
)->SetFromPage(arg2
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 Py_INCREF(Py_None
); resultobj
= Py_None
;
23337 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
= NULL
;
23339 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23341 PyObject
* obj0
= 0 ;
23342 PyObject
* obj1
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self",(char *) "v", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23349 if (SWIG_arg_fail(1)) SWIG_fail
;
23351 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23352 if (SWIG_arg_fail(2)) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->SetToPage(arg2
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 Py_INCREF(Py_None
); resultobj
= Py_None
;
23368 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
= NULL
;
23370 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23372 PyObject
* obj0
= 0 ;
23373 PyObject
* obj1
= 0 ;
23374 char *kwnames
[] = {
23375 (char *) "self",(char *) "v", NULL
23378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23380 if (SWIG_arg_fail(1)) SWIG_fail
;
23382 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23383 if (SWIG_arg_fail(2)) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 (arg1
)->SetMinPage(arg2
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 Py_INCREF(Py_None
); resultobj
= Py_None
;
23399 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
= NULL
;
23401 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23403 PyObject
* obj0
= 0 ;
23404 PyObject
* obj1
= 0 ;
23405 char *kwnames
[] = {
23406 (char *) "self",(char *) "v", NULL
23409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23411 if (SWIG_arg_fail(1)) SWIG_fail
;
23413 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23414 if (SWIG_arg_fail(2)) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 (arg1
)->SetMaxPage(arg2
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 Py_INCREF(Py_None
); resultobj
= Py_None
;
23430 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
= NULL
;
23432 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 PyObject
* obj1
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self",(char *) "v", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23442 if (SWIG_arg_fail(1)) SWIG_fail
;
23444 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23445 if (SWIG_arg_fail(2)) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 (arg1
)->SetNoCopies(arg2
);
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 Py_INCREF(Py_None
); resultobj
= Py_None
;
23461 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
= NULL
;
23463 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23465 PyObject
* obj0
= 0 ;
23466 PyObject
* obj1
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self",(char *) "flag", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23473 if (SWIG_arg_fail(1)) SWIG_fail
;
23475 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23476 if (SWIG_arg_fail(2)) SWIG_fail
;
23479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 (arg1
)->SetAllPages(arg2
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 Py_INCREF(Py_None
); resultobj
= Py_None
;
23492 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
= NULL
;
23494 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "self",(char *) "flag", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23504 if (SWIG_arg_fail(1)) SWIG_fail
;
23506 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23507 if (SWIG_arg_fail(2)) SWIG_fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 (arg1
)->SetSelection(arg2
);
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 Py_INCREF(Py_None
); resultobj
= Py_None
;
23523 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
= NULL
;
23525 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 PyObject
* obj1
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "self",(char *) "flag", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23535 if (SWIG_arg_fail(1)) SWIG_fail
;
23537 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23538 if (SWIG_arg_fail(2)) SWIG_fail
;
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 (arg1
)->SetCollate(arg2
);
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23547 Py_INCREF(Py_None
); resultobj
= Py_None
;
23554 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
= NULL
;
23556 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self",(char *) "flag", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23566 if (SWIG_arg_fail(1)) SWIG_fail
;
23568 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23569 if (SWIG_arg_fail(2)) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 (arg1
)->SetPrintToFile(arg2
);
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 Py_INCREF(Py_None
); resultobj
= Py_None
;
23585 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
= NULL
;
23587 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23589 PyObject
* obj0
= 0 ;
23590 PyObject
* obj1
= 0 ;
23591 char *kwnames
[] = {
23592 (char *) "self",(char *) "flag", NULL
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23597 if (SWIG_arg_fail(1)) SWIG_fail
;
23599 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23600 if (SWIG_arg_fail(2)) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 (arg1
)->EnablePrintToFile(arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 Py_INCREF(Py_None
); resultobj
= Py_None
;
23616 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
= NULL
;
23618 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23620 PyObject
* obj0
= 0 ;
23621 PyObject
* obj1
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self",(char *) "flag", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23628 if (SWIG_arg_fail(1)) SWIG_fail
;
23630 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23631 if (SWIG_arg_fail(2)) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 (arg1
)->EnableSelection(arg2
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 Py_INCREF(Py_None
); resultobj
= Py_None
;
23647 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
= NULL
;
23649 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23651 PyObject
* obj0
= 0 ;
23652 PyObject
* obj1
= 0 ;
23653 char *kwnames
[] = {
23654 (char *) "self",(char *) "flag", NULL
23657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23659 if (SWIG_arg_fail(1)) SWIG_fail
;
23661 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23662 if (SWIG_arg_fail(2)) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 (arg1
)->EnablePageNumbers(arg2
);
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 Py_INCREF(Py_None
); resultobj
= Py_None
;
23678 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23679 PyObject
*resultobj
= NULL
;
23680 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23682 PyObject
* obj0
= 0 ;
23683 PyObject
* obj1
= 0 ;
23684 char *kwnames
[] = {
23685 (char *) "self",(char *) "flag", NULL
23688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23690 if (SWIG_arg_fail(1)) SWIG_fail
;
23692 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23693 if (SWIG_arg_fail(2)) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 (arg1
)->EnableHelp(arg2
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 Py_INCREF(Py_None
); resultobj
= Py_None
;
23709 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
= NULL
;
23711 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23713 PyObject
* obj0
= 0 ;
23714 char *kwnames
[] = {
23715 (char *) "self", NULL
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23720 if (SWIG_arg_fail(1)) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23737 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(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_GetEnableSelection",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
)->GetEnableSelection();
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23765 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(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_GetEnablePageNumbers",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
)->GetEnablePageNumbers();
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23793 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(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_GetEnableHelp",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
)->GetEnableHelp();
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23821 static PyObject
*_wrap_PrintDialogData_Ok(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_Ok",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
)->Ok();
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23849 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
= NULL
;
23851 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23852 wxPrintData
*result
;
23853 PyObject
* obj0
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",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();
23864 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23865 result
= (wxPrintData
*) &_result_ref
;
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23878 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
= NULL
;
23880 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23881 wxPrintData
*arg2
= 0 ;
23882 PyObject
* obj0
= 0 ;
23883 PyObject
* obj1
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self",(char *) "printData", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23890 if (SWIG_arg_fail(1)) SWIG_fail
;
23892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23893 if (SWIG_arg_fail(2)) SWIG_fail
;
23894 if (arg2
== NULL
) {
23895 SWIG_null_ref("wxPrintData");
23897 if (SWIG_arg_fail(2)) SWIG_fail
;
23900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23901 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23906 Py_INCREF(Py_None
); resultobj
= Py_None
;
23913 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23916 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23918 return Py_BuildValue((char *)"");
23920 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
= NULL
;
23922 wxWindow
*arg1
= (wxWindow
*) 0 ;
23923 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23924 wxPrintDialog
*result
;
23925 PyObject
* obj0
= 0 ;
23926 PyObject
* obj1
= 0 ;
23927 char *kwnames
[] = {
23928 (char *) "parent",(char *) "data", NULL
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23933 if (SWIG_arg_fail(1)) SWIG_fail
;
23935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23936 if (SWIG_arg_fail(2)) SWIG_fail
;
23939 if (!wxPyCheckForApp()) SWIG_fail
;
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23953 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
= NULL
;
23955 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23957 PyObject
* obj0
= 0 ;
23958 char *kwnames
[] = {
23959 (char *) "self", NULL
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23964 if (SWIG_arg_fail(1)) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= (int)(arg1
)->ShowModal();
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23973 resultobj
= SWIG_From_int(static_cast<int >(result
));
23981 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
= NULL
;
23983 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23984 wxPrintDialogData
*result
;
23985 PyObject
* obj0
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "self", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",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();
23996 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23997 result
= (wxPrintDialogData
*) &_result_ref
;
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24010 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
= NULL
;
24012 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24013 wxPrintData
*result
;
24014 PyObject
* obj0
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24021 if (SWIG_arg_fail(1)) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24026 result
= (wxPrintData
*) &_result_ref
;
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24039 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
= NULL
;
24041 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24043 PyObject
* obj0
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24050 if (SWIG_arg_fail(1)) SWIG_fail
;
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 result
= (wxDC
*)(arg1
)->GetPrintDC();
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24059 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24067 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24070 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24072 return Py_BuildValue((char *)"");
24074 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
= NULL
;
24076 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24078 PyObject
* obj0
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "data", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24086 if (SWIG_arg_fail(1)) SWIG_fail
;
24089 if (!wxPyCheckForApp()) SWIG_fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24091 result
= (wxPrinter
*)new wxPrinter(arg1
);
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24103 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
= NULL
;
24105 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24106 PyObject
* obj0
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24113 if (SWIG_arg_fail(1)) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 Py_INCREF(Py_None
); resultobj
= Py_None
;
24128 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
= NULL
;
24130 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24131 wxWindow
*arg2
= (wxWindow
*) 0 ;
24132 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24134 PyObject
* obj0
= 0 ;
24135 PyObject
* obj1
= 0 ;
24136 PyObject
* obj2
= 0 ;
24137 char *kwnames
[] = {
24138 (char *) "self",(char *) "parent",(char *) "printout", NULL
24141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24143 if (SWIG_arg_fail(1)) SWIG_fail
;
24144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24145 if (SWIG_arg_fail(2)) SWIG_fail
;
24146 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24147 if (SWIG_arg_fail(3)) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= wxPyMake_wxObject(result
, 0);
24164 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
= NULL
;
24166 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24167 wxWindow
*arg2
= (wxWindow
*) 0 ;
24168 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24169 wxString
*arg4
= 0 ;
24170 bool temp4
= false ;
24171 PyObject
* obj0
= 0 ;
24172 PyObject
* obj1
= 0 ;
24173 PyObject
* obj2
= 0 ;
24174 PyObject
* obj3
= 0 ;
24175 char *kwnames
[] = {
24176 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24181 if (SWIG_arg_fail(1)) SWIG_fail
;
24182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24183 if (SWIG_arg_fail(2)) SWIG_fail
;
24184 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24185 if (SWIG_arg_fail(3)) SWIG_fail
;
24187 arg4
= wxString_in_helper(obj3
);
24188 if (arg4
== NULL
) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 Py_INCREF(Py_None
); resultobj
= Py_None
;
24213 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
= NULL
;
24215 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24216 wxWindow
*arg2
= (wxWindow
*) 0 ;
24218 PyObject
* obj0
= 0 ;
24219 PyObject
* obj1
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self",(char *) "parent", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24226 if (SWIG_arg_fail(1)) SWIG_fail
;
24227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24228 if (SWIG_arg_fail(2)) SWIG_fail
;
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 result
= (bool)(arg1
)->Setup(arg2
);
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24245 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24246 PyObject
*resultobj
= NULL
;
24247 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24248 wxWindow
*arg2
= (wxWindow
*) 0 ;
24249 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24250 bool arg4
= (bool) true ;
24252 PyObject
* obj0
= 0 ;
24253 PyObject
* obj1
= 0 ;
24254 PyObject
* obj2
= 0 ;
24255 PyObject
* obj3
= 0 ;
24256 char *kwnames
[] = {
24257 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24262 if (SWIG_arg_fail(1)) SWIG_fail
;
24263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24264 if (SWIG_arg_fail(2)) SWIG_fail
;
24265 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24266 if (SWIG_arg_fail(3)) SWIG_fail
;
24269 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
24270 if (SWIG_arg_fail(4)) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24289 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
= NULL
;
24291 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24292 wxWindow
*arg2
= (wxWindow
*) 0 ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "self",(char *) "parent", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24302 if (SWIG_arg_fail(1)) SWIG_fail
;
24303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24304 if (SWIG_arg_fail(2)) SWIG_fail
;
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24321 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
= NULL
;
24323 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24324 wxPrintDialogData
*result
;
24325 PyObject
* obj0
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24332 if (SWIG_arg_fail(1)) SWIG_fail
;
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24337 result
= (wxPrintDialogData
*) &_result_ref
;
24340 wxPyEndAllowThreads(__tstate
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24350 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
= NULL
;
24352 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24354 PyObject
* obj0
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24361 if (SWIG_arg_fail(1)) SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 result
= (bool)(arg1
)->GetAbort();
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24378 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
= NULL
;
24380 wxPrinterError result
;
24381 char *kwnames
[] = {
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 result
= (wxPrinterError
)wxPrinter::GetLastError();
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= SWIG_From_int((result
));
24400 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24403 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24405 return Py_BuildValue((char *)"");
24407 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
= NULL
;
24409 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24410 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24411 wxPyPrintout
*result
;
24412 bool temp1
= false ;
24413 PyObject
* obj0
= 0 ;
24414 char *kwnames
[] = {
24415 (char *) "title", NULL
24418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24421 arg1
= wxString_in_helper(obj0
);
24422 if (arg1
== NULL
) SWIG_fail
;
24427 if (!wxPyCheckForApp()) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24451 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
= NULL
;
24453 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24454 PyObject
*arg2
= (PyObject
*) 0 ;
24455 PyObject
*arg3
= (PyObject
*) 0 ;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 PyObject
* obj2
= 0 ;
24459 char *kwnames
[] = {
24460 (char *) "self",(char *) "self",(char *) "_class", NULL
24463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24465 if (SWIG_arg_fail(1)) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 Py_INCREF(Py_None
); resultobj
= Py_None
;
24482 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
= NULL
;
24484 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 char *kwnames
[] = {
24488 (char *) "self", NULL
24491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24493 if (SWIG_arg_fail(1)) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24514 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
= NULL
;
24516 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24525 if (SWIG_arg_fail(1)) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (wxDC
*)(arg1
)->GetDC();
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24542 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
= NULL
;
24544 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24545 wxDC
*arg2
= (wxDC
*) 0 ;
24546 PyObject
* obj0
= 0 ;
24547 PyObject
* obj1
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self",(char *) "dc", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24554 if (SWIG_arg_fail(1)) SWIG_fail
;
24555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24556 if (SWIG_arg_fail(2)) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 (arg1
)->SetDC(arg2
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24564 Py_INCREF(Py_None
); resultobj
= Py_None
;
24571 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
= NULL
;
24573 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 PyObject
* obj2
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self",(char *) "w",(char *) "h", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24585 if (SWIG_arg_fail(1)) SWIG_fail
;
24587 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24588 if (SWIG_arg_fail(2)) SWIG_fail
;
24591 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24592 if (SWIG_arg_fail(3)) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 Py_INCREF(Py_None
); resultobj
= Py_None
;
24608 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
= NULL
;
24610 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24611 int *arg2
= (int *) 0 ;
24612 int *arg3
= (int *) 0 ;
24617 PyObject
* obj0
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self", NULL
24622 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24623 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24626 if (SWIG_arg_fail(1)) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 Py_INCREF(Py_None
); resultobj
= Py_None
;
24635 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24636 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24637 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24638 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24645 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
= NULL
;
24647 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24650 PyObject
* obj0
= 0 ;
24651 PyObject
* obj1
= 0 ;
24652 PyObject
* obj2
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self",(char *) "w",(char *) "h", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24659 if (SWIG_arg_fail(1)) SWIG_fail
;
24661 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24662 if (SWIG_arg_fail(2)) SWIG_fail
;
24665 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24666 if (SWIG_arg_fail(3)) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24672 wxPyEndAllowThreads(__tstate
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24675 Py_INCREF(Py_None
); resultobj
= Py_None
;
24682 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24683 PyObject
*resultobj
= NULL
;
24684 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24685 int *arg2
= (int *) 0 ;
24686 int *arg3
= (int *) 0 ;
24691 PyObject
* obj0
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self", NULL
24696 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24697 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24700 if (SWIG_arg_fail(1)) SWIG_fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24708 Py_INCREF(Py_None
); resultobj
= Py_None
;
24709 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24710 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24711 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24712 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24719 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
= NULL
;
24721 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24724 PyObject
* obj0
= 0 ;
24725 PyObject
* obj1
= 0 ;
24726 PyObject
* obj2
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "self",(char *) "x",(char *) "y", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24733 if (SWIG_arg_fail(1)) SWIG_fail
;
24735 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24736 if (SWIG_arg_fail(2)) SWIG_fail
;
24739 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24740 if (SWIG_arg_fail(3)) SWIG_fail
;
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 (arg1
)->SetPPIScreen(arg2
,arg3
);
24746 wxPyEndAllowThreads(__tstate
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 Py_INCREF(Py_None
); resultobj
= Py_None
;
24756 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
= NULL
;
24758 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24759 int *arg2
= (int *) 0 ;
24760 int *arg3
= (int *) 0 ;
24765 PyObject
* obj0
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self", NULL
24770 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24771 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24774 if (SWIG_arg_fail(1)) SWIG_fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 (arg1
)->GetPPIScreen(arg2
,arg3
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 Py_INCREF(Py_None
); resultobj
= Py_None
;
24783 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24784 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24785 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24786 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24793 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24794 PyObject
*resultobj
= NULL
;
24795 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 PyObject
* obj2
= 0 ;
24801 char *kwnames
[] = {
24802 (char *) "self",(char *) "x",(char *) "y", NULL
24805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24807 if (SWIG_arg_fail(1)) SWIG_fail
;
24809 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24810 if (SWIG_arg_fail(2)) SWIG_fail
;
24813 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24814 if (SWIG_arg_fail(3)) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 Py_INCREF(Py_None
); resultobj
= Py_None
;
24830 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
= NULL
;
24832 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24833 int *arg2
= (int *) 0 ;
24834 int *arg3
= (int *) 0 ;
24839 PyObject
* obj0
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self", NULL
24844 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24845 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24848 if (SWIG_arg_fail(1)) SWIG_fail
;
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 Py_INCREF(Py_None
); resultobj
= Py_None
;
24857 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24858 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24859 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24860 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24867 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
= NULL
;
24869 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24871 PyObject
* obj0
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24878 if (SWIG_arg_fail(1)) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (bool)(arg1
)->IsPreview();
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24895 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
= NULL
;
24897 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self",(char *) "p", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24907 if (SWIG_arg_fail(1)) SWIG_fail
;
24909 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
24910 if (SWIG_arg_fail(2)) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 (arg1
)->SetIsPreview(arg2
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 Py_INCREF(Py_None
); resultobj
= Py_None
;
24926 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
= NULL
;
24928 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj1
= 0 ;
24934 PyObject
* obj2
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24941 if (SWIG_arg_fail(1)) SWIG_fail
;
24943 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24944 if (SWIG_arg_fail(2)) SWIG_fail
;
24947 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24948 if (SWIG_arg_fail(3)) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24966 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
= NULL
;
24968 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24969 PyObject
* obj0
= 0 ;
24970 char *kwnames
[] = {
24971 (char *) "self", NULL
24974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
24975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24976 if (SWIG_arg_fail(1)) SWIG_fail
;
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 (arg1
)->base_OnEndDocument();
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 Py_INCREF(Py_None
); resultobj
= Py_None
;
24991 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
= NULL
;
24993 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24994 PyObject
* obj0
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25001 if (SWIG_arg_fail(1)) SWIG_fail
;
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 (arg1
)->base_OnBeginPrinting();
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25009 Py_INCREF(Py_None
); resultobj
= Py_None
;
25016 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
= NULL
;
25018 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25019 PyObject
* obj0
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25026 if (SWIG_arg_fail(1)) SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 (arg1
)->base_OnEndPrinting();
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 Py_INCREF(Py_None
); resultobj
= Py_None
;
25041 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
= NULL
;
25043 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25044 PyObject
* obj0
= 0 ;
25045 char *kwnames
[] = {
25046 (char *) "self", NULL
25049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25051 if (SWIG_arg_fail(1)) SWIG_fail
;
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 (arg1
)->base_OnPreparePrinting();
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 Py_INCREF(Py_None
); resultobj
= Py_None
;
25066 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
= NULL
;
25068 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25071 PyObject
* obj0
= 0 ;
25072 PyObject
* obj1
= 0 ;
25073 char *kwnames
[] = {
25074 (char *) "self",(char *) "page", NULL
25077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25082 if (SWIG_arg_fail(2)) SWIG_fail
;
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (bool)(arg1
)->base_HasPage(arg2
);
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25100 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25101 PyObject
*resultobj
= NULL
;
25102 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25103 int *arg2
= (int *) 0 ;
25104 int *arg3
= (int *) 0 ;
25105 int *arg4
= (int *) 0 ;
25106 int *arg5
= (int *) 0 ;
25115 PyObject
* obj0
= 0 ;
25116 char *kwnames
[] = {
25117 (char *) "self", NULL
25120 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25121 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25122 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25123 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25126 if (SWIG_arg_fail(1)) SWIG_fail
;
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25131 wxPyEndAllowThreads(__tstate
);
25132 if (PyErr_Occurred()) SWIG_fail
;
25134 Py_INCREF(Py_None
); resultobj
= Py_None
;
25135 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25136 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25137 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25138 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25139 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25140 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25141 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25142 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25149 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25152 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25154 return Py_BuildValue((char *)"");
25156 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
= NULL
;
25158 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25159 wxWindow
*arg2
= (wxWindow
*) 0 ;
25160 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25161 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25162 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25163 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25164 long arg5
= (long) 0 ;
25165 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25166 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25167 wxPreviewCanvas
*result
;
25170 bool temp6
= false ;
25171 PyObject
* obj0
= 0 ;
25172 PyObject
* obj1
= 0 ;
25173 PyObject
* obj2
= 0 ;
25174 PyObject
* obj3
= 0 ;
25175 PyObject
* obj4
= 0 ;
25176 PyObject
* obj5
= 0 ;
25177 char *kwnames
[] = {
25178 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25183 if (SWIG_arg_fail(1)) SWIG_fail
;
25184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25185 if (SWIG_arg_fail(2)) SWIG_fail
;
25189 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25195 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25200 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25201 if (SWIG_arg_fail(5)) SWIG_fail
;
25206 arg6
= wxString_in_helper(obj5
);
25207 if (arg6
== NULL
) SWIG_fail
;
25212 if (!wxPyCheckForApp()) SWIG_fail
;
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25234 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25237 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25239 return Py_BuildValue((char *)"");
25241 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
= NULL
;
25243 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25244 wxFrame
*arg2
= (wxFrame
*) 0 ;
25245 wxString
*arg3
= 0 ;
25246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25250 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25251 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25252 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25253 wxPreviewFrame
*result
;
25254 bool temp3
= false ;
25257 bool temp7
= false ;
25258 PyObject
* obj0
= 0 ;
25259 PyObject
* obj1
= 0 ;
25260 PyObject
* obj2
= 0 ;
25261 PyObject
* obj3
= 0 ;
25262 PyObject
* obj4
= 0 ;
25263 PyObject
* obj5
= 0 ;
25264 PyObject
* obj6
= 0 ;
25265 char *kwnames
[] = {
25266 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25271 if (SWIG_arg_fail(1)) SWIG_fail
;
25272 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25273 if (SWIG_arg_fail(2)) SWIG_fail
;
25275 arg3
= wxString_in_helper(obj2
);
25276 if (arg3
== NULL
) SWIG_fail
;
25282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25293 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25294 if (SWIG_arg_fail(6)) SWIG_fail
;
25299 arg7
= wxString_in_helper(obj6
);
25300 if (arg7
== NULL
) SWIG_fail
;
25305 if (!wxPyCheckForApp()) SWIG_fail
;
25306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25309 wxPyEndAllowThreads(__tstate
);
25310 if (PyErr_Occurred()) SWIG_fail
;
25312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25335 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25336 PyObject
*resultobj
= NULL
;
25337 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25338 PyObject
* obj0
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25345 if (SWIG_arg_fail(1)) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 (arg1
)->Initialize();
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 Py_INCREF(Py_None
); resultobj
= Py_None
;
25360 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
= NULL
;
25362 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25363 PyObject
* obj0
= 0 ;
25364 char *kwnames
[] = {
25365 (char *) "self", NULL
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25370 if (SWIG_arg_fail(1)) SWIG_fail
;
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 (arg1
)->CreateControlBar();
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 Py_INCREF(Py_None
); resultobj
= Py_None
;
25385 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25386 PyObject
*resultobj
= NULL
;
25387 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25388 PyObject
* obj0
= 0 ;
25389 char *kwnames
[] = {
25390 (char *) "self", NULL
25393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25395 if (SWIG_arg_fail(1)) SWIG_fail
;
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 (arg1
)->CreateCanvas();
25400 wxPyEndAllowThreads(__tstate
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25403 Py_INCREF(Py_None
); resultobj
= Py_None
;
25410 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
= NULL
;
25412 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25413 wxPreviewControlBar
*result
;
25414 PyObject
* obj0
= 0 ;
25415 char *kwnames
[] = {
25416 (char *) "self", NULL
25419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25421 if (SWIG_arg_fail(1)) SWIG_fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25436 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25439 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25441 return Py_BuildValue((char *)"");
25443 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25444 PyObject
*resultobj
= NULL
;
25445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25447 wxWindow
*arg3
= (wxWindow
*) 0 ;
25448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25452 long arg6
= (long) wxTAB_TRAVERSAL
;
25453 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25455 wxPreviewControlBar
*result
;
25458 bool temp7
= false ;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 PyObject
* obj2
= 0 ;
25462 PyObject
* obj3
= 0 ;
25463 PyObject
* obj4
= 0 ;
25464 PyObject
* obj5
= 0 ;
25465 PyObject
* obj6
= 0 ;
25466 char *kwnames
[] = {
25467 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25472 if (SWIG_arg_fail(1)) SWIG_fail
;
25474 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25475 if (SWIG_arg_fail(2)) SWIG_fail
;
25477 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25478 if (SWIG_arg_fail(3)) SWIG_fail
;
25482 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25488 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25493 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25494 if (SWIG_arg_fail(6)) SWIG_fail
;
25499 arg7
= wxString_in_helper(obj6
);
25500 if (arg7
== NULL
) SWIG_fail
;
25505 if (!wxPyCheckForApp()) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25527 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
= NULL
;
25529 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25531 PyObject
* obj0
= 0 ;
25532 char *kwnames
[] = {
25533 (char *) "self", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25538 if (SWIG_arg_fail(1)) SWIG_fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= (int)(arg1
)->GetZoomControl();
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= SWIG_From_int(static_cast<int >(result
));
25555 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
= NULL
;
25557 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25559 PyObject
* obj0
= 0 ;
25560 PyObject
* obj1
= 0 ;
25561 char *kwnames
[] = {
25562 (char *) "self",(char *) "zoom", NULL
25565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25567 if (SWIG_arg_fail(1)) SWIG_fail
;
25569 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25570 if (SWIG_arg_fail(2)) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 (arg1
)->SetZoomControl(arg2
);
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 Py_INCREF(Py_None
); resultobj
= Py_None
;
25586 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
= NULL
;
25588 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25589 wxPrintPreview
*result
;
25590 PyObject
* obj0
= 0 ;
25591 char *kwnames
[] = {
25592 (char *) "self", NULL
25595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25597 if (SWIG_arg_fail(1)) SWIG_fail
;
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25612 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
= NULL
;
25614 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25615 PyObject
* obj0
= 0 ;
25616 char *kwnames
[] = {
25617 (char *) "self", NULL
25620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25622 if (SWIG_arg_fail(1)) SWIG_fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 Py_INCREF(Py_None
); resultobj
= Py_None
;
25637 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
= NULL
;
25639 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25640 PyObject
* obj0
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25647 if (SWIG_arg_fail(1)) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 (arg1
)->OnPrevious();
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 Py_INCREF(Py_None
); resultobj
= Py_None
;
25662 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
= NULL
;
25664 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25665 PyObject
* obj0
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25672 if (SWIG_arg_fail(1)) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 Py_INCREF(Py_None
); resultobj
= Py_None
;
25687 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
= NULL
;
25689 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25690 PyObject
* obj0
= 0 ;
25691 char *kwnames
[] = {
25692 (char *) "self", NULL
25695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25697 if (SWIG_arg_fail(1)) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25705 Py_INCREF(Py_None
); resultobj
= Py_None
;
25712 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25713 PyObject
*resultobj
= NULL
;
25714 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25715 PyObject
* obj0
= 0 ;
25716 char *kwnames
[] = {
25717 (char *) "self", NULL
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25722 if (SWIG_arg_fail(1)) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 Py_INCREF(Py_None
); resultobj
= Py_None
;
25737 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25740 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25742 return Py_BuildValue((char *)"");
25744 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25745 PyObject
*resultobj
= NULL
;
25746 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25747 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25748 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25749 wxPrintPreview
*result
;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 PyObject
* obj2
= 0 ;
25754 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25756 if (SWIG_arg_fail(1)) SWIG_fail
;
25757 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25758 if (SWIG_arg_fail(2)) SWIG_fail
;
25760 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25761 if (SWIG_arg_fail(3)) SWIG_fail
;
25764 if (!wxPyCheckForApp()) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25778 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25779 PyObject
*resultobj
= NULL
;
25780 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25781 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25782 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25783 wxPrintPreview
*result
;
25784 PyObject
* obj0
= 0 ;
25785 PyObject
* obj1
= 0 ;
25786 PyObject
* obj2
= 0 ;
25788 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25790 if (SWIG_arg_fail(1)) SWIG_fail
;
25791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25792 if (SWIG_arg_fail(2)) SWIG_fail
;
25793 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25794 if (SWIG_arg_fail(3)) SWIG_fail
;
25796 if (!wxPyCheckForApp()) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25810 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25815 argc
= PyObject_Length(args
);
25816 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25817 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25819 if ((argc
>= 2) && (argc
<= 3)) {
25823 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25833 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25842 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25846 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25854 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25863 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25873 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25883 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25891 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25897 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25902 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
= NULL
;
25904 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25907 PyObject
* obj0
= 0 ;
25908 PyObject
* obj1
= 0 ;
25909 char *kwnames
[] = {
25910 (char *) "self",(char *) "pageNum", NULL
25913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25915 if (SWIG_arg_fail(1)) SWIG_fail
;
25917 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25918 if (SWIG_arg_fail(2)) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25936 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
= NULL
;
25938 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25940 PyObject
* obj0
= 0 ;
25941 char *kwnames
[] = {
25942 (char *) "self", NULL
25945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25947 if (SWIG_arg_fail(1)) SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 result
= (int)(arg1
)->GetCurrentPage();
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25956 resultobj
= SWIG_From_int(static_cast<int >(result
));
25964 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25965 PyObject
*resultobj
= NULL
;
25966 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25967 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25968 PyObject
* obj0
= 0 ;
25969 PyObject
* obj1
= 0 ;
25970 char *kwnames
[] = {
25971 (char *) "self",(char *) "printout", NULL
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
25975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25976 if (SWIG_arg_fail(1)) SWIG_fail
;
25977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25978 if (SWIG_arg_fail(2)) SWIG_fail
;
25980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25981 (arg1
)->SetPrintout(arg2
);
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 Py_INCREF(Py_None
); resultobj
= Py_None
;
25993 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
= NULL
;
25995 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25996 wxPyPrintout
*result
;
25997 PyObject
* obj0
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26021 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(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_GetPrintoutForPrinting",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
)->GetPrintoutForPrinting();
26037 wxPyEndAllowThreads(__tstate
);
26038 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26049 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
= NULL
;
26051 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26052 wxFrame
*arg2
= (wxFrame
*) 0 ;
26053 PyObject
* obj0
= 0 ;
26054 PyObject
* obj1
= 0 ;
26055 char *kwnames
[] = {
26056 (char *) "self",(char *) "frame", NULL
26059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26061 if (SWIG_arg_fail(1)) SWIG_fail
;
26062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26063 if (SWIG_arg_fail(2)) SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 (arg1
)->SetFrame(arg2
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 Py_INCREF(Py_None
); resultobj
= Py_None
;
26078 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
= NULL
;
26080 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26081 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26082 PyObject
* obj0
= 0 ;
26083 PyObject
* obj1
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self",(char *) "canvas", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26090 if (SWIG_arg_fail(1)) SWIG_fail
;
26091 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26092 if (SWIG_arg_fail(2)) SWIG_fail
;
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 (arg1
)->SetCanvas(arg2
);
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26100 Py_INCREF(Py_None
); resultobj
= Py_None
;
26107 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26108 PyObject
*resultobj
= NULL
;
26109 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26111 PyObject
* obj0
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26118 if (SWIG_arg_fail(1)) SWIG_fail
;
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (wxFrame
*)(arg1
)->GetFrame();
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= wxPyMake_wxObject(result
, 0);
26135 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26136 PyObject
*resultobj
= NULL
;
26137 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26138 wxPreviewCanvas
*result
;
26139 PyObject
* obj0
= 0 ;
26140 char *kwnames
[] = {
26141 (char *) "self", NULL
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",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
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26161 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
= NULL
;
26163 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26164 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26167 PyObject
* obj0
= 0 ;
26168 PyObject
* obj1
= 0 ;
26169 PyObject
* obj2
= 0 ;
26170 char *kwnames
[] = {
26171 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26176 if (SWIG_arg_fail(1)) SWIG_fail
;
26177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26178 if (SWIG_arg_fail(2)) SWIG_fail
;
26180 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26181 if (SWIG_arg_fail(3)) SWIG_fail
;
26182 if (arg3
== NULL
) {
26183 SWIG_null_ref("wxDC");
26185 if (SWIG_arg_fail(3)) SWIG_fail
;
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26203 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26204 PyObject
*resultobj
= NULL
;
26205 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26206 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26209 PyObject
* obj0
= 0 ;
26210 PyObject
* obj1
= 0 ;
26211 PyObject
* obj2
= 0 ;
26212 char *kwnames
[] = {
26213 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26218 if (SWIG_arg_fail(1)) SWIG_fail
;
26219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26220 if (SWIG_arg_fail(2)) SWIG_fail
;
26222 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26223 if (SWIG_arg_fail(3)) SWIG_fail
;
26224 if (arg3
== NULL
) {
26225 SWIG_null_ref("wxDC");
26227 if (SWIG_arg_fail(3)) SWIG_fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26245 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
= NULL
;
26247 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 char *kwnames
[] = {
26253 (char *) "self",(char *) "pageNum", NULL
26256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26258 if (SWIG_arg_fail(1)) SWIG_fail
;
26260 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26261 if (SWIG_arg_fail(2)) SWIG_fail
;
26264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26265 result
= (bool)(arg1
)->RenderPage(arg2
);
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26279 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26280 PyObject
*resultobj
= NULL
;
26281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26282 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26283 PyObject
* obj0
= 0 ;
26284 PyObject
* obj1
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self",(char *) "canvas", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26291 if (SWIG_arg_fail(1)) SWIG_fail
;
26292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26293 if (SWIG_arg_fail(2)) SWIG_fail
;
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 (arg1
)->AdjustScrollbars(arg2
);
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 Py_INCREF(Py_None
); resultobj
= Py_None
;
26308 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
= NULL
;
26310 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26311 wxPrintDialogData
*result
;
26312 PyObject
* obj0
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26319 if (SWIG_arg_fail(1)) SWIG_fail
;
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26324 result
= (wxPrintDialogData
*) &_result_ref
;
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26337 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
= NULL
;
26339 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 PyObject
* obj1
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self",(char *) "percent", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26349 if (SWIG_arg_fail(1)) SWIG_fail
;
26351 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26352 if (SWIG_arg_fail(2)) SWIG_fail
;
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 (arg1
)->SetZoom(arg2
);
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 Py_INCREF(Py_None
); resultobj
= Py_None
;
26368 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
= NULL
;
26370 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26372 PyObject
* obj0
= 0 ;
26373 char *kwnames
[] = {
26374 (char *) "self", NULL
26377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26379 if (SWIG_arg_fail(1)) SWIG_fail
;
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 result
= (int)(arg1
)->GetZoom();
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= SWIG_From_int(static_cast<int >(result
));
26396 static PyObject
*_wrap_PrintPreview_GetMaxPage(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_GetMaxPage",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
)->GetMaxPage();
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= SWIG_From_int(static_cast<int >(result
));
26424 static PyObject
*_wrap_PrintPreview_GetMinPage(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_GetMinPage",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
)->GetMinPage();
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= SWIG_From_int(static_cast<int >(result
));
26452 static PyObject
*_wrap_PrintPreview_Ok(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_Ok",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
= (bool)(arg1
)->Ok();
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26480 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
= NULL
;
26482 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 char *kwnames
[] = {
26487 (char *) "self",(char *) "ok", NULL
26490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26492 if (SWIG_arg_fail(1)) SWIG_fail
;
26494 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26495 if (SWIG_arg_fail(2)) SWIG_fail
;
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26499 (arg1
)->SetOk(arg2
);
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 Py_INCREF(Py_None
); resultobj
= Py_None
;
26511 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
= NULL
;
26513 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26516 PyObject
* obj0
= 0 ;
26517 PyObject
* obj1
= 0 ;
26518 char *kwnames
[] = {
26519 (char *) "self",(char *) "interactive", NULL
26522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26524 if (SWIG_arg_fail(1)) SWIG_fail
;
26526 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26527 if (SWIG_arg_fail(2)) SWIG_fail
;
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 result
= (bool)(arg1
)->Print(arg2
);
26533 wxPyEndAllowThreads(__tstate
);
26534 if (PyErr_Occurred()) SWIG_fail
;
26537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26545 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
= NULL
;
26547 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26548 PyObject
* obj0
= 0 ;
26549 char *kwnames
[] = {
26550 (char *) "self", NULL
26553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26555 if (SWIG_arg_fail(1)) SWIG_fail
;
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 (arg1
)->DetermineScaling();
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26563 Py_INCREF(Py_None
); resultobj
= Py_None
;
26570 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26573 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26575 return Py_BuildValue((char *)"");
26577 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26578 PyObject
*resultobj
= NULL
;
26579 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26580 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26581 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26582 wxPyPrintPreview
*result
;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 PyObject
* obj2
= 0 ;
26587 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26589 if (SWIG_arg_fail(1)) SWIG_fail
;
26590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26591 if (SWIG_arg_fail(2)) SWIG_fail
;
26593 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26594 if (SWIG_arg_fail(3)) SWIG_fail
;
26597 if (!wxPyCheckForApp()) SWIG_fail
;
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26611 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26612 PyObject
*resultobj
= NULL
;
26613 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26614 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26615 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26616 wxPyPrintPreview
*result
;
26617 PyObject
* obj0
= 0 ;
26618 PyObject
* obj1
= 0 ;
26619 PyObject
* obj2
= 0 ;
26621 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26623 if (SWIG_arg_fail(1)) SWIG_fail
;
26624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26625 if (SWIG_arg_fail(2)) SWIG_fail
;
26626 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26627 if (SWIG_arg_fail(3)) SWIG_fail
;
26629 if (!wxPyCheckForApp()) SWIG_fail
;
26630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26631 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26643 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26648 argc
= PyObject_Length(args
);
26649 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26650 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26652 if ((argc
>= 2) && (argc
<= 3)) {
26656 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26666 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26675 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26679 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26687 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26696 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26706 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26716 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26724 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26730 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26735 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
= NULL
;
26737 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26738 PyObject
*arg2
= (PyObject
*) 0 ;
26739 PyObject
*arg3
= (PyObject
*) 0 ;
26740 PyObject
* obj0
= 0 ;
26741 PyObject
* obj1
= 0 ;
26742 PyObject
* obj2
= 0 ;
26743 char *kwnames
[] = {
26744 (char *) "self",(char *) "self",(char *) "_class", NULL
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26749 if (SWIG_arg_fail(1)) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 Py_INCREF(Py_None
); resultobj
= Py_None
;
26766 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
= NULL
;
26768 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 char *kwnames
[] = {
26774 (char *) "self",(char *) "pageNum", NULL
26777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26779 if (SWIG_arg_fail(1)) SWIG_fail
;
26781 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26782 if (SWIG_arg_fail(2)) SWIG_fail
;
26785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26786 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26800 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
= NULL
;
26802 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26803 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26806 PyObject
* obj0
= 0 ;
26807 PyObject
* obj1
= 0 ;
26808 PyObject
* obj2
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail
;
26816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26817 if (SWIG_arg_fail(2)) SWIG_fail
;
26819 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26820 if (SWIG_arg_fail(3)) SWIG_fail
;
26821 if (arg3
== NULL
) {
26822 SWIG_null_ref("wxDC");
26824 if (SWIG_arg_fail(3)) SWIG_fail
;
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26842 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
= NULL
;
26844 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26845 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26848 PyObject
* obj0
= 0 ;
26849 PyObject
* obj1
= 0 ;
26850 PyObject
* obj2
= 0 ;
26851 char *kwnames
[] = {
26852 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26857 if (SWIG_arg_fail(1)) SWIG_fail
;
26858 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26859 if (SWIG_arg_fail(2)) SWIG_fail
;
26861 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26862 if (SWIG_arg_fail(3)) SWIG_fail
;
26863 if (arg3
== NULL
) {
26864 SWIG_null_ref("wxDC");
26866 if (SWIG_arg_fail(3)) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26884 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
= NULL
;
26886 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26889 PyObject
* obj0
= 0 ;
26890 PyObject
* obj1
= 0 ;
26891 char *kwnames
[] = {
26892 (char *) "self",(char *) "pageNum", NULL
26895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26897 if (SWIG_arg_fail(1)) SWIG_fail
;
26899 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26900 if (SWIG_arg_fail(2)) SWIG_fail
;
26903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26918 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
= NULL
;
26920 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "self",(char *) "percent", NULL
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail
;
26932 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26933 if (SWIG_arg_fail(2)) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 (arg1
)->base_SetZoom(arg2
);
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26942 Py_INCREF(Py_None
); resultobj
= Py_None
;
26949 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
= NULL
;
26951 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26954 PyObject
* obj0
= 0 ;
26955 PyObject
* obj1
= 0 ;
26956 char *kwnames
[] = {
26957 (char *) "self",(char *) "interactive", NULL
26960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26962 if (SWIG_arg_fail(1)) SWIG_fail
;
26964 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26965 if (SWIG_arg_fail(2)) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (bool)(arg1
)->base_Print(arg2
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26983 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
= NULL
;
26985 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26986 PyObject
* obj0
= 0 ;
26987 char *kwnames
[] = {
26988 (char *) "self", NULL
26991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26993 if (SWIG_arg_fail(1)) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 (arg1
)->base_DetermineScaling();
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 Py_INCREF(Py_None
); resultobj
= Py_None
;
27008 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27011 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27013 return Py_BuildValue((char *)"");
27015 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
= NULL
;
27017 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27018 wxFrame
*arg2
= (wxFrame
*) 0 ;
27019 wxString
*arg3
= 0 ;
27020 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27021 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27022 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27023 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27024 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27025 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27026 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27027 wxPyPreviewFrame
*result
;
27028 bool temp3
= false ;
27031 bool temp7
= false ;
27032 PyObject
* obj0
= 0 ;
27033 PyObject
* obj1
= 0 ;
27034 PyObject
* obj2
= 0 ;
27035 PyObject
* obj3
= 0 ;
27036 PyObject
* obj4
= 0 ;
27037 PyObject
* obj5
= 0 ;
27038 PyObject
* obj6
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27045 if (SWIG_arg_fail(1)) SWIG_fail
;
27046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27047 if (SWIG_arg_fail(2)) SWIG_fail
;
27049 arg3
= wxString_in_helper(obj2
);
27050 if (arg3
== NULL
) SWIG_fail
;
27056 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27062 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27067 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27068 if (SWIG_arg_fail(6)) SWIG_fail
;
27073 arg7
= wxString_in_helper(obj6
);
27074 if (arg7
== NULL
) SWIG_fail
;
27079 if (!wxPyCheckForApp()) SWIG_fail
;
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27109 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27110 PyObject
*resultobj
= NULL
;
27111 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27112 PyObject
*arg2
= (PyObject
*) 0 ;
27113 PyObject
*arg3
= (PyObject
*) 0 ;
27114 PyObject
* obj0
= 0 ;
27115 PyObject
* obj1
= 0 ;
27116 PyObject
* obj2
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self",(char *) "self",(char *) "_class", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27123 if (SWIG_arg_fail(1)) SWIG_fail
;
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27128 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 Py_INCREF(Py_None
); resultobj
= Py_None
;
27140 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
= NULL
;
27142 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27143 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "self",(char *) "canvas", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27152 if (SWIG_arg_fail(1)) SWIG_fail
;
27153 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27154 if (SWIG_arg_fail(2)) SWIG_fail
;
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 (arg1
)->SetPreviewCanvas(arg2
);
27159 wxPyEndAllowThreads(__tstate
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27162 Py_INCREF(Py_None
); resultobj
= Py_None
;
27169 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27170 PyObject
*resultobj
= NULL
;
27171 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27172 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 char *kwnames
[] = {
27176 (char *) "self",(char *) "bar", NULL
27179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27181 if (SWIG_arg_fail(1)) SWIG_fail
;
27182 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27183 if (SWIG_arg_fail(2)) SWIG_fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 (arg1
)->SetControlBar(arg2
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27191 Py_INCREF(Py_None
); resultobj
= Py_None
;
27198 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27199 PyObject
*resultobj
= NULL
;
27200 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27201 PyObject
* obj0
= 0 ;
27202 char *kwnames
[] = {
27203 (char *) "self", NULL
27206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27208 if (SWIG_arg_fail(1)) SWIG_fail
;
27210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27211 (arg1
)->base_Initialize();
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 Py_INCREF(Py_None
); resultobj
= Py_None
;
27223 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
= NULL
;
27225 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27226 PyObject
* obj0
= 0 ;
27227 char *kwnames
[] = {
27228 (char *) "self", NULL
27231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27233 if (SWIG_arg_fail(1)) SWIG_fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 (arg1
)->base_CreateCanvas();
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 Py_INCREF(Py_None
); resultobj
= Py_None
;
27248 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
= NULL
;
27250 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27251 PyObject
* obj0
= 0 ;
27252 char *kwnames
[] = {
27253 (char *) "self", NULL
27256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27258 if (SWIG_arg_fail(1)) SWIG_fail
;
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 (arg1
)->base_CreateControlBar();
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 Py_INCREF(Py_None
); resultobj
= Py_None
;
27273 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27276 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27278 return Py_BuildValue((char *)"");
27280 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
= NULL
;
27282 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27284 wxWindow
*arg3
= (wxWindow
*) 0 ;
27285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27289 long arg6
= (long) 0 ;
27290 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27291 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27292 wxPyPreviewControlBar
*result
;
27295 bool temp7
= false ;
27296 PyObject
* obj0
= 0 ;
27297 PyObject
* obj1
= 0 ;
27298 PyObject
* obj2
= 0 ;
27299 PyObject
* obj3
= 0 ;
27300 PyObject
* obj4
= 0 ;
27301 PyObject
* obj5
= 0 ;
27302 PyObject
* obj6
= 0 ;
27303 char *kwnames
[] = {
27304 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27309 if (SWIG_arg_fail(1)) SWIG_fail
;
27311 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27312 if (SWIG_arg_fail(2)) SWIG_fail
;
27314 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27315 if (SWIG_arg_fail(3)) SWIG_fail
;
27319 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27325 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27330 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27331 if (SWIG_arg_fail(6)) SWIG_fail
;
27336 arg7
= wxString_in_helper(obj6
);
27337 if (arg7
== NULL
) SWIG_fail
;
27342 if (!wxPyCheckForApp()) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27364 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27365 PyObject
*resultobj
= NULL
;
27366 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27367 PyObject
*arg2
= (PyObject
*) 0 ;
27368 PyObject
*arg3
= (PyObject
*) 0 ;
27369 PyObject
* obj0
= 0 ;
27370 PyObject
* obj1
= 0 ;
27371 PyObject
* obj2
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self",(char *) "self",(char *) "_class", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27378 if (SWIG_arg_fail(1)) SWIG_fail
;
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 Py_INCREF(Py_None
); resultobj
= Py_None
;
27395 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
= NULL
;
27397 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27398 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27399 PyObject
* obj0
= 0 ;
27400 PyObject
* obj1
= 0 ;
27401 char *kwnames
[] = {
27402 (char *) "self",(char *) "preview", NULL
27405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27407 if (SWIG_arg_fail(1)) SWIG_fail
;
27408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27409 if (SWIG_arg_fail(2)) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 (arg1
)->SetPrintPreview(arg2
);
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 Py_INCREF(Py_None
); resultobj
= Py_None
;
27424 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
= NULL
;
27426 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27427 PyObject
* obj0
= 0 ;
27428 char *kwnames
[] = {
27429 (char *) "self", NULL
27432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27434 if (SWIG_arg_fail(1)) SWIG_fail
;
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 (arg1
)->base_CreateButtons();
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27442 Py_INCREF(Py_None
); resultobj
= Py_None
;
27449 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
= NULL
;
27451 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27453 PyObject
* obj0
= 0 ;
27454 PyObject
* obj1
= 0 ;
27455 char *kwnames
[] = {
27456 (char *) "self",(char *) "zoom", NULL
27459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27461 if (SWIG_arg_fail(1)) SWIG_fail
;
27463 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27464 if (SWIG_arg_fail(2)) SWIG_fail
;
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 (arg1
)->base_SetZoomControl(arg2
);
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27473 Py_INCREF(Py_None
); resultobj
= Py_None
;
27480 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27483 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27485 return Py_BuildValue((char *)"");
27487 static PyMethodDef SwigMethods
[] = {
27488 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27489 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27490 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27491 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27492 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27493 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27494 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27495 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27496 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27497 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27498 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27499 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27500 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27501 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27502 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27503 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27504 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27505 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27506 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27507 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27508 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27510 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27511 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27512 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27513 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27514 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27515 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27516 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27519 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27520 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27521 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27523 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27528 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27530 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27531 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27532 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27537 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27538 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27539 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27540 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27543 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27544 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27547 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27561 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27574 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27578 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27582 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27587 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27604 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27634 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27641 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27664 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27672 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27684 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27690 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27699 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27705 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27710 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27716 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27720 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27740 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27766 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27774 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27784 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27786 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27795 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27798 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27806 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27824 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27828 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27833 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27837 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27839 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27855 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27858 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27861 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27865 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27874 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27883 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27889 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27901 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27908 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27912 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction
) _wrap_PyWindow_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27939 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction
) _wrap_PyPanel_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27966 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction
) _wrap_PyScrolledWindow_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27993 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
27994 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28023 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28024 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28057 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28062 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28063 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28094 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28100 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28111 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28134 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28136 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28142 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28152 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28153 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28176 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28177 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28186 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28194 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28200 { NULL
, NULL
, 0, NULL
}
28204 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28206 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28207 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28209 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28210 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28212 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28213 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28215 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28216 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28218 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28219 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28221 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28222 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28224 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28225 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28227 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28228 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28230 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28231 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28233 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28234 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28236 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28237 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28239 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28240 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28242 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28245 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28246 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28248 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28249 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28251 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28252 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28254 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28255 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28257 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28258 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28260 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28261 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28263 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28264 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28266 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28267 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28269 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28270 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28272 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28273 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28275 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28276 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28278 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28279 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28281 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28282 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28284 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28285 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28287 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28288 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28290 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28291 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28293 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28294 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28296 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28297 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28299 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28300 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28302 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28303 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28305 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28306 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28308 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28309 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28311 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28312 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28314 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28315 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28317 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28318 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28320 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28323 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28324 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28326 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28327 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28329 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28330 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28332 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28333 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28335 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28336 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28338 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28339 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28341 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28342 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28344 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28347 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28350 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28351 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28353 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28354 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28356 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28357 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28359 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28360 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28362 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28365 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28368 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28371 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28374 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28377 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28380 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28381 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28383 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28386 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28387 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28389 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28390 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28392 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28395 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28398 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28401 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28402 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28404 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28407 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28408 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28410 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28411 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28413 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28414 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28416 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28417 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28419 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28422 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28423 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28425 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28426 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28428 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28431 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28432 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28434 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28437 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28440 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28443 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28444 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28446 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28449 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28450 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28452 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28455 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28458 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28461 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28464 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28465 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28467 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28468 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28470 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28471 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28473 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28474 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28476 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28477 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28479 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28480 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28482 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28483 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28485 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28486 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28488 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28489 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28491 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28492 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28494 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28495 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28497 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28498 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28500 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28501 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28503 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28504 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28506 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28507 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28509 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28510 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28512 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28513 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28515 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28516 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28518 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28521 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28524 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28525 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28527 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28528 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28530 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28533 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28534 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28536 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28537 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28539 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28540 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28542 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28543 return (void *)((wxObject
*) ((wxSizer
*) x
));
28545 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28546 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28548 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28551 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28554 static void *_p_wxEventTo_p_wxObject(void *x
) {
28555 return (void *)((wxObject
*) ((wxEvent
*) x
));
28557 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28558 return (void *)((wxObject
*) ((wxFontData
*) x
));
28560 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28561 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28563 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28564 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28566 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28567 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28569 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28570 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28572 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28573 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28575 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28576 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28578 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28579 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28581 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28582 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28584 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28585 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28587 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28588 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28590 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28591 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28593 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28594 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28596 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28597 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28599 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28602 static void *_p_wxControlTo_p_wxObject(void *x
) {
28603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28605 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28606 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28608 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28611 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28612 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28614 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28615 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28617 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28618 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28620 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28623 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28624 return (void *)((wxObject
*) ((wxColourData
*) x
));
28626 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28627 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28629 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28630 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28632 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28635 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28636 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28638 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28639 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28641 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28644 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28647 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28648 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28650 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28651 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28653 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28656 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28659 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28662 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28663 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28665 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28666 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28668 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28669 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28671 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28674 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28675 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28677 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28678 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28680 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28681 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28683 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28684 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28686 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28687 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28689 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28690 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28692 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28693 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28695 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28696 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28698 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28699 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28701 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28704 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28705 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28707 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28708 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28710 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28711 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28713 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28714 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28716 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28717 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28719 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28720 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28722 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28723 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28725 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
28726 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
28728 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28729 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28731 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28732 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28734 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28735 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28737 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28738 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28740 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28741 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28743 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28746 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28749 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28750 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28752 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28753 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28755 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28758 static void *_p_wxImageTo_p_wxObject(void *x
) {
28759 return (void *)((wxObject
*) ((wxImage
*) x
));
28761 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28764 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28765 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28767 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28768 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28770 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28771 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28773 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28776 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28777 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28779 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28780 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28782 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28783 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28785 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28786 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28788 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28789 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28791 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28792 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28794 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28797 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28798 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28800 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28803 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28806 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28809 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28812 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28815 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28818 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28821 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28822 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28824 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28825 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28827 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28830 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28833 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28834 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28836 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28837 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28839 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28840 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28842 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28845 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28848 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28851 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28854 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28857 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28858 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28860 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28861 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28863 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28864 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28866 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28867 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28869 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28870 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28872 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28873 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28875 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28876 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28878 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28879 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28881 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28882 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28884 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28885 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28887 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28888 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28890 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28893 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28894 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28896 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28897 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28899 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28900 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28902 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28905 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28908 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28909 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28911 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28912 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28914 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28917 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28918 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28920 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28921 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28923 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28924 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28926 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
28927 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28929 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28930 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28932 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
28933 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28935 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28936 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28938 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28939 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28941 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28942 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28944 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28945 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28947 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28948 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28950 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28951 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28953 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28954 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28956 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28957 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28959 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28960 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28962 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28963 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28965 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
28966 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
28968 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28969 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28971 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28972 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28974 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28975 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
28977 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28978 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28980 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28981 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28983 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
28984 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
28986 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
28987 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
28989 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28990 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
28992 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28993 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28995 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
28996 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28998 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
28999 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29001 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29002 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29004 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29005 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29007 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29008 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29010 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29011 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29013 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29014 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29016 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29017 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29019 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29020 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29022 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29023 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29025 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29026 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29028 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29029 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29031 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29032 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29034 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29035 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29037 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29038 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29040 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29041 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29043 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29044 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29046 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29047 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29049 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29050 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29052 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29053 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29055 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29056 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29058 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29059 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29061 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29062 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29064 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29065 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29067 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29068 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29070 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29071 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29073 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29074 return (void *)((wxWindow
*) ((wxControl
*) x
));
29076 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29077 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29079 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29080 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29082 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29083 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29085 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29086 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29088 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29089 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29091 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29092 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29094 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29095 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29097 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29098 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29100 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29101 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29103 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29104 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29106 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29107 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29109 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29110 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29112 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29113 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29115 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29116 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29118 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29119 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29121 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29122 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29124 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29125 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29127 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29128 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29130 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29131 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29133 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29134 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29136 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29137 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29139 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29140 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29142 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29143 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29145 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29146 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29148 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29149 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29151 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29152 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29154 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29155 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29157 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29158 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29160 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29161 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29163 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29164 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29166 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29167 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29169 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29170 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29172 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29173 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29175 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29176 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29178 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29179 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29181 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29182 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29184 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29185 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29187 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29188 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29190 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29191 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29193 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29194 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29196 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29197 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29199 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29200 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29202 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29203 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29205 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29206 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29208 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29209 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29211 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29212 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29214 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29215 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29217 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29218 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29220 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29221 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29223 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29224 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29226 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29227 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29229 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
29230 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29231 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
29232 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29233 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29234 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29235 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29236 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29237 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29238 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
29239 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29240 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29241 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29242 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29243 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
29244 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29245 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
29246 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29247 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29248 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29249 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29250 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
29251 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29252 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29253 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29254 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29255 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
29256 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
29257 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
29258 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
29259 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29260 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29261 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
29262 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
29263 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29264 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29265 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
29266 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
29267 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
29268 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
29269 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
29270 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29271 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29272 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29273 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29274 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29275 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29276 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
29277 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
29278 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29279 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
29280 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29281 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
29282 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
29283 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
29284 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
29285 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
29286 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29287 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29288 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29289 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29290 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29291 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
29292 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29293 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29294 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29295 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29296 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29297 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29298 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29299 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29300 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29301 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29302 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29303 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29304 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29305 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29306 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29307 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
29308 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29309 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
29310 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
29311 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29312 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29313 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
29314 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
29315 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
29316 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
29317 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29318 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
29319 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
29320 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
29321 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
29322 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
29323 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
29324 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
29325 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
29326 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
29327 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
29328 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
29329 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
29330 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
29331 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
29332 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
29333 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
29334 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29335 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
29336 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29337 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29338 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29339 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29340 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29341 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29342 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29343 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29344 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29345 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29346 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29347 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29348 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29349 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29350 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29351 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29352 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29353 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29354 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29355 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29356 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29357 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29358 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29359 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29360 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29361 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29362 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29363 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29364 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29365 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
29366 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29367 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29368 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29369 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29370 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29371 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29372 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29373 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
29374 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29375 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29376 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29377 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29378 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29379 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29380 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
29381 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29382 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29383 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29384 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29385 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29386 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29387 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29388 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29389 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29390 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29391 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29393 static swig_type_info
*swig_type_initial
[] = {
29395 &_swigt__p_form_ops_t
,
29397 &_swigt__p_unsigned_char
,
29398 &_swigt__p_unsigned_int
,
29399 &_swigt__p_unsigned_long
,
29400 &_swigt__p_wxANIHandler
,
29401 &_swigt__p_wxAcceleratorTable
,
29402 &_swigt__p_wxActivateEvent
,
29403 &_swigt__p_wxArrayInt
,
29404 &_swigt__p_wxBMPHandler
,
29405 &_swigt__p_wxBitmap
,
29406 &_swigt__p_wxBoxSizer
,
29407 &_swigt__p_wxCURHandler
,
29408 &_swigt__p_wxCalculateLayoutEvent
,
29409 &_swigt__p_wxChildFocusEvent
,
29410 &_swigt__p_wxCloseEvent
,
29411 &_swigt__p_wxColour
,
29412 &_swigt__p_wxColourData
,
29413 &_swigt__p_wxColourDialog
,
29414 &_swigt__p_wxCommandEvent
,
29415 &_swigt__p_wxContextMenuEvent
,
29416 &_swigt__p_wxControl
,
29417 &_swigt__p_wxControlWithItems
,
29419 &_swigt__p_wxDateEvent
,
29420 &_swigt__p_wxDialog
,
29421 &_swigt__p_wxDirDialog
,
29422 &_swigt__p_wxDisplayChangedEvent
,
29423 &_swigt__p_wxDropFilesEvent
,
29424 &_swigt__p_wxDuplexMode
,
29425 &_swigt__p_wxEraseEvent
,
29426 &_swigt__p_wxEvent
,
29427 &_swigt__p_wxEvtHandler
,
29428 &_swigt__p_wxFSFile
,
29429 &_swigt__p_wxFileDialog
,
29430 &_swigt__p_wxFileSystem
,
29431 &_swigt__p_wxFindDialogEvent
,
29432 &_swigt__p_wxFindReplaceData
,
29433 &_swigt__p_wxFindReplaceDialog
,
29434 &_swigt__p_wxFlexGridSizer
,
29435 &_swigt__p_wxFocusEvent
,
29437 &_swigt__p_wxFontData
,
29438 &_swigt__p_wxFontDialog
,
29439 &_swigt__p_wxFrame
,
29440 &_swigt__p_wxGBSizerItem
,
29441 &_swigt__p_wxGIFHandler
,
29442 &_swigt__p_wxGridBagSizer
,
29443 &_swigt__p_wxGridSizer
,
29444 &_swigt__p_wxICOHandler
,
29446 &_swigt__p_wxIconBundle
,
29447 &_swigt__p_wxIconizeEvent
,
29448 &_swigt__p_wxIdleEvent
,
29449 &_swigt__p_wxImage
,
29450 &_swigt__p_wxImageHandler
,
29451 &_swigt__p_wxIndividualLayoutConstraint
,
29452 &_swigt__p_wxInitDialogEvent
,
29453 &_swigt__p_wxJPEGHandler
,
29454 &_swigt__p_wxKeyEvent
,
29455 &_swigt__p_wxLayoutAlgorithm
,
29456 &_swigt__p_wxLayoutConstraints
,
29457 &_swigt__p_wxMDIChildFrame
,
29458 &_swigt__p_wxMDIClientWindow
,
29459 &_swigt__p_wxMDIParentFrame
,
29460 &_swigt__p_wxMaximizeEvent
,
29462 &_swigt__p_wxMenuBar
,
29463 &_swigt__p_wxMenuEvent
,
29464 &_swigt__p_wxMenuItem
,
29465 &_swigt__p_wxMessageDialog
,
29466 &_swigt__p_wxMiniFrame
,
29467 &_swigt__p_wxMouseCaptureChangedEvent
,
29468 &_swigt__p_wxMouseEvent
,
29469 &_swigt__p_wxMoveEvent
,
29470 &_swigt__p_wxMultiChoiceDialog
,
29471 &_swigt__p_wxNavigationKeyEvent
,
29472 &_swigt__p_wxNcPaintEvent
,
29473 &_swigt__p_wxNotifyEvent
,
29474 &_swigt__p_wxObject
,
29475 &_swigt__p_wxPCXHandler
,
29476 &_swigt__p_wxPNGHandler
,
29477 &_swigt__p_wxPNMHandler
,
29478 &_swigt__p_wxPageSetupDialog
,
29479 &_swigt__p_wxPageSetupDialogData
,
29480 &_swigt__p_wxPaintEvent
,
29481 &_swigt__p_wxPaletteChangedEvent
,
29482 &_swigt__p_wxPanel
,
29483 &_swigt__p_wxPaperSize
,
29484 &_swigt__p_wxPasswordEntryDialog
,
29485 &_swigt__p_wxPoint
,
29486 &_swigt__p_wxPopupWindow
,
29487 &_swigt__p_wxPreviewCanvas
,
29488 &_swigt__p_wxPreviewControlBar
,
29489 &_swigt__p_wxPreviewFrame
,
29490 &_swigt__p_wxPrintData
,
29491 &_swigt__p_wxPrintDialog
,
29492 &_swigt__p_wxPrintDialogData
,
29493 &_swigt__p_wxPrintPreview
,
29494 &_swigt__p_wxPrinter
,
29495 &_swigt__p_wxProgressDialog
,
29496 &_swigt__p_wxPyApp
,
29497 &_swigt__p_wxPyCommandEvent
,
29498 &_swigt__p_wxPyEvent
,
29499 &_swigt__p_wxPyHtmlListBox
,
29500 &_swigt__p_wxPyImageHandler
,
29501 &_swigt__p_wxPyPanel
,
29502 &_swigt__p_wxPyPopupTransientWindow
,
29503 &_swigt__p_wxPyPreviewControlBar
,
29504 &_swigt__p_wxPyPreviewFrame
,
29505 &_swigt__p_wxPyPrintPreview
,
29506 &_swigt__p_wxPyPrintout
,
29507 &_swigt__p_wxPyScrolledWindow
,
29508 &_swigt__p_wxPySizer
,
29509 &_swigt__p_wxPyTaskBarIcon
,
29510 &_swigt__p_wxPyVListBox
,
29511 &_swigt__p_wxPyVScrolledWindow
,
29512 &_swigt__p_wxPyValidator
,
29513 &_swigt__p_wxPyWindow
,
29514 &_swigt__p_wxQueryLayoutInfoEvent
,
29515 &_swigt__p_wxQueryNewPaletteEvent
,
29517 &_swigt__p_wxRegion
,
29518 &_swigt__p_wxSashEvent
,
29519 &_swigt__p_wxSashLayoutWindow
,
29520 &_swigt__p_wxSashWindow
,
29521 &_swigt__p_wxScrollEvent
,
29522 &_swigt__p_wxScrollWinEvent
,
29523 &_swigt__p_wxScrolledWindow
,
29524 &_swigt__p_wxSetCursorEvent
,
29525 &_swigt__p_wxShowEvent
,
29526 &_swigt__p_wxSingleChoiceDialog
,
29528 &_swigt__p_wxSizeEvent
,
29529 &_swigt__p_wxSizer
,
29530 &_swigt__p_wxSizerItem
,
29531 &_swigt__p_wxSplashScreen
,
29532 &_swigt__p_wxSplashScreenWindow
,
29533 &_swigt__p_wxSplitterEvent
,
29534 &_swigt__p_wxSplitterWindow
,
29535 &_swigt__p_wxStaticBoxSizer
,
29536 &_swigt__p_wxStatusBar
,
29537 &_swigt__p_wxStdDialogButtonSizer
,
29538 &_swigt__p_wxString
,
29539 &_swigt__p_wxSysColourChangedEvent
,
29540 &_swigt__p_wxTIFFHandler
,
29541 &_swigt__p_wxTaskBarIcon
,
29542 &_swigt__p_wxTaskBarIconEvent
,
29543 &_swigt__p_wxTextEntryDialog
,
29544 &_swigt__p_wxTipWindow
,
29545 &_swigt__p_wxToolBar
,
29546 &_swigt__p_wxTopLevelWindow
,
29547 &_swigt__p_wxUpdateUIEvent
,
29548 &_swigt__p_wxValidator
,
29549 &_swigt__p_wxVisualAttributes
,
29550 &_swigt__p_wxWindow
,
29551 &_swigt__p_wxWindowCreateEvent
,
29552 &_swigt__p_wxWindowDestroyEvent
,
29553 &_swigt__p_wxXPMHandler
,
29554 &_swigt__ptrdiff_t
,
29555 &_swigt__std__ptrdiff_t
,
29556 &_swigt__unsigned_int
,
29559 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
29560 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
29561 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
29562 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
29563 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29564 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
29565 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
29566 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
29567 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
29568 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
29569 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
29570 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
29571 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29572 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
29573 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29574 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29575 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
29576 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29577 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29578 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29579 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}};
29580 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
29581 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}};
29582 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
29583 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
29584 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29585 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29586 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29587 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29588 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
29589 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29590 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29591 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
29592 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
29593 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29594 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29595 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29596 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29597 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
29598 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29599 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29600 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29601 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29602 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29603 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29604 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
29605 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29606 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
29607 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29608 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29609 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}};
29610 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
29611 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
29612 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
29613 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
29614 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
29615 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
29616 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
29617 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
29618 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29619 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
29620 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29621 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
29622 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
29623 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
29624 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
29625 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
29626 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
29627 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
29628 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
29629 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29630 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
29631 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
29632 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
29633 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
29634 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
29635 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29636 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}};
29637 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
29638 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29639 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29640 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
29641 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29642 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29643 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29644 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
29645 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29646 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29647 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
29648 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
29649 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
29650 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29651 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29652 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
29653 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
29654 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
29655 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
29656 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29657 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29658 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
29659 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29660 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29661 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29662 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29663 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
29664 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
29665 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
29666 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
29667 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29668 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}};
29669 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
29670 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
29671 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
29672 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
29673 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
29674 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}};
29675 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}};
29676 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
29677 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
29678 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29679 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}};
29680 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
29681 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
29682 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
29683 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
29684 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
29685 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
29686 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
29687 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
29688 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
29689 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
29690 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29691 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}};
29692 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}};
29693 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
29694 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
29695 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
29696 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
29697 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
29698 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
29699 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}};
29700 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
29701 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}};
29702 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29703 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
29704 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
29705 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
29706 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
29707 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
29708 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
29709 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
29710 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
29711 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29712 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
29713 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}};
29714 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
29715 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
29716 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
29717 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
29718 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
29719 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29720 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29721 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29723 static swig_cast_info
*swig_cast_initial
[] = {
29725 _swigc__p_form_ops_t
,
29727 _swigc__p_unsigned_char
,
29728 _swigc__p_unsigned_int
,
29729 _swigc__p_unsigned_long
,
29730 _swigc__p_wxANIHandler
,
29731 _swigc__p_wxAcceleratorTable
,
29732 _swigc__p_wxActivateEvent
,
29733 _swigc__p_wxArrayInt
,
29734 _swigc__p_wxBMPHandler
,
29735 _swigc__p_wxBitmap
,
29736 _swigc__p_wxBoxSizer
,
29737 _swigc__p_wxCURHandler
,
29738 _swigc__p_wxCalculateLayoutEvent
,
29739 _swigc__p_wxChildFocusEvent
,
29740 _swigc__p_wxCloseEvent
,
29741 _swigc__p_wxColour
,
29742 _swigc__p_wxColourData
,
29743 _swigc__p_wxColourDialog
,
29744 _swigc__p_wxCommandEvent
,
29745 _swigc__p_wxContextMenuEvent
,
29746 _swigc__p_wxControl
,
29747 _swigc__p_wxControlWithItems
,
29749 _swigc__p_wxDateEvent
,
29750 _swigc__p_wxDialog
,
29751 _swigc__p_wxDirDialog
,
29752 _swigc__p_wxDisplayChangedEvent
,
29753 _swigc__p_wxDropFilesEvent
,
29754 _swigc__p_wxDuplexMode
,
29755 _swigc__p_wxEraseEvent
,
29757 _swigc__p_wxEvtHandler
,
29758 _swigc__p_wxFSFile
,
29759 _swigc__p_wxFileDialog
,
29760 _swigc__p_wxFileSystem
,
29761 _swigc__p_wxFindDialogEvent
,
29762 _swigc__p_wxFindReplaceData
,
29763 _swigc__p_wxFindReplaceDialog
,
29764 _swigc__p_wxFlexGridSizer
,
29765 _swigc__p_wxFocusEvent
,
29767 _swigc__p_wxFontData
,
29768 _swigc__p_wxFontDialog
,
29770 _swigc__p_wxGBSizerItem
,
29771 _swigc__p_wxGIFHandler
,
29772 _swigc__p_wxGridBagSizer
,
29773 _swigc__p_wxGridSizer
,
29774 _swigc__p_wxICOHandler
,
29776 _swigc__p_wxIconBundle
,
29777 _swigc__p_wxIconizeEvent
,
29778 _swigc__p_wxIdleEvent
,
29780 _swigc__p_wxImageHandler
,
29781 _swigc__p_wxIndividualLayoutConstraint
,
29782 _swigc__p_wxInitDialogEvent
,
29783 _swigc__p_wxJPEGHandler
,
29784 _swigc__p_wxKeyEvent
,
29785 _swigc__p_wxLayoutAlgorithm
,
29786 _swigc__p_wxLayoutConstraints
,
29787 _swigc__p_wxMDIChildFrame
,
29788 _swigc__p_wxMDIClientWindow
,
29789 _swigc__p_wxMDIParentFrame
,
29790 _swigc__p_wxMaximizeEvent
,
29792 _swigc__p_wxMenuBar
,
29793 _swigc__p_wxMenuEvent
,
29794 _swigc__p_wxMenuItem
,
29795 _swigc__p_wxMessageDialog
,
29796 _swigc__p_wxMiniFrame
,
29797 _swigc__p_wxMouseCaptureChangedEvent
,
29798 _swigc__p_wxMouseEvent
,
29799 _swigc__p_wxMoveEvent
,
29800 _swigc__p_wxMultiChoiceDialog
,
29801 _swigc__p_wxNavigationKeyEvent
,
29802 _swigc__p_wxNcPaintEvent
,
29803 _swigc__p_wxNotifyEvent
,
29804 _swigc__p_wxObject
,
29805 _swigc__p_wxPCXHandler
,
29806 _swigc__p_wxPNGHandler
,
29807 _swigc__p_wxPNMHandler
,
29808 _swigc__p_wxPageSetupDialog
,
29809 _swigc__p_wxPageSetupDialogData
,
29810 _swigc__p_wxPaintEvent
,
29811 _swigc__p_wxPaletteChangedEvent
,
29813 _swigc__p_wxPaperSize
,
29814 _swigc__p_wxPasswordEntryDialog
,
29816 _swigc__p_wxPopupWindow
,
29817 _swigc__p_wxPreviewCanvas
,
29818 _swigc__p_wxPreviewControlBar
,
29819 _swigc__p_wxPreviewFrame
,
29820 _swigc__p_wxPrintData
,
29821 _swigc__p_wxPrintDialog
,
29822 _swigc__p_wxPrintDialogData
,
29823 _swigc__p_wxPrintPreview
,
29824 _swigc__p_wxPrinter
,
29825 _swigc__p_wxProgressDialog
,
29827 _swigc__p_wxPyCommandEvent
,
29828 _swigc__p_wxPyEvent
,
29829 _swigc__p_wxPyHtmlListBox
,
29830 _swigc__p_wxPyImageHandler
,
29831 _swigc__p_wxPyPanel
,
29832 _swigc__p_wxPyPopupTransientWindow
,
29833 _swigc__p_wxPyPreviewControlBar
,
29834 _swigc__p_wxPyPreviewFrame
,
29835 _swigc__p_wxPyPrintPreview
,
29836 _swigc__p_wxPyPrintout
,
29837 _swigc__p_wxPyScrolledWindow
,
29838 _swigc__p_wxPySizer
,
29839 _swigc__p_wxPyTaskBarIcon
,
29840 _swigc__p_wxPyVListBox
,
29841 _swigc__p_wxPyVScrolledWindow
,
29842 _swigc__p_wxPyValidator
,
29843 _swigc__p_wxPyWindow
,
29844 _swigc__p_wxQueryLayoutInfoEvent
,
29845 _swigc__p_wxQueryNewPaletteEvent
,
29847 _swigc__p_wxRegion
,
29848 _swigc__p_wxSashEvent
,
29849 _swigc__p_wxSashLayoutWindow
,
29850 _swigc__p_wxSashWindow
,
29851 _swigc__p_wxScrollEvent
,
29852 _swigc__p_wxScrollWinEvent
,
29853 _swigc__p_wxScrolledWindow
,
29854 _swigc__p_wxSetCursorEvent
,
29855 _swigc__p_wxShowEvent
,
29856 _swigc__p_wxSingleChoiceDialog
,
29858 _swigc__p_wxSizeEvent
,
29860 _swigc__p_wxSizerItem
,
29861 _swigc__p_wxSplashScreen
,
29862 _swigc__p_wxSplashScreenWindow
,
29863 _swigc__p_wxSplitterEvent
,
29864 _swigc__p_wxSplitterWindow
,
29865 _swigc__p_wxStaticBoxSizer
,
29866 _swigc__p_wxStatusBar
,
29867 _swigc__p_wxStdDialogButtonSizer
,
29868 _swigc__p_wxString
,
29869 _swigc__p_wxSysColourChangedEvent
,
29870 _swigc__p_wxTIFFHandler
,
29871 _swigc__p_wxTaskBarIcon
,
29872 _swigc__p_wxTaskBarIconEvent
,
29873 _swigc__p_wxTextEntryDialog
,
29874 _swigc__p_wxTipWindow
,
29875 _swigc__p_wxToolBar
,
29876 _swigc__p_wxTopLevelWindow
,
29877 _swigc__p_wxUpdateUIEvent
,
29878 _swigc__p_wxValidator
,
29879 _swigc__p_wxVisualAttributes
,
29880 _swigc__p_wxWindow
,
29881 _swigc__p_wxWindowCreateEvent
,
29882 _swigc__p_wxWindowDestroyEvent
,
29883 _swigc__p_wxXPMHandler
,
29885 _swigc__std__ptrdiff_t
,
29886 _swigc__unsigned_int
,
29890 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29892 static swig_const_info swig_const_table
[] = {
29893 {0, 0, 0, 0.0, 0, 0}};
29898 /*************************************************************************
29899 * Type initialization:
29900 * This problem is tough by the requirement that no dynamic
29901 * memory is used. Also, since swig_type_info structures store pointers to
29902 * swig_cast_info structures and swig_cast_info structures store pointers back
29903 * to swig_type_info structures, we need some lookup code at initialization.
29904 * The idea is that swig generates all the structures that are needed.
29905 * The runtime then collects these partially filled structures.
29906 * The SWIG_InitializeModule function takes these initial arrays out of
29907 * swig_module, and does all the lookup, filling in the swig_module.types
29908 * array with the correct data and linking the correct swig_cast_info
29909 * structures together.
29911 * The generated swig_type_info structures are assigned staticly to an initial
29912 * array. We just loop though that array, and handle each type individually.
29913 * First we lookup if this type has been already loaded, and if so, use the
29914 * loaded structure instead of the generated one. Then we have to fill in the
29915 * cast linked list. The cast data is initially stored in something like a
29916 * two-dimensional array. Each row corresponds to a type (there are the same
29917 * number of rows as there are in the swig_type_initial array). Each entry in
29918 * a column is one of the swig_cast_info structures for that type.
29919 * The cast_initial array is actually an array of arrays, because each row has
29920 * a variable number of columns. So to actually build the cast linked list,
29921 * we find the array of casts associated with the type, and loop through it
29922 * adding the casts to the list. The one last trick we need to do is making
29923 * sure the type pointer in the swig_cast_info struct is correct.
29925 * First off, we lookup the cast->type name to see if it is already loaded.
29926 * There are three cases to handle:
29927 * 1) If the cast->type has already been loaded AND the type we are adding
29928 * casting info to has not been loaded (it is in this module), THEN we
29929 * replace the cast->type pointer with the type pointer that has already
29931 * 2) If BOTH types (the one we are adding casting info to, and the
29932 * cast->type) are loaded, THEN the cast info has already been loaded by
29933 * the previous module so we just ignore it.
29934 * 3) Finally, if cast->type has not already been loaded, then we add that
29935 * swig_cast_info to the linked list (because the cast->type) pointer will
29947 #define SWIGRUNTIME_DEBUG
29951 SWIG_InitializeModule(void *clientdata
) {
29953 swig_module_info
*module_head
;
29954 static int init_run
= 0;
29956 clientdata
= clientdata
;
29958 if (init_run
) return;
29961 /* Initialize the swig_module */
29962 swig_module
.type_initial
= swig_type_initial
;
29963 swig_module
.cast_initial
= swig_cast_initial
;
29965 /* Try and load any already created modules */
29966 module_head
= SWIG_GetModule(clientdata
);
29968 swig_module
.next
= module_head
->next
;
29969 module_head
->next
= &swig_module
;
29971 /* This is the first module loaded */
29972 swig_module
.next
= &swig_module
;
29973 SWIG_SetModule(clientdata
, &swig_module
);
29976 /* Now work on filling in swig_module.types */
29977 #ifdef SWIGRUNTIME_DEBUG
29978 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
29980 for (i
= 0; i
< swig_module
.size
; ++i
) {
29981 swig_type_info
*type
= 0;
29982 swig_type_info
*ret
;
29983 swig_cast_info
*cast
;
29985 #ifdef SWIGRUNTIME_DEBUG
29986 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
29989 /* if there is another module already loaded */
29990 if (swig_module
.next
!= &swig_module
) {
29991 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
29994 /* Overwrite clientdata field */
29995 #ifdef SWIGRUNTIME_DEBUG
29996 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
29998 if (swig_module
.type_initial
[i
]->clientdata
) {
29999 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
30000 #ifdef SWIGRUNTIME_DEBUG
30001 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
30005 type
= swig_module
.type_initial
[i
];
30008 /* Insert casting types */
30009 cast
= swig_module
.cast_initial
[i
];
30010 while (cast
->type
) {
30011 /* Don't need to add information already in the list */
30013 #ifdef SWIGRUNTIME_DEBUG
30014 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
30016 if (swig_module
.next
!= &swig_module
) {
30017 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
30018 #ifdef SWIGRUNTIME_DEBUG
30019 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
30023 if (type
== swig_module
.type_initial
[i
]) {
30024 #ifdef SWIGRUNTIME_DEBUG
30025 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
30030 /* Check for casting already in the list */
30031 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
30032 #ifdef SWIGRUNTIME_DEBUG
30033 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
30035 if (!ocast
) ret
= 0;
30040 #ifdef SWIGRUNTIME_DEBUG
30041 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
30044 type
->cast
->prev
= cast
;
30045 cast
->next
= type
->cast
;
30051 /* Set entry in modules->types array equal to the type */
30052 swig_module
.types
[i
] = type
;
30054 swig_module
.types
[i
] = 0;
30056 #ifdef SWIGRUNTIME_DEBUG
30057 printf("**** SWIG_InitializeModule: Cast List ******\n");
30058 for (i
= 0; i
< swig_module
.size
; ++i
) {
30060 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
30061 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30062 while (cast
->type
) {
30063 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
30067 printf("---- Total casts: %d\n",j
);
30069 printf("**** SWIG_InitializeModule: Cast List ******\n");
30073 /* This function will propagate the clientdata field of type to
30074 * any new swig_type_info structures that have been added into the list
30075 * of equivalent types. It is like calling
30076 * SWIG_TypeClientData(type, clientdata) a second time.
30079 SWIG_PropagateClientData(void) {
30081 swig_cast_info
*equiv
;
30082 static int init_run
= 0;
30084 if (init_run
) return;
30087 for (i
= 0; i
< swig_module
.size
; i
++) {
30088 if (swig_module
.types
[i
]->clientdata
) {
30089 equiv
= swig_module
.types
[i
]->cast
;
30091 if (!equiv
->converter
) {
30092 if (equiv
->type
&& !equiv
->type
->clientdata
)
30093 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
30095 equiv
= equiv
->next
;
30115 /* Python-specific SWIG API */
30116 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30117 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30118 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30120 /* -----------------------------------------------------------------------------
30121 * global variable support code.
30122 * ----------------------------------------------------------------------------- */
30124 typedef struct swig_globalvar
{
30125 char *name
; /* Name of global variable */
30126 PyObject
*(*get_attr
)(void); /* Return the current value */
30127 int (*set_attr
)(PyObject
*); /* Set the value */
30128 struct swig_globalvar
*next
;
30131 typedef struct swig_varlinkobject
{
30133 swig_globalvar
*vars
;
30134 } swig_varlinkobject
;
30136 SWIGINTERN PyObject
*
30137 swig_varlink_repr(swig_varlinkobject
*v
) {
30139 return PyString_FromString("<Swig global variables>");
30143 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
30144 swig_globalvar
*var
;
30146 fprintf(fp
,"Swig global variables { ");
30147 for (var
= v
->vars
; var
; var
=var
->next
) {
30148 fprintf(fp
,"%s", var
->name
);
30149 if (var
->next
) fprintf(fp
,", ");
30151 fprintf(fp
," }\n");
30155 SWIGINTERN PyObject
*
30156 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30157 swig_globalvar
*var
= v
->vars
;
30159 if (strcmp(var
->name
,n
) == 0) {
30160 return (*var
->get_attr
)();
30164 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30169 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30170 swig_globalvar
*var
= v
->vars
;
30172 if (strcmp(var
->name
,n
) == 0) {
30173 return (*var
->set_attr
)(p
);
30177 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30181 SWIGINTERN PyTypeObject
*
30182 swig_varlink_type(void) {
30183 static char varlink__doc__
[] = "Swig var link object";
30184 static PyTypeObject varlink_type
30185 #if !defined(__cplusplus)
30187 static int type_init
= 0;
30192 PyObject_HEAD_INIT(&PyType_Type
)
30193 0, /* Number of items in variable part (ob_size) */
30194 (char *)"swigvarlink", /* Type name (tp_name) */
30195 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30196 0, /* Itemsize (tp_itemsize) */
30197 0, /* Deallocator (tp_dealloc) */
30198 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30199 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30200 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30201 0, /* tp_compare */
30202 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30203 0, /* tp_as_number */
30204 0, /* tp_as_sequence */
30205 0, /* tp_as_mapping */
30209 0, /* tp_getattro */
30210 0, /* tp_setattro */
30211 0, /* tp_as_buffer */
30213 varlink__doc__
, /* tp_doc */
30214 #if PY_VERSION_HEX >= 0x02000000
30215 0, /* tp_traverse */
30218 #if PY_VERSION_HEX >= 0x02010000
30219 0, /* tp_richcompare */
30220 0, /* tp_weaklistoffset */
30222 #if PY_VERSION_HEX >= 0x02020000
30223 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30225 #if PY_VERSION_HEX >= 0x02030000
30228 #ifdef COUNT_ALLOCS
30229 0,0,0,0 /* tp_alloc -> tp_next */
30232 #if !defined(__cplusplus)
30233 varlink_type
= tmp
;
30237 return &varlink_type
;
30240 /* Create a variable linking object for use later */
30241 SWIGINTERN PyObject
*
30242 SWIG_Python_newvarlink(void) {
30243 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
30247 return ((PyObject
*) result
);
30251 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
30252 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
30253 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
30255 size_t size
= strlen(name
)+1;
30256 gv
->name
= (char *)malloc(size
);
30258 strncpy(gv
->name
,name
,size
);
30259 gv
->get_attr
= get_attr
;
30260 gv
->set_attr
= set_attr
;
30261 gv
->next
= v
->vars
;
30267 /* -----------------------------------------------------------------------------
30268 * constants/methods manipulation
30269 * ----------------------------------------------------------------------------- */
30271 /* Install Constants */
30273 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30276 for (i
= 0; constants
[i
].type
; ++i
) {
30277 switch(constants
[i
].type
) {
30279 obj
= PyInt_FromLong(constants
[i
].lvalue
);
30281 case SWIG_PY_FLOAT
:
30282 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
30284 case SWIG_PY_STRING
:
30285 if (constants
[i
].pvalue
) {
30286 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
30288 Py_INCREF(Py_None
);
30292 case SWIG_PY_POINTER
:
30293 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30295 case SWIG_PY_BINARY
:
30296 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30303 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
30309 /* -----------------------------------------------------------------------------*/
30310 /* Fix SwigMethods to carry the callback ptrs when needed */
30311 /* -----------------------------------------------------------------------------*/
30314 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30315 swig_const_info
*const_table
,
30316 swig_type_info
**types
,
30317 swig_type_info
**types_initial
) {
30319 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30320 char *c
= methods
[i
].ml_doc
;
30321 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30323 swig_const_info
*ci
= 0;
30324 char *name
= c
+ 10;
30325 for (j
= 0; const_table
[j
].type
; ++j
) {
30326 if (strncmp(const_table
[j
].name
, name
,
30327 strlen(const_table
[j
].name
)) == 0) {
30328 ci
= &(const_table
[j
]);
30333 size_t shift
= (ci
->ptype
) - types
;
30334 swig_type_info
*ty
= types_initial
[shift
];
30335 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30336 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30337 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30340 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
30342 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30344 strncpy(buff
, "swig_ptr: ", 10);
30346 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30347 methods
[i
].ml_doc
= ndoc
;
30355 /* -----------------------------------------------------------------------------*
30356 * Initialize type list
30357 * -----------------------------------------------------------------------------*/
30363 /* -----------------------------------------------------------------------------*
30364 * Partial Init method
30365 * -----------------------------------------------------------------------------*/
30370 SWIGEXPORT
void SWIG_init(void) {
30371 static PyObject
*SWIG_globals
= 0;
30373 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30375 /* Fix SwigMethods to carry the callback ptrs when needed */
30376 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
30378 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30379 d
= PyModule_GetDict(m
);
30381 SWIG_InitializeModule(0);
30382 SWIG_InstallConstants(d
,swig_const_table
);
30384 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30385 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30386 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30387 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30388 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30390 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP
)));
30393 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE
)));
30396 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE
)));
30399 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE
)));
30402 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX
)));
30405 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME
)));
30408 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU
)));
30411 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX
)));
30414 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX
)));
30417 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ
)));
30420 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT
)));
30423 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX
)));
30426 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER
)));
30429 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT
)));
30432 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE
)));
30435 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE
)));
30438 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW
)));
30441 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT
)));
30444 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU
)));
30447 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR
)));
30450 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED
)));
30453 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER
)));
30456 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL
)));
30459 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL
)));
30462 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL
)));
30465 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS
)));
30468 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS
)));
30471 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D
)));
30474 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR
)));
30477 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR
)));
30480 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR
)));
30483 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER
)));
30486 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION
)));
30489 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL
)));
30492 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG
)));
30495 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO
)));
30498 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR
)));
30501 PyDict_SetItemString(d
,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags
)));
30504 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT
)));
30507 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN
)));
30510 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE
)));
30513 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT
)));
30516 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT
)));
30519 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL
)));
30522 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT
)));
30525 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED
)));
30527 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30529 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER
)));
30532 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH
)));
30535 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT
)));
30538 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE
)));
30541 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH
)));
30544 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER
)));
30547 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME
)));
30550 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER
)));
30553 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D
)));
30556 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL
)));
30559 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL
)));
30562 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE
)));
30565 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING
)));
30568 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN
)));
30570 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30571 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30572 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30573 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30574 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30575 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30577 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE
)));
30580 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING
)));
30583 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN
)));
30586 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER
)));
30589 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER
)));
30592 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH
)));
30595 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER
)));
30598 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D
)));
30601 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP
)));
30604 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT
)));
30607 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM
)));
30610 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT
)));
30613 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE
)));
30616 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK
)));
30619 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE
)));
30621 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30623 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL
)));
30626 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL
)));
30629 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE
)));
30632 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP
)));
30635 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT
)));
30638 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT
)));
30641 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM
)));
30644 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y
)));
30647 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X
)));
30650 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH
)));
30653 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY
)));
30655 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30656 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30657 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30659 // Map renamed classes back to their common name for OOR
30660 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30661 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30662 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30664 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30665 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30666 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30667 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30668 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30669 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30670 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30671 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30672 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30673 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30674 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30675 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30676 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30678 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE
)));
30681 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle
)));
30683 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30685 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN
)));
30688 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD
)));
30691 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE
)));
30694 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG
)));
30697 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN
)));
30700 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE
)));
30703 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD
)));
30705 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30706 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30707 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30708 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30709 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30711 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30714 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30717 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30720 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30723 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30726 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30729 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30732 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30735 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30737 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30738 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30740 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE
)));
30743 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW
)));
30746 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE
)));
30749 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER
)));
30752 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM
)));
30755 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT
)));
30758 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE
)));
30761 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER
)));
30764 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE
)));
30767 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL
)));
30770 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE
)));
30773 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL
)));
30776 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO
)));
30779 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR
)));
30782 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT
)));
30785 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT
)));
30788 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY
)));
30791 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE
)));
30794 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE
)));
30797 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER
)));
30800 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR
)));
30803 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED
)));
30806 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR
)));
30809 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT
)));
30812 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS
)));
30815 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT
)));
30818 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM
)));
30821 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST
)));
30824 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST
)));
30827 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO
)));
30830 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT
)));
30833 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE
)));
30836 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT
)));
30839 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS
)));
30842 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT
)));
30845 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM
)));
30848 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST
)));
30851 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST
)));
30854 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO
)));
30857 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");