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
);
1856 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1857 #define SWIG_From_long PyInt_FromLong
1862 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1864 self
->GetFieldRect(i
, r
);
1867 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1868 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1869 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1871 #include <wx/popupwin.h>
1874 class wxPopupWindow
: public wxWindow
{
1876 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1877 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1880 class wxPyPopupTransientWindow
: public wxPopupWindow
1883 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1884 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1888 #include <wx/tipwin.h>
1890 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1891 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1894 #include <wx/tipwin.h>
1897 #include <wx/vscroll.h>
1900 class wxPyVScrolledWindow
: public wxVScrolledWindow
1902 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
1904 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1906 wxPyVScrolledWindow(wxWindow
*parent
,
1907 wxWindowID id
= wxID_ANY
,
1908 const wxPoint
& pos
= wxDefaultPosition
,
1909 const wxSize
& size
= wxDefaultSize
,
1911 const wxString
& name
= wxPyPanelNameStr
)
1912 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1915 // Overridable virtuals
1917 // this function must be overridden in the derived class and it should
1918 // return the height of the given line in pixels
1919 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1922 // this function doesn't have to be overridden but it may be useful to do
1923 // it if calculating the lines heights is a relatively expensive operation
1924 // as it gives the user code a possibility to calculate several of them at
1927 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1928 // shouldn't rely on the latter being called for all lines in the interval
1929 // specified here. It is also possible that OnGetLineHeight() will be
1930 // called for the lines outside of this interval, so this is really just a
1931 // hint, not a promise.
1933 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1935 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1938 // when the number of lines changes, we try to estimate the total height
1939 // of all lines which is a rather expensive operation in terms of lines
1940 // access, so if the user code may estimate the average height
1941 // better/faster than we do, it should override this function to implement
1944 // this function should return the best guess for the total height it may
1946 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1949 // Also expose some other interesting protected methods
1952 // find the index of the line we need to show at the top of the window such
1953 // that the last (fully or partially) visible line is the given one
1954 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1955 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1957 // get the total height of the lines between lineMin (inclusive) and
1958 // lineMax (exclusive)
1959 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1960 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1966 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1968 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1969 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1970 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1974 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1977 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1978 SWIG_Python_TypeError("unsigned number", obj
);
1981 *val
= (unsigned long)v
;
1986 SWIGINTERNINLINE
unsigned long
1987 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1990 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1992 this is needed to make valgrind/purify happier.
1994 memset((void*)&v
, 0, sizeof(unsigned long));
2000 SWIGINTERNINLINE
int
2001 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2003 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2007 SWIGINTERNINLINE PyObject
*
2008 SWIG_From_unsigned_SS_long(unsigned long value
)
2010 return (value
> LONG_MAX
) ?
2011 PyLong_FromUnsignedLong(value
)
2012 : PyInt_FromLong(static_cast<long >(value
));
2016 #include <wx/vlbox.h>
2018 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2020 class wxPyVListBox
: public wxVListBox
2022 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2024 wxPyVListBox() : wxVListBox() {}
2026 wxPyVListBox(wxWindow
*parent
,
2027 wxWindowID id
= wxID_ANY
,
2028 const wxPoint
& pos
= wxDefaultPosition
,
2029 const wxSize
& size
= wxDefaultSize
,
2031 const wxString
& name
= wxPyVListBoxNameStr
)
2032 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2035 // Overridable virtuals
2037 // the derived class must implement this function to actually draw the item
2038 // with the given index on the provided DC
2039 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2040 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2043 // the derived class must implement this method to return the height of the
2045 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2046 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
2049 // this method may be used to draw separators between the lines; note that
2050 // the rectangle may be modified, typically to deflate it a bit before
2051 // passing to OnDrawItem()
2053 // the base class version doesn't do anything
2054 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2055 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
2058 // this method is used to draw the items background and, maybe, a border
2061 // the base class version implements a reasonable default behaviour which
2062 // consists in drawing the selected item with the standard background
2063 // colour and drawing a border around the item if it is either selected or
2065 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2066 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
2072 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
2074 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
2075 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
2076 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
2077 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
2080 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
2081 unsigned long cookie
= 0;
2082 int selected
= self
->GetFirstSelected(cookie
);
2083 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2084 PyObject
* tup
= PyTuple_New(2);
2085 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2086 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2087 wxPyEndBlockThreads(blocked
);
2090 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
2091 int selected
= self
->GetNextSelected(cookie
);
2092 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2093 PyObject
* tup
= PyTuple_New(2);
2094 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2095 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2096 wxPyEndBlockThreads(blocked
);
2100 #include <wx/htmllbox.h>
2103 class wxPyHtmlListBox
: public wxHtmlListBox
2105 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
2107 wxPyHtmlListBox() : wxHtmlListBox() {}
2109 wxPyHtmlListBox(wxWindow
*parent
,
2110 wxWindowID id
= wxID_ANY
,
2111 const wxPoint
& pos
= wxDefaultPosition
,
2112 const wxSize
& size
= wxDefaultSize
,
2114 const wxString
& name
= wxPyVListBoxNameStr
)
2115 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
2118 // Overridable virtuals
2120 // this method must be implemented in the derived class and should return
2121 // the body (i.e. without <html>) of the HTML for the given item
2122 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
2124 // this function may be overridden to decorate HTML returned by OnGetItem()
2125 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
2128 // // this method allows to customize the selection appearance: it may be used
2129 // // to specify the colour of the text which normally has the given colour
2130 // // colFg when it is inside the selection
2132 // // by default, the original colour is not used at all and all text has the
2133 // // same (default for this system) colour inside selection
2134 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2136 // // this is the same as GetSelectedTextColour() but allows to customize the
2137 // // background colour -- this is even more rarely used as you can change it
2138 // // globally using SetSelectionBackground()
2139 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2146 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
2148 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
2149 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2155 #ifndef wxHAS_TASK_BAR_ICON
2156 // implement dummy classes for platforms that don't have it
2158 class wxTaskBarIcon
: public wxEvtHandler
2161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2165 class wxTaskBarIconEvent
: public wxEvent
2168 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2169 { wxPyRaiseNotImplemented(); }
2170 virtual wxEvent
* Clone() const { return NULL
; }
2171 bool IsOk() const { return false; }
2172 bool IsIconInstalled() const { return false; }
2173 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2174 bool RemoveIcon() { return false; }
2175 bool PopupMenu(wxMenu
*menu
) { return false; }
2179 wxEVT_TASKBAR_MOVE
= 0,
2180 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2181 wxEVT_TASKBAR_LEFT_UP
= 0,
2182 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2183 wxEVT_TASKBAR_RIGHT_UP
= 0,
2184 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2185 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2190 // Otherwise make a class that can virtualize CreatePopupMenu
2191 class wxPyTaskBarIcon
: public wxTaskBarIcon
2193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
2195 wxPyTaskBarIcon() : wxTaskBarIcon()
2198 wxMenu
* CreatePopupMenu() {
2199 wxMenu
*rval
= NULL
;
2201 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2202 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2205 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2207 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2212 wxPyEndBlockThreads(blocked
);
2214 rval
= wxTaskBarIcon::CreatePopupMenu();
2221 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2225 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2229 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2230 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2231 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2232 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2233 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2234 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2235 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2237 self
->GetFilenames(arr
);
2238 return wxArrayString2PyList_helper(arr
);
2240 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2242 self
->GetPaths(arr
);
2243 return wxArrayString2PyList_helper(arr
);
2245 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2246 return wxArrayInt2PyList_helper(self
->GetSelections());
2248 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
){
2249 return new wxSingleChoiceDialog(parent
, message
, caption
,
2250 choices
, choices_array
, NULL
, style
, pos
);
2252 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2256 // C++ version of Python aware wxWindow
2257 class wxPyWindow
: public wxWindow
2259 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2261 wxPyWindow() : wxWindow() {}
2262 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2263 const wxPoint
& pos
= wxDefaultPosition
,
2264 const wxSize
& size
= wxDefaultSize
,
2266 const wxString
& name
= wxPyPanelNameStr
)
2267 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2269 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2271 bool DoEraseBackground(wxDC
* dc
) {
2273 return wxWindow::DoEraseBackground(dc
->GetHDC());
2275 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2281 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2282 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2283 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2284 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2287 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2288 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2290 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2291 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2293 DEC_PYCALLBACK__(InitDialog
);
2294 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2295 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2296 DEC_PYCALLBACK_BOOL_(Validate
);
2298 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2299 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2300 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2302 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2303 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2305 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2306 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2308 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2310 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2315 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2317 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2318 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2319 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2320 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2323 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2324 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2326 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2327 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2329 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2330 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2331 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2332 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2334 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2335 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2336 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2338 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2339 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2342 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2344 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2346 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
2348 // C++ version of Python aware wxPanel
2349 class wxPyPanel
: public wxPanel
2351 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2353 wxPyPanel() : wxPanel() {}
2354 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2355 const wxPoint
& pos
= wxDefaultPosition
,
2356 const wxSize
& size
= wxDefaultSize
,
2358 const wxString
& name
= wxPyPanelNameStr
)
2359 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2361 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2362 bool DoEraseBackground(wxDC
* dc
) {
2364 return wxWindow::DoEraseBackground(dc
->GetHDC());
2366 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2373 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2374 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2375 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2376 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2378 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2379 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2380 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2382 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2383 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2385 DEC_PYCALLBACK__(InitDialog
);
2386 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2387 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2388 DEC_PYCALLBACK_BOOL_(Validate
);
2390 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2391 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2392 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2394 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2395 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2397 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2398 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2400 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2402 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2407 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2409 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2410 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2411 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2412 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2414 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2415 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2416 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2418 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2419 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2421 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2422 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2423 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2424 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2426 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2427 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2428 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2430 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2431 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2434 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2436 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2438 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
2440 // C++ version of Python aware wxScrolledWindow
2441 class wxPyScrolledWindow
: public wxScrolledWindow
2443 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2445 wxPyScrolledWindow() : wxScrolledWindow() {}
2446 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2447 const wxPoint
& pos
= wxDefaultPosition
,
2448 const wxSize
& size
= wxDefaultSize
,
2450 const wxString
& name
= wxPyPanelNameStr
)
2451 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2453 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2454 bool DoEraseBackground(wxDC
* dc
) {
2456 return wxWindow::DoEraseBackground(dc
->GetHDC());
2458 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2464 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2465 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2466 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2467 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2469 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2470 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2471 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2473 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2474 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2476 DEC_PYCALLBACK__(InitDialog
);
2477 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2478 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2479 DEC_PYCALLBACK_BOOL_(Validate
);
2481 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2482 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2483 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2485 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2486 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2488 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2489 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2491 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2493 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2498 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2500 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2501 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2502 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2503 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2505 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2506 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2507 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2509 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2510 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2512 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2513 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2514 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2515 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2517 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2518 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2519 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2521 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2522 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2525 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2527 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2529 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
2532 #include "wx/wxPython/printfw.h"
2535 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2536 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2537 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2539 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2540 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2541 self
->GetPrivDataLen());
2542 wxPyEndBlockThreads(blocked
);
2545 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2546 if (! PyString_Check(data
)) {
2547 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2548 "Expected string object"));
2552 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2553 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2554 wxPyEndBlockThreads(blocked
);
2558 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2560 // Since this one would be tough and ugly to do with the Macros...
2561 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2562 bool hadErr
= false;
2565 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2566 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2567 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2568 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2571 val
= PyTuple_GetItem(result
, 0);
2572 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2575 val
= PyTuple_GetItem(result
, 1);
2576 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2579 val
= PyTuple_GetItem(result
, 2);
2580 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2583 val
= PyTuple_GetItem(result
, 3);
2584 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2591 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2596 wxPyEndBlockThreads(blocked
);
2598 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2603 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2604 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2605 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2606 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2607 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2608 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2609 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2615 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2616 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
2619 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2620 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2623 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2624 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2625 PyObject* win = wxPyMake_wxObject(a,false); \
2626 PyObject* dc = wxPyMake_wxObject(&b,false); \
2627 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2631 wxPyEndBlockThreads(blocked); \
2633 rval = PCLASS::CBNAME(a, b); \
2640 class wxPyPrintPreview
: public wxPrintPreview
2642 DECLARE_CLASS(wxPyPrintPreview
)
2644 wxPyPrintPreview(wxPyPrintout
* printout
,
2645 wxPyPrintout
* printoutForPrinting
,
2646 wxPrintDialogData
* data
=NULL
)
2647 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2649 wxPyPrintPreview(wxPyPrintout
* printout
,
2650 wxPyPrintout
* printoutForPrinting
,
2652 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2655 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2656 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2657 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2658 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2659 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2660 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2661 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2666 // Stupid renamed classes... Fix this in 2.5...
2667 #if defined(__WXMSW__)
2668 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2669 #elif defined(__WXMAC__)
2670 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2672 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2675 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2676 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2677 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2678 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2679 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2680 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2681 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2684 class wxPyPreviewFrame
: public wxPreviewFrame
2686 DECLARE_CLASS(wxPyPreviewFrame
)
2688 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2689 const wxString
& title
,
2690 const wxPoint
& pos
= wxDefaultPosition
,
2691 const wxSize
& size
= wxDefaultSize
,
2692 long style
= wxDEFAULT_FRAME_STYLE
,
2693 const wxString
& name
= wxPyFrameNameStr
)
2694 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2697 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2698 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2700 DEC_PYCALLBACK_VOID_(Initialize
);
2701 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2702 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2707 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2709 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2710 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2711 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2714 class wxPyPreviewControlBar
: public wxPreviewControlBar
2716 DECLARE_CLASS(wxPyPreviewControlBar
)
2718 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2721 const wxPoint
& pos
= wxDefaultPosition
,
2722 const wxSize
& size
= wxDefaultSize
,
2724 const wxString
& name
= wxPyPanelNameStr
)
2725 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2728 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2730 DEC_PYCALLBACK_VOID_(CreateButtons
);
2731 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2736 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2737 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2738 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2743 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
= NULL
;
2745 wxWindow
*arg1
= (wxWindow
*) 0 ;
2746 int arg2
= (int) (int)-1 ;
2747 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2748 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2749 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2750 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2751 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2752 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2753 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2757 bool temp6
= false ;
2758 PyObject
* obj0
= 0 ;
2759 PyObject
* obj1
= 0 ;
2760 PyObject
* obj2
= 0 ;
2761 PyObject
* obj3
= 0 ;
2762 PyObject
* obj4
= 0 ;
2763 PyObject
* obj5
= 0 ;
2765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2770 if (SWIG_arg_fail(1)) SWIG_fail
;
2773 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
2774 if (SWIG_arg_fail(2)) SWIG_fail
;
2780 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2786 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2791 arg5
= static_cast<long >(SWIG_As_long(obj4
));
2792 if (SWIG_arg_fail(5)) SWIG_fail
;
2797 arg6
= wxString_in_helper(obj5
);
2798 if (arg6
== NULL
) SWIG_fail
;
2803 if (!wxPyCheckForApp()) SWIG_fail
;
2804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2805 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2807 wxPyEndAllowThreads(__tstate
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2825 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
*resultobj
= NULL
;
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2834 if (!wxPyCheckForApp()) SWIG_fail
;
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 result
= (wxPanel
*)new wxPanel();
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2848 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
= NULL
;
2850 wxPanel
*arg1
= (wxPanel
*) 0 ;
2851 wxWindow
*arg2
= (wxWindow
*) 0 ;
2852 int arg3
= (int) (int)-1 ;
2853 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2854 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2855 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2856 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2857 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2858 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2859 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2863 bool temp7
= false ;
2864 PyObject
* obj0
= 0 ;
2865 PyObject
* obj1
= 0 ;
2866 PyObject
* obj2
= 0 ;
2867 PyObject
* obj3
= 0 ;
2868 PyObject
* obj4
= 0 ;
2869 PyObject
* obj5
= 0 ;
2870 PyObject
* obj6
= 0 ;
2872 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2877 if (SWIG_arg_fail(1)) SWIG_fail
;
2878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2879 if (SWIG_arg_fail(2)) SWIG_fail
;
2882 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
2883 if (SWIG_arg_fail(3)) SWIG_fail
;
2889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2900 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2901 if (SWIG_arg_fail(6)) SWIG_fail
;
2906 arg7
= wxString_in_helper(obj6
);
2907 if (arg7
== NULL
) SWIG_fail
;
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2935 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
*resultobj
= NULL
;
2937 wxPanel
*arg1
= (wxPanel
*) 0 ;
2938 PyObject
* obj0
= 0 ;
2940 (char *) "self", NULL
2943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2945 if (SWIG_arg_fail(1)) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 (arg1
)->InitDialog();
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2953 Py_INCREF(Py_None
); resultobj
= Py_None
;
2960 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2961 PyObject
*resultobj
= NULL
;
2962 wxPanel
*arg1
= (wxPanel
*) 0 ;
2963 PyObject
* obj0
= 0 ;
2965 (char *) "self", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2970 if (SWIG_arg_fail(1)) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2978 Py_INCREF(Py_None
); resultobj
= Py_None
;
2985 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
*resultobj
= NULL
;
2987 wxPanel
*arg1
= (wxPanel
*) 0 ;
2988 PyObject
* obj0
= 0 ;
2990 (char *) "self", NULL
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2995 if (SWIG_arg_fail(1)) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 (arg1
)->SetFocusIgnoringChildren();
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 Py_INCREF(Py_None
); resultobj
= Py_None
;
3010 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
= NULL
;
3012 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3013 wxVisualAttributes result
;
3014 PyObject
* obj0
= 0 ;
3016 (char *) "variant", NULL
3019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3022 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3023 if (SWIG_arg_fail(1)) SWIG_fail
;
3027 if (!wxPyCheckForApp()) SWIG_fail
;
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3035 wxVisualAttributes
* resultptr
;
3036 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3045 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
3047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3048 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
3050 return Py_BuildValue((char *)"");
3052 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
*resultobj
= NULL
;
3054 wxWindow
*arg1
= (wxWindow
*) 0 ;
3055 int arg2
= (int) (int)-1 ;
3056 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3057 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3058 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3059 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3060 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3061 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3062 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3063 wxScrolledWindow
*result
;
3066 bool temp6
= false ;
3067 PyObject
* obj0
= 0 ;
3068 PyObject
* obj1
= 0 ;
3069 PyObject
* obj2
= 0 ;
3070 PyObject
* obj3
= 0 ;
3071 PyObject
* obj4
= 0 ;
3072 PyObject
* obj5
= 0 ;
3074 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3079 if (SWIG_arg_fail(1)) SWIG_fail
;
3082 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
3083 if (SWIG_arg_fail(2)) SWIG_fail
;
3089 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3095 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3100 arg5
= static_cast<long >(SWIG_As_long(obj4
));
3101 if (SWIG_arg_fail(5)) SWIG_fail
;
3106 arg6
= wxString_in_helper(obj5
);
3107 if (arg6
== NULL
) SWIG_fail
;
3112 if (!wxPyCheckForApp()) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3134 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3135 PyObject
*resultobj
= NULL
;
3136 wxScrolledWindow
*result
;
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
3143 if (!wxPyCheckForApp()) SWIG_fail
;
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 result
= (wxScrolledWindow
*)new wxScrolledWindow();
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) SWIG_fail
;
3150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3157 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
= NULL
;
3159 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3160 wxWindow
*arg2
= (wxWindow
*) 0 ;
3161 int arg3
= (int) (int)-1 ;
3162 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3163 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3164 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3165 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3166 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3167 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3168 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3172 bool temp7
= false ;
3173 PyObject
* obj0
= 0 ;
3174 PyObject
* obj1
= 0 ;
3175 PyObject
* obj2
= 0 ;
3176 PyObject
* obj3
= 0 ;
3177 PyObject
* obj4
= 0 ;
3178 PyObject
* obj5
= 0 ;
3179 PyObject
* obj6
= 0 ;
3181 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3186 if (SWIG_arg_fail(1)) SWIG_fail
;
3187 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3188 if (SWIG_arg_fail(2)) SWIG_fail
;
3191 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
3192 if (SWIG_arg_fail(3)) SWIG_fail
;
3198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3209 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3210 if (SWIG_arg_fail(6)) SWIG_fail
;
3215 arg7
= wxString_in_helper(obj6
);
3216 if (arg7
== NULL
) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3244 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
= NULL
;
3246 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3251 int arg6
= (int) 0 ;
3252 int arg7
= (int) 0 ;
3253 bool arg8
= (bool) false ;
3254 PyObject
* obj0
= 0 ;
3255 PyObject
* obj1
= 0 ;
3256 PyObject
* obj2
= 0 ;
3257 PyObject
* obj3
= 0 ;
3258 PyObject
* obj4
= 0 ;
3259 PyObject
* obj5
= 0 ;
3260 PyObject
* obj6
= 0 ;
3261 PyObject
* obj7
= 0 ;
3263 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3268 if (SWIG_arg_fail(1)) SWIG_fail
;
3270 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3271 if (SWIG_arg_fail(2)) SWIG_fail
;
3274 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3275 if (SWIG_arg_fail(3)) SWIG_fail
;
3278 arg4
= static_cast<int >(SWIG_As_int(obj3
));
3279 if (SWIG_arg_fail(4)) SWIG_fail
;
3282 arg5
= static_cast<int >(SWIG_As_int(obj4
));
3283 if (SWIG_arg_fail(5)) SWIG_fail
;
3287 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3288 if (SWIG_arg_fail(6)) SWIG_fail
;
3293 arg7
= static_cast<int >(SWIG_As_int(obj6
));
3294 if (SWIG_arg_fail(7)) SWIG_fail
;
3299 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
3300 if (SWIG_arg_fail(8)) SWIG_fail
;
3304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3305 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3307 wxPyEndAllowThreads(__tstate
);
3308 if (PyErr_Occurred()) SWIG_fail
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
= NULL
;
3319 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3324 PyObject
* obj2
= 0 ;
3326 (char *) "self",(char *) "x",(char *) "y", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3331 if (SWIG_arg_fail(1)) SWIG_fail
;
3333 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3334 if (SWIG_arg_fail(2)) SWIG_fail
;
3337 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3338 if (SWIG_arg_fail(3)) SWIG_fail
;
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 (arg1
)->Scroll(arg2
,arg3
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3347 Py_INCREF(Py_None
); resultobj
= Py_None
;
3354 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
= NULL
;
3356 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3359 PyObject
* obj0
= 0 ;
3360 PyObject
* obj1
= 0 ;
3362 (char *) "self",(char *) "orient", NULL
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3367 if (SWIG_arg_fail(1)) SWIG_fail
;
3369 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3370 if (SWIG_arg_fail(2)) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= SWIG_From_int(static_cast<int >(result
));
3388 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
*resultobj
= NULL
;
3390 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3393 PyObject
* obj0
= 0 ;
3394 PyObject
* obj1
= 0 ;
3395 PyObject
* obj2
= 0 ;
3397 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3402 if (SWIG_arg_fail(1)) SWIG_fail
;
3404 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3405 if (SWIG_arg_fail(2)) SWIG_fail
;
3408 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3409 if (SWIG_arg_fail(3)) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 Py_INCREF(Py_None
); resultobj
= Py_None
;
3425 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
*resultobj
= NULL
;
3427 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3430 PyObject
* obj0
= 0 ;
3431 PyObject
* obj1
= 0 ;
3432 PyObject
* obj2
= 0 ;
3434 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3439 if (SWIG_arg_fail(1)) SWIG_fail
;
3441 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3442 if (SWIG_arg_fail(2)) SWIG_fail
;
3445 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3446 if (SWIG_arg_fail(3)) SWIG_fail
;
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3450 (arg1
)->SetScrollRate(arg2
,arg3
);
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3455 Py_INCREF(Py_None
); resultobj
= Py_None
;
3462 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
= NULL
;
3464 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3465 int *arg2
= (int *) 0 ;
3466 int *arg3
= (int *) 0 ;
3471 PyObject
* obj0
= 0 ;
3473 (char *) "self", NULL
3476 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3477 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3480 if (SWIG_arg_fail(1)) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 Py_INCREF(Py_None
); resultobj
= Py_None
;
3489 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3490 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3491 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3492 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3499 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
= NULL
;
3501 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3505 PyObject
* obj1
= 0 ;
3506 PyObject
* obj2
= 0 ;
3508 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3513 if (SWIG_arg_fail(1)) SWIG_fail
;
3515 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3516 if (SWIG_arg_fail(2)) SWIG_fail
;
3519 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
3520 if (SWIG_arg_fail(3)) SWIG_fail
;
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 (arg1
)->EnableScrolling(arg2
,arg3
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3529 Py_INCREF(Py_None
); resultobj
= Py_None
;
3536 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
= NULL
;
3538 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3539 int *arg2
= (int *) 0 ;
3540 int *arg3
= (int *) 0 ;
3545 PyObject
* obj0
= 0 ;
3547 (char *) "self", NULL
3550 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3551 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3554 if (SWIG_arg_fail(1)) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 Py_INCREF(Py_None
); resultobj
= Py_None
;
3563 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3564 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3565 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3566 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3573 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3574 PyObject
*resultobj
= NULL
;
3575 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3580 PyObject
* obj2
= 0 ;
3582 (char *) "self",(char *) "xs",(char *) "ys", NULL
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3587 if (SWIG_arg_fail(1)) SWIG_fail
;
3589 arg2
= static_cast<double >(SWIG_As_double(obj1
));
3590 if (SWIG_arg_fail(2)) SWIG_fail
;
3593 arg3
= static_cast<double >(SWIG_As_double(obj2
));
3594 if (SWIG_arg_fail(3)) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 (arg1
)->SetScale(arg2
,arg3
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 Py_INCREF(Py_None
); resultobj
= Py_None
;
3610 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
= NULL
;
3612 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3614 PyObject
* obj0
= 0 ;
3616 (char *) "self", NULL
3619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3621 if (SWIG_arg_fail(1)) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3630 resultobj
= SWIG_From_double(static_cast<double >(result
));
3638 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
= NULL
;
3640 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3644 (char *) "self", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3649 if (SWIG_arg_fail(1)) SWIG_fail
;
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_From_double(static_cast<double >(result
));
3666 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3667 PyObject
*resultobj
= NULL
;
3668 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3672 PyObject
* obj0
= 0 ;
3673 PyObject
* obj1
= 0 ;
3675 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3677 if (SWIG_arg_fail(1)) SWIG_fail
;
3680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3690 wxPoint
* resultptr
;
3691 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3700 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3701 PyObject
*resultobj
= NULL
;
3702 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3705 int *arg4
= (int *) 0 ;
3706 int *arg5
= (int *) 0 ;
3711 PyObject
* obj0
= 0 ;
3712 PyObject
* obj1
= 0 ;
3713 PyObject
* obj2
= 0 ;
3715 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3716 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3717 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3719 if (SWIG_arg_fail(1)) SWIG_fail
;
3721 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3722 if (SWIG_arg_fail(2)) SWIG_fail
;
3725 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3726 if (SWIG_arg_fail(3)) SWIG_fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3730 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 Py_INCREF(Py_None
); resultobj
= Py_None
;
3736 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3737 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3738 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3739 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3746 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3751 argc
= PyObject_Length(args
);
3752 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3753 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3759 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3768 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3771 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3779 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3787 _v
= SWIG_Check_int(argv
[1]);
3789 _v
= SWIG_Check_int(argv
[2]);
3791 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3797 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3802 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3803 PyObject
*resultobj
= NULL
;
3804 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3811 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3813 if (SWIG_arg_fail(1)) SWIG_fail
;
3816 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3826 wxPoint
* resultptr
;
3827 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3836 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3837 PyObject
*resultobj
= NULL
;
3838 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3841 int *arg4
= (int *) 0 ;
3842 int *arg5
= (int *) 0 ;
3847 PyObject
* obj0
= 0 ;
3848 PyObject
* obj1
= 0 ;
3849 PyObject
* obj2
= 0 ;
3851 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3852 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3853 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3855 if (SWIG_arg_fail(1)) SWIG_fail
;
3857 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3858 if (SWIG_arg_fail(2)) SWIG_fail
;
3861 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3862 if (SWIG_arg_fail(3)) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 Py_INCREF(Py_None
); resultobj
= Py_None
;
3872 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3873 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3874 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3875 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3882 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3887 argc
= PyObject_Length(args
);
3888 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3889 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3895 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3904 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3907 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3915 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3923 _v
= SWIG_Check_int(argv
[1]);
3925 _v
= SWIG_Check_int(argv
[2]);
3927 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3933 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3938 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
= NULL
;
3940 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "self", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3948 if (SWIG_arg_fail(1)) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 (arg1
)->AdjustScrollbars();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 Py_INCREF(Py_None
); resultobj
= Py_None
;
3963 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
= NULL
;
3965 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3966 wxScrollWinEvent
*arg2
= 0 ;
3968 PyObject
* obj0
= 0 ;
3969 PyObject
* obj1
= 0 ;
3971 (char *) "self",(char *) "event", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3976 if (SWIG_arg_fail(1)) SWIG_fail
;
3978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3979 if (SWIG_arg_fail(2)) SWIG_fail
;
3981 SWIG_null_ref("wxScrollWinEvent");
3983 if (SWIG_arg_fail(2)) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3993 resultobj
= SWIG_From_int(static_cast<int >(result
));
4001 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
= NULL
;
4003 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4004 wxWindow
*arg2
= (wxWindow
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj1
= 0 ;
4008 (char *) "self",(char *) "target", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
4012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4013 if (SWIG_arg_fail(1)) SWIG_fail
;
4014 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4015 if (SWIG_arg_fail(2)) SWIG_fail
;
4017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 (arg1
)->SetTargetWindow(arg2
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) SWIG_fail
;
4023 Py_INCREF(Py_None
); resultobj
= Py_None
;
4030 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4031 PyObject
*resultobj
= NULL
;
4032 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4034 PyObject
* obj0
= 0 ;
4036 (char *) "self", NULL
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
4040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4041 if (SWIG_arg_fail(1)) SWIG_fail
;
4043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4044 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
4046 wxPyEndAllowThreads(__tstate
);
4047 if (PyErr_Occurred()) SWIG_fail
;
4050 resultobj
= wxPyMake_wxObject(result
, 0);
4058 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
= NULL
;
4060 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4063 PyObject
* obj0
= 0 ;
4064 PyObject
* obj1
= 0 ;
4066 (char *) "self",(char *) "rect", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4071 if (SWIG_arg_fail(1)) SWIG_fail
;
4074 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 Py_INCREF(Py_None
); resultobj
= Py_None
;
4090 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
*resultobj
= NULL
;
4092 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4094 PyObject
* obj0
= 0 ;
4096 (char *) "self", NULL
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
4100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4101 if (SWIG_arg_fail(1)) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4111 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
4112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4120 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= NULL
;
4122 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4127 (char *) "self",(char *) "dc", NULL
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
4131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4132 if (SWIG_arg_fail(1)) SWIG_fail
;
4134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4135 if (SWIG_arg_fail(2)) SWIG_fail
;
4137 SWIG_null_ref("wxDC");
4139 if (SWIG_arg_fail(2)) SWIG_fail
;
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 (arg1
)->DoPrepareDC(*arg2
);
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 Py_INCREF(Py_None
); resultobj
= Py_None
;
4155 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= NULL
;
4157 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4158 wxVisualAttributes result
;
4159 PyObject
* obj0
= 0 ;
4161 (char *) "variant", NULL
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4167 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4168 if (SWIG_arg_fail(1)) SWIG_fail
;
4172 if (!wxPyCheckForApp()) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4180 wxVisualAttributes
* resultptr
;
4181 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4190 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4193 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4195 return Py_BuildValue((char *)"");
4197 static int _wrap_FrameNameStr_set(PyObject
*) {
4198 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4203 static PyObject
*_wrap_FrameNameStr_get(void) {
4204 PyObject
*pyobj
= NULL
;
4208 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4210 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4217 static int _wrap_DialogNameStr_set(PyObject
*) {
4218 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4223 static PyObject
*_wrap_DialogNameStr_get(void) {
4224 PyObject
*pyobj
= NULL
;
4228 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4230 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4237 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4238 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4243 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4244 PyObject
*pyobj
= NULL
;
4248 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4250 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4257 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4258 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4263 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4264 PyObject
*pyobj
= NULL
;
4268 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4270 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4277 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
= NULL
;
4279 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4280 bool arg2
= (bool) true ;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4284 (char *) "self",(char *) "maximize", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4289 if (SWIG_arg_fail(1)) SWIG_fail
;
4292 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4293 if (SWIG_arg_fail(2)) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 (arg1
)->Maximize(arg2
);
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4303 Py_INCREF(Py_None
); resultobj
= Py_None
;
4310 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
= NULL
;
4312 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "self", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4320 if (SWIG_arg_fail(1)) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 Py_INCREF(Py_None
); resultobj
= Py_None
;
4335 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
= NULL
;
4337 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4338 bool arg2
= (bool) true ;
4339 PyObject
* obj0
= 0 ;
4340 PyObject
* obj1
= 0 ;
4342 (char *) "self",(char *) "iconize", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail
;
4350 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4351 if (SWIG_arg_fail(2)) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 (arg1
)->Iconize(arg2
);
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 Py_INCREF(Py_None
); resultobj
= Py_None
;
4368 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
= NULL
;
4370 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4372 PyObject
* obj0
= 0 ;
4374 (char *) "self", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4379 if (SWIG_arg_fail(1)) SWIG_fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4396 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
*resultobj
= NULL
;
4398 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4402 (char *) "self", NULL
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4407 if (SWIG_arg_fail(1)) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4424 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
= NULL
;
4426 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4428 PyObject
* obj0
= 0 ;
4430 (char *) "self", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4435 if (SWIG_arg_fail(1)) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4445 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
4446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4454 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
= NULL
;
4456 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4461 (char *) "self",(char *) "icon", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4466 if (SWIG_arg_fail(1)) SWIG_fail
;
4468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4469 if (SWIG_arg_fail(2)) SWIG_fail
;
4471 SWIG_null_ref("wxIcon");
4473 if (SWIG_arg_fail(2)) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 Py_INCREF(Py_None
); resultobj
= Py_None
;
4489 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
= NULL
;
4491 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4492 wxIconBundle
*arg2
= 0 ;
4493 PyObject
* obj0
= 0 ;
4494 PyObject
* obj1
= 0 ;
4496 (char *) "self",(char *) "icons", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4501 if (SWIG_arg_fail(1)) SWIG_fail
;
4503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4504 if (SWIG_arg_fail(2)) SWIG_fail
;
4506 SWIG_null_ref("wxIconBundle");
4508 if (SWIG_arg_fail(2)) SWIG_fail
;
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4517 Py_INCREF(Py_None
); resultobj
= Py_None
;
4524 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
= NULL
;
4526 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4528 long arg3
= (long) wxFULLSCREEN_ALL
;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4532 PyObject
* obj2
= 0 ;
4534 (char *) "self",(char *) "show",(char *) "style", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4539 if (SWIG_arg_fail(1)) SWIG_fail
;
4541 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4542 if (SWIG_arg_fail(2)) SWIG_fail
;
4546 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4547 if (SWIG_arg_fail(3)) SWIG_fail
;
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4566 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
= NULL
;
4568 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4570 PyObject
* obj0
= 0 ;
4572 (char *) "self", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4577 if (SWIG_arg_fail(1)) SWIG_fail
;
4579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4580 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4594 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
= NULL
;
4596 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4597 wxString
*arg2
= 0 ;
4598 bool temp2
= false ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4602 (char *) "self",(char *) "title", NULL
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4607 if (SWIG_arg_fail(1)) SWIG_fail
;
4609 arg2
= wxString_in_helper(obj1
);
4610 if (arg2
== NULL
) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 (arg1
)->SetTitle((wxString
const &)*arg2
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 Py_INCREF(Py_None
); resultobj
= Py_None
;
4635 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
= NULL
;
4637 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4641 (char *) "self", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4646 if (SWIG_arg_fail(1)) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4667 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= NULL
;
4669 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4670 wxRegion
*arg2
= 0 ;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4675 (char *) "self",(char *) "region", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4680 if (SWIG_arg_fail(1)) SWIG_fail
;
4682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4683 if (SWIG_arg_fail(2)) SWIG_fail
;
4685 SWIG_null_ref("wxRegion");
4687 if (SWIG_arg_fail(2)) SWIG_fail
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4705 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
= NULL
;
4707 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4708 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4712 (char *) "self",(char *) "flags", NULL
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4717 if (SWIG_arg_fail(1)) SWIG_fail
;
4720 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4721 if (SWIG_arg_fail(2)) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 (arg1
)->RequestUserAttention(arg2
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 Py_INCREF(Py_None
); resultobj
= Py_None
;
4738 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
= NULL
;
4740 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4742 PyObject
* obj0
= 0 ;
4744 (char *) "self", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4749 if (SWIG_arg_fail(1)) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (bool)(arg1
)->IsActive();
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4766 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
*resultobj
= NULL
;
4768 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4773 (char *) "self",(char *) "on", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4778 if (SWIG_arg_fail(1)) SWIG_fail
;
4780 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4781 if (SWIG_arg_fail(2)) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 (arg1
)->MacSetMetalAppearance(arg2
);
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4790 Py_INCREF(Py_None
); resultobj
= Py_None
;
4797 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
= NULL
;
4799 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4801 PyObject
* obj0
= 0 ;
4803 (char *) "self", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4808 if (SWIG_arg_fail(1)) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4825 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4828 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4830 return Py_BuildValue((char *)"");
4832 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
= NULL
;
4834 wxWindow
*arg1
= (wxWindow
*) 0 ;
4835 int arg2
= (int) (int)-1 ;
4836 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4837 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4838 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4839 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4840 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4841 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4842 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4843 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4844 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4846 bool temp3
= false ;
4849 bool temp7
= false ;
4850 PyObject
* obj0
= 0 ;
4851 PyObject
* obj1
= 0 ;
4852 PyObject
* obj2
= 0 ;
4853 PyObject
* obj3
= 0 ;
4854 PyObject
* obj4
= 0 ;
4855 PyObject
* obj5
= 0 ;
4856 PyObject
* obj6
= 0 ;
4858 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4863 if (SWIG_arg_fail(1)) SWIG_fail
;
4866 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
4867 if (SWIG_arg_fail(2)) SWIG_fail
;
4872 arg3
= wxString_in_helper(obj2
);
4873 if (arg3
== NULL
) SWIG_fail
;
4880 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4886 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4891 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4892 if (SWIG_arg_fail(6)) SWIG_fail
;
4897 arg7
= wxString_in_helper(obj6
);
4898 if (arg7
== NULL
) SWIG_fail
;
4903 if (!wxPyCheckForApp()) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4933 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
= NULL
;
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4942 if (!wxPyCheckForApp()) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (wxFrame
*)new wxFrame();
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4956 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
= NULL
;
4958 wxFrame
*arg1
= (wxFrame
*) 0 ;
4959 wxWindow
*arg2
= (wxWindow
*) 0 ;
4960 int arg3
= (int) (int)-1 ;
4961 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4962 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4963 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4964 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4965 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4966 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4967 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4968 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4969 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4971 bool temp4
= false ;
4974 bool temp8
= false ;
4975 PyObject
* obj0
= 0 ;
4976 PyObject
* obj1
= 0 ;
4977 PyObject
* obj2
= 0 ;
4978 PyObject
* obj3
= 0 ;
4979 PyObject
* obj4
= 0 ;
4980 PyObject
* obj5
= 0 ;
4981 PyObject
* obj6
= 0 ;
4982 PyObject
* obj7
= 0 ;
4984 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4989 if (SWIG_arg_fail(1)) SWIG_fail
;
4990 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4991 if (SWIG_arg_fail(2)) SWIG_fail
;
4994 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
4995 if (SWIG_arg_fail(3)) SWIG_fail
;
5000 arg4
= wxString_in_helper(obj3
);
5001 if (arg4
== NULL
) SWIG_fail
;
5008 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5014 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5019 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5020 if (SWIG_arg_fail(7)) SWIG_fail
;
5025 arg8
= wxString_in_helper(obj7
);
5026 if (arg8
== NULL
) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5062 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= NULL
;
5064 wxFrame
*arg1
= (wxFrame
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5068 (char *) "self", NULL
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
5072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5073 if (SWIG_arg_fail(1)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5082 wxPoint
* resultptr
;
5083 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5092 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
= NULL
;
5094 wxFrame
*arg1
= (wxFrame
*) 0 ;
5095 PyObject
* obj0
= 0 ;
5097 (char *) "self", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
5101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 (arg1
)->SendSizeEvent();
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 Py_INCREF(Py_None
); resultobj
= Py_None
;
5117 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
= NULL
;
5119 wxFrame
*arg1
= (wxFrame
*) 0 ;
5120 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5124 (char *) "self",(char *) "menubar", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5129 if (SWIG_arg_fail(1)) SWIG_fail
;
5130 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
5131 if (SWIG_arg_fail(2)) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 (arg1
)->SetMenuBar(arg2
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 Py_INCREF(Py_None
); resultobj
= Py_None
;
5146 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
= NULL
;
5148 wxFrame
*arg1
= (wxFrame
*) 0 ;
5150 PyObject
* obj0
= 0 ;
5152 (char *) "self", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
5156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5157 if (SWIG_arg_fail(1)) SWIG_fail
;
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= wxPyMake_wxObject(result
, 0);
5174 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
= NULL
;
5176 wxFrame
*arg1
= (wxFrame
*) 0 ;
5179 PyObject
* obj0
= 0 ;
5180 PyObject
* obj1
= 0 ;
5182 (char *) "self",(char *) "winid", NULL
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5187 if (SWIG_arg_fail(1)) SWIG_fail
;
5189 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5190 if (SWIG_arg_fail(2)) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5208 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
*resultobj
= NULL
;
5210 wxFrame
*arg1
= (wxFrame
*) 0 ;
5211 int arg2
= (int) 1 ;
5212 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5213 int arg4
= (int) 0 ;
5214 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5215 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5216 wxStatusBar
*result
;
5217 bool temp5
= false ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5220 PyObject
* obj2
= 0 ;
5221 PyObject
* obj3
= 0 ;
5222 PyObject
* obj4
= 0 ;
5224 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5229 if (SWIG_arg_fail(1)) SWIG_fail
;
5232 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5233 if (SWIG_arg_fail(2)) SWIG_fail
;
5238 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5239 if (SWIG_arg_fail(3)) SWIG_fail
;
5244 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5245 if (SWIG_arg_fail(4)) SWIG_fail
;
5250 arg5
= wxString_in_helper(obj4
);
5251 if (arg5
== NULL
) SWIG_fail
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5259 wxPyEndAllowThreads(__tstate
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5279 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
= NULL
;
5281 wxFrame
*arg1
= (wxFrame
*) 0 ;
5282 wxStatusBar
*result
;
5283 PyObject
* obj0
= 0 ;
5285 (char *) "self", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5290 if (SWIG_arg_fail(1)) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5307 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
= NULL
;
5309 wxFrame
*arg1
= (wxFrame
*) 0 ;
5310 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5312 PyObject
* obj1
= 0 ;
5314 (char *) "self",(char *) "statBar", NULL
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5319 if (SWIG_arg_fail(1)) SWIG_fail
;
5320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5321 if (SWIG_arg_fail(2)) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 (arg1
)->SetStatusBar(arg2
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 Py_INCREF(Py_None
); resultobj
= Py_None
;
5336 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
= NULL
;
5338 wxFrame
*arg1
= (wxFrame
*) 0 ;
5339 wxString
*arg2
= 0 ;
5340 int arg3
= (int) 0 ;
5341 bool temp2
= false ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5344 PyObject
* obj2
= 0 ;
5346 (char *) "self",(char *) "text",(char *) "number", NULL
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5351 if (SWIG_arg_fail(1)) SWIG_fail
;
5353 arg2
= wxString_in_helper(obj1
);
5354 if (arg2
== NULL
) SWIG_fail
;
5359 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5360 if (SWIG_arg_fail(3)) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5367 wxPyEndAllowThreads(__tstate
);
5368 if (PyErr_Occurred()) SWIG_fail
;
5370 Py_INCREF(Py_None
); resultobj
= Py_None
;
5385 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
= NULL
;
5387 wxFrame
*arg1
= (wxFrame
*) 0 ;
5389 int *arg3
= (int *) 0 ;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5393 (char *) "self",(char *) "widths", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5398 if (SWIG_arg_fail(1)) SWIG_fail
;
5400 arg2
= PyList_Size(obj1
);
5401 arg3
= int_LIST_helper(obj1
);
5402 if (arg3
== NULL
) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 Py_INCREF(Py_None
); resultobj
= Py_None
;
5413 if (arg3
) delete [] arg3
;
5418 if (arg3
) delete [] arg3
;
5424 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
= NULL
;
5426 wxFrame
*arg1
= (wxFrame
*) 0 ;
5427 wxString
*arg2
= 0 ;
5428 int arg3
= (int) 0 ;
5429 bool temp2
= false ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5432 PyObject
* obj2
= 0 ;
5434 (char *) "self",(char *) "text",(char *) "number", NULL
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5439 if (SWIG_arg_fail(1)) SWIG_fail
;
5441 arg2
= wxString_in_helper(obj1
);
5442 if (arg2
== NULL
) SWIG_fail
;
5447 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5448 if (SWIG_arg_fail(3)) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5458 Py_INCREF(Py_None
); resultobj
= Py_None
;
5473 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
= NULL
;
5475 wxFrame
*arg1
= (wxFrame
*) 0 ;
5476 int arg2
= (int) 0 ;
5477 PyObject
* obj0
= 0 ;
5478 PyObject
* obj1
= 0 ;
5480 (char *) "self",(char *) "number", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5485 if (SWIG_arg_fail(1)) SWIG_fail
;
5488 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5489 if (SWIG_arg_fail(2)) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 (arg1
)->PopStatusText(arg2
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5499 Py_INCREF(Py_None
); resultobj
= Py_None
;
5506 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
= NULL
;
5508 wxFrame
*arg1
= (wxFrame
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5513 (char *) "self",(char *) "n", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5518 if (SWIG_arg_fail(1)) SWIG_fail
;
5520 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5521 if (SWIG_arg_fail(2)) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 (arg1
)->SetStatusBarPane(arg2
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 Py_INCREF(Py_None
); resultobj
= Py_None
;
5537 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
= NULL
;
5539 wxFrame
*arg1
= (wxFrame
*) 0 ;
5541 PyObject
* obj0
= 0 ;
5543 (char *) "self", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5548 if (SWIG_arg_fail(1)) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5557 resultobj
= SWIG_From_int(static_cast<int >(result
));
5565 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
= NULL
;
5567 wxFrame
*arg1
= (wxFrame
*) 0 ;
5568 long arg2
= (long) -1 ;
5569 int arg3
= (int) -1 ;
5570 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5571 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5573 bool temp4
= false ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5576 PyObject
* obj2
= 0 ;
5577 PyObject
* obj3
= 0 ;
5579 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5584 if (SWIG_arg_fail(1)) SWIG_fail
;
5587 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5588 if (SWIG_arg_fail(2)) SWIG_fail
;
5593 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5594 if (SWIG_arg_fail(3)) SWIG_fail
;
5599 arg4
= wxString_in_helper(obj3
);
5600 if (arg4
== NULL
) SWIG_fail
;
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5628 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
= NULL
;
5630 wxFrame
*arg1
= (wxFrame
*) 0 ;
5632 PyObject
* obj0
= 0 ;
5634 (char *) "self", NULL
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5639 if (SWIG_arg_fail(1)) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5648 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5656 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
*resultobj
= NULL
;
5658 wxFrame
*arg1
= (wxFrame
*) 0 ;
5659 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5663 (char *) "self",(char *) "toolbar", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5668 if (SWIG_arg_fail(1)) SWIG_fail
;
5669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5670 if (SWIG_arg_fail(2)) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 (arg1
)->SetToolBar(arg2
);
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 Py_INCREF(Py_None
); resultobj
= Py_None
;
5685 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
= NULL
;
5687 wxFrame
*arg1
= (wxFrame
*) 0 ;
5688 wxString
*arg2
= 0 ;
5690 bool temp2
= false ;
5691 PyObject
* obj0
= 0 ;
5692 PyObject
* obj1
= 0 ;
5693 PyObject
* obj2
= 0 ;
5695 (char *) "self",(char *) "text",(char *) "show", NULL
5698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5700 if (SWIG_arg_fail(1)) SWIG_fail
;
5702 arg2
= wxString_in_helper(obj1
);
5703 if (arg2
== NULL
) SWIG_fail
;
5707 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
5708 if (SWIG_arg_fail(3)) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 Py_INCREF(Py_None
); resultobj
= Py_None
;
5732 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
= NULL
;
5734 wxFrame
*arg1
= (wxFrame
*) 0 ;
5735 wxMenu
*arg2
= (wxMenu
*) NULL
;
5736 PyObject
* obj0
= 0 ;
5737 PyObject
* obj1
= 0 ;
5739 (char *) "self",(char *) "menu", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5744 if (SWIG_arg_fail(1)) SWIG_fail
;
5746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5747 if (SWIG_arg_fail(2)) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 (arg1
)->DoMenuUpdates(arg2
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5756 Py_INCREF(Py_None
); resultobj
= Py_None
;
5763 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
= NULL
;
5765 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5766 wxVisualAttributes result
;
5767 PyObject
* obj0
= 0 ;
5769 (char *) "variant", NULL
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5775 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5776 if (SWIG_arg_fail(1)) SWIG_fail
;
5780 if (!wxPyCheckForApp()) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 result
= wxFrame::GetClassDefaultAttributes(arg1
);
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5788 wxVisualAttributes
* resultptr
;
5789 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5798 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5801 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5803 return Py_BuildValue((char *)"");
5805 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
= NULL
;
5807 wxWindow
*arg1
= (wxWindow
*) 0 ;
5808 int arg2
= (int) (int)-1 ;
5809 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5810 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5811 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5812 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5813 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5814 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5815 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5816 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5817 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5819 bool temp3
= false ;
5822 bool temp7
= false ;
5823 PyObject
* obj0
= 0 ;
5824 PyObject
* obj1
= 0 ;
5825 PyObject
* obj2
= 0 ;
5826 PyObject
* obj3
= 0 ;
5827 PyObject
* obj4
= 0 ;
5828 PyObject
* obj5
= 0 ;
5829 PyObject
* obj6
= 0 ;
5831 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail
;
5839 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
5840 if (SWIG_arg_fail(2)) SWIG_fail
;
5845 arg3
= wxString_in_helper(obj2
);
5846 if (arg3
== NULL
) SWIG_fail
;
5853 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5859 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5864 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5865 if (SWIG_arg_fail(6)) SWIG_fail
;
5870 arg7
= wxString_in_helper(obj6
);
5871 if (arg7
== NULL
) SWIG_fail
;
5876 if (!wxPyCheckForApp()) SWIG_fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5906 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
= NULL
;
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5915 if (!wxPyCheckForApp()) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (wxDialog
*)new wxDialog();
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5929 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
*resultobj
= NULL
;
5931 wxDialog
*arg1
= (wxDialog
*) 0 ;
5932 wxWindow
*arg2
= (wxWindow
*) 0 ;
5933 int arg3
= (int) (int)-1 ;
5934 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5935 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5936 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5937 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5938 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5939 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5940 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5941 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5942 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5944 bool temp4
= false ;
5947 bool temp8
= false ;
5948 PyObject
* obj0
= 0 ;
5949 PyObject
* obj1
= 0 ;
5950 PyObject
* obj2
= 0 ;
5951 PyObject
* obj3
= 0 ;
5952 PyObject
* obj4
= 0 ;
5953 PyObject
* obj5
= 0 ;
5954 PyObject
* obj6
= 0 ;
5955 PyObject
* obj7
= 0 ;
5957 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5962 if (SWIG_arg_fail(1)) SWIG_fail
;
5963 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5964 if (SWIG_arg_fail(2)) SWIG_fail
;
5967 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5968 if (SWIG_arg_fail(3)) SWIG_fail
;
5973 arg4
= wxString_in_helper(obj3
);
5974 if (arg4
== NULL
) SWIG_fail
;
5981 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5987 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5992 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5993 if (SWIG_arg_fail(7)) SWIG_fail
;
5998 arg8
= wxString_in_helper(obj7
);
5999 if (arg8
== NULL
) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6035 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
= NULL
;
6037 wxDialog
*arg1
= (wxDialog
*) 0 ;
6039 PyObject
* obj0
= 0 ;
6040 PyObject
* obj1
= 0 ;
6042 (char *) "self",(char *) "returnCode", NULL
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
6046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6047 if (SWIG_arg_fail(1)) SWIG_fail
;
6049 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6050 if (SWIG_arg_fail(2)) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 (arg1
)->SetReturnCode(arg2
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 Py_INCREF(Py_None
); resultobj
= Py_None
;
6066 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
= NULL
;
6068 wxDialog
*arg1
= (wxDialog
*) 0 ;
6070 PyObject
* obj0
= 0 ;
6072 (char *) "self", NULL
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
6076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6077 if (SWIG_arg_fail(1)) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= SWIG_From_int(static_cast<int >(result
));
6094 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
= NULL
;
6096 wxDialog
*arg1
= (wxDialog
*) 0 ;
6097 wxString
*arg2
= 0 ;
6099 bool temp2
= false ;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6103 (char *) "self",(char *) "message", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6108 if (SWIG_arg_fail(1)) SWIG_fail
;
6110 arg2
= wxString_in_helper(obj1
);
6111 if (arg2
== NULL
) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6138 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6139 PyObject
*resultobj
= NULL
;
6140 wxDialog
*arg1
= (wxDialog
*) 0 ;
6142 bool arg3
= (bool) false ;
6143 int arg4
= (int) 0 ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6148 PyObject
* obj3
= 0 ;
6150 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6155 if (SWIG_arg_fail(1)) SWIG_fail
;
6157 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6158 if (SWIG_arg_fail(2)) SWIG_fail
;
6162 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
6163 if (SWIG_arg_fail(3)) SWIG_fail
;
6168 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6169 if (SWIG_arg_fail(4)) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6188 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
= NULL
;
6190 wxDialog
*arg1
= (wxDialog
*) 0 ;
6192 wxStdDialogButtonSizer
*result
;
6193 PyObject
* obj0
= 0 ;
6194 PyObject
* obj1
= 0 ;
6196 (char *) "self",(char *) "flags", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6201 if (SWIG_arg_fail(1)) SWIG_fail
;
6203 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6204 if (SWIG_arg_fail(2)) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6220 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
= NULL
;
6222 wxDialog
*arg1
= (wxDialog
*) 0 ;
6224 PyObject
* obj0
= 0 ;
6226 (char *) "self", NULL
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6231 if (SWIG_arg_fail(1)) SWIG_fail
;
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6248 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
= NULL
;
6250 wxDialog
*arg1
= (wxDialog
*) 0 ;
6252 PyObject
* obj0
= 0 ;
6254 (char *) "self", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6259 if (SWIG_arg_fail(1)) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (int)(arg1
)->ShowModal();
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= SWIG_From_int(static_cast<int >(result
));
6276 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
*resultobj
= NULL
;
6278 wxDialog
*arg1
= (wxDialog
*) 0 ;
6280 PyObject
* obj0
= 0 ;
6281 PyObject
* obj1
= 0 ;
6283 (char *) "self",(char *) "retCode", NULL
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6288 if (SWIG_arg_fail(1)) SWIG_fail
;
6290 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6291 if (SWIG_arg_fail(2)) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 (arg1
)->EndModal(arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 Py_INCREF(Py_None
); resultobj
= Py_None
;
6307 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
= NULL
;
6309 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6310 wxVisualAttributes result
;
6311 PyObject
* obj0
= 0 ;
6313 (char *) "variant", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6319 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6320 if (SWIG_arg_fail(1)) SWIG_fail
;
6324 if (!wxPyCheckForApp()) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= wxDialog::GetClassDefaultAttributes(arg1
);
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6332 wxVisualAttributes
* resultptr
;
6333 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6342 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6345 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6347 return Py_BuildValue((char *)"");
6349 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
= NULL
;
6351 wxWindow
*arg1
= (wxWindow
*) 0 ;
6352 int arg2
= (int) (int)-1 ;
6353 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6354 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6355 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6356 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6357 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6358 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6359 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6360 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6361 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6362 wxMiniFrame
*result
;
6363 bool temp3
= false ;
6366 bool temp7
= false ;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 PyObject
* obj2
= 0 ;
6370 PyObject
* obj3
= 0 ;
6371 PyObject
* obj4
= 0 ;
6372 PyObject
* obj5
= 0 ;
6373 PyObject
* obj6
= 0 ;
6375 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6380 if (SWIG_arg_fail(1)) SWIG_fail
;
6383 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
6384 if (SWIG_arg_fail(2)) SWIG_fail
;
6389 arg3
= wxString_in_helper(obj2
);
6390 if (arg3
== NULL
) SWIG_fail
;
6397 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6403 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6408 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6409 if (SWIG_arg_fail(6)) SWIG_fail
;
6414 arg7
= wxString_in_helper(obj6
);
6415 if (arg7
== NULL
) SWIG_fail
;
6420 if (!wxPyCheckForApp()) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6450 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
= NULL
;
6452 wxMiniFrame
*result
;
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6459 if (!wxPyCheckForApp()) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 result
= (wxMiniFrame
*)new wxMiniFrame();
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6473 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
= NULL
;
6475 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6476 wxWindow
*arg2
= (wxWindow
*) 0 ;
6477 int arg3
= (int) (int)-1 ;
6478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6480 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6481 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6482 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6483 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6484 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6485 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6486 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6488 bool temp4
= false ;
6491 bool temp8
= false ;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6494 PyObject
* obj2
= 0 ;
6495 PyObject
* obj3
= 0 ;
6496 PyObject
* obj4
= 0 ;
6497 PyObject
* obj5
= 0 ;
6498 PyObject
* obj6
= 0 ;
6499 PyObject
* obj7
= 0 ;
6501 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6506 if (SWIG_arg_fail(1)) SWIG_fail
;
6507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6508 if (SWIG_arg_fail(2)) SWIG_fail
;
6511 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
6512 if (SWIG_arg_fail(3)) SWIG_fail
;
6517 arg4
= wxString_in_helper(obj3
);
6518 if (arg4
== NULL
) SWIG_fail
;
6525 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6531 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6536 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6537 if (SWIG_arg_fail(7)) SWIG_fail
;
6542 arg8
= wxString_in_helper(obj7
);
6543 if (arg8
== NULL
) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6579 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6582 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6584 return Py_BuildValue((char *)"");
6586 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
= NULL
;
6588 wxBitmap
*arg1
= 0 ;
6589 wxWindow
*arg2
= (wxWindow
*) 0 ;
6591 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6592 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6593 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6594 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6595 long arg6
= (long) wxNO_BORDER
;
6596 wxSplashScreenWindow
*result
;
6599 PyObject
* obj0
= 0 ;
6600 PyObject
* obj1
= 0 ;
6601 PyObject
* obj2
= 0 ;
6602 PyObject
* obj3
= 0 ;
6603 PyObject
* obj4
= 0 ;
6604 PyObject
* obj5
= 0 ;
6606 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6612 if (SWIG_arg_fail(1)) SWIG_fail
;
6614 SWIG_null_ref("wxBitmap");
6616 if (SWIG_arg_fail(1)) SWIG_fail
;
6618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6619 if (SWIG_arg_fail(2)) SWIG_fail
;
6621 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6622 if (SWIG_arg_fail(3)) SWIG_fail
;
6627 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6633 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6638 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6639 if (SWIG_arg_fail(6)) SWIG_fail
;
6643 if (!wxPyCheckForApp()) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6657 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
= NULL
;
6659 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6660 wxBitmap
*arg2
= 0 ;
6661 PyObject
* obj0
= 0 ;
6662 PyObject
* obj1
= 0 ;
6664 (char *) "self",(char *) "bitmap", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6669 if (SWIG_arg_fail(1)) SWIG_fail
;
6671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6672 if (SWIG_arg_fail(2)) SWIG_fail
;
6674 SWIG_null_ref("wxBitmap");
6676 if (SWIG_arg_fail(2)) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 Py_INCREF(Py_None
); resultobj
= Py_None
;
6692 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
= NULL
;
6694 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6696 PyObject
* obj0
= 0 ;
6698 (char *) "self", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6703 if (SWIG_arg_fail(1)) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6708 result
= (wxBitmap
*) &_result_ref
;
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 wxBitmap
* resultptr
= new wxBitmap(*result
);
6716 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6724 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6727 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6729 return Py_BuildValue((char *)"");
6731 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
= NULL
;
6733 wxBitmap
*arg1
= 0 ;
6736 wxWindow
*arg4
= (wxWindow
*) 0 ;
6737 int arg5
= (int) -1 ;
6738 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6739 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6740 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6741 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6742 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6743 wxSplashScreen
*result
;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6748 PyObject
* obj2
= 0 ;
6749 PyObject
* obj3
= 0 ;
6750 PyObject
* obj4
= 0 ;
6751 PyObject
* obj5
= 0 ;
6752 PyObject
* obj6
= 0 ;
6753 PyObject
* obj7
= 0 ;
6755 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6761 if (SWIG_arg_fail(1)) SWIG_fail
;
6763 SWIG_null_ref("wxBitmap");
6765 if (SWIG_arg_fail(1)) SWIG_fail
;
6768 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6769 if (SWIG_arg_fail(2)) SWIG_fail
;
6772 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6773 if (SWIG_arg_fail(3)) SWIG_fail
;
6775 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6776 if (SWIG_arg_fail(4)) SWIG_fail
;
6779 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6780 if (SWIG_arg_fail(5)) SWIG_fail
;
6786 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6792 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6797 arg8
= static_cast<long >(SWIG_As_long(obj7
));
6798 if (SWIG_arg_fail(8)) SWIG_fail
;
6802 if (!wxPyCheckForApp()) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6816 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
= NULL
;
6818 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6820 PyObject
* obj0
= 0 ;
6822 (char *) "self", NULL
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6827 if (SWIG_arg_fail(1)) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= SWIG_From_long(static_cast<long >(result
));
6844 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
= NULL
;
6846 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6847 wxSplashScreenWindow
*result
;
6848 PyObject
* obj0
= 0 ;
6850 (char *) "self", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6855 if (SWIG_arg_fail(1)) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6870 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
= NULL
;
6872 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6874 PyObject
* obj0
= 0 ;
6876 (char *) "self", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6881 if (SWIG_arg_fail(1)) SWIG_fail
;
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) SWIG_fail
;
6890 resultobj
= SWIG_From_int(static_cast<int >(result
));
6898 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6901 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6903 return Py_BuildValue((char *)"");
6905 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
= NULL
;
6907 wxWindow
*arg1
= (wxWindow
*) 0 ;
6908 int arg2
= (int) -1 ;
6909 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6910 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6911 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6912 wxStatusBar
*result
;
6913 bool temp4
= false ;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6916 PyObject
* obj2
= 0 ;
6917 PyObject
* obj3
= 0 ;
6919 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6924 if (SWIG_arg_fail(1)) SWIG_fail
;
6927 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6928 if (SWIG_arg_fail(2)) SWIG_fail
;
6933 arg3
= static_cast<long >(SWIG_As_long(obj2
));
6934 if (SWIG_arg_fail(3)) SWIG_fail
;
6939 arg4
= wxString_in_helper(obj3
);
6940 if (arg4
== NULL
) SWIG_fail
;
6945 if (!wxPyCheckForApp()) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6967 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
= NULL
;
6969 wxStatusBar
*result
;
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6976 if (!wxPyCheckForApp()) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (wxStatusBar
*)new wxStatusBar();
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6990 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
= NULL
;
6992 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6993 wxWindow
*arg2
= (wxWindow
*) 0 ;
6994 int arg3
= (int) -1 ;
6995 long arg4
= (long) wxST_SIZEGRIP
;
6996 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6997 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6999 bool temp5
= false ;
7000 PyObject
* obj0
= 0 ;
7001 PyObject
* obj1
= 0 ;
7002 PyObject
* obj2
= 0 ;
7003 PyObject
* obj3
= 0 ;
7004 PyObject
* obj4
= 0 ;
7006 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7011 if (SWIG_arg_fail(1)) SWIG_fail
;
7012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7013 if (SWIG_arg_fail(2)) SWIG_fail
;
7016 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7017 if (SWIG_arg_fail(3)) SWIG_fail
;
7022 arg4
= static_cast<long >(SWIG_As_long(obj3
));
7023 if (SWIG_arg_fail(4)) SWIG_fail
;
7028 arg5
= wxString_in_helper(obj4
);
7029 if (arg5
== NULL
) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7057 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7058 PyObject
*resultobj
= NULL
;
7059 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7060 int arg2
= (int) 1 ;
7061 PyObject
* obj0
= 0 ;
7062 PyObject
* obj1
= 0 ;
7064 (char *) "self",(char *) "number", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7069 if (SWIG_arg_fail(1)) SWIG_fail
;
7072 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7073 if (SWIG_arg_fail(2)) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 (arg1
)->SetFieldsCount(arg2
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 Py_INCREF(Py_None
); resultobj
= Py_None
;
7090 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
= NULL
;
7092 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7094 PyObject
* obj0
= 0 ;
7096 (char *) "self", NULL
7099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
7100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7101 if (SWIG_arg_fail(1)) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_From_int(static_cast<int >(result
));
7118 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
= NULL
;
7120 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7121 wxString
*arg2
= 0 ;
7122 int arg3
= (int) 0 ;
7123 bool temp2
= false ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7126 PyObject
* obj2
= 0 ;
7128 (char *) "self",(char *) "text",(char *) "number", NULL
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7133 if (SWIG_arg_fail(1)) SWIG_fail
;
7135 arg2
= wxString_in_helper(obj1
);
7136 if (arg2
== NULL
) SWIG_fail
;
7141 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7142 if (SWIG_arg_fail(3)) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 Py_INCREF(Py_None
); resultobj
= Py_None
;
7167 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
*resultobj
= NULL
;
7169 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7170 int arg2
= (int) 0 ;
7172 PyObject
* obj0
= 0 ;
7173 PyObject
* obj1
= 0 ;
7175 (char *) "self",(char *) "number", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7180 if (SWIG_arg_fail(1)) SWIG_fail
;
7183 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7184 if (SWIG_arg_fail(2)) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7207 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
= NULL
;
7209 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7210 wxString
*arg2
= 0 ;
7211 int arg3
= (int) 0 ;
7212 bool temp2
= false ;
7213 PyObject
* obj0
= 0 ;
7214 PyObject
* obj1
= 0 ;
7215 PyObject
* obj2
= 0 ;
7217 (char *) "self",(char *) "text",(char *) "number", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7222 if (SWIG_arg_fail(1)) SWIG_fail
;
7224 arg2
= wxString_in_helper(obj1
);
7225 if (arg2
== NULL
) SWIG_fail
;
7230 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7231 if (SWIG_arg_fail(3)) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 Py_INCREF(Py_None
); resultobj
= Py_None
;
7256 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= NULL
;
7258 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7259 int arg2
= (int) 0 ;
7260 PyObject
* obj0
= 0 ;
7261 PyObject
* obj1
= 0 ;
7263 (char *) "self",(char *) "number", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7268 if (SWIG_arg_fail(1)) SWIG_fail
;
7271 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7272 if (SWIG_arg_fail(2)) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 (arg1
)->PopStatusText(arg2
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 Py_INCREF(Py_None
); resultobj
= Py_None
;
7289 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
= NULL
;
7291 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7293 int *arg3
= (int *) 0 ;
7294 PyObject
* obj0
= 0 ;
7295 PyObject
* obj1
= 0 ;
7297 (char *) "self",(char *) "widths", NULL
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7302 if (SWIG_arg_fail(1)) SWIG_fail
;
7304 arg2
= PyList_Size(obj1
);
7305 arg3
= int_LIST_helper(obj1
);
7306 if (arg3
== NULL
) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 if (arg3
) delete [] arg3
;
7322 if (arg3
) delete [] arg3
;
7328 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
= NULL
;
7330 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7332 int *arg3
= (int *) 0 ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7336 (char *) "self",(char *) "styles", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7341 if (SWIG_arg_fail(1)) SWIG_fail
;
7343 arg2
= PyList_Size(obj1
);
7344 arg3
= int_LIST_helper(obj1
);
7345 if (arg3
== NULL
) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 Py_INCREF(Py_None
); resultobj
= Py_None
;
7356 if (arg3
) delete [] arg3
;
7361 if (arg3
) delete [] arg3
;
7367 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
*resultobj
= NULL
;
7369 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7372 PyObject
* obj0
= 0 ;
7373 PyObject
* obj1
= 0 ;
7375 (char *) "self",(char *) "i", NULL
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7380 if (SWIG_arg_fail(1)) SWIG_fail
;
7382 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7383 if (SWIG_arg_fail(2)) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7394 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7403 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
= NULL
;
7405 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7407 PyObject
* obj0
= 0 ;
7408 PyObject
* obj1
= 0 ;
7410 (char *) "self",(char *) "height", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7415 if (SWIG_arg_fail(1)) SWIG_fail
;
7417 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7418 if (SWIG_arg_fail(2)) SWIG_fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 (arg1
)->SetMinHeight(arg2
);
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 Py_INCREF(Py_None
); resultobj
= Py_None
;
7434 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
= NULL
;
7436 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7438 PyObject
* obj0
= 0 ;
7440 (char *) "self", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7445 if (SWIG_arg_fail(1)) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7454 resultobj
= SWIG_From_int(static_cast<int >(result
));
7462 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
= NULL
;
7464 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7466 PyObject
* obj0
= 0 ;
7468 (char *) "self", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7473 if (SWIG_arg_fail(1)) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7482 resultobj
= SWIG_From_int(static_cast<int >(result
));
7490 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
= NULL
;
7492 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7493 wxVisualAttributes result
;
7494 PyObject
* obj0
= 0 ;
7496 (char *) "variant", NULL
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7502 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7503 if (SWIG_arg_fail(1)) SWIG_fail
;
7507 if (!wxPyCheckForApp()) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7515 wxVisualAttributes
* resultptr
;
7516 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7525 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7528 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7530 return Py_BuildValue((char *)"");
7532 static int _wrap_SplitterNameStr_set(PyObject
*) {
7533 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7538 static PyObject
*_wrap_SplitterNameStr_get(void) {
7539 PyObject
*pyobj
= NULL
;
7543 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7545 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7552 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
= NULL
;
7554 wxWindow
*arg1
= (wxWindow
*) 0 ;
7555 int arg2
= (int) -1 ;
7556 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7557 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7558 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7559 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7560 long arg5
= (long) wxSP_3D
;
7561 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7562 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7563 wxSplitterWindow
*result
;
7566 bool temp6
= false ;
7567 PyObject
* obj0
= 0 ;
7568 PyObject
* obj1
= 0 ;
7569 PyObject
* obj2
= 0 ;
7570 PyObject
* obj3
= 0 ;
7571 PyObject
* obj4
= 0 ;
7572 PyObject
* obj5
= 0 ;
7574 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7579 if (SWIG_arg_fail(1)) SWIG_fail
;
7582 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7583 if (SWIG_arg_fail(2)) SWIG_fail
;
7589 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7595 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7600 arg5
= static_cast<long >(SWIG_As_long(obj4
));
7601 if (SWIG_arg_fail(5)) SWIG_fail
;
7606 arg6
= wxString_in_helper(obj5
);
7607 if (arg6
== NULL
) SWIG_fail
;
7612 if (!wxPyCheckForApp()) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7634 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
= NULL
;
7636 wxSplitterWindow
*result
;
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7643 if (!wxPyCheckForApp()) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7657 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
= NULL
;
7659 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7660 wxWindow
*arg2
= (wxWindow
*) 0 ;
7661 int arg3
= (int) -1 ;
7662 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7663 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7664 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7665 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7666 long arg6
= (long) wxSP_3D
;
7667 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7668 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7672 bool temp7
= false ;
7673 PyObject
* obj0
= 0 ;
7674 PyObject
* obj1
= 0 ;
7675 PyObject
* obj2
= 0 ;
7676 PyObject
* obj3
= 0 ;
7677 PyObject
* obj4
= 0 ;
7678 PyObject
* obj5
= 0 ;
7679 PyObject
* obj6
= 0 ;
7681 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7686 if (SWIG_arg_fail(1)) SWIG_fail
;
7687 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7688 if (SWIG_arg_fail(2)) SWIG_fail
;
7691 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7692 if (SWIG_arg_fail(3)) SWIG_fail
;
7698 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7704 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7709 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7710 if (SWIG_arg_fail(6)) SWIG_fail
;
7715 arg7
= wxString_in_helper(obj6
);
7716 if (arg7
== NULL
) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7744 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
= NULL
;
7746 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7750 (char *) "self", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7755 if (SWIG_arg_fail(1)) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7764 resultobj
= wxPyMake_wxObject(result
, 0);
7772 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
= NULL
;
7774 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7776 PyObject
* obj0
= 0 ;
7778 (char *) "self", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7783 if (SWIG_arg_fail(1)) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= wxPyMake_wxObject(result
, 0);
7800 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
= NULL
;
7802 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7807 (char *) "self",(char *) "mode", NULL
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail
;
7814 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7815 if (SWIG_arg_fail(2)) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 (arg1
)->SetSplitMode(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 Py_INCREF(Py_None
); resultobj
= Py_None
;
7831 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
= NULL
;
7833 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7837 (char *) "self", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7842 if (SWIG_arg_fail(1)) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= SWIG_From_int((result
));
7857 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
= NULL
;
7859 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7860 wxWindow
*arg2
= (wxWindow
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7864 (char *) "self",(char *) "window", NULL
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7869 if (SWIG_arg_fail(1)) SWIG_fail
;
7870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7871 if (SWIG_arg_fail(2)) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 (arg1
)->Initialize(arg2
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 Py_INCREF(Py_None
); resultobj
= Py_None
;
7886 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
= NULL
;
7888 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7889 wxWindow
*arg2
= (wxWindow
*) 0 ;
7890 wxWindow
*arg3
= (wxWindow
*) 0 ;
7891 int arg4
= (int) 0 ;
7893 PyObject
* obj0
= 0 ;
7894 PyObject
* obj1
= 0 ;
7895 PyObject
* obj2
= 0 ;
7896 PyObject
* obj3
= 0 ;
7898 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7903 if (SWIG_arg_fail(1)) SWIG_fail
;
7904 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7905 if (SWIG_arg_fail(2)) SWIG_fail
;
7906 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7907 if (SWIG_arg_fail(3)) SWIG_fail
;
7910 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7911 if (SWIG_arg_fail(4)) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7930 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
= NULL
;
7932 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7933 wxWindow
*arg2
= (wxWindow
*) 0 ;
7934 wxWindow
*arg3
= (wxWindow
*) 0 ;
7935 int arg4
= (int) 0 ;
7937 PyObject
* obj0
= 0 ;
7938 PyObject
* obj1
= 0 ;
7939 PyObject
* obj2
= 0 ;
7940 PyObject
* obj3
= 0 ;
7942 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7947 if (SWIG_arg_fail(1)) SWIG_fail
;
7948 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7949 if (SWIG_arg_fail(2)) SWIG_fail
;
7950 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7951 if (SWIG_arg_fail(3)) SWIG_fail
;
7954 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7955 if (SWIG_arg_fail(4)) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7974 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
= NULL
;
7976 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7977 wxWindow
*arg2
= (wxWindow
*) NULL
;
7979 PyObject
* obj0
= 0 ;
7980 PyObject
* obj1
= 0 ;
7982 (char *) "self",(char *) "toRemove", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7987 if (SWIG_arg_fail(1)) SWIG_fail
;
7989 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7990 if (SWIG_arg_fail(2)) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 result
= (bool)(arg1
)->Unsplit(arg2
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8008 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
= NULL
;
8010 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8011 wxWindow
*arg2
= (wxWindow
*) 0 ;
8012 wxWindow
*arg3
= (wxWindow
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8016 PyObject
* obj2
= 0 ;
8018 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail
;
8024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8025 if (SWIG_arg_fail(2)) SWIG_fail
;
8026 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8027 if (SWIG_arg_fail(3)) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8044 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
= NULL
;
8046 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "self", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
8053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 (arg1
)->UpdateSize();
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 Py_INCREF(Py_None
); resultobj
= Py_None
;
8069 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
= NULL
;
8071 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8073 PyObject
* obj0
= 0 ;
8075 (char *) "self", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
8079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8080 if (SWIG_arg_fail(1)) SWIG_fail
;
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8097 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
= NULL
;
8099 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8101 PyObject
* obj0
= 0 ;
8102 PyObject
* obj1
= 0 ;
8104 (char *) "self",(char *) "width", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8109 if (SWIG_arg_fail(1)) SWIG_fail
;
8111 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8112 if (SWIG_arg_fail(2)) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 (arg1
)->SetSashSize(arg2
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 Py_INCREF(Py_None
); resultobj
= Py_None
;
8128 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
= NULL
;
8130 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8135 (char *) "self",(char *) "width", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8140 if (SWIG_arg_fail(1)) SWIG_fail
;
8142 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8143 if (SWIG_arg_fail(2)) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 (arg1
)->SetBorderSize(arg2
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 Py_INCREF(Py_None
); resultobj
= Py_None
;
8159 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
= NULL
;
8161 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8163 PyObject
* obj0
= 0 ;
8165 (char *) "self", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
8169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8179 resultobj
= SWIG_From_int(static_cast<int >(result
));
8187 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
= NULL
;
8189 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8191 PyObject
* obj0
= 0 ;
8193 (char *) "self", NULL
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8198 if (SWIG_arg_fail(1)) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8207 resultobj
= SWIG_From_int(static_cast<int >(result
));
8215 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
= NULL
;
8217 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8219 bool arg3
= (bool) true ;
8220 PyObject
* obj0
= 0 ;
8221 PyObject
* obj1
= 0 ;
8222 PyObject
* obj2
= 0 ;
8224 (char *) "self",(char *) "position",(char *) "redraw", NULL
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8229 if (SWIG_arg_fail(1)) SWIG_fail
;
8231 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8232 if (SWIG_arg_fail(2)) SWIG_fail
;
8236 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8237 if (SWIG_arg_fail(3)) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 (arg1
)->SetSashPosition(arg2
,arg3
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
= NULL
;
8256 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8260 (char *) "self", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8265 if (SWIG_arg_fail(1)) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= SWIG_From_int(static_cast<int >(result
));
8282 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
= NULL
;
8284 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8289 (char *) "self",(char *) "gravity", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8294 if (SWIG_arg_fail(1)) SWIG_fail
;
8296 arg2
= static_cast<double >(SWIG_As_double(obj1
));
8297 if (SWIG_arg_fail(2)) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 (arg1
)->SetSashGravity(arg2
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 Py_INCREF(Py_None
); resultobj
= Py_None
;
8313 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
= NULL
;
8315 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8317 PyObject
* obj0
= 0 ;
8319 (char *) "self", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8324 if (SWIG_arg_fail(1)) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= SWIG_From_double(static_cast<double >(result
));
8341 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
= NULL
;
8343 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8345 PyObject
* obj0
= 0 ;
8346 PyObject
* obj1
= 0 ;
8348 (char *) "self",(char *) "min", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8353 if (SWIG_arg_fail(1)) SWIG_fail
;
8355 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8356 if (SWIG_arg_fail(2)) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 (arg1
)->SetMinimumPaneSize(arg2
);
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 Py_INCREF(Py_None
); resultobj
= Py_None
;
8372 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
= NULL
;
8374 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8378 (char *) "self", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8383 if (SWIG_arg_fail(1)) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= SWIG_From_int(static_cast<int >(result
));
8400 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
= NULL
;
8402 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8405 int arg4
= (int) 5 ;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8409 PyObject
* obj2
= 0 ;
8410 PyObject
* obj3
= 0 ;
8412 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8417 if (SWIG_arg_fail(1)) SWIG_fail
;
8419 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8420 if (SWIG_arg_fail(2)) SWIG_fail
;
8423 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8424 if (SWIG_arg_fail(3)) SWIG_fail
;
8428 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8429 if (SWIG_arg_fail(4)) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8448 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
= NULL
;
8450 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8451 PyObject
* obj0
= 0 ;
8453 (char *) "self", NULL
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8458 if (SWIG_arg_fail(1)) SWIG_fail
;
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 (arg1
)->SizeWindows();
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 Py_INCREF(Py_None
); resultobj
= Py_None
;
8473 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
= NULL
;
8475 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8477 PyObject
* obj0
= 0 ;
8478 PyObject
* obj1
= 0 ;
8480 (char *) "self",(char *) "needUpdating", NULL
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8485 if (SWIG_arg_fail(1)) SWIG_fail
;
8487 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8488 if (SWIG_arg_fail(2)) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 (arg1
)->SetNeedUpdating(arg2
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 Py_INCREF(Py_None
); resultobj
= Py_None
;
8504 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
= NULL
;
8506 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8508 PyObject
* obj0
= 0 ;
8510 (char *) "self", NULL
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8515 if (SWIG_arg_fail(1)) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8532 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
= NULL
;
8534 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8535 wxVisualAttributes result
;
8536 PyObject
* obj0
= 0 ;
8538 (char *) "variant", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8544 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8545 if (SWIG_arg_fail(1)) SWIG_fail
;
8549 if (!wxPyCheckForApp()) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8557 wxVisualAttributes
* resultptr
;
8558 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8567 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8570 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8572 return Py_BuildValue((char *)"");
8574 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
= NULL
;
8576 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8577 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8578 wxSplitterEvent
*result
;
8579 PyObject
* obj0
= 0 ;
8580 PyObject
* obj1
= 0 ;
8582 (char *) "type",(char *) "splitter", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8588 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
8589 if (SWIG_arg_fail(1)) SWIG_fail
;
8593 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8594 if (SWIG_arg_fail(2)) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8598 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8610 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
= NULL
;
8612 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8614 PyObject
* obj0
= 0 ;
8615 PyObject
* obj1
= 0 ;
8617 (char *) "self",(char *) "pos", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8622 if (SWIG_arg_fail(1)) SWIG_fail
;
8624 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8625 if (SWIG_arg_fail(2)) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 (arg1
)->SetSashPosition(arg2
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 Py_INCREF(Py_None
); resultobj
= Py_None
;
8641 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
= NULL
;
8643 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8645 PyObject
* obj0
= 0 ;
8647 (char *) "self", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8652 if (SWIG_arg_fail(1)) SWIG_fail
;
8654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8655 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8657 wxPyEndAllowThreads(__tstate
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_From_int(static_cast<int >(result
));
8669 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
= NULL
;
8671 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8675 (char *) "self", NULL
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8680 if (SWIG_arg_fail(1)) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= wxPyMake_wxObject(result
, 0);
8697 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
= NULL
;
8699 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8701 PyObject
* obj0
= 0 ;
8703 (char *) "self", NULL
8706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8708 if (SWIG_arg_fail(1)) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8717 resultobj
= SWIG_From_int(static_cast<int >(result
));
8725 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= NULL
;
8727 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8729 PyObject
* obj0
= 0 ;
8731 (char *) "self", NULL
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8736 if (SWIG_arg_fail(1)) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8745 resultobj
= SWIG_From_int(static_cast<int >(result
));
8753 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8756 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8758 return Py_BuildValue((char *)"");
8760 static int _wrap_SashNameStr_set(PyObject
*) {
8761 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8766 static PyObject
*_wrap_SashNameStr_get(void) {
8767 PyObject
*pyobj
= NULL
;
8771 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8773 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8780 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8781 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8786 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8787 PyObject
*pyobj
= NULL
;
8791 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8793 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8800 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
= NULL
;
8802 wxWindow
*arg1
= (wxWindow
*) 0 ;
8803 int arg2
= (int) -1 ;
8804 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8805 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8806 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8807 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8808 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8809 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8810 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8811 wxSashWindow
*result
;
8814 bool temp6
= false ;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8817 PyObject
* obj2
= 0 ;
8818 PyObject
* obj3
= 0 ;
8819 PyObject
* obj4
= 0 ;
8820 PyObject
* obj5
= 0 ;
8822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8827 if (SWIG_arg_fail(1)) SWIG_fail
;
8830 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8831 if (SWIG_arg_fail(2)) SWIG_fail
;
8837 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8843 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8848 arg5
= static_cast<long >(SWIG_As_long(obj4
));
8849 if (SWIG_arg_fail(5)) SWIG_fail
;
8854 arg6
= wxString_in_helper(obj5
);
8855 if (arg6
== NULL
) SWIG_fail
;
8860 if (!wxPyCheckForApp()) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8882 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
= NULL
;
8884 wxSashWindow
*result
;
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8891 if (!wxPyCheckForApp()) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= (wxSashWindow
*)new wxSashWindow();
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8905 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
= NULL
;
8907 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8908 wxWindow
*arg2
= (wxWindow
*) 0 ;
8909 int arg3
= (int) -1 ;
8910 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8911 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8912 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8913 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8914 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8915 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8916 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8920 bool temp7
= false ;
8921 PyObject
* obj0
= 0 ;
8922 PyObject
* obj1
= 0 ;
8923 PyObject
* obj2
= 0 ;
8924 PyObject
* obj3
= 0 ;
8925 PyObject
* obj4
= 0 ;
8926 PyObject
* obj5
= 0 ;
8927 PyObject
* obj6
= 0 ;
8929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8934 if (SWIG_arg_fail(1)) SWIG_fail
;
8935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8936 if (SWIG_arg_fail(2)) SWIG_fail
;
8939 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8940 if (SWIG_arg_fail(3)) SWIG_fail
;
8946 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8952 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8957 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8958 if (SWIG_arg_fail(6)) SWIG_fail
;
8963 arg7
= wxString_in_helper(obj6
);
8964 if (arg7
== NULL
) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8992 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
= NULL
;
8994 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8995 wxSashEdgePosition arg2
;
8997 PyObject
* obj0
= 0 ;
8998 PyObject
* obj1
= 0 ;
8999 PyObject
* obj2
= 0 ;
9001 (char *) "self",(char *) "edge",(char *) "sash", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9006 if (SWIG_arg_fail(1)) SWIG_fail
;
9008 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9009 if (SWIG_arg_fail(2)) SWIG_fail
;
9012 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9013 if (SWIG_arg_fail(3)) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 (arg1
)->SetSashVisible(arg2
,arg3
);
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 Py_INCREF(Py_None
); resultobj
= Py_None
;
9029 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
= NULL
;
9031 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9032 wxSashEdgePosition arg2
;
9034 PyObject
* obj0
= 0 ;
9035 PyObject
* obj1
= 0 ;
9037 (char *) "self",(char *) "edge", NULL
9040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9042 if (SWIG_arg_fail(1)) SWIG_fail
;
9044 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9045 if (SWIG_arg_fail(2)) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9063 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
= NULL
;
9065 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9066 wxSashEdgePosition arg2
;
9068 PyObject
* obj0
= 0 ;
9069 PyObject
* obj1
= 0 ;
9070 PyObject
* obj2
= 0 ;
9072 (char *) "self",(char *) "edge",(char *) "border", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9077 if (SWIG_arg_fail(1)) SWIG_fail
;
9079 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9080 if (SWIG_arg_fail(2)) SWIG_fail
;
9083 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9084 if (SWIG_arg_fail(3)) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 (arg1
)->SetSashBorder(arg2
,arg3
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 Py_INCREF(Py_None
); resultobj
= Py_None
;
9100 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
= NULL
;
9102 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9103 wxSashEdgePosition arg2
;
9105 PyObject
* obj0
= 0 ;
9106 PyObject
* obj1
= 0 ;
9108 (char *) "self",(char *) "edge", NULL
9111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
9112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9113 if (SWIG_arg_fail(1)) SWIG_fail
;
9115 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9116 if (SWIG_arg_fail(2)) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9134 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
= NULL
;
9136 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9137 wxSashEdgePosition arg2
;
9139 PyObject
* obj0
= 0 ;
9140 PyObject
* obj1
= 0 ;
9142 (char *) "self",(char *) "edge", NULL
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
9146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9147 if (SWIG_arg_fail(1)) SWIG_fail
;
9149 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9150 if (SWIG_arg_fail(2)) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9160 resultobj
= SWIG_From_int(static_cast<int >(result
));
9168 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
= NULL
;
9170 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9172 PyObject
* obj0
= 0 ;
9173 PyObject
* obj1
= 0 ;
9175 (char *) "self",(char *) "width", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9180 if (SWIG_arg_fail(1)) SWIG_fail
;
9182 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9183 if (SWIG_arg_fail(2)) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 (arg1
)->SetDefaultBorderSize(arg2
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 Py_INCREF(Py_None
); resultobj
= Py_None
;
9199 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
= NULL
;
9201 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9203 PyObject
* obj0
= 0 ;
9205 (char *) "self", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9210 if (SWIG_arg_fail(1)) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_From_int(static_cast<int >(result
));
9227 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
*resultobj
= NULL
;
9229 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9231 PyObject
* obj0
= 0 ;
9232 PyObject
* obj1
= 0 ;
9234 (char *) "self",(char *) "width", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9239 if (SWIG_arg_fail(1)) SWIG_fail
;
9241 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9242 if (SWIG_arg_fail(2)) SWIG_fail
;
9245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 (arg1
)->SetExtraBorderSize(arg2
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 Py_INCREF(Py_None
); resultobj
= Py_None
;
9258 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
= NULL
;
9260 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9262 PyObject
* obj0
= 0 ;
9264 (char *) "self", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9269 if (SWIG_arg_fail(1)) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= SWIG_From_int(static_cast<int >(result
));
9286 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
= NULL
;
9288 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9291 PyObject
* obj1
= 0 ;
9293 (char *) "self",(char *) "min", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9298 if (SWIG_arg_fail(1)) SWIG_fail
;
9300 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9301 if (SWIG_arg_fail(2)) SWIG_fail
;
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 (arg1
)->SetMinimumSizeX(arg2
);
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) SWIG_fail
;
9310 Py_INCREF(Py_None
); resultobj
= Py_None
;
9317 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9318 PyObject
*resultobj
= NULL
;
9319 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9321 PyObject
* obj0
= 0 ;
9322 PyObject
* obj1
= 0 ;
9324 (char *) "self",(char *) "min", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9329 if (SWIG_arg_fail(1)) SWIG_fail
;
9331 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9332 if (SWIG_arg_fail(2)) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 (arg1
)->SetMinimumSizeY(arg2
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 Py_INCREF(Py_None
); resultobj
= Py_None
;
9348 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
= NULL
;
9350 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9352 PyObject
* obj0
= 0 ;
9354 (char *) "self", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9359 if (SWIG_arg_fail(1)) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= SWIG_From_int(static_cast<int >(result
));
9376 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
= NULL
;
9378 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9380 PyObject
* obj0
= 0 ;
9382 (char *) "self", NULL
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9387 if (SWIG_arg_fail(1)) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= SWIG_From_int(static_cast<int >(result
));
9404 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
= NULL
;
9406 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9409 PyObject
* obj1
= 0 ;
9411 (char *) "self",(char *) "max", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9416 if (SWIG_arg_fail(1)) SWIG_fail
;
9418 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9419 if (SWIG_arg_fail(2)) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 (arg1
)->SetMaximumSizeX(arg2
);
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 Py_INCREF(Py_None
); resultobj
= Py_None
;
9435 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
= NULL
;
9437 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9442 (char *) "self",(char *) "max", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9447 if (SWIG_arg_fail(1)) SWIG_fail
;
9449 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9450 if (SWIG_arg_fail(2)) SWIG_fail
;
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 (arg1
)->SetMaximumSizeY(arg2
);
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9459 Py_INCREF(Py_None
); resultobj
= Py_None
;
9466 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
= NULL
;
9468 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9477 if (SWIG_arg_fail(1)) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= SWIG_From_int(static_cast<int >(result
));
9494 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
= NULL
;
9496 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9500 (char *) "self", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9505 if (SWIG_arg_fail(1)) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_From_int(static_cast<int >(result
));
9522 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
= NULL
;
9524 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9527 int arg4
= (int) 2 ;
9528 wxSashEdgePosition result
;
9529 PyObject
* obj0
= 0 ;
9530 PyObject
* obj1
= 0 ;
9531 PyObject
* obj2
= 0 ;
9532 PyObject
* obj3
= 0 ;
9534 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9539 if (SWIG_arg_fail(1)) SWIG_fail
;
9541 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9542 if (SWIG_arg_fail(2)) SWIG_fail
;
9545 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9546 if (SWIG_arg_fail(3)) SWIG_fail
;
9550 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9551 if (SWIG_arg_fail(4)) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_From_int((result
));
9568 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
= NULL
;
9570 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9571 PyObject
* obj0
= 0 ;
9573 (char *) "self", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9578 if (SWIG_arg_fail(1)) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 (arg1
)->SizeWindows();
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 Py_INCREF(Py_None
); resultobj
= Py_None
;
9593 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9596 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9598 return Py_BuildValue((char *)"");
9600 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
= NULL
;
9602 int arg1
= (int) 0 ;
9603 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9604 wxSashEvent
*result
;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9608 (char *) "id",(char *) "edge", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9614 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9615 if (SWIG_arg_fail(1)) SWIG_fail
;
9620 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9621 if (SWIG_arg_fail(2)) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9638 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
= NULL
;
9640 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9641 wxSashEdgePosition arg2
;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9645 (char *) "self",(char *) "edge", NULL
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9650 if (SWIG_arg_fail(1)) SWIG_fail
;
9652 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9653 if (SWIG_arg_fail(2)) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 (arg1
)->SetEdge(arg2
);
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 Py_INCREF(Py_None
); resultobj
= Py_None
;
9669 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
= NULL
;
9671 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9672 wxSashEdgePosition result
;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9680 if (SWIG_arg_fail(1)) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= SWIG_From_int((result
));
9695 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
= NULL
;
9697 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9700 PyObject
* obj0
= 0 ;
9701 PyObject
* obj1
= 0 ;
9703 (char *) "self",(char *) "rect", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9708 if (SWIG_arg_fail(1)) SWIG_fail
;
9711 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9717 wxPyEndAllowThreads(__tstate
);
9718 if (PyErr_Occurred()) SWIG_fail
;
9720 Py_INCREF(Py_None
); resultobj
= Py_None
;
9727 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
= NULL
;
9729 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9731 PyObject
* obj0
= 0 ;
9733 (char *) "self", NULL
9736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9738 if (SWIG_arg_fail(1)) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9748 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
9749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9757 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= NULL
;
9759 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9760 wxSashDragStatus arg2
;
9761 PyObject
* obj0
= 0 ;
9762 PyObject
* obj1
= 0 ;
9764 (char *) "self",(char *) "status", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9769 if (SWIG_arg_fail(1)) SWIG_fail
;
9771 arg2
= static_cast<wxSashDragStatus
>(SWIG_As_int(obj1
));
9772 if (SWIG_arg_fail(2)) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 (arg1
)->SetDragStatus(arg2
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 Py_INCREF(Py_None
); resultobj
= Py_None
;
9788 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
= NULL
;
9790 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9791 wxSashDragStatus result
;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9799 if (SWIG_arg_fail(1)) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_From_int((result
));
9814 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9817 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9819 return Py_BuildValue((char *)"");
9821 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
= NULL
;
9823 int arg1
= (int) 0 ;
9824 wxQueryLayoutInfoEvent
*result
;
9825 PyObject
* obj0
= 0 ;
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9833 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9834 if (SWIG_arg_fail(1)) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9851 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
= NULL
;
9853 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9855 PyObject
* obj0
= 0 ;
9856 PyObject
* obj1
= 0 ;
9858 (char *) "self",(char *) "length", NULL
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9863 if (SWIG_arg_fail(1)) SWIG_fail
;
9865 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9866 if (SWIG_arg_fail(2)) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 (arg1
)->SetRequestedLength(arg2
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 Py_INCREF(Py_None
); resultobj
= Py_None
;
9882 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
= NULL
;
9884 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9888 (char *) "self", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9893 if (SWIG_arg_fail(1)) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_From_int(static_cast<int >(result
));
9910 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9911 PyObject
*resultobj
= NULL
;
9912 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9914 PyObject
* obj0
= 0 ;
9915 PyObject
* obj1
= 0 ;
9917 (char *) "self",(char *) "flags", NULL
9920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9922 if (SWIG_arg_fail(1)) SWIG_fail
;
9924 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9925 if (SWIG_arg_fail(2)) SWIG_fail
;
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 (arg1
)->SetFlags(arg2
);
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9934 Py_INCREF(Py_None
); resultobj
= Py_None
;
9941 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
= NULL
;
9943 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9945 PyObject
* obj0
= 0 ;
9947 (char *) "self", NULL
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9952 if (SWIG_arg_fail(1)) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_From_int(static_cast<int >(result
));
9969 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
= NULL
;
9971 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9974 PyObject
* obj0
= 0 ;
9975 PyObject
* obj1
= 0 ;
9977 (char *) "self",(char *) "size", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9982 if (SWIG_arg_fail(1)) SWIG_fail
;
9985 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 (arg1
)->SetSize((wxSize
const &)*arg2
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 Py_INCREF(Py_None
); resultobj
= Py_None
;
10001 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
= NULL
;
10003 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
10011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10012 if (SWIG_arg_fail(1)) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10021 wxSize
* resultptr
;
10022 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
10023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10031 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
= NULL
;
10033 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10034 wxLayoutOrientation arg2
;
10035 PyObject
* obj0
= 0 ;
10036 PyObject
* obj1
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self",(char *) "orient", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10043 if (SWIG_arg_fail(1)) SWIG_fail
;
10045 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10046 if (SWIG_arg_fail(2)) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 (arg1
)->SetOrientation(arg2
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10055 Py_INCREF(Py_None
); resultobj
= Py_None
;
10062 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
= NULL
;
10064 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10065 wxLayoutOrientation result
;
10066 PyObject
* obj0
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "self", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
10072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10073 if (SWIG_arg_fail(1)) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_From_int((result
));
10088 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
= NULL
;
10090 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10091 wxLayoutAlignment arg2
;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self",(char *) "align", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10100 if (SWIG_arg_fail(1)) SWIG_fail
;
10102 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10103 if (SWIG_arg_fail(2)) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 (arg1
)->SetAlignment(arg2
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 Py_INCREF(Py_None
); resultobj
= Py_None
;
10119 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
= NULL
;
10121 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10122 wxLayoutAlignment result
;
10123 PyObject
* obj0
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
10129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10130 if (SWIG_arg_fail(1)) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_From_int((result
));
10145 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
10147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10148 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
10150 return Py_BuildValue((char *)"");
10152 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
= NULL
;
10154 int arg1
= (int) 0 ;
10155 wxCalculateLayoutEvent
*result
;
10156 PyObject
* obj0
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "id", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
10164 arg1
= static_cast<int >(SWIG_As_int(obj0
));
10165 if (SWIG_arg_fail(1)) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10182 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
= NULL
;
10184 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self",(char *) "flags", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10194 if (SWIG_arg_fail(1)) SWIG_fail
;
10196 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10197 if (SWIG_arg_fail(2)) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 (arg1
)->SetFlags(arg2
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 Py_INCREF(Py_None
); resultobj
= Py_None
;
10213 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
= NULL
;
10215 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "self", NULL
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10224 if (SWIG_arg_fail(1)) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_From_int(static_cast<int >(result
));
10241 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
= NULL
;
10243 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10246 PyObject
* obj0
= 0 ;
10247 PyObject
* obj1
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self",(char *) "rect", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10254 if (SWIG_arg_fail(1)) SWIG_fail
;
10257 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 (arg1
)->SetRect((wxRect
const &)*arg2
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 Py_INCREF(Py_None
); resultobj
= Py_None
;
10273 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
= NULL
;
10275 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10277 PyObject
* obj0
= 0 ;
10278 char *kwnames
[] = {
10279 (char *) "self", NULL
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10284 if (SWIG_arg_fail(1)) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10293 wxRect
* resultptr
;
10294 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
10295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10303 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10306 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10308 return Py_BuildValue((char *)"");
10310 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
= NULL
;
10312 wxWindow
*arg1
= (wxWindow
*) 0 ;
10313 int arg2
= (int) -1 ;
10314 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10315 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10316 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10317 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10318 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10319 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10320 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10321 wxSashLayoutWindow
*result
;
10324 bool temp6
= false ;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 PyObject
* obj2
= 0 ;
10328 PyObject
* obj3
= 0 ;
10329 PyObject
* obj4
= 0 ;
10330 PyObject
* obj5
= 0 ;
10331 char *kwnames
[] = {
10332 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10337 if (SWIG_arg_fail(1)) SWIG_fail
;
10340 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10341 if (SWIG_arg_fail(2)) SWIG_fail
;
10347 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10353 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10358 arg5
= static_cast<long >(SWIG_As_long(obj4
));
10359 if (SWIG_arg_fail(5)) SWIG_fail
;
10364 arg6
= wxString_in_helper(obj5
);
10365 if (arg6
== NULL
) SWIG_fail
;
10370 if (!wxPyCheckForApp()) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10392 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
= NULL
;
10394 wxSashLayoutWindow
*result
;
10395 char *kwnames
[] = {
10399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10401 if (!wxPyCheckForApp()) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10415 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
= NULL
;
10417 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10418 wxWindow
*arg2
= (wxWindow
*) 0 ;
10419 int arg3
= (int) -1 ;
10420 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10421 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10422 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10423 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10424 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10425 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10426 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10430 bool temp7
= false ;
10431 PyObject
* obj0
= 0 ;
10432 PyObject
* obj1
= 0 ;
10433 PyObject
* obj2
= 0 ;
10434 PyObject
* obj3
= 0 ;
10435 PyObject
* obj4
= 0 ;
10436 PyObject
* obj5
= 0 ;
10437 PyObject
* obj6
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10444 if (SWIG_arg_fail(1)) SWIG_fail
;
10445 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10446 if (SWIG_arg_fail(2)) SWIG_fail
;
10449 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10450 if (SWIG_arg_fail(3)) SWIG_fail
;
10456 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10462 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10467 arg6
= static_cast<long >(SWIG_As_long(obj5
));
10468 if (SWIG_arg_fail(6)) SWIG_fail
;
10473 arg7
= wxString_in_helper(obj6
);
10474 if (arg7
== NULL
) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10502 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
= NULL
;
10504 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10505 wxLayoutAlignment result
;
10506 PyObject
* obj0
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10513 if (SWIG_arg_fail(1)) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 resultobj
= SWIG_From_int((result
));
10528 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
= NULL
;
10530 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10531 wxLayoutOrientation result
;
10532 PyObject
* obj0
= 0 ;
10533 char *kwnames
[] = {
10534 (char *) "self", NULL
10537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10539 if (SWIG_arg_fail(1)) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10547 resultobj
= SWIG_From_int((result
));
10554 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
= NULL
;
10556 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10557 wxLayoutAlignment arg2
;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self",(char *) "alignment", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10566 if (SWIG_arg_fail(1)) SWIG_fail
;
10568 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10569 if (SWIG_arg_fail(2)) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 (arg1
)->SetAlignment(arg2
);
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 Py_INCREF(Py_None
); resultobj
= Py_None
;
10585 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
= NULL
;
10587 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10590 PyObject
* obj0
= 0 ;
10591 PyObject
* obj1
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self",(char *) "size", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10598 if (SWIG_arg_fail(1)) SWIG_fail
;
10601 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10610 Py_INCREF(Py_None
); resultobj
= Py_None
;
10617 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
= NULL
;
10619 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10620 wxLayoutOrientation arg2
;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self",(char *) "orientation", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10629 if (SWIG_arg_fail(1)) SWIG_fail
;
10631 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10632 if (SWIG_arg_fail(2)) SWIG_fail
;
10635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10636 (arg1
)->SetOrientation(arg2
);
10638 wxPyEndAllowThreads(__tstate
);
10639 if (PyErr_Occurred()) SWIG_fail
;
10641 Py_INCREF(Py_None
); resultobj
= Py_None
;
10648 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10651 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10653 return Py_BuildValue((char *)"");
10655 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
= NULL
;
10657 wxLayoutAlgorithm
*result
;
10658 char *kwnames
[] = {
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10677 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
= NULL
;
10679 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10680 PyObject
* obj0
= 0 ;
10681 char *kwnames
[] = {
10682 (char *) "self", NULL
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10687 if (SWIG_arg_fail(1)) SWIG_fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 Py_INCREF(Py_None
); resultobj
= Py_None
;
10702 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10703 PyObject
*resultobj
= NULL
;
10704 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10705 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10706 wxRect
*arg3
= (wxRect
*) NULL
;
10708 PyObject
* obj0
= 0 ;
10709 PyObject
* obj1
= 0 ;
10710 PyObject
* obj2
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "self",(char *) "frame",(char *) "rect", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10717 if (SWIG_arg_fail(1)) SWIG_fail
;
10718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10719 if (SWIG_arg_fail(2)) SWIG_fail
;
10721 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10722 if (SWIG_arg_fail(3)) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10740 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10741 PyObject
*resultobj
= NULL
;
10742 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10743 wxFrame
*arg2
= (wxFrame
*) 0 ;
10744 wxWindow
*arg3
= (wxWindow
*) NULL
;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 PyObject
* obj2
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10755 if (SWIG_arg_fail(1)) SWIG_fail
;
10756 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10757 if (SWIG_arg_fail(2)) SWIG_fail
;
10759 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10760 if (SWIG_arg_fail(3)) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10778 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
= NULL
;
10780 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10781 wxWindow
*arg2
= (wxWindow
*) 0 ;
10782 wxWindow
*arg3
= (wxWindow
*) NULL
;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 PyObject
* obj2
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10793 if (SWIG_arg_fail(1)) SWIG_fail
;
10794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10795 if (SWIG_arg_fail(2)) SWIG_fail
;
10797 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10798 if (SWIG_arg_fail(3)) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10816 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10819 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10821 return Py_BuildValue((char *)"");
10823 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
= NULL
;
10825 wxWindow
*arg1
= (wxWindow
*) 0 ;
10826 int arg2
= (int) wxBORDER_NONE
;
10827 wxPopupWindow
*result
;
10828 PyObject
* obj0
= 0 ;
10829 PyObject
* obj1
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "parent",(char *) "flags", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10836 if (SWIG_arg_fail(1)) SWIG_fail
;
10839 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10840 if (SWIG_arg_fail(2)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10857 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
= NULL
;
10859 wxPopupWindow
*result
;
10860 char *kwnames
[] = {
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 result
= (wxPopupWindow
*)new wxPopupWindow();
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10879 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10882 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10884 return Py_BuildValue((char *)"");
10886 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
= NULL
;
10888 wxWindow
*arg1
= (wxWindow
*) 0 ;
10889 int arg2
= (int) wxBORDER_NONE
;
10890 wxPyPopupTransientWindow
*result
;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 char *kwnames
[] = {
10894 (char *) "parent",(char *) "style", NULL
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10899 if (SWIG_arg_fail(1)) SWIG_fail
;
10902 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10903 if (SWIG_arg_fail(2)) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10920 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= NULL
;
10922 wxPyPopupTransientWindow
*result
;
10923 char *kwnames
[] = {
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10942 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10945 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10947 return Py_BuildValue((char *)"");
10949 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
= NULL
;
10951 wxWindow
*arg1
= (wxWindow
*) 0 ;
10952 wxString
*arg2
= 0 ;
10953 int arg3
= (int) 100 ;
10954 wxRect
*arg4
= (wxRect
*) NULL
;
10955 wxTipWindow
*result
;
10956 bool temp2
= false ;
10957 PyObject
* obj0
= 0 ;
10958 PyObject
* obj1
= 0 ;
10959 PyObject
* obj2
= 0 ;
10960 PyObject
* obj3
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10967 if (SWIG_arg_fail(1)) SWIG_fail
;
10969 arg2
= wxString_in_helper(obj1
);
10970 if (arg2
== NULL
) SWIG_fail
;
10975 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10976 if (SWIG_arg_fail(3)) SWIG_fail
;
10980 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10981 if (SWIG_arg_fail(4)) SWIG_fail
;
10984 if (!wxPyCheckForApp()) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
11006 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
= NULL
;
11008 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 PyObject
* obj1
= 0 ;
11013 char *kwnames
[] = {
11014 (char *) "self",(char *) "rectBound", NULL
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11019 if (SWIG_arg_fail(1)) SWIG_fail
;
11022 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 Py_INCREF(Py_None
); resultobj
= Py_None
;
11038 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
= NULL
;
11040 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 char *kwnames
[] = {
11043 (char *) "self", NULL
11046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11048 if (SWIG_arg_fail(1)) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 Py_INCREF(Py_None
); resultobj
= Py_None
;
11063 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11066 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11068 return Py_BuildValue((char *)"");
11070 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
= NULL
;
11072 wxWindow
*arg1
= (wxWindow
*) 0 ;
11073 int arg2
= (int) wxID_ANY
;
11074 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11075 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11076 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11077 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11078 long arg5
= (long) 0 ;
11079 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11080 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11081 wxPyVScrolledWindow
*result
;
11084 bool temp6
= false ;
11085 PyObject
* obj0
= 0 ;
11086 PyObject
* obj1
= 0 ;
11087 PyObject
* obj2
= 0 ;
11088 PyObject
* obj3
= 0 ;
11089 PyObject
* obj4
= 0 ;
11090 PyObject
* obj5
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11097 if (SWIG_arg_fail(1)) SWIG_fail
;
11100 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11101 if (SWIG_arg_fail(2)) SWIG_fail
;
11107 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11113 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11118 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11119 if (SWIG_arg_fail(5)) SWIG_fail
;
11124 arg6
= wxString_in_helper(obj5
);
11125 if (arg6
== NULL
) SWIG_fail
;
11130 if (!wxPyCheckForApp()) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11152 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
= NULL
;
11154 wxPyVScrolledWindow
*result
;
11155 char *kwnames
[] = {
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11161 if (!wxPyCheckForApp()) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11175 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
= NULL
;
11177 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11178 PyObject
*arg2
= (PyObject
*) 0 ;
11179 PyObject
*arg3
= (PyObject
*) 0 ;
11180 PyObject
* obj0
= 0 ;
11181 PyObject
* obj1
= 0 ;
11182 PyObject
* obj2
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self",(char *) "self",(char *) "_class", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11189 if (SWIG_arg_fail(1)) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 Py_INCREF(Py_None
); resultobj
= Py_None
;
11206 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
= NULL
;
11208 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11209 wxWindow
*arg2
= (wxWindow
*) 0 ;
11210 int arg3
= (int) wxID_ANY
;
11211 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11212 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11213 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11214 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11215 long arg6
= (long) 0 ;
11216 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11217 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11221 bool temp7
= false ;
11222 PyObject
* obj0
= 0 ;
11223 PyObject
* obj1
= 0 ;
11224 PyObject
* obj2
= 0 ;
11225 PyObject
* obj3
= 0 ;
11226 PyObject
* obj4
= 0 ;
11227 PyObject
* obj5
= 0 ;
11228 PyObject
* obj6
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11235 if (SWIG_arg_fail(1)) SWIG_fail
;
11236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11237 if (SWIG_arg_fail(2)) SWIG_fail
;
11240 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11241 if (SWIG_arg_fail(3)) SWIG_fail
;
11247 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11253 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11258 arg6
= static_cast<long >(SWIG_As_long(obj5
));
11259 if (SWIG_arg_fail(6)) SWIG_fail
;
11264 arg7
= wxString_in_helper(obj6
);
11265 if (arg7
== NULL
) SWIG_fail
;
11270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11273 wxPyEndAllowThreads(__tstate
);
11274 if (PyErr_Occurred()) SWIG_fail
;
11277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11293 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
= NULL
;
11295 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 char *kwnames
[] = {
11300 (char *) "self",(char *) "count", NULL
11303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11305 if (SWIG_arg_fail(1)) SWIG_fail
;
11307 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11308 if (SWIG_arg_fail(2)) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 (arg1
)->SetLineCount(arg2
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 Py_INCREF(Py_None
); resultobj
= Py_None
;
11324 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
= NULL
;
11326 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self",(char *) "line", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11337 if (SWIG_arg_fail(1)) SWIG_fail
;
11339 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11340 if (SWIG_arg_fail(2)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11358 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
= NULL
;
11360 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 char *kwnames
[] = {
11366 (char *) "self",(char *) "lines", NULL
11369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11371 if (SWIG_arg_fail(1)) SWIG_fail
;
11373 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11374 if (SWIG_arg_fail(2)) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (bool)(arg1
)->ScrollLines(arg2
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11392 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
= NULL
;
11394 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 PyObject
* obj1
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self",(char *) "pages", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11405 if (SWIG_arg_fail(1)) SWIG_fail
;
11407 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11408 if (SWIG_arg_fail(2)) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= (bool)(arg1
)->ScrollPages(arg2
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11426 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
= NULL
;
11428 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self",(char *) "line", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11438 if (SWIG_arg_fail(1)) SWIG_fail
;
11440 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11441 if (SWIG_arg_fail(2)) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 (arg1
)->RefreshLine(arg2
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 Py_INCREF(Py_None
); resultobj
= Py_None
;
11457 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11458 PyObject
*resultobj
= NULL
;
11459 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11462 PyObject
* obj0
= 0 ;
11463 PyObject
* obj1
= 0 ;
11464 PyObject
* obj2
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "from",(char *) "to", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11471 if (SWIG_arg_fail(1)) SWIG_fail
;
11473 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11474 if (SWIG_arg_fail(2)) SWIG_fail
;
11477 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
11478 if (SWIG_arg_fail(3)) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 (arg1
)->RefreshLines(arg2
,arg3
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 Py_INCREF(Py_None
); resultobj
= Py_None
;
11494 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
= NULL
;
11496 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 PyObject
* obj2
= 0 ;
11503 char *kwnames
[] = {
11504 (char *) "self",(char *) "x",(char *) "y", NULL
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11509 if (SWIG_arg_fail(1)) SWIG_fail
;
11511 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11512 if (SWIG_arg_fail(2)) SWIG_fail
;
11515 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11516 if (SWIG_arg_fail(3)) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= SWIG_From_int(static_cast<int >(result
));
11534 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11535 PyObject
*resultobj
= NULL
;
11536 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11537 wxPoint
*arg2
= 0 ;
11540 PyObject
* obj0
= 0 ;
11541 PyObject
* obj1
= 0 ;
11542 char *kwnames
[] = {
11543 (char *) "self",(char *) "pt", NULL
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11548 if (SWIG_arg_fail(1)) SWIG_fail
;
11551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= SWIG_From_int(static_cast<int >(result
));
11569 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
= NULL
;
11571 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11572 PyObject
* obj0
= 0 ;
11573 char *kwnames
[] = {
11574 (char *) "self", NULL
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11579 if (SWIG_arg_fail(1)) SWIG_fail
;
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 (arg1
)->RefreshAll();
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 Py_INCREF(Py_None
); resultobj
= Py_None
;
11594 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
= NULL
;
11596 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11598 PyObject
* obj0
= 0 ;
11599 char *kwnames
[] = {
11600 (char *) "self", NULL
11603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11605 if (SWIG_arg_fail(1)) SWIG_fail
;
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11610 wxPyEndAllowThreads(__tstate
);
11611 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11622 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
= NULL
;
11624 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11626 PyObject
* obj0
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11633 if (SWIG_arg_fail(1)) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11650 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
= NULL
;
11652 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11654 PyObject
* obj0
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "self", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11661 if (SWIG_arg_fail(1)) SWIG_fail
;
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11678 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
= NULL
;
11680 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self",(char *) "line", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11691 if (SWIG_arg_fail(1)) SWIG_fail
;
11693 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11694 if (SWIG_arg_fail(2)) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11712 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
= NULL
;
11714 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11716 PyObject
* obj0
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "self", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11723 if (SWIG_arg_fail(1)) SWIG_fail
;
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11740 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
= NULL
;
11742 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11744 PyObject
* obj0
= 0 ;
11745 char *kwnames
[] = {
11746 (char *) "self", NULL
11749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11751 if (SWIG_arg_fail(1)) SWIG_fail
;
11753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11754 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11756 wxPyEndAllowThreads(__tstate
);
11757 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11768 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11771 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11773 return Py_BuildValue((char *)"");
11775 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11776 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11781 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11782 PyObject
*pyobj
= NULL
;
11786 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11788 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11795 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
= NULL
;
11797 wxWindow
*arg1
= (wxWindow
*) 0 ;
11798 int arg2
= (int) wxID_ANY
;
11799 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11800 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11801 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11802 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11803 long arg5
= (long) 0 ;
11804 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11805 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11806 wxPyVListBox
*result
;
11809 bool temp6
= false ;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj1
= 0 ;
11812 PyObject
* obj2
= 0 ;
11813 PyObject
* obj3
= 0 ;
11814 PyObject
* obj4
= 0 ;
11815 PyObject
* obj5
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11822 if (SWIG_arg_fail(1)) SWIG_fail
;
11825 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11826 if (SWIG_arg_fail(2)) SWIG_fail
;
11832 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11838 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11843 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11844 if (SWIG_arg_fail(5)) SWIG_fail
;
11849 arg6
= wxString_in_helper(obj5
);
11850 if (arg6
== NULL
) SWIG_fail
;
11855 if (!wxPyCheckForApp()) SWIG_fail
;
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11877 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
= NULL
;
11879 wxPyVListBox
*result
;
11880 char *kwnames
[] = {
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11886 if (!wxPyCheckForApp()) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (wxPyVListBox
*)new wxPyVListBox();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11900 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
= NULL
;
11902 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11903 PyObject
*arg2
= (PyObject
*) 0 ;
11904 PyObject
*arg3
= (PyObject
*) 0 ;
11905 PyObject
* obj0
= 0 ;
11906 PyObject
* obj1
= 0 ;
11907 PyObject
* obj2
= 0 ;
11908 char *kwnames
[] = {
11909 (char *) "self",(char *) "self",(char *) "_class", NULL
11912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11914 if (SWIG_arg_fail(1)) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 Py_INCREF(Py_None
); resultobj
= Py_None
;
11931 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
= NULL
;
11933 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11934 wxWindow
*arg2
= (wxWindow
*) 0 ;
11935 int arg3
= (int) wxID_ANY
;
11936 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11937 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11938 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11939 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11940 long arg6
= (long) 0 ;
11941 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11942 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11946 bool temp7
= false ;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 PyObject
* obj2
= 0 ;
11950 PyObject
* obj3
= 0 ;
11951 PyObject
* obj4
= 0 ;
11952 PyObject
* obj5
= 0 ;
11953 PyObject
* obj6
= 0 ;
11954 char *kwnames
[] = {
11955 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11960 if (SWIG_arg_fail(1)) SWIG_fail
;
11961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11962 if (SWIG_arg_fail(2)) SWIG_fail
;
11965 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11966 if (SWIG_arg_fail(3)) SWIG_fail
;
11972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11983 arg6
= static_cast<long >(SWIG_As_long(obj5
));
11984 if (SWIG_arg_fail(6)) SWIG_fail
;
11989 arg7
= wxString_in_helper(obj6
);
11990 if (arg7
== NULL
) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12018 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12019 PyObject
*resultobj
= NULL
;
12020 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12022 PyObject
* obj0
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
12028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12029 if (SWIG_arg_fail(1)) SWIG_fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12046 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
= NULL
;
12048 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
12056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12057 if (SWIG_arg_fail(1)) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12074 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
= NULL
;
12076 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12085 if (SWIG_arg_fail(1)) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12094 resultobj
= SWIG_From_int(static_cast<int >(result
));
12102 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
= NULL
;
12104 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 PyObject
* obj1
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self",(char *) "item", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12115 if (SWIG_arg_fail(1)) SWIG_fail
;
12117 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12118 if (SWIG_arg_fail(2)) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12136 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
= NULL
;
12138 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self",(char *) "item", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12149 if (SWIG_arg_fail(1)) SWIG_fail
;
12151 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12152 if (SWIG_arg_fail(2)) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12170 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
= NULL
;
12172 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12181 if (SWIG_arg_fail(1)) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12198 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
= NULL
;
12200 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12209 if (SWIG_arg_fail(1)) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 resultobj
= result
;
12224 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
= NULL
;
12226 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12227 unsigned long arg2
;
12229 PyObject
* obj0
= 0 ;
12230 PyObject
* obj1
= 0 ;
12231 char *kwnames
[] = {
12232 (char *) "self",(char *) "cookie", NULL
12235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",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<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
12240 if (SWIG_arg_fail(2)) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= result
;
12256 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
= NULL
;
12258 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12260 PyObject
* obj0
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12267 if (SWIG_arg_fail(1)) SWIG_fail
;
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12276 wxPoint
* resultptr
;
12277 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12286 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
= NULL
;
12288 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12290 PyObject
* obj0
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12297 if (SWIG_arg_fail(1)) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12302 result
= (wxColour
*) &_result_ref
;
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12315 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
= NULL
;
12317 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self",(char *) "count", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12327 if (SWIG_arg_fail(1)) SWIG_fail
;
12329 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12330 if (SWIG_arg_fail(2)) SWIG_fail
;
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 (arg1
)->SetItemCount(arg2
);
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 Py_INCREF(Py_None
); resultobj
= Py_None
;
12346 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12347 PyObject
*resultobj
= NULL
;
12348 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 Py_INCREF(Py_None
); resultobj
= Py_None
;
12371 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= NULL
;
12373 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 PyObject
* obj1
= 0 ;
12377 char *kwnames
[] = {
12378 (char *) "self",(char *) "selection", NULL
12381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12383 if (SWIG_arg_fail(1)) SWIG_fail
;
12385 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12386 if (SWIG_arg_fail(2)) SWIG_fail
;
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 (arg1
)->SetSelection(arg2
);
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 Py_INCREF(Py_None
); resultobj
= Py_None
;
12402 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
= NULL
;
12404 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12406 bool arg3
= (bool) true ;
12408 PyObject
* obj0
= 0 ;
12409 PyObject
* obj1
= 0 ;
12410 PyObject
* obj2
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self",(char *) "item",(char *) "select", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12417 if (SWIG_arg_fail(1)) SWIG_fail
;
12419 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12420 if (SWIG_arg_fail(2)) SWIG_fail
;
12424 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
12425 if (SWIG_arg_fail(3)) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12444 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
= NULL
;
12446 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12450 PyObject
* obj0
= 0 ;
12451 PyObject
* obj1
= 0 ;
12452 PyObject
* obj2
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self",(char *) "from",(char *) "to", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail
;
12461 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12462 if (SWIG_arg_fail(2)) SWIG_fail
;
12465 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12466 if (SWIG_arg_fail(3)) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12484 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
= NULL
;
12486 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 PyObject
* obj1
= 0 ;
12490 char *kwnames
[] = {
12491 (char *) "self",(char *) "item", NULL
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12496 if (SWIG_arg_fail(1)) SWIG_fail
;
12498 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12499 if (SWIG_arg_fail(2)) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 (arg1
)->Toggle(arg2
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 Py_INCREF(Py_None
); resultobj
= Py_None
;
12515 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
= NULL
;
12517 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12519 PyObject
* obj0
= 0 ;
12520 char *kwnames
[] = {
12521 (char *) "self", NULL
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12526 if (SWIG_arg_fail(1)) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= (bool)(arg1
)->SelectAll();
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12543 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
= NULL
;
12545 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12547 PyObject
* obj0
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "self", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12554 if (SWIG_arg_fail(1)) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= (bool)(arg1
)->DeselectAll();
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12571 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
= NULL
;
12573 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12574 wxPoint
*arg2
= 0 ;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self",(char *) "pt", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12584 if (SWIG_arg_fail(1)) SWIG_fail
;
12587 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 Py_INCREF(Py_None
); resultobj
= Py_None
;
12603 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
= NULL
;
12605 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 PyObject
* obj2
= 0 ;
12611 char *kwnames
[] = {
12612 (char *) "self",(char *) "x",(char *) "y", NULL
12615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12617 if (SWIG_arg_fail(1)) SWIG_fail
;
12619 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12620 if (SWIG_arg_fail(2)) SWIG_fail
;
12623 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12624 if (SWIG_arg_fail(3)) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 (arg1
)->SetMargins(arg2
,arg3
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 Py_INCREF(Py_None
); resultobj
= Py_None
;
12640 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12641 PyObject
*resultobj
= NULL
;
12642 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12643 wxColour
*arg2
= 0 ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "col", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail
;
12656 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 Py_INCREF(Py_None
); resultobj
= Py_None
;
12672 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12675 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12677 return Py_BuildValue((char *)"");
12679 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
= NULL
;
12681 wxWindow
*arg1
= (wxWindow
*) 0 ;
12682 int arg2
= (int) wxID_ANY
;
12683 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12684 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12685 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12686 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12687 long arg5
= (long) 0 ;
12688 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12689 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12690 wxPyHtmlListBox
*result
;
12693 bool temp6
= false ;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 PyObject
* obj3
= 0 ;
12698 PyObject
* obj4
= 0 ;
12699 PyObject
* obj5
= 0 ;
12700 char *kwnames
[] = {
12701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12706 if (SWIG_arg_fail(1)) SWIG_fail
;
12709 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12710 if (SWIG_arg_fail(2)) SWIG_fail
;
12716 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12722 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12727 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12728 if (SWIG_arg_fail(5)) SWIG_fail
;
12733 arg6
= wxString_in_helper(obj5
);
12734 if (arg6
== NULL
) SWIG_fail
;
12739 if (!wxPyCheckForApp()) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12761 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
= NULL
;
12763 wxPyHtmlListBox
*result
;
12764 char *kwnames
[] = {
12768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12770 if (!wxPyCheckForApp()) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12784 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
= NULL
;
12786 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12787 PyObject
*arg2
= (PyObject
*) 0 ;
12788 PyObject
*arg3
= (PyObject
*) 0 ;
12789 PyObject
* obj0
= 0 ;
12790 PyObject
* obj1
= 0 ;
12791 PyObject
* obj2
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self",(char *) "self",(char *) "_class", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12798 if (SWIG_arg_fail(1)) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 Py_INCREF(Py_None
); resultobj
= Py_None
;
12815 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
= NULL
;
12817 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12818 wxWindow
*arg2
= (wxWindow
*) 0 ;
12819 int arg3
= (int) wxID_ANY
;
12820 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12821 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12822 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12823 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12824 long arg6
= (long) 0 ;
12825 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12826 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12830 bool temp7
= false ;
12831 PyObject
* obj0
= 0 ;
12832 PyObject
* obj1
= 0 ;
12833 PyObject
* obj2
= 0 ;
12834 PyObject
* obj3
= 0 ;
12835 PyObject
* obj4
= 0 ;
12836 PyObject
* obj5
= 0 ;
12837 PyObject
* obj6
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail
;
12845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12846 if (SWIG_arg_fail(2)) SWIG_fail
;
12849 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12850 if (SWIG_arg_fail(3)) SWIG_fail
;
12856 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12862 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12867 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12868 if (SWIG_arg_fail(6)) SWIG_fail
;
12873 arg7
= wxString_in_helper(obj6
);
12874 if (arg7
== NULL
) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12902 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
= NULL
;
12904 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "self", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12912 if (SWIG_arg_fail(1)) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 (arg1
)->RefreshAll();
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 Py_INCREF(Py_None
); resultobj
= Py_None
;
12927 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
= NULL
;
12929 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 char *kwnames
[] = {
12934 (char *) "self",(char *) "count", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12939 if (SWIG_arg_fail(1)) SWIG_fail
;
12941 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12942 if (SWIG_arg_fail(2)) SWIG_fail
;
12945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12946 (arg1
)->SetItemCount(arg2
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 Py_INCREF(Py_None
); resultobj
= Py_None
;
12958 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
= NULL
;
12960 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12961 wxFileSystem
*result
;
12962 PyObject
* obj0
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12969 if (SWIG_arg_fail(1)) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12974 result
= (wxFileSystem
*) &_result_ref
;
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12987 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12990 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12992 return Py_BuildValue((char *)"");
12994 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
= NULL
;
12996 wxPyTaskBarIcon
*result
;
12997 char *kwnames
[] = {
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
13003 if (!wxPyCheckForApp()) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
13017 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
= NULL
;
13019 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
13026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13027 if (SWIG_arg_fail(1)) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13042 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
= NULL
;
13044 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13045 PyObject
*arg2
= (PyObject
*) 0 ;
13046 PyObject
*arg3
= (PyObject
*) 0 ;
13048 PyObject
* obj0
= 0 ;
13049 PyObject
* obj1
= 0 ;
13050 PyObject
* obj2
= 0 ;
13051 PyObject
* obj3
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13058 if (SWIG_arg_fail(1)) SWIG_fail
;
13062 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13063 if (SWIG_arg_fail(4)) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 Py_INCREF(Py_None
); resultobj
= Py_None
;
13079 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
= NULL
;
13081 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
13088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13089 if (SWIG_arg_fail(1)) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 wxPyTaskBarIcon_Destroy(arg1
);
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 Py_INCREF(Py_None
); resultobj
= Py_None
;
13104 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
= NULL
;
13106 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13108 PyObject
* obj0
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13115 if (SWIG_arg_fail(1)) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13120 wxPyEndAllowThreads(__tstate
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13132 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
= NULL
;
13134 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13136 PyObject
* obj0
= 0 ;
13137 char *kwnames
[] = {
13138 (char *) "self", NULL
13141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13143 if (SWIG_arg_fail(1)) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13160 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13161 PyObject
*resultobj
= NULL
;
13162 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13164 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13165 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13167 bool temp3
= false ;
13168 PyObject
* obj0
= 0 ;
13169 PyObject
* obj1
= 0 ;
13170 PyObject
* obj2
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13177 if (SWIG_arg_fail(1)) SWIG_fail
;
13179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13180 if (SWIG_arg_fail(2)) SWIG_fail
;
13181 if (arg2
== NULL
) {
13182 SWIG_null_ref("wxIcon");
13184 if (SWIG_arg_fail(2)) SWIG_fail
;
13188 arg3
= wxString_in_helper(obj2
);
13189 if (arg3
== NULL
) SWIG_fail
;
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13217 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
= NULL
;
13219 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13228 if (SWIG_arg_fail(1)) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (bool)(arg1
)->RemoveIcon();
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13245 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
= NULL
;
13247 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13248 wxMenu
*arg2
= (wxMenu
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self",(char *) "menu", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13258 if (SWIG_arg_fail(1)) SWIG_fail
;
13259 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13260 if (SWIG_arg_fail(2)) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (bool)(arg1
)->PopupMenu(arg2
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13277 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13280 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13282 return Py_BuildValue((char *)"");
13284 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
= NULL
;
13287 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13288 wxTaskBarIconEvent
*result
;
13289 PyObject
* obj0
= 0 ;
13290 PyObject
* obj1
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "evtType",(char *) "tbIcon", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13297 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13298 if (SWIG_arg_fail(1)) SWIG_fail
;
13300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13301 if (SWIG_arg_fail(2)) SWIG_fail
;
13303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13304 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13316 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13319 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13321 return Py_BuildValue((char *)"");
13323 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13324 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13329 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13330 PyObject
*pyobj
= NULL
;
13334 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13336 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13343 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13344 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13349 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13350 PyObject
*pyobj
= NULL
;
13354 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13356 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13363 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13364 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13369 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13370 PyObject
*pyobj
= NULL
;
13374 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13376 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13383 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13384 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13389 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13390 PyObject
*pyobj
= NULL
;
13394 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13396 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13403 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13404 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13409 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13410 PyObject
*pyobj
= NULL
;
13414 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13416 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13423 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13424 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13429 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13430 PyObject
*pyobj
= NULL
;
13434 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13436 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13443 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
= NULL
;
13445 wxColourData
*result
;
13446 char *kwnames
[] = {
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 result
= (wxColourData
*)new wxColourData();
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13465 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
= NULL
;
13467 wxColourData
*arg1
= (wxColourData
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13475 if (SWIG_arg_fail(1)) SWIG_fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 Py_INCREF(Py_None
); resultobj
= Py_None
;
13490 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
= NULL
;
13492 wxColourData
*arg1
= (wxColourData
*) 0 ;
13494 PyObject
* obj0
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13501 if (SWIG_arg_fail(1)) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (bool)(arg1
)->GetChooseFull();
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13518 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
= NULL
;
13520 wxColourData
*arg1
= (wxColourData
*) 0 ;
13522 PyObject
* obj0
= 0 ;
13523 char *kwnames
[] = {
13524 (char *) "self", NULL
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13529 if (SWIG_arg_fail(1)) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (arg1
)->GetColour();
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13538 wxColour
* resultptr
;
13539 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13548 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13549 PyObject
*resultobj
= NULL
;
13550 wxColourData
*arg1
= (wxColourData
*) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 PyObject
* obj1
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "self",(char *) "i", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13561 if (SWIG_arg_fail(1)) SWIG_fail
;
13563 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13564 if (SWIG_arg_fail(2)) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (arg1
)->GetCustomColour(arg2
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13574 wxColour
* resultptr
;
13575 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13584 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
= NULL
;
13586 wxColourData
*arg1
= (wxColourData
*) 0 ;
13588 PyObject
* obj0
= 0 ;
13589 PyObject
* obj1
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self",(char *) "flag", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13596 if (SWIG_arg_fail(1)) SWIG_fail
;
13598 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13599 if (SWIG_arg_fail(2)) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 (arg1
)->SetChooseFull(arg2
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 Py_INCREF(Py_None
); resultobj
= Py_None
;
13615 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
= NULL
;
13617 wxColourData
*arg1
= (wxColourData
*) 0 ;
13618 wxColour
*arg2
= 0 ;
13620 PyObject
* obj0
= 0 ;
13621 PyObject
* obj1
= 0 ;
13622 char *kwnames
[] = {
13623 (char *) "self",(char *) "colour", NULL
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13628 if (SWIG_arg_fail(1)) SWIG_fail
;
13631 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 (arg1
)->SetColour((wxColour
const &)*arg2
);
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 Py_INCREF(Py_None
); resultobj
= Py_None
;
13647 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
= NULL
;
13649 wxColourData
*arg1
= (wxColourData
*) 0 ;
13651 wxColour
*arg3
= 0 ;
13653 PyObject
* obj0
= 0 ;
13654 PyObject
* obj1
= 0 ;
13655 PyObject
* obj2
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self",(char *) "i",(char *) "colour", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13662 if (SWIG_arg_fail(1)) SWIG_fail
;
13664 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13665 if (SWIG_arg_fail(2)) SWIG_fail
;
13669 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13675 wxPyEndAllowThreads(__tstate
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 Py_INCREF(Py_None
); resultobj
= Py_None
;
13685 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13688 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13690 return Py_BuildValue((char *)"");
13692 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
= NULL
;
13694 wxWindow
*arg1
= (wxWindow
*) 0 ;
13695 wxColourData
*arg2
= (wxColourData
*) NULL
;
13696 wxColourDialog
*result
;
13697 PyObject
* obj0
= 0 ;
13698 PyObject
* obj1
= 0 ;
13699 char *kwnames
[] = {
13700 (char *) "parent",(char *) "data", NULL
13703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13705 if (SWIG_arg_fail(1)) SWIG_fail
;
13707 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13708 if (SWIG_arg_fail(2)) SWIG_fail
;
13711 if (!wxPyCheckForApp()) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13725 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
= NULL
;
13727 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13728 wxColourData
*result
;
13729 PyObject
* obj0
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13736 if (SWIG_arg_fail(1)) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13741 result
= (wxColourData
*) &_result_ref
;
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13754 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13757 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13759 return Py_BuildValue((char *)"");
13761 static PyObject
*_wrap_GetColourFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
= NULL
;
13763 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
13764 wxColour
const &arg2_defvalue
= wxNullColour
;
13765 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
13766 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13767 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13770 bool temp3
= false ;
13771 PyObject
* obj0
= 0 ;
13772 PyObject
* obj1
= 0 ;
13773 PyObject
* obj2
= 0 ;
13774 char *kwnames
[] = {
13775 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13781 if (SWIG_arg_fail(1)) SWIG_fail
;
13786 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13791 arg3
= wxString_in_helper(obj2
);
13792 if (arg3
== NULL
) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13804 wxColour
* resultptr
;
13805 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13822 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
= NULL
;
13824 wxWindow
*arg1
= (wxWindow
*) 0 ;
13825 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13826 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13827 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13828 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13829 long arg4
= (long) 0 ;
13830 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13831 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13832 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13833 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13834 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13835 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13836 wxDirDialog
*result
;
13837 bool temp2
= false ;
13838 bool temp3
= false ;
13841 bool temp7
= false ;
13842 PyObject
* obj0
= 0 ;
13843 PyObject
* obj1
= 0 ;
13844 PyObject
* obj2
= 0 ;
13845 PyObject
* obj3
= 0 ;
13846 PyObject
* obj4
= 0 ;
13847 PyObject
* obj5
= 0 ;
13848 PyObject
* obj6
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13855 if (SWIG_arg_fail(1)) SWIG_fail
;
13858 arg2
= wxString_in_helper(obj1
);
13859 if (arg2
== NULL
) SWIG_fail
;
13865 arg3
= wxString_in_helper(obj2
);
13866 if (arg3
== NULL
) SWIG_fail
;
13872 arg4
= static_cast<long >(SWIG_As_long(obj3
));
13873 if (SWIG_arg_fail(4)) SWIG_fail
;
13879 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13885 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13890 arg7
= wxString_in_helper(obj6
);
13891 if (arg7
== NULL
) SWIG_fail
;
13896 if (!wxPyCheckForApp()) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13934 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
= NULL
;
13936 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13938 PyObject
* obj0
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "self", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13945 if (SWIG_arg_fail(1)) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= (arg1
)->GetPath();
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13966 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13967 PyObject
*resultobj
= NULL
;
13968 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13970 PyObject
* obj0
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13977 if (SWIG_arg_fail(1)) SWIG_fail
;
13979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13980 result
= (arg1
)->GetMessage();
13982 wxPyEndAllowThreads(__tstate
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13998 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
= NULL
;
14000 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14009 if (SWIG_arg_fail(1)) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= (long)(arg1
)->GetStyle();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_From_long(static_cast<long >(result
));
14026 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
= NULL
;
14028 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14029 wxString
*arg2
= 0 ;
14030 bool temp2
= false ;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 char *kwnames
[] = {
14034 (char *) "self",(char *) "message", NULL
14037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14039 if (SWIG_arg_fail(1)) SWIG_fail
;
14041 arg2
= wxString_in_helper(obj1
);
14042 if (arg2
== NULL
) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 (arg1
)->SetMessage((wxString
const &)*arg2
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
= NULL
;
14069 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14070 wxString
*arg2
= 0 ;
14071 bool temp2
= false ;
14072 PyObject
* obj0
= 0 ;
14073 PyObject
* obj1
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self",(char *) "path", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14080 if (SWIG_arg_fail(1)) SWIG_fail
;
14082 arg2
= wxString_in_helper(obj1
);
14083 if (arg2
== NULL
) SWIG_fail
;
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 (arg1
)->SetPath((wxString
const &)*arg2
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 Py_INCREF(Py_None
); resultobj
= Py_None
;
14108 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
14110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14111 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
14113 return Py_BuildValue((char *)"");
14115 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
= NULL
;
14117 wxWindow
*arg1
= (wxWindow
*) 0 ;
14118 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
14119 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14120 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14121 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14122 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14123 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14124 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14125 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14126 long arg6
= (long) 0 ;
14127 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14128 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14129 wxFileDialog
*result
;
14130 bool temp2
= false ;
14131 bool temp3
= false ;
14132 bool temp4
= false ;
14133 bool temp5
= false ;
14135 PyObject
* obj0
= 0 ;
14136 PyObject
* obj1
= 0 ;
14137 PyObject
* obj2
= 0 ;
14138 PyObject
* obj3
= 0 ;
14139 PyObject
* obj4
= 0 ;
14140 PyObject
* obj5
= 0 ;
14141 PyObject
* obj6
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14148 if (SWIG_arg_fail(1)) SWIG_fail
;
14151 arg2
= wxString_in_helper(obj1
);
14152 if (arg2
== NULL
) SWIG_fail
;
14158 arg3
= wxString_in_helper(obj2
);
14159 if (arg3
== NULL
) SWIG_fail
;
14165 arg4
= wxString_in_helper(obj3
);
14166 if (arg4
== NULL
) SWIG_fail
;
14172 arg5
= wxString_in_helper(obj4
);
14173 if (arg5
== NULL
) SWIG_fail
;
14179 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14180 if (SWIG_arg_fail(6)) SWIG_fail
;
14186 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14190 if (!wxPyCheckForApp()) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14236 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
= NULL
;
14238 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14239 wxString
*arg2
= 0 ;
14240 bool temp2
= false ;
14241 PyObject
* obj0
= 0 ;
14242 PyObject
* obj1
= 0 ;
14243 char *kwnames
[] = {
14244 (char *) "self",(char *) "message", NULL
14247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14249 if (SWIG_arg_fail(1)) SWIG_fail
;
14251 arg2
= wxString_in_helper(obj1
);
14252 if (arg2
== NULL
) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 (arg1
)->SetMessage((wxString
const &)*arg2
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 Py_INCREF(Py_None
); resultobj
= Py_None
;
14277 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
= NULL
;
14279 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14280 wxString
*arg2
= 0 ;
14281 bool temp2
= false ;
14282 PyObject
* obj0
= 0 ;
14283 PyObject
* obj1
= 0 ;
14284 char *kwnames
[] = {
14285 (char *) "self",(char *) "path", NULL
14288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14290 if (SWIG_arg_fail(1)) SWIG_fail
;
14292 arg2
= wxString_in_helper(obj1
);
14293 if (arg2
== NULL
) SWIG_fail
;
14297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14298 (arg1
)->SetPath((wxString
const &)*arg2
);
14300 wxPyEndAllowThreads(__tstate
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14303 Py_INCREF(Py_None
); resultobj
= Py_None
;
14318 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14319 PyObject
*resultobj
= NULL
;
14320 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14321 wxString
*arg2
= 0 ;
14322 bool temp2
= false ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "dir", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail
;
14333 arg2
= wxString_in_helper(obj1
);
14334 if (arg2
== NULL
) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 Py_INCREF(Py_None
); resultobj
= Py_None
;
14359 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
= NULL
;
14361 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14362 wxString
*arg2
= 0 ;
14363 bool temp2
= false ;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 char *kwnames
[] = {
14367 (char *) "self",(char *) "name", NULL
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14372 if (SWIG_arg_fail(1)) SWIG_fail
;
14374 arg2
= wxString_in_helper(obj1
);
14375 if (arg2
== NULL
) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 (arg1
)->SetFilename((wxString
const &)*arg2
);
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 Py_INCREF(Py_None
); resultobj
= Py_None
;
14400 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
= NULL
;
14402 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14403 wxString
*arg2
= 0 ;
14404 bool temp2
= false ;
14405 PyObject
* obj0
= 0 ;
14406 PyObject
* obj1
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self",(char *) "wildCard", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14413 if (SWIG_arg_fail(1)) SWIG_fail
;
14415 arg2
= wxString_in_helper(obj1
);
14416 if (arg2
== NULL
) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 Py_INCREF(Py_None
); resultobj
= Py_None
;
14441 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
= NULL
;
14443 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14445 PyObject
* obj0
= 0 ;
14446 PyObject
* obj1
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self",(char *) "style", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",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
= static_cast<long >(SWIG_As_long(obj1
));
14456 if (SWIG_arg_fail(2)) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 (arg1
)->SetStyle(arg2
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 Py_INCREF(Py_None
); resultobj
= Py_None
;
14472 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
= NULL
;
14474 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self",(char *) "filterIndex", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14484 if (SWIG_arg_fail(1)) SWIG_fail
;
14486 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14487 if (SWIG_arg_fail(2)) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 (arg1
)->SetFilterIndex(arg2
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 Py_INCREF(Py_None
); resultobj
= Py_None
;
14503 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
= NULL
;
14505 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14514 if (SWIG_arg_fail(1)) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14535 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
= NULL
;
14537 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14546 if (SWIG_arg_fail(1)) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14567 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
= NULL
;
14569 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14571 PyObject
* obj0
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "self", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14578 if (SWIG_arg_fail(1)) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14599 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
= NULL
;
14601 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14610 if (SWIG_arg_fail(1)) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14631 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
= NULL
;
14633 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "self", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14642 if (SWIG_arg_fail(1)) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14663 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
= NULL
;
14665 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14674 if (SWIG_arg_fail(1)) SWIG_fail
;
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14679 wxPyEndAllowThreads(__tstate
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_From_long(static_cast<long >(result
));
14691 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
= NULL
;
14693 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 char *kwnames
[] = {
14697 (char *) "self", NULL
14700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14702 if (SWIG_arg_fail(1)) SWIG_fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= SWIG_From_int(static_cast<int >(result
));
14719 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
= NULL
;
14721 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14730 if (SWIG_arg_fail(1)) SWIG_fail
;
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= result
;
14745 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
= NULL
;
14747 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14756 if (SWIG_arg_fail(1)) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= result
;
14771 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14774 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14776 return Py_BuildValue((char *)"");
14778 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
= NULL
;
14780 wxWindow
*arg1
= (wxWindow
*) 0 ;
14781 wxString
*arg2
= 0 ;
14782 wxString
*arg3
= 0 ;
14783 int arg4
= (int) 0 ;
14784 wxString
*arg5
= (wxString
*) NULL
;
14785 long arg6
= (long) wxCHOICEDLG_STYLE
;
14786 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14787 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14788 wxMultiChoiceDialog
*result
;
14789 bool temp2
= false ;
14790 bool temp3
= false ;
14792 PyObject
* obj0
= 0 ;
14793 PyObject
* obj1
= 0 ;
14794 PyObject
* obj2
= 0 ;
14795 PyObject
* obj3
= 0 ;
14796 PyObject
* obj4
= 0 ;
14797 PyObject
* obj5
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14804 if (SWIG_arg_fail(1)) SWIG_fail
;
14806 arg2
= wxString_in_helper(obj1
);
14807 if (arg2
== NULL
) SWIG_fail
;
14811 arg3
= wxString_in_helper(obj2
);
14812 if (arg3
== NULL
) SWIG_fail
;
14817 arg4
= PyList_Size(obj3
);
14818 arg5
= wxString_LIST_helper(obj3
);
14819 if (arg5
== NULL
) SWIG_fail
;
14824 arg6
= static_cast<long >(SWIG_As_long(obj4
));
14825 if (SWIG_arg_fail(6)) SWIG_fail
;
14831 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14835 if (!wxPyCheckForApp()) SWIG_fail
;
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14852 if (arg5
) delete [] arg5
;
14865 if (arg5
) delete [] arg5
;
14871 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14872 PyObject
*resultobj
= NULL
;
14873 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14874 wxArrayInt
*arg2
= 0 ;
14875 bool temp2
= false ;
14876 PyObject
* obj0
= 0 ;
14877 PyObject
* obj1
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self",(char *) "selections", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14884 if (SWIG_arg_fail(1)) SWIG_fail
;
14886 if (! PySequence_Check(obj1
)) {
14887 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14890 arg2
= new wxArrayInt
;
14892 int i
, len
=PySequence_Length(obj1
);
14893 for (i
=0; i
<len
; i
++) {
14894 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14895 PyObject
* number
= PyNumber_Int(item
);
14896 arg2
->Add(PyInt_AS_LONG(number
));
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 Py_INCREF(Py_None
); resultobj
= Py_None
;
14910 if (temp2
) delete arg2
;
14915 if (temp2
) delete arg2
;
14921 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
= NULL
;
14923 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14932 if (SWIG_arg_fail(1)) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= result
;
14947 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14950 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14952 return Py_BuildValue((char *)"");
14954 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
= NULL
;
14956 wxWindow
*arg1
= (wxWindow
*) 0 ;
14957 wxString
*arg2
= 0 ;
14958 wxString
*arg3
= 0 ;
14960 wxString
*arg5
= (wxString
*) 0 ;
14961 long arg6
= (long) wxCHOICEDLG_STYLE
;
14962 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14963 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14964 wxSingleChoiceDialog
*result
;
14965 bool temp2
= false ;
14966 bool temp3
= false ;
14968 PyObject
* obj0
= 0 ;
14969 PyObject
* obj1
= 0 ;
14970 PyObject
* obj2
= 0 ;
14971 PyObject
* obj3
= 0 ;
14972 PyObject
* obj4
= 0 ;
14973 PyObject
* obj5
= 0 ;
14974 char *kwnames
[] = {
14975 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14980 if (SWIG_arg_fail(1)) SWIG_fail
;
14982 arg2
= wxString_in_helper(obj1
);
14983 if (arg2
== NULL
) SWIG_fail
;
14987 arg3
= wxString_in_helper(obj2
);
14988 if (arg3
== NULL
) SWIG_fail
;
14992 arg4
= PyList_Size(obj3
);
14993 arg5
= wxString_LIST_helper(obj3
);
14994 if (arg5
== NULL
) SWIG_fail
;
14998 arg6
= static_cast<long >(SWIG_As_long(obj4
));
14999 if (SWIG_arg_fail(6)) SWIG_fail
;
15005 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15009 if (!wxPyCheckForApp()) SWIG_fail
;
15010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
15026 if (arg5
) delete [] arg5
;
15039 if (arg5
) delete [] arg5
;
15045 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15046 PyObject
*resultobj
= NULL
;
15047 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
15055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15056 if (SWIG_arg_fail(1)) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (int)(arg1
)->GetSelection();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= SWIG_From_int(static_cast<int >(result
));
15073 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
= NULL
;
15075 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15077 PyObject
* obj0
= 0 ;
15078 char *kwnames
[] = {
15079 (char *) "self", NULL
15082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
15083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15084 if (SWIG_arg_fail(1)) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (arg1
)->GetStringSelection();
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15105 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
= NULL
;
15107 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 char *kwnames
[] = {
15112 (char *) "self",(char *) "sel", NULL
15115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15117 if (SWIG_arg_fail(1)) SWIG_fail
;
15119 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15120 if (SWIG_arg_fail(2)) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 (arg1
)->SetSelection(arg2
);
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 Py_INCREF(Py_None
); resultobj
= Py_None
;
15136 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15139 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15141 return Py_BuildValue((char *)"");
15143 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
= NULL
;
15145 wxWindow
*arg1
= (wxWindow
*) 0 ;
15146 wxString
*arg2
= 0 ;
15147 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15148 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15149 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15150 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15151 long arg5
= (long) wxTextEntryDialogStyle
;
15152 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15153 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15154 wxTextEntryDialog
*result
;
15155 bool temp2
= false ;
15156 bool temp3
= false ;
15157 bool temp4
= false ;
15159 PyObject
* obj0
= 0 ;
15160 PyObject
* obj1
= 0 ;
15161 PyObject
* obj2
= 0 ;
15162 PyObject
* obj3
= 0 ;
15163 PyObject
* obj4
= 0 ;
15164 PyObject
* obj5
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15171 if (SWIG_arg_fail(1)) SWIG_fail
;
15173 arg2
= wxString_in_helper(obj1
);
15174 if (arg2
== NULL
) SWIG_fail
;
15179 arg3
= wxString_in_helper(obj2
);
15180 if (arg3
== NULL
) SWIG_fail
;
15186 arg4
= wxString_in_helper(obj3
);
15187 if (arg4
== NULL
) SWIG_fail
;
15193 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15194 if (SWIG_arg_fail(5)) SWIG_fail
;
15200 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15204 if (!wxPyCheckForApp()) SWIG_fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15242 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
= NULL
;
15244 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15253 if (SWIG_arg_fail(1)) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (arg1
)->GetValue();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15274 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
= NULL
;
15276 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15277 wxString
*arg2
= 0 ;
15278 bool temp2
= false ;
15279 PyObject
* obj0
= 0 ;
15280 PyObject
* obj1
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self",(char *) "value", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15287 if (SWIG_arg_fail(1)) SWIG_fail
;
15289 arg2
= wxString_in_helper(obj1
);
15290 if (arg2
== NULL
) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 (arg1
)->SetValue((wxString
const &)*arg2
);
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 Py_INCREF(Py_None
); resultobj
= Py_None
;
15315 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15318 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15320 return Py_BuildValue((char *)"");
15322 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15323 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15328 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15329 PyObject
*pyobj
= NULL
;
15333 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15335 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15342 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
= NULL
;
15344 wxWindow
*arg1
= (wxWindow
*) 0 ;
15345 wxString
*arg2
= 0 ;
15346 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15347 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15348 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15349 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15350 long arg5
= (long) wxTextEntryDialogStyle
;
15351 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15352 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15353 wxPasswordEntryDialog
*result
;
15354 bool temp2
= false ;
15355 bool temp3
= false ;
15356 bool temp4
= false ;
15358 PyObject
* obj0
= 0 ;
15359 PyObject
* obj1
= 0 ;
15360 PyObject
* obj2
= 0 ;
15361 PyObject
* obj3
= 0 ;
15362 PyObject
* obj4
= 0 ;
15363 PyObject
* obj5
= 0 ;
15364 char *kwnames
[] = {
15365 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15370 if (SWIG_arg_fail(1)) SWIG_fail
;
15372 arg2
= wxString_in_helper(obj1
);
15373 if (arg2
== NULL
) SWIG_fail
;
15378 arg3
= wxString_in_helper(obj2
);
15379 if (arg3
== NULL
) SWIG_fail
;
15385 arg4
= wxString_in_helper(obj3
);
15386 if (arg4
== NULL
) SWIG_fail
;
15392 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15393 if (SWIG_arg_fail(5)) SWIG_fail
;
15399 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15440 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15443 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15445 return Py_BuildValue((char *)"");
15447 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
= NULL
;
15449 wxFontData
*result
;
15450 char *kwnames
[] = {
15454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 result
= (wxFontData
*)new wxFontData();
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15469 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
= NULL
;
15471 wxFontData
*arg1
= (wxFontData
*) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "self", NULL
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15479 if (SWIG_arg_fail(1)) SWIG_fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15487 Py_INCREF(Py_None
); resultobj
= Py_None
;
15494 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
= NULL
;
15496 wxFontData
*arg1
= (wxFontData
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 PyObject
* obj1
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self",(char *) "enable", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15506 if (SWIG_arg_fail(1)) SWIG_fail
;
15508 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15509 if (SWIG_arg_fail(2)) SWIG_fail
;
15512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15513 (arg1
)->EnableEffects(arg2
);
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 Py_INCREF(Py_None
); resultobj
= Py_None
;
15525 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
= NULL
;
15527 wxFontData
*arg1
= (wxFontData
*) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15536 if (SWIG_arg_fail(1)) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 result
= (bool)(arg1
)->GetAllowSymbols();
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15553 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
= NULL
;
15555 wxFontData
*arg1
= (wxFontData
*) 0 ;
15557 PyObject
* obj0
= 0 ;
15558 char *kwnames
[] = {
15559 (char *) "self", NULL
15562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15564 if (SWIG_arg_fail(1)) SWIG_fail
;
15566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15567 result
= (arg1
)->GetColour();
15569 wxPyEndAllowThreads(__tstate
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15573 wxColour
* resultptr
;
15574 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
15575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15583 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
= NULL
;
15585 wxFontData
*arg1
= (wxFontData
*) 0 ;
15587 PyObject
* obj0
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "self", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15594 if (SWIG_arg_fail(1)) SWIG_fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 result
= (arg1
)->GetChosenFont();
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15603 wxFont
* resultptr
;
15604 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15613 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
= NULL
;
15615 wxFontData
*arg1
= (wxFontData
*) 0 ;
15617 PyObject
* obj0
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "self", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15624 if (SWIG_arg_fail(1)) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (bool)(arg1
)->GetEnableEffects();
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15641 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15642 PyObject
*resultobj
= NULL
;
15643 wxFontData
*arg1
= (wxFontData
*) 0 ;
15645 PyObject
* obj0
= 0 ;
15646 char *kwnames
[] = {
15647 (char *) "self", NULL
15650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15652 if (SWIG_arg_fail(1)) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (arg1
)->GetInitialFont();
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15661 wxFont
* resultptr
;
15662 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15671 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
= NULL
;
15673 wxFontData
*arg1
= (wxFontData
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15682 if (SWIG_arg_fail(1)) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (bool)(arg1
)->GetShowHelp();
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15699 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
= NULL
;
15701 wxFontData
*arg1
= (wxFontData
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self",(char *) "allowSymbols", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15711 if (SWIG_arg_fail(1)) SWIG_fail
;
15713 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15714 if (SWIG_arg_fail(2)) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 (arg1
)->SetAllowSymbols(arg2
);
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 Py_INCREF(Py_None
); resultobj
= Py_None
;
15730 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
= NULL
;
15732 wxFontData
*arg1
= (wxFontData
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "self",(char *) "font", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15742 if (SWIG_arg_fail(1)) SWIG_fail
;
15744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15745 if (SWIG_arg_fail(2)) SWIG_fail
;
15746 if (arg2
== NULL
) {
15747 SWIG_null_ref("wxFont");
15749 if (SWIG_arg_fail(2)) SWIG_fail
;
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 Py_INCREF(Py_None
); resultobj
= Py_None
;
15765 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15766 PyObject
*resultobj
= NULL
;
15767 wxFontData
*arg1
= (wxFontData
*) 0 ;
15768 wxColour
*arg2
= 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self",(char *) "colour", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15778 if (SWIG_arg_fail(1)) SWIG_fail
;
15781 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 (arg1
)->SetColour((wxColour
const &)*arg2
);
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 Py_INCREF(Py_None
); resultobj
= Py_None
;
15797 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
= NULL
;
15799 wxFontData
*arg1
= (wxFontData
*) 0 ;
15801 PyObject
* obj0
= 0 ;
15802 PyObject
* obj1
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self",(char *) "font", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15809 if (SWIG_arg_fail(1)) SWIG_fail
;
15811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15812 if (SWIG_arg_fail(2)) SWIG_fail
;
15813 if (arg2
== NULL
) {
15814 SWIG_null_ref("wxFont");
15816 if (SWIG_arg_fail(2)) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 Py_INCREF(Py_None
); resultobj
= Py_None
;
15832 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
= NULL
;
15834 wxFontData
*arg1
= (wxFontData
*) 0 ;
15837 PyObject
* obj0
= 0 ;
15838 PyObject
* obj1
= 0 ;
15839 PyObject
* obj2
= 0 ;
15840 char *kwnames
[] = {
15841 (char *) "self",(char *) "min",(char *) "max", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15846 if (SWIG_arg_fail(1)) SWIG_fail
;
15848 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15849 if (SWIG_arg_fail(2)) SWIG_fail
;
15852 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15853 if (SWIG_arg_fail(3)) SWIG_fail
;
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 (arg1
)->SetRange(arg2
,arg3
);
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 Py_INCREF(Py_None
); resultobj
= Py_None
;
15869 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
= NULL
;
15871 wxFontData
*arg1
= (wxFontData
*) 0 ;
15873 PyObject
* obj0
= 0 ;
15874 PyObject
* obj1
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self",(char *) "showHelp", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15881 if (SWIG_arg_fail(1)) SWIG_fail
;
15883 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15884 if (SWIG_arg_fail(2)) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 (arg1
)->SetShowHelp(arg2
);
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15893 Py_INCREF(Py_None
); resultobj
= Py_None
;
15900 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15903 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15905 return Py_BuildValue((char *)"");
15907 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
= NULL
;
15909 wxWindow
*arg1
= (wxWindow
*) 0 ;
15910 wxFontData
*arg2
= 0 ;
15911 wxFontDialog
*result
;
15912 PyObject
* obj0
= 0 ;
15913 PyObject
* obj1
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "parent",(char *) "data", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15920 if (SWIG_arg_fail(1)) SWIG_fail
;
15922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15923 if (SWIG_arg_fail(2)) SWIG_fail
;
15924 if (arg2
== NULL
) {
15925 SWIG_null_ref("wxFontData");
15927 if (SWIG_arg_fail(2)) SWIG_fail
;
15930 if (!wxPyCheckForApp()) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15944 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
= NULL
;
15946 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15947 wxFontData
*result
;
15948 PyObject
* obj0
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15955 if (SWIG_arg_fail(1)) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15960 result
= (wxFontData
*) &_result_ref
;
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15973 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15976 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15978 return Py_BuildValue((char *)"");
15980 static PyObject
*_wrap_GetFontFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
= NULL
;
15982 wxWindow
*arg1
= (wxWindow
*) NULL
;
15983 wxFont
const &arg2_defvalue
= wxNullFont
;
15984 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
15985 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15986 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15988 bool temp3
= false ;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 PyObject
* obj2
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15999 if (SWIG_arg_fail(1)) SWIG_fail
;
16003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16004 if (SWIG_arg_fail(2)) SWIG_fail
;
16005 if (arg2
== NULL
) {
16006 SWIG_null_ref("wxFont");
16008 if (SWIG_arg_fail(2)) SWIG_fail
;
16013 arg3
= wxString_in_helper(obj2
);
16014 if (arg3
== NULL
) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16026 wxFont
* resultptr
;
16027 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
16028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16044 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
= NULL
;
16046 wxWindow
*arg1
= (wxWindow
*) 0 ;
16047 wxString
*arg2
= 0 ;
16048 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
16049 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16050 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
16051 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16052 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16053 wxMessageDialog
*result
;
16054 bool temp2
= false ;
16055 bool temp3
= false ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 PyObject
* obj2
= 0 ;
16060 PyObject
* obj3
= 0 ;
16061 PyObject
* obj4
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16068 if (SWIG_arg_fail(1)) SWIG_fail
;
16070 arg2
= wxString_in_helper(obj1
);
16071 if (arg2
== NULL
) SWIG_fail
;
16076 arg3
= wxString_in_helper(obj2
);
16077 if (arg3
== NULL
) SWIG_fail
;
16083 arg4
= static_cast<long >(SWIG_As_long(obj3
));
16084 if (SWIG_arg_fail(4)) SWIG_fail
;
16090 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16094 if (!wxPyCheckForApp()) SWIG_fail
;
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
16124 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
16126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16127 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
16129 return Py_BuildValue((char *)"");
16131 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
= NULL
;
16133 wxString
*arg1
= 0 ;
16134 wxString
*arg2
= 0 ;
16135 int arg3
= (int) 100 ;
16136 wxWindow
*arg4
= (wxWindow
*) NULL
;
16137 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
16138 wxProgressDialog
*result
;
16139 bool temp1
= false ;
16140 bool temp2
= false ;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 PyObject
* obj2
= 0 ;
16144 PyObject
* obj3
= 0 ;
16145 PyObject
* obj4
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16152 arg1
= wxString_in_helper(obj0
);
16153 if (arg1
== NULL
) SWIG_fail
;
16157 arg2
= wxString_in_helper(obj1
);
16158 if (arg2
== NULL
) SWIG_fail
;
16163 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16164 if (SWIG_arg_fail(3)) SWIG_fail
;
16168 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16169 if (SWIG_arg_fail(4)) SWIG_fail
;
16173 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16174 if (SWIG_arg_fail(5)) SWIG_fail
;
16178 if (!wxPyCheckForApp()) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16208 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
= NULL
;
16210 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16212 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16213 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16215 bool temp3
= false ;
16216 PyObject
* obj0
= 0 ;
16217 PyObject
* obj1
= 0 ;
16218 PyObject
* obj2
= 0 ;
16219 char *kwnames
[] = {
16220 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16225 if (SWIG_arg_fail(1)) SWIG_fail
;
16227 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16228 if (SWIG_arg_fail(2)) SWIG_fail
;
16232 arg3
= wxString_in_helper(obj2
);
16233 if (arg3
== NULL
) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16261 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
= NULL
;
16263 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16264 PyObject
* obj0
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "self", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16271 if (SWIG_arg_fail(1)) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 Py_INCREF(Py_None
); resultobj
= Py_None
;
16286 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16289 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16291 return Py_BuildValue((char *)"");
16293 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16294 PyObject
*resultobj
= NULL
;
16295 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16296 int arg2
= (int) 0 ;
16297 wxFindDialogEvent
*result
;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "commandType",(char *) "id", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16307 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
16308 if (SWIG_arg_fail(1)) SWIG_fail
;
16313 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16314 if (SWIG_arg_fail(2)) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16331 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
= NULL
;
16333 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16335 PyObject
* obj0
= 0 ;
16336 char *kwnames
[] = {
16337 (char *) "self", NULL
16340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16342 if (SWIG_arg_fail(1)) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 result
= (int)(arg1
)->GetFlags();
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= SWIG_From_int(static_cast<int >(result
));
16359 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
= NULL
;
16361 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16370 if (SWIG_arg_fail(1)) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 wxString
const &_result_ref
= (arg1
)->GetFindString();
16375 result
= (wxString
*) &_result_ref
;
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16383 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16385 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16394 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16395 PyObject
*resultobj
= NULL
;
16396 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16405 if (SWIG_arg_fail(1)) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16410 result
= (wxString
*) &_result_ref
;
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16420 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16429 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
= NULL
;
16431 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16432 wxFindReplaceDialog
*result
;
16433 PyObject
* obj0
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16440 if (SWIG_arg_fail(1)) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16455 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
= NULL
;
16457 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 char *kwnames
[] = {
16462 (char *) "self",(char *) "flags", NULL
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16467 if (SWIG_arg_fail(1)) SWIG_fail
;
16469 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16470 if (SWIG_arg_fail(2)) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 (arg1
)->SetFlags(arg2
);
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16479 Py_INCREF(Py_None
); resultobj
= Py_None
;
16486 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
= NULL
;
16488 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16489 wxString
*arg2
= 0 ;
16490 bool temp2
= false ;
16491 PyObject
* obj0
= 0 ;
16492 PyObject
* obj1
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "self",(char *) "str", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16499 if (SWIG_arg_fail(1)) SWIG_fail
;
16501 arg2
= wxString_in_helper(obj1
);
16502 if (arg2
== NULL
) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 (arg1
)->SetFindString((wxString
const &)*arg2
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 Py_INCREF(Py_None
); resultobj
= Py_None
;
16527 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
= NULL
;
16529 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16530 wxString
*arg2
= 0 ;
16531 bool temp2
= false ;
16532 PyObject
* obj0
= 0 ;
16533 PyObject
* obj1
= 0 ;
16534 char *kwnames
[] = {
16535 (char *) "self",(char *) "str", NULL
16538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16540 if (SWIG_arg_fail(1)) SWIG_fail
;
16542 arg2
= wxString_in_helper(obj1
);
16543 if (arg2
== NULL
) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 Py_INCREF(Py_None
); resultobj
= Py_None
;
16568 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16571 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16573 return Py_BuildValue((char *)"");
16575 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
= NULL
;
16577 int arg1
= (int) 0 ;
16578 wxFindReplaceData
*result
;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "flags", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16587 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16588 if (SWIG_arg_fail(1)) SWIG_fail
;
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16605 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
= NULL
;
16607 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16608 PyObject
* obj0
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16615 if (SWIG_arg_fail(1)) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 Py_INCREF(Py_None
); resultobj
= Py_None
;
16630 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
= NULL
;
16632 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16634 PyObject
* obj0
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "self", NULL
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16641 if (SWIG_arg_fail(1)) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 wxString
const &_result_ref
= (arg1
)->GetFindString();
16646 result
= (wxString
*) &_result_ref
;
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16656 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16665 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
= NULL
;
16667 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16676 if (SWIG_arg_fail(1)) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16681 result
= (wxString
*) &_result_ref
;
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16689 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16691 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16700 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
= NULL
;
16702 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16711 if (SWIG_arg_fail(1)) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 result
= (int)(arg1
)->GetFlags();
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= SWIG_From_int(static_cast<int >(result
));
16728 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
= NULL
;
16730 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "self",(char *) "flags", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16740 if (SWIG_arg_fail(1)) SWIG_fail
;
16742 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16743 if (SWIG_arg_fail(2)) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 (arg1
)->SetFlags(arg2
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 Py_INCREF(Py_None
); resultobj
= Py_None
;
16759 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
= NULL
;
16761 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16762 wxString
*arg2
= 0 ;
16763 bool temp2
= false ;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "self",(char *) "str", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16772 if (SWIG_arg_fail(1)) SWIG_fail
;
16774 arg2
= wxString_in_helper(obj1
);
16775 if (arg2
== NULL
) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 (arg1
)->SetFindString((wxString
const &)*arg2
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 Py_INCREF(Py_None
); resultobj
= Py_None
;
16800 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
= NULL
;
16802 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16803 wxString
*arg2
= 0 ;
16804 bool temp2
= false ;
16805 PyObject
* obj0
= 0 ;
16806 PyObject
* obj1
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self",(char *) "str", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16813 if (SWIG_arg_fail(1)) SWIG_fail
;
16815 arg2
= wxString_in_helper(obj1
);
16816 if (arg2
== NULL
) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 Py_INCREF(Py_None
); resultobj
= Py_None
;
16841 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16844 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16846 return Py_BuildValue((char *)"");
16848 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
= NULL
;
16850 wxWindow
*arg1
= (wxWindow
*) 0 ;
16851 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16852 wxString
*arg3
= 0 ;
16853 int arg4
= (int) 0 ;
16854 wxFindReplaceDialog
*result
;
16855 bool temp3
= false ;
16856 PyObject
* obj0
= 0 ;
16857 PyObject
* obj1
= 0 ;
16858 PyObject
* obj2
= 0 ;
16859 PyObject
* obj3
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16866 if (SWIG_arg_fail(1)) SWIG_fail
;
16867 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16868 if (SWIG_arg_fail(2)) SWIG_fail
;
16870 arg3
= wxString_in_helper(obj2
);
16871 if (arg3
== NULL
) SWIG_fail
;
16876 arg4
= static_cast<int >(SWIG_As_int(obj3
));
16877 if (SWIG_arg_fail(4)) SWIG_fail
;
16881 if (!wxPyCheckForApp()) SWIG_fail
;
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16903 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
= NULL
;
16905 wxFindReplaceDialog
*result
;
16906 char *kwnames
[] = {
16910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16912 if (!wxPyCheckForApp()) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16926 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
= NULL
;
16928 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16929 wxWindow
*arg2
= (wxWindow
*) 0 ;
16930 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16931 wxString
*arg4
= 0 ;
16932 int arg5
= (int) 0 ;
16934 bool temp4
= false ;
16935 PyObject
* obj0
= 0 ;
16936 PyObject
* obj1
= 0 ;
16937 PyObject
* obj2
= 0 ;
16938 PyObject
* obj3
= 0 ;
16939 PyObject
* obj4
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16946 if (SWIG_arg_fail(1)) SWIG_fail
;
16947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16948 if (SWIG_arg_fail(2)) SWIG_fail
;
16949 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16950 if (SWIG_arg_fail(3)) SWIG_fail
;
16952 arg4
= wxString_in_helper(obj3
);
16953 if (arg4
== NULL
) SWIG_fail
;
16958 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16959 if (SWIG_arg_fail(5)) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16986 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
= NULL
;
16988 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16989 wxFindReplaceData
*result
;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16997 if (SWIG_arg_fail(1)) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (wxFindReplaceData
*)(arg1
)->GetData();
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
17012 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
= NULL
;
17014 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17015 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self",(char *) "data", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17024 if (SWIG_arg_fail(1)) SWIG_fail
;
17025 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17026 if (SWIG_arg_fail(2)) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 (arg1
)->SetData(arg2
);
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17034 Py_INCREF(Py_None
); resultobj
= Py_None
;
17041 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
17043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17044 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
17046 return Py_BuildValue((char *)"");
17048 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
= NULL
;
17050 wxWindow
*arg1
= (wxWindow
*) 0 ;
17051 int arg2
= (int) (int)-1 ;
17052 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17053 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17054 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17055 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17056 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17057 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17058 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17059 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17060 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17061 wxMDIParentFrame
*result
;
17062 bool temp3
= false ;
17065 bool temp7
= false ;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 PyObject
* obj2
= 0 ;
17069 PyObject
* obj3
= 0 ;
17070 PyObject
* obj4
= 0 ;
17071 PyObject
* obj5
= 0 ;
17072 PyObject
* obj6
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17079 if (SWIG_arg_fail(1)) SWIG_fail
;
17082 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17083 if (SWIG_arg_fail(2)) SWIG_fail
;
17088 arg3
= wxString_in_helper(obj2
);
17089 if (arg3
== NULL
) SWIG_fail
;
17096 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17102 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17107 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17108 if (SWIG_arg_fail(6)) SWIG_fail
;
17113 arg7
= wxString_in_helper(obj6
);
17114 if (arg7
== NULL
) SWIG_fail
;
17119 if (!wxPyCheckForApp()) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17149 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
= NULL
;
17151 wxMDIParentFrame
*result
;
17152 char *kwnames
[] = {
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
17158 if (!wxPyCheckForApp()) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17172 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
= NULL
;
17174 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17175 wxWindow
*arg2
= (wxWindow
*) 0 ;
17176 int arg3
= (int) (int)-1 ;
17177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17183 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17184 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17185 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17187 bool temp4
= false ;
17190 bool temp8
= false ;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj1
= 0 ;
17193 PyObject
* obj2
= 0 ;
17194 PyObject
* obj3
= 0 ;
17195 PyObject
* obj4
= 0 ;
17196 PyObject
* obj5
= 0 ;
17197 PyObject
* obj6
= 0 ;
17198 PyObject
* obj7
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17205 if (SWIG_arg_fail(1)) SWIG_fail
;
17206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17207 if (SWIG_arg_fail(2)) SWIG_fail
;
17210 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17211 if (SWIG_arg_fail(3)) SWIG_fail
;
17216 arg4
= wxString_in_helper(obj3
);
17217 if (arg4
== NULL
) SWIG_fail
;
17224 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17230 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17235 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17236 if (SWIG_arg_fail(7)) SWIG_fail
;
17241 arg8
= wxString_in_helper(obj7
);
17242 if (arg8
== NULL
) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17278 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
= NULL
;
17280 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 char *kwnames
[] = {
17283 (char *) "self", NULL
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17288 if (SWIG_arg_fail(1)) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 (arg1
)->ActivateNext();
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 Py_INCREF(Py_None
); resultobj
= Py_None
;
17303 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
= NULL
;
17305 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17306 PyObject
* obj0
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "self", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17313 if (SWIG_arg_fail(1)) SWIG_fail
;
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 (arg1
)->ActivatePrevious();
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 Py_INCREF(Py_None
); resultobj
= Py_None
;
17328 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
= NULL
;
17330 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17331 PyObject
* obj0
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "self", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17338 if (SWIG_arg_fail(1)) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 (arg1
)->ArrangeIcons();
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 Py_INCREF(Py_None
); resultobj
= Py_None
;
17353 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
= NULL
;
17355 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17356 PyObject
* obj0
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail
;
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 Py_INCREF(Py_None
); resultobj
= Py_None
;
17378 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
= NULL
;
17380 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17381 wxMDIChildFrame
*result
;
17382 PyObject
* obj0
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17389 if (SWIG_arg_fail(1)) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17406 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
= NULL
;
17408 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17409 wxMDIClientWindow
*result
;
17410 PyObject
* obj0
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17417 if (SWIG_arg_fail(1)) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17434 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
= NULL
;
17436 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17438 PyObject
* obj0
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17445 if (SWIG_arg_fail(1)) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (wxWindow
*)(arg1
)->GetToolBar();
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= wxPyMake_wxObject(result
, 0);
17462 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
= NULL
;
17464 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17465 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17466 PyObject
* obj0
= 0 ;
17467 PyObject
* obj1
= 0 ;
17468 char *kwnames
[] = {
17469 (char *) "self",(char *) "orient", NULL
17472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17474 if (SWIG_arg_fail(1)) SWIG_fail
;
17477 arg2
= static_cast<wxOrientation
>(SWIG_As_int(obj1
));
17478 if (SWIG_arg_fail(2)) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 (arg1
)->Tile(arg2
);
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 Py_INCREF(Py_None
); resultobj
= Py_None
;
17495 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17498 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17500 return Py_BuildValue((char *)"");
17502 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
= NULL
;
17504 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17505 int arg2
= (int) (int)-1 ;
17506 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17507 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17508 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17509 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17510 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17511 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17512 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17513 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17514 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17515 wxMDIChildFrame
*result
;
17516 bool temp3
= false ;
17519 bool temp7
= false ;
17520 PyObject
* obj0
= 0 ;
17521 PyObject
* obj1
= 0 ;
17522 PyObject
* obj2
= 0 ;
17523 PyObject
* obj3
= 0 ;
17524 PyObject
* obj4
= 0 ;
17525 PyObject
* obj5
= 0 ;
17526 PyObject
* obj6
= 0 ;
17527 char *kwnames
[] = {
17528 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17533 if (SWIG_arg_fail(1)) SWIG_fail
;
17536 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17537 if (SWIG_arg_fail(2)) SWIG_fail
;
17542 arg3
= wxString_in_helper(obj2
);
17543 if (arg3
== NULL
) SWIG_fail
;
17550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17561 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17562 if (SWIG_arg_fail(6)) SWIG_fail
;
17567 arg7
= wxString_in_helper(obj6
);
17568 if (arg7
== NULL
) SWIG_fail
;
17573 if (!wxPyCheckForApp()) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17603 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
= NULL
;
17605 wxMDIChildFrame
*result
;
17606 char *kwnames
[] = {
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17612 if (!wxPyCheckForApp()) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17626 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
= NULL
;
17628 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17629 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17630 int arg3
= (int) (int)-1 ;
17631 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17632 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17633 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17634 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17635 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17636 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17637 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17638 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17639 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17641 bool temp4
= false ;
17644 bool temp8
= false ;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 PyObject
* obj2
= 0 ;
17648 PyObject
* obj3
= 0 ;
17649 PyObject
* obj4
= 0 ;
17650 PyObject
* obj5
= 0 ;
17651 PyObject
* obj6
= 0 ;
17652 PyObject
* obj7
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17659 if (SWIG_arg_fail(1)) SWIG_fail
;
17660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17661 if (SWIG_arg_fail(2)) SWIG_fail
;
17664 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17665 if (SWIG_arg_fail(3)) SWIG_fail
;
17670 arg4
= wxString_in_helper(obj3
);
17671 if (arg4
== NULL
) SWIG_fail
;
17678 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17684 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17689 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17690 if (SWIG_arg_fail(7)) SWIG_fail
;
17695 arg8
= wxString_in_helper(obj7
);
17696 if (arg8
== NULL
) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17732 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
= NULL
;
17734 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17742 if (SWIG_arg_fail(1)) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 (arg1
)->Activate();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17750 Py_INCREF(Py_None
); resultobj
= Py_None
;
17757 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
= NULL
;
17759 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17760 bool arg2
= (bool) true ;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self",(char *) "maximize", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17769 if (SWIG_arg_fail(1)) SWIG_fail
;
17772 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17773 if (SWIG_arg_fail(2)) SWIG_fail
;
17777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 (arg1
)->Maximize(arg2
);
17780 wxPyEndAllowThreads(__tstate
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17783 Py_INCREF(Py_None
); resultobj
= Py_None
;
17790 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
= NULL
;
17792 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 Py_INCREF(Py_None
); resultobj
= Py_None
;
17815 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17818 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17820 return Py_BuildValue((char *)"");
17822 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
= NULL
;
17824 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17825 long arg2
= (long) 0 ;
17826 wxMDIClientWindow
*result
;
17827 PyObject
* obj0
= 0 ;
17828 PyObject
* obj1
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "parent",(char *) "style", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17835 if (SWIG_arg_fail(1)) SWIG_fail
;
17838 arg2
= static_cast<long >(SWIG_As_long(obj1
));
17839 if (SWIG_arg_fail(2)) SWIG_fail
;
17843 if (!wxPyCheckForApp()) SWIG_fail
;
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17857 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
= NULL
;
17859 wxMDIClientWindow
*result
;
17860 char *kwnames
[] = {
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17866 if (!wxPyCheckForApp()) SWIG_fail
;
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17880 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
= NULL
;
17882 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17883 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17884 long arg3
= (long) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 PyObject
* obj2
= 0 ;
17889 char *kwnames
[] = {
17890 (char *) "self",(char *) "parent",(char *) "style", NULL
17893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17895 if (SWIG_arg_fail(1)) SWIG_fail
;
17896 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17897 if (SWIG_arg_fail(2)) SWIG_fail
;
17900 arg3
= static_cast<long >(SWIG_As_long(obj2
));
17901 if (SWIG_arg_fail(3)) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17920 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17923 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17925 return Py_BuildValue((char *)"");
17927 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
= NULL
;
17929 wxWindow
*arg1
= (wxWindow
*) 0 ;
17930 int arg2
= (int) (int)-1 ;
17931 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17932 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17933 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17934 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17935 long arg5
= (long) 0 ;
17936 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17937 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17938 wxPyWindow
*result
;
17941 bool temp6
= false ;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 PyObject
* obj2
= 0 ;
17945 PyObject
* obj3
= 0 ;
17946 PyObject
* obj4
= 0 ;
17947 PyObject
* obj5
= 0 ;
17948 char *kwnames
[] = {
17949 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17954 if (SWIG_arg_fail(1)) SWIG_fail
;
17957 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17958 if (SWIG_arg_fail(2)) SWIG_fail
;
17964 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17970 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17975 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17976 if (SWIG_arg_fail(5)) SWIG_fail
;
17981 arg6
= wxString_in_helper(obj5
);
17982 if (arg6
== NULL
) SWIG_fail
;
17987 if (!wxPyCheckForApp()) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18009 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
= NULL
;
18011 wxPyWindow
*result
;
18012 char *kwnames
[] = {
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
18018 if (!wxPyCheckForApp()) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (wxPyWindow
*)new wxPyWindow();
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18032 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
= NULL
;
18034 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18035 PyObject
*arg2
= (PyObject
*) 0 ;
18036 PyObject
*arg3
= (PyObject
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18039 PyObject
* obj2
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self",(char *) "self",(char *) "_class", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18046 if (SWIG_arg_fail(1)) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 Py_INCREF(Py_None
); resultobj
= Py_None
;
18063 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
= NULL
;
18065 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self",(char *) "size", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18076 if (SWIG_arg_fail(1)) SWIG_fail
;
18079 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18085 wxPyEndAllowThreads(__tstate
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 Py_INCREF(Py_None
); resultobj
= Py_None
;
18095 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18096 PyObject
*resultobj
= NULL
;
18097 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18098 wxDC
*arg2
= (wxDC
*) 0 ;
18100 PyObject
* obj0
= 0 ;
18101 PyObject
* obj1
= 0 ;
18102 char *kwnames
[] = {
18103 (char *) "self",(char *) "dc", NULL
18106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18108 if (SWIG_arg_fail(1)) SWIG_fail
;
18109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18110 if (SWIG_arg_fail(2)) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18127 static PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
= NULL
;
18129 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 PyObject
* obj2
= 0 ;
18137 PyObject
* obj3
= 0 ;
18138 PyObject
* obj4
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18145 if (SWIG_arg_fail(1)) SWIG_fail
;
18147 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18148 if (SWIG_arg_fail(2)) SWIG_fail
;
18151 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18152 if (SWIG_arg_fail(3)) SWIG_fail
;
18155 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18156 if (SWIG_arg_fail(4)) SWIG_fail
;
18159 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18160 if (SWIG_arg_fail(5)) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 Py_INCREF(Py_None
); resultobj
= Py_None
;
18176 static PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
= NULL
;
18178 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18183 int arg6
= (int) wxSIZE_AUTO
;
18184 PyObject
* obj0
= 0 ;
18185 PyObject
* obj1
= 0 ;
18186 PyObject
* obj2
= 0 ;
18187 PyObject
* obj3
= 0 ;
18188 PyObject
* obj4
= 0 ;
18189 PyObject
* obj5
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18196 if (SWIG_arg_fail(1)) SWIG_fail
;
18198 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18199 if (SWIG_arg_fail(2)) SWIG_fail
;
18202 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18203 if (SWIG_arg_fail(3)) SWIG_fail
;
18206 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18207 if (SWIG_arg_fail(4)) SWIG_fail
;
18210 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18211 if (SWIG_arg_fail(5)) SWIG_fail
;
18215 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18216 if (SWIG_arg_fail(6)) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 Py_INCREF(Py_None
); resultobj
= Py_None
;
18233 static PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
= NULL
;
18235 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18238 PyObject
* obj0
= 0 ;
18239 PyObject
* obj1
= 0 ;
18240 PyObject
* obj2
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self",(char *) "width",(char *) "height", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18247 if (SWIG_arg_fail(1)) SWIG_fail
;
18249 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18250 if (SWIG_arg_fail(2)) SWIG_fail
;
18253 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18254 if (SWIG_arg_fail(3)) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 (arg1
)->DoSetClientSize(arg2
,arg3
);
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 Py_INCREF(Py_None
); resultobj
= Py_None
;
18270 static PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
= NULL
;
18272 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18275 PyObject
* obj0
= 0 ;
18276 PyObject
* obj1
= 0 ;
18277 PyObject
* obj2
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self",(char *) "x",(char *) "y", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18284 if (SWIG_arg_fail(1)) SWIG_fail
;
18286 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18287 if (SWIG_arg_fail(2)) SWIG_fail
;
18290 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18291 if (SWIG_arg_fail(3)) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 Py_INCREF(Py_None
); resultobj
= Py_None
;
18307 static PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
= NULL
;
18309 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18310 int *arg2
= (int *) 0 ;
18311 int *arg3
= (int *) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "self", NULL
18321 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18322 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
18324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18325 if (SWIG_arg_fail(1)) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 Py_INCREF(Py_None
); resultobj
= Py_None
;
18334 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18335 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18336 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18337 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18344 static PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
= NULL
;
18346 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18347 int *arg2
= (int *) 0 ;
18348 int *arg3
= (int *) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self", NULL
18358 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18359 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18362 if (SWIG_arg_fail(1)) SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 Py_INCREF(Py_None
); resultobj
= Py_None
;
18371 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18372 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18373 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18374 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18381 static PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
= NULL
;
18383 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18384 int *arg2
= (int *) 0 ;
18385 int *arg3
= (int *) 0 ;
18390 PyObject
* obj0
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "self", NULL
18395 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18396 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18399 if (SWIG_arg_fail(1)) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 Py_INCREF(Py_None
); resultobj
= Py_None
;
18408 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18409 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18410 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18411 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18418 static PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
= NULL
;
18420 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18422 PyObject
* obj0
= 0 ;
18423 char *kwnames
[] = {
18424 (char *) "self", NULL
18427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18429 if (SWIG_arg_fail(1)) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 wxSize
* resultptr
;
18439 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18448 static PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
= NULL
;
18450 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18452 PyObject
* obj0
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18459 if (SWIG_arg_fail(1)) SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18468 wxSize
* resultptr
;
18469 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18478 static PyObject
*_wrap_PyWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
= NULL
;
18480 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18481 PyObject
* obj0
= 0 ;
18482 char *kwnames
[] = {
18483 (char *) "self", NULL
18486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
18487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18488 if (SWIG_arg_fail(1)) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 (arg1
)->InitDialog();
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 Py_INCREF(Py_None
); resultobj
= Py_None
;
18503 static PyObject
*_wrap_PyWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
= NULL
;
18505 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18507 PyObject
* obj0
= 0 ;
18508 char *kwnames
[] = {
18509 (char *) "self", NULL
18512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18514 if (SWIG_arg_fail(1)) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (bool)(arg1
)->TransferDataToWindow();
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18531 static PyObject
*_wrap_PyWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
= NULL
;
18533 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18535 PyObject
* obj0
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18542 if (SWIG_arg_fail(1)) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (bool)(arg1
)->TransferDataFromWindow();
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18559 static PyObject
*_wrap_PyWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
= NULL
;
18561 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 char *kwnames
[] = {
18565 (char *) "self", NULL
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_Validate",kwnames
,&obj0
)) goto fail
;
18569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18570 if (SWIG_arg_fail(1)) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 result
= (bool)(arg1
)->Validate();
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18587 static PyObject
*_wrap_PyWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
= NULL
;
18589 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18591 PyObject
* obj0
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "self", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18598 if (SWIG_arg_fail(1)) SWIG_fail
;
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocus();
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18615 static PyObject
*_wrap_PyWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
= NULL
;
18617 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18626 if (SWIG_arg_fail(1)) SWIG_fail
;
18628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18629 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
18631 wxPyEndAllowThreads(__tstate
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18643 static PyObject
*_wrap_PyWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
= NULL
;
18645 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18654 if (SWIG_arg_fail(1)) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= ((wxPyWindow
const *)arg1
)->GetMaxSize();
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18663 wxSize
* resultptr
;
18664 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18673 static PyObject
*_wrap_PyWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
= NULL
;
18675 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18676 wxWindow
*arg2
= (wxWindow
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self",(char *) "child", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18685 if (SWIG_arg_fail(1)) SWIG_fail
;
18686 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18687 if (SWIG_arg_fail(2)) SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 (arg1
)->AddChild(arg2
);
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 Py_INCREF(Py_None
); resultobj
= Py_None
;
18702 static PyObject
*_wrap_PyWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
= NULL
;
18704 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18705 wxWindow
*arg2
= (wxWindow
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 PyObject
* obj1
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self",(char *) "child", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18714 if (SWIG_arg_fail(1)) SWIG_fail
;
18715 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18716 if (SWIG_arg_fail(2)) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 (arg1
)->RemoveChild(arg2
);
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 Py_INCREF(Py_None
); resultobj
= Py_None
;
18731 static PyObject
*_wrap_PyWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
= NULL
;
18733 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18742 if (SWIG_arg_fail(1)) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (bool)((wxPyWindow
const *)arg1
)->ShouldInheritColours();
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18759 static PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
= NULL
;
18761 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18762 wxVisualAttributes result
;
18763 PyObject
* obj0
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18770 if (SWIG_arg_fail(1)) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (arg1
)->GetDefaultAttributes();
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18779 wxVisualAttributes
* resultptr
;
18780 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
18781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18789 static PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
= NULL
;
18791 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18792 PyObject
* obj0
= 0 ;
18793 char *kwnames
[] = {
18794 (char *) "self", NULL
18797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
18798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18799 if (SWIG_arg_fail(1)) SWIG_fail
;
18801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18802 (arg1
)->OnInternalIdle();
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18807 Py_INCREF(Py_None
); resultobj
= Py_None
;
18814 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18817 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18819 return Py_BuildValue((char *)"");
18821 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
= NULL
;
18823 wxWindow
*arg1
= (wxWindow
*) 0 ;
18824 int arg2
= (int) (int)-1 ;
18825 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18826 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18827 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18828 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18829 long arg5
= (long) 0 ;
18830 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18831 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18835 bool temp6
= false ;
18836 PyObject
* obj0
= 0 ;
18837 PyObject
* obj1
= 0 ;
18838 PyObject
* obj2
= 0 ;
18839 PyObject
* obj3
= 0 ;
18840 PyObject
* obj4
= 0 ;
18841 PyObject
* obj5
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18848 if (SWIG_arg_fail(1)) SWIG_fail
;
18851 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
18852 if (SWIG_arg_fail(2)) SWIG_fail
;
18858 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18864 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18869 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18870 if (SWIG_arg_fail(5)) SWIG_fail
;
18875 arg6
= wxString_in_helper(obj5
);
18876 if (arg6
== NULL
) SWIG_fail
;
18881 if (!wxPyCheckForApp()) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18903 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
= NULL
;
18906 char *kwnames
[] = {
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18912 if (!wxPyCheckForApp()) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 result
= (wxPyPanel
*)new wxPyPanel();
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18926 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
= NULL
;
18928 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18929 PyObject
*arg2
= (PyObject
*) 0 ;
18930 PyObject
*arg3
= (PyObject
*) 0 ;
18931 PyObject
* obj0
= 0 ;
18932 PyObject
* obj1
= 0 ;
18933 PyObject
* obj2
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self",(char *) "self",(char *) "_class", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18940 if (SWIG_arg_fail(1)) SWIG_fail
;
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18945 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18947 wxPyEndAllowThreads(__tstate
);
18948 if (PyErr_Occurred()) SWIG_fail
;
18950 Py_INCREF(Py_None
); resultobj
= Py_None
;
18957 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18958 PyObject
*resultobj
= NULL
;
18959 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 PyObject
* obj1
= 0 ;
18964 char *kwnames
[] = {
18965 (char *) "self",(char *) "size", NULL
18968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18970 if (SWIG_arg_fail(1)) SWIG_fail
;
18973 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 Py_INCREF(Py_None
); resultobj
= Py_None
;
18989 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
= NULL
;
18991 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18992 wxDC
*arg2
= (wxDC
*) 0 ;
18994 PyObject
* obj0
= 0 ;
18995 PyObject
* obj1
= 0 ;
18996 char *kwnames
[] = {
18997 (char *) "self",(char *) "dc", NULL
19000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19002 if (SWIG_arg_fail(1)) SWIG_fail
;
19003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19004 if (SWIG_arg_fail(2)) SWIG_fail
;
19006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19007 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19009 wxPyEndAllowThreads(__tstate
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19021 static PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
= NULL
;
19023 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19028 PyObject
* obj0
= 0 ;
19029 PyObject
* obj1
= 0 ;
19030 PyObject
* obj2
= 0 ;
19031 PyObject
* obj3
= 0 ;
19032 PyObject
* obj4
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19039 if (SWIG_arg_fail(1)) SWIG_fail
;
19041 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19042 if (SWIG_arg_fail(2)) SWIG_fail
;
19045 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19046 if (SWIG_arg_fail(3)) SWIG_fail
;
19049 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19050 if (SWIG_arg_fail(4)) SWIG_fail
;
19053 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19054 if (SWIG_arg_fail(5)) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19058 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 Py_INCREF(Py_None
); resultobj
= Py_None
;
19070 static PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
= NULL
;
19072 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19077 int arg6
= (int) wxSIZE_AUTO
;
19078 PyObject
* obj0
= 0 ;
19079 PyObject
* obj1
= 0 ;
19080 PyObject
* obj2
= 0 ;
19081 PyObject
* obj3
= 0 ;
19082 PyObject
* obj4
= 0 ;
19083 PyObject
* obj5
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19090 if (SWIG_arg_fail(1)) SWIG_fail
;
19092 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19093 if (SWIG_arg_fail(2)) SWIG_fail
;
19096 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19097 if (SWIG_arg_fail(3)) SWIG_fail
;
19100 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19101 if (SWIG_arg_fail(4)) SWIG_fail
;
19104 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19105 if (SWIG_arg_fail(5)) SWIG_fail
;
19109 arg6
= static_cast<int >(SWIG_As_int(obj5
));
19110 if (SWIG_arg_fail(6)) SWIG_fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 Py_INCREF(Py_None
); resultobj
= Py_None
;
19127 static PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
= NULL
;
19129 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 PyObject
* obj1
= 0 ;
19134 PyObject
* obj2
= 0 ;
19135 char *kwnames
[] = {
19136 (char *) "self",(char *) "width",(char *) "height", NULL
19139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19141 if (SWIG_arg_fail(1)) SWIG_fail
;
19143 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19144 if (SWIG_arg_fail(2)) SWIG_fail
;
19147 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19148 if (SWIG_arg_fail(3)) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 (arg1
)->DoSetClientSize(arg2
,arg3
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 Py_INCREF(Py_None
); resultobj
= Py_None
;
19164 static PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
= NULL
;
19166 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 PyObject
* obj2
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "x",(char *) "y", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19178 if (SWIG_arg_fail(1)) SWIG_fail
;
19180 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19181 if (SWIG_arg_fail(2)) SWIG_fail
;
19184 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19185 if (SWIG_arg_fail(3)) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 Py_INCREF(Py_None
); resultobj
= Py_None
;
19201 static PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
= NULL
;
19203 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19204 int *arg2
= (int *) 0 ;
19205 int *arg3
= (int *) 0 ;
19210 PyObject
* obj0
= 0 ;
19211 char *kwnames
[] = {
19212 (char *) "self", NULL
19215 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19216 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetSize",kwnames
,&obj0
)) goto fail
;
19218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19219 if (SWIG_arg_fail(1)) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 Py_INCREF(Py_None
); resultobj
= Py_None
;
19228 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19229 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19230 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19231 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19238 static PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
= NULL
;
19240 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19241 int *arg2
= (int *) 0 ;
19242 int *arg3
= (int *) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self", NULL
19252 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19253 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19256 if (SWIG_arg_fail(1)) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 Py_INCREF(Py_None
); resultobj
= Py_None
;
19265 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19266 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19267 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19268 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19275 static PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
= NULL
;
19277 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19278 int *arg2
= (int *) 0 ;
19279 int *arg3
= (int *) 0 ;
19284 PyObject
* obj0
= 0 ;
19285 char *kwnames
[] = {
19286 (char *) "self", NULL
19289 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19290 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19293 if (SWIG_arg_fail(1)) SWIG_fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 Py_INCREF(Py_None
); resultobj
= Py_None
;
19302 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19303 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19304 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19305 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19312 static PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
= NULL
;
19314 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19316 PyObject
* obj0
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19323 if (SWIG_arg_fail(1)) SWIG_fail
;
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
19328 wxPyEndAllowThreads(__tstate
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19332 wxSize
* resultptr
;
19333 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19342 static PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
= NULL
;
19344 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19353 if (SWIG_arg_fail(1)) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19362 wxSize
* resultptr
;
19363 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19372 static PyObject
*_wrap_PyPanel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
= NULL
;
19374 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_InitDialog",kwnames
,&obj0
)) goto fail
;
19381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19382 if (SWIG_arg_fail(1)) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 (arg1
)->InitDialog();
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 Py_INCREF(Py_None
); resultobj
= Py_None
;
19397 static PyObject
*_wrap_PyPanel_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
= NULL
;
19399 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19401 PyObject
* obj0
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19408 if (SWIG_arg_fail(1)) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (bool)(arg1
)->TransferDataToWindow();
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19425 static PyObject
*_wrap_PyPanel_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
= NULL
;
19427 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19429 PyObject
* obj0
= 0 ;
19430 char *kwnames
[] = {
19431 (char *) "self", NULL
19434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19436 if (SWIG_arg_fail(1)) SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= (bool)(arg1
)->TransferDataFromWindow();
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19453 static PyObject
*_wrap_PyPanel_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
= NULL
;
19455 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19457 PyObject
* obj0
= 0 ;
19458 char *kwnames
[] = {
19459 (char *) "self", NULL
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_Validate",kwnames
,&obj0
)) goto fail
;
19463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19464 if (SWIG_arg_fail(1)) SWIG_fail
;
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 result
= (bool)(arg1
)->Validate();
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19481 static PyObject
*_wrap_PyPanel_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
= NULL
;
19483 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19485 PyObject
* obj0
= 0 ;
19486 char *kwnames
[] = {
19487 (char *) "self", NULL
19490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19492 if (SWIG_arg_fail(1)) SWIG_fail
;
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocus();
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19509 static PyObject
*_wrap_PyPanel_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
= NULL
;
19511 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19513 PyObject
* obj0
= 0 ;
19514 char *kwnames
[] = {
19515 (char *) "self", NULL
19518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19520 if (SWIG_arg_fail(1)) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocusFromKeyboard();
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19537 static PyObject
*_wrap_PyPanel_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
= NULL
;
19539 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19541 PyObject
* obj0
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19548 if (SWIG_arg_fail(1)) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= ((wxPyPanel
const *)arg1
)->GetMaxSize();
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19557 wxSize
* resultptr
;
19558 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19567 static PyObject
*_wrap_PyPanel_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
= NULL
;
19569 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19570 wxWindow
*arg2
= (wxWindow
*) 0 ;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self",(char *) "child", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail
;
19580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19581 if (SWIG_arg_fail(2)) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 (arg1
)->AddChild(arg2
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 Py_INCREF(Py_None
); resultobj
= Py_None
;
19596 static PyObject
*_wrap_PyPanel_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
= NULL
;
19598 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19599 wxWindow
*arg2
= (wxWindow
*) 0 ;
19600 PyObject
* obj0
= 0 ;
19601 PyObject
* obj1
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self",(char *) "child", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19608 if (SWIG_arg_fail(1)) SWIG_fail
;
19609 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19610 if (SWIG_arg_fail(2)) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 (arg1
)->RemoveChild(arg2
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 Py_INCREF(Py_None
); resultobj
= Py_None
;
19625 static PyObject
*_wrap_PyPanel_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
= NULL
;
19627 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19629 PyObject
* obj0
= 0 ;
19630 char *kwnames
[] = {
19631 (char *) "self", NULL
19634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19636 if (SWIG_arg_fail(1)) SWIG_fail
;
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 result
= (bool)((wxPyPanel
const *)arg1
)->ShouldInheritColours();
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19653 static PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
= NULL
;
19655 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19656 wxVisualAttributes result
;
19657 PyObject
* obj0
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19664 if (SWIG_arg_fail(1)) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (arg1
)->GetDefaultAttributes();
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19673 wxVisualAttributes
* resultptr
;
19674 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19683 static PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
= NULL
;
19685 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19686 PyObject
* obj0
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "self", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19693 if (SWIG_arg_fail(1)) SWIG_fail
;
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 (arg1
)->OnInternalIdle();
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19701 Py_INCREF(Py_None
); resultobj
= Py_None
;
19708 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19711 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19713 return Py_BuildValue((char *)"");
19715 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
= NULL
;
19717 wxWindow
*arg1
= (wxWindow
*) 0 ;
19718 int arg2
= (int) (int)-1 ;
19719 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19720 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19721 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19722 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19723 long arg5
= (long) 0 ;
19724 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19725 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19726 wxPyScrolledWindow
*result
;
19729 bool temp6
= false ;
19730 PyObject
* obj0
= 0 ;
19731 PyObject
* obj1
= 0 ;
19732 PyObject
* obj2
= 0 ;
19733 PyObject
* obj3
= 0 ;
19734 PyObject
* obj4
= 0 ;
19735 PyObject
* obj5
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19742 if (SWIG_arg_fail(1)) SWIG_fail
;
19745 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
19746 if (SWIG_arg_fail(2)) SWIG_fail
;
19752 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19758 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19763 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19764 if (SWIG_arg_fail(5)) SWIG_fail
;
19769 arg6
= wxString_in_helper(obj5
);
19770 if (arg6
== NULL
) SWIG_fail
;
19775 if (!wxPyCheckForApp()) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19797 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
= NULL
;
19799 wxPyScrolledWindow
*result
;
19800 char *kwnames
[] = {
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19806 if (!wxPyCheckForApp()) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19820 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
= NULL
;
19822 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19823 PyObject
*arg2
= (PyObject
*) 0 ;
19824 PyObject
*arg3
= (PyObject
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 PyObject
* obj1
= 0 ;
19827 PyObject
* obj2
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self",(char *) "self",(char *) "_class", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19834 if (SWIG_arg_fail(1)) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 Py_INCREF(Py_None
); resultobj
= Py_None
;
19851 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
= NULL
;
19853 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19856 PyObject
* obj0
= 0 ;
19857 PyObject
* obj1
= 0 ;
19858 char *kwnames
[] = {
19859 (char *) "self",(char *) "size", NULL
19862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19864 if (SWIG_arg_fail(1)) SWIG_fail
;
19867 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 Py_INCREF(Py_None
); resultobj
= Py_None
;
19883 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
= NULL
;
19885 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19886 wxDC
*arg2
= (wxDC
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self",(char *) "dc", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19896 if (SWIG_arg_fail(1)) SWIG_fail
;
19897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19898 if (SWIG_arg_fail(2)) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19915 static PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
= NULL
;
19917 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19922 PyObject
* obj0
= 0 ;
19923 PyObject
* obj1
= 0 ;
19924 PyObject
* obj2
= 0 ;
19925 PyObject
* obj3
= 0 ;
19926 PyObject
* obj4
= 0 ;
19927 char *kwnames
[] = {
19928 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19933 if (SWIG_arg_fail(1)) SWIG_fail
;
19935 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19936 if (SWIG_arg_fail(2)) SWIG_fail
;
19939 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19940 if (SWIG_arg_fail(3)) SWIG_fail
;
19943 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19944 if (SWIG_arg_fail(4)) SWIG_fail
;
19947 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19948 if (SWIG_arg_fail(5)) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 Py_INCREF(Py_None
); resultobj
= Py_None
;
19964 static PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
= NULL
;
19966 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19971 int arg6
= (int) wxSIZE_AUTO
;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 PyObject
* obj2
= 0 ;
19975 PyObject
* obj3
= 0 ;
19976 PyObject
* obj4
= 0 ;
19977 PyObject
* obj5
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19984 if (SWIG_arg_fail(1)) SWIG_fail
;
19986 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19987 if (SWIG_arg_fail(2)) SWIG_fail
;
19990 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19991 if (SWIG_arg_fail(3)) SWIG_fail
;
19994 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19995 if (SWIG_arg_fail(4)) SWIG_fail
;
19998 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19999 if (SWIG_arg_fail(5)) SWIG_fail
;
20003 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20004 if (SWIG_arg_fail(6)) SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 Py_INCREF(Py_None
); resultobj
= Py_None
;
20021 static PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
= NULL
;
20023 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20026 PyObject
* obj0
= 0 ;
20027 PyObject
* obj1
= 0 ;
20028 PyObject
* obj2
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self",(char *) "width",(char *) "height", NULL
20033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20035 if (SWIG_arg_fail(1)) SWIG_fail
;
20037 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20038 if (SWIG_arg_fail(2)) SWIG_fail
;
20041 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20042 if (SWIG_arg_fail(3)) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 (arg1
)->DoSetClientSize(arg2
,arg3
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 Py_INCREF(Py_None
); resultobj
= Py_None
;
20058 static PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
= NULL
;
20060 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 PyObject
* obj2
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self",(char *) "x",(char *) "y", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20072 if (SWIG_arg_fail(1)) SWIG_fail
;
20074 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20075 if (SWIG_arg_fail(2)) SWIG_fail
;
20078 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20079 if (SWIG_arg_fail(3)) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 Py_INCREF(Py_None
); resultobj
= Py_None
;
20095 static PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
= NULL
;
20097 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20098 int *arg2
= (int *) 0 ;
20099 int *arg3
= (int *) 0 ;
20104 PyObject
* obj0
= 0 ;
20105 char *kwnames
[] = {
20106 (char *) "self", NULL
20109 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20110 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
20112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20113 if (SWIG_arg_fail(1)) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20121 Py_INCREF(Py_None
); resultobj
= Py_None
;
20122 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20123 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20124 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20125 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20132 static PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
= NULL
;
20134 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20135 int *arg2
= (int *) 0 ;
20136 int *arg3
= (int *) 0 ;
20141 PyObject
* obj0
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self", NULL
20146 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20147 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
20149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail
;
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20158 Py_INCREF(Py_None
); resultobj
= Py_None
;
20159 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20160 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20161 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20162 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20169 static PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
= NULL
;
20171 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20172 int *arg2
= (int *) 0 ;
20173 int *arg3
= (int *) 0 ;
20178 PyObject
* obj0
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self", NULL
20183 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20184 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
20186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20187 if (SWIG_arg_fail(1)) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 Py_INCREF(Py_None
); resultobj
= Py_None
;
20196 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20197 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20198 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20199 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20206 static PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
= NULL
;
20208 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
20216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20217 if (SWIG_arg_fail(1)) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20226 wxSize
* resultptr
;
20227 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20236 static PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
= NULL
;
20238 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20240 PyObject
* obj0
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20247 if (SWIG_arg_fail(1)) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20256 wxSize
* resultptr
;
20257 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20266 static PyObject
*_wrap_PyScrolledWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
= NULL
;
20268 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20269 PyObject
* obj0
= 0 ;
20270 char *kwnames
[] = {
20271 (char *) "self", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
20275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20276 if (SWIG_arg_fail(1)) SWIG_fail
;
20278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20279 (arg1
)->InitDialog();
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20284 Py_INCREF(Py_None
); resultobj
= Py_None
;
20291 static PyObject
*_wrap_PyScrolledWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20292 PyObject
*resultobj
= NULL
;
20293 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20295 PyObject
* obj0
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "self", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20302 if (SWIG_arg_fail(1)) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 result
= (bool)(arg1
)->TransferDataToWindow();
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20319 static PyObject
*_wrap_PyScrolledWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
= NULL
;
20321 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20330 if (SWIG_arg_fail(1)) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= (bool)(arg1
)->TransferDataFromWindow();
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20347 static PyObject
*_wrap_PyScrolledWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
= NULL
;
20349 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_Validate",kwnames
,&obj0
)) goto fail
;
20357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20358 if (SWIG_arg_fail(1)) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 result
= (bool)(arg1
)->Validate();
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20375 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
= NULL
;
20377 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20379 PyObject
* obj0
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20386 if (SWIG_arg_fail(1)) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocus();
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20403 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
= NULL
;
20405 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20407 PyObject
* obj0
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20414 if (SWIG_arg_fail(1)) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20431 static PyObject
*_wrap_PyScrolledWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
= NULL
;
20433 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20435 PyObject
* obj0
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20442 if (SWIG_arg_fail(1)) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= ((wxPyScrolledWindow
const *)arg1
)->GetMaxSize();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20451 wxSize
* resultptr
;
20452 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20461 static PyObject
*_wrap_PyScrolledWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
= NULL
;
20463 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20464 wxWindow
*arg2
= (wxWindow
*) 0 ;
20465 PyObject
* obj0
= 0 ;
20466 PyObject
* obj1
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self",(char *) "child", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail
;
20474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20475 if (SWIG_arg_fail(2)) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->AddChild(arg2
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 Py_INCREF(Py_None
); resultobj
= Py_None
;
20490 static PyObject
*_wrap_PyScrolledWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
= NULL
;
20492 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20493 wxWindow
*arg2
= (wxWindow
*) 0 ;
20494 PyObject
* obj0
= 0 ;
20495 PyObject
* obj1
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self",(char *) "child", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20502 if (SWIG_arg_fail(1)) SWIG_fail
;
20503 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20504 if (SWIG_arg_fail(2)) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 (arg1
)->RemoveChild(arg2
);
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20512 Py_INCREF(Py_None
); resultobj
= Py_None
;
20519 static PyObject
*_wrap_PyScrolledWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
= NULL
;
20521 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->ShouldInheritColours();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20547 static PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= NULL
;
20549 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20550 wxVisualAttributes result
;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (arg1
)->GetDefaultAttributes();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 wxVisualAttributes
* resultptr
;
20568 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
20569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20577 static PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
= NULL
;
20579 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 char *kwnames
[] = {
20582 (char *) "self", NULL
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20587 if (SWIG_arg_fail(1)) SWIG_fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 (arg1
)->OnInternalIdle();
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 Py_INCREF(Py_None
); resultobj
= Py_None
;
20602 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20605 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20607 return Py_BuildValue((char *)"");
20609 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20610 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20615 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20616 PyObject
*pyobj
= NULL
;
20620 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20622 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20629 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20630 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20635 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20636 PyObject
*pyobj
= NULL
;
20640 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20642 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20649 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20650 PyObject
*resultobj
= NULL
;
20651 wxPrintData
*result
;
20653 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= (wxPrintData
*)new wxPrintData();
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20668 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20669 PyObject
*resultobj
= NULL
;
20670 wxPrintData
*arg1
= 0 ;
20671 wxPrintData
*result
;
20672 PyObject
* obj0
= 0 ;
20674 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20677 if (SWIG_arg_fail(1)) SWIG_fail
;
20678 if (arg1
== NULL
) {
20679 SWIG_null_ref("wxPrintData");
20681 if (SWIG_arg_fail(1)) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20697 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20702 argc
= PyObject_Length(args
);
20703 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20704 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20707 return _wrap_new_PrintData__SWIG_0(self
,args
);
20713 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20721 return _wrap_new_PrintData__SWIG_1(self
,args
);
20725 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20730 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
= NULL
;
20732 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20740 if (SWIG_arg_fail(1)) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 Py_INCREF(Py_None
); resultobj
= Py_None
;
20755 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
= NULL
;
20757 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 char *kwnames
[] = {
20761 (char *) "self", NULL
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20766 if (SWIG_arg_fail(1)) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (int)(arg1
)->GetNoCopies();
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20775 resultobj
= SWIG_From_int(static_cast<int >(result
));
20783 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
= NULL
;
20785 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20787 PyObject
* obj0
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "self", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20794 if (SWIG_arg_fail(1)) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20797 result
= (bool)(arg1
)->GetCollate();
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20811 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
= NULL
;
20813 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20815 PyObject
* obj0
= 0 ;
20816 char *kwnames
[] = {
20817 (char *) "self", NULL
20820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20822 if (SWIG_arg_fail(1)) SWIG_fail
;
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 result
= (int)(arg1
)->GetOrientation();
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= SWIG_From_int(static_cast<int >(result
));
20839 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
= NULL
;
20841 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20843 PyObject
* obj0
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20850 if (SWIG_arg_fail(1)) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (bool)(arg1
)->Ok();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20867 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
= NULL
;
20869 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20871 PyObject
* obj0
= 0 ;
20872 char *kwnames
[] = {
20873 (char *) "self", NULL
20876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20878 if (SWIG_arg_fail(1)) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20883 result
= (wxString
*) &_result_ref
;
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20893 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20902 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
= NULL
;
20904 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20906 PyObject
* obj0
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20913 if (SWIG_arg_fail(1)) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (bool)(arg1
)->GetColour();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20930 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
= NULL
;
20932 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20933 wxDuplexMode result
;
20934 PyObject
* obj0
= 0 ;
20935 char *kwnames
[] = {
20936 (char *) "self", NULL
20939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20941 if (SWIG_arg_fail(1)) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 resultobj
= SWIG_From_int((result
));
20956 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
= NULL
;
20958 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20959 wxPaperSize result
;
20960 PyObject
* obj0
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20967 if (SWIG_arg_fail(1)) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_From_int((result
));
20982 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
= NULL
;
20984 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20998 result
= (wxSize
*) &_result_ref
;
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
21011 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
= NULL
;
21013 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
21021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21022 if (SWIG_arg_fail(1)) SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 result
= (int)(arg1
)->GetQuality();
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= SWIG_From_int(static_cast<int >(result
));
21039 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
= NULL
;
21041 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 char *kwnames
[] = {
21045 (char *) "self", NULL
21048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
21049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21050 if (SWIG_arg_fail(1)) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= (wxPrintBin
)(arg1
)->GetBin();
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= SWIG_From_int((result
));
21065 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
= NULL
;
21067 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21068 wxPrintMode result
;
21069 PyObject
* obj0
= 0 ;
21070 char *kwnames
[] = {
21071 (char *) "self", NULL
21074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
21075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21076 if (SWIG_arg_fail(1)) SWIG_fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= SWIG_From_int((result
));
21091 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21092 PyObject
*resultobj
= NULL
;
21093 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21095 PyObject
* obj0
= 0 ;
21096 PyObject
* obj1
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "self",(char *) "v", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21103 if (SWIG_arg_fail(1)) SWIG_fail
;
21105 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21106 if (SWIG_arg_fail(2)) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 (arg1
)->SetNoCopies(arg2
);
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 Py_INCREF(Py_None
); resultobj
= Py_None
;
21122 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
= NULL
;
21124 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "self",(char *) "flag", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21134 if (SWIG_arg_fail(1)) SWIG_fail
;
21136 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21137 if (SWIG_arg_fail(2)) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 (arg1
)->SetCollate(arg2
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 Py_INCREF(Py_None
); resultobj
= Py_None
;
21153 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
= NULL
;
21155 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21157 PyObject
* obj0
= 0 ;
21158 PyObject
* obj1
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self",(char *) "orient", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail
;
21167 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21168 if (SWIG_arg_fail(2)) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 (arg1
)->SetOrientation(arg2
);
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 Py_INCREF(Py_None
); resultobj
= Py_None
;
21184 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
= NULL
;
21186 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21187 wxString
*arg2
= 0 ;
21188 bool temp2
= false ;
21189 PyObject
* obj0
= 0 ;
21190 PyObject
* obj1
= 0 ;
21191 char *kwnames
[] = {
21192 (char *) "self",(char *) "name", NULL
21195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
21196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21197 if (SWIG_arg_fail(1)) SWIG_fail
;
21199 arg2
= wxString_in_helper(obj1
);
21200 if (arg2
== NULL
) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 Py_INCREF(Py_None
); resultobj
= Py_None
;
21225 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
= NULL
;
21227 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 PyObject
* obj1
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "self",(char *) "colour", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21237 if (SWIG_arg_fail(1)) SWIG_fail
;
21239 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21240 if (SWIG_arg_fail(2)) SWIG_fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 (arg1
)->SetColour(arg2
);
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 Py_INCREF(Py_None
); resultobj
= Py_None
;
21256 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
= NULL
;
21258 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21259 wxDuplexMode arg2
;
21260 PyObject
* obj0
= 0 ;
21261 PyObject
* obj1
= 0 ;
21262 char *kwnames
[] = {
21263 (char *) "self",(char *) "duplex", NULL
21266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21268 if (SWIG_arg_fail(1)) SWIG_fail
;
21270 arg2
= static_cast<wxDuplexMode
>(SWIG_As_int(obj1
));
21271 if (SWIG_arg_fail(2)) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 (arg1
)->SetDuplex(arg2
);
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 Py_INCREF(Py_None
); resultobj
= Py_None
;
21287 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
= NULL
;
21289 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "self",(char *) "sizeId", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21299 if (SWIG_arg_fail(1)) SWIG_fail
;
21301 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
21302 if (SWIG_arg_fail(2)) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 (arg1
)->SetPaperId(arg2
);
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 Py_INCREF(Py_None
); resultobj
= Py_None
;
21318 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
= NULL
;
21320 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self",(char *) "sz", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21331 if (SWIG_arg_fail(1)) SWIG_fail
;
21334 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21343 Py_INCREF(Py_None
); resultobj
= Py_None
;
21350 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
= NULL
;
21352 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 char *kwnames
[] = {
21357 (char *) "self",(char *) "quality", NULL
21360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21362 if (SWIG_arg_fail(1)) SWIG_fail
;
21364 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21365 if (SWIG_arg_fail(2)) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 (arg1
)->SetQuality(arg2
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 Py_INCREF(Py_None
); resultobj
= Py_None
;
21381 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
= NULL
;
21383 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21385 PyObject
* obj0
= 0 ;
21386 PyObject
* obj1
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self",(char *) "bin", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21393 if (SWIG_arg_fail(1)) SWIG_fail
;
21395 arg2
= static_cast<wxPrintBin
>(SWIG_As_int(obj1
));
21396 if (SWIG_arg_fail(2)) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 (arg1
)->SetBin(arg2
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 Py_INCREF(Py_None
); resultobj
= Py_None
;
21412 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
= NULL
;
21414 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self",(char *) "printMode", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21424 if (SWIG_arg_fail(1)) SWIG_fail
;
21426 arg2
= static_cast<wxPrintMode
>(SWIG_As_int(obj1
));
21427 if (SWIG_arg_fail(2)) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 (arg1
)->SetPrintMode(arg2
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 Py_INCREF(Py_None
); resultobj
= Py_None
;
21443 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
= NULL
;
21445 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "self", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21454 if (SWIG_arg_fail(1)) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21475 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
= NULL
;
21477 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21478 wxString
*arg2
= 0 ;
21479 bool temp2
= false ;
21480 PyObject
* obj0
= 0 ;
21481 PyObject
* obj1
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "self",(char *) "filename", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21488 if (SWIG_arg_fail(1)) SWIG_fail
;
21490 arg2
= wxString_in_helper(obj1
);
21491 if (arg2
== NULL
) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 (arg1
)->SetFilename((wxString
const &)*arg2
);
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 Py_INCREF(Py_None
); resultobj
= Py_None
;
21516 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
= NULL
;
21518 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21520 PyObject
* obj0
= 0 ;
21521 char *kwnames
[] = {
21522 (char *) "self", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21527 if (SWIG_arg_fail(1)) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 resultobj
= result
;
21542 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
= NULL
;
21544 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21545 PyObject
*arg2
= (PyObject
*) 0 ;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self",(char *) "data", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21554 if (SWIG_arg_fail(1)) SWIG_fail
;
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 wxPrintData_SetPrivData(arg1
,arg2
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 Py_INCREF(Py_None
); resultobj
= Py_None
;
21570 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21573 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21575 return Py_BuildValue((char *)"");
21577 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21578 PyObject
*resultobj
= NULL
;
21579 wxPageSetupDialogData
*result
;
21581 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21596 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21597 PyObject
*resultobj
= NULL
;
21598 wxPageSetupDialogData
*arg1
= 0 ;
21599 wxPageSetupDialogData
*result
;
21600 PyObject
* obj0
= 0 ;
21602 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21605 if (SWIG_arg_fail(1)) SWIG_fail
;
21606 if (arg1
== NULL
) {
21607 SWIG_null_ref("wxPageSetupDialogData");
21609 if (SWIG_arg_fail(1)) SWIG_fail
;
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21625 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21626 PyObject
*resultobj
= NULL
;
21627 wxPrintData
*arg1
= 0 ;
21628 wxPageSetupDialogData
*result
;
21629 PyObject
* obj0
= 0 ;
21631 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21634 if (SWIG_arg_fail(1)) SWIG_fail
;
21635 if (arg1
== NULL
) {
21636 SWIG_null_ref("wxPrintData");
21638 if (SWIG_arg_fail(1)) SWIG_fail
;
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21654 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21659 argc
= PyObject_Length(args
);
21660 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21661 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21664 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21670 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21678 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21685 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21693 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21697 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21702 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
= NULL
;
21704 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21705 PyObject
* obj0
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "self", NULL
21710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21712 if (SWIG_arg_fail(1)) SWIG_fail
;
21714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 wxPyEndAllowThreads(__tstate
);
21718 if (PyErr_Occurred()) SWIG_fail
;
21720 Py_INCREF(Py_None
); resultobj
= Py_None
;
21727 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
= NULL
;
21729 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21731 PyObject
* obj0
= 0 ;
21732 PyObject
* obj1
= 0 ;
21733 char *kwnames
[] = {
21734 (char *) "self",(char *) "flag", NULL
21737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21739 if (SWIG_arg_fail(1)) SWIG_fail
;
21741 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21742 if (SWIG_arg_fail(2)) SWIG_fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 (arg1
)->EnableHelp(arg2
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 Py_INCREF(Py_None
); resultobj
= Py_None
;
21758 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
= NULL
;
21760 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 char *kwnames
[] = {
21765 (char *) "self",(char *) "flag", NULL
21768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21770 if (SWIG_arg_fail(1)) SWIG_fail
;
21772 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21773 if (SWIG_arg_fail(2)) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 (arg1
)->EnableMargins(arg2
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 Py_INCREF(Py_None
); resultobj
= Py_None
;
21789 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
= NULL
;
21791 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21793 PyObject
* obj0
= 0 ;
21794 PyObject
* obj1
= 0 ;
21795 char *kwnames
[] = {
21796 (char *) "self",(char *) "flag", NULL
21799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21801 if (SWIG_arg_fail(1)) SWIG_fail
;
21803 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21804 if (SWIG_arg_fail(2)) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 (arg1
)->EnableOrientation(arg2
);
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 Py_INCREF(Py_None
); resultobj
= Py_None
;
21820 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
= NULL
;
21822 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21824 PyObject
* obj0
= 0 ;
21825 PyObject
* obj1
= 0 ;
21826 char *kwnames
[] = {
21827 (char *) "self",(char *) "flag", NULL
21830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21832 if (SWIG_arg_fail(1)) SWIG_fail
;
21834 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21835 if (SWIG_arg_fail(2)) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 (arg1
)->EnablePaper(arg2
);
21841 wxPyEndAllowThreads(__tstate
);
21842 if (PyErr_Occurred()) SWIG_fail
;
21844 Py_INCREF(Py_None
); resultobj
= Py_None
;
21851 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21852 PyObject
*resultobj
= NULL
;
21853 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 PyObject
* obj1
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "self",(char *) "flag", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21863 if (SWIG_arg_fail(1)) SWIG_fail
;
21865 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21866 if (SWIG_arg_fail(2)) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 (arg1
)->EnablePrinter(arg2
);
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 Py_INCREF(Py_None
); resultobj
= Py_None
;
21882 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
= NULL
;
21884 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
21892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21893 if (SWIG_arg_fail(1)) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 result
= (bool)(arg1
)->GetDefaultMinMargins();
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21910 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
= NULL
;
21912 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
21920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21921 if (SWIG_arg_fail(1)) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 result
= (bool)(arg1
)->GetEnableMargins();
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21938 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
= NULL
;
21940 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21942 PyObject
* obj0
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "self", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
21948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21949 if (SWIG_arg_fail(1)) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 result
= (bool)(arg1
)->GetEnableOrientation();
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21966 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
= NULL
;
21968 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
21976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21977 if (SWIG_arg_fail(1)) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 result
= (bool)(arg1
)->GetEnablePaper();
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21994 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
= NULL
;
21996 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22005 if (SWIG_arg_fail(1)) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 result
= (bool)(arg1
)->GetEnablePrinter();
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22022 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
= NULL
;
22024 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22026 PyObject
* obj0
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22033 if (SWIG_arg_fail(1)) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 result
= (bool)(arg1
)->GetEnableHelp();
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22050 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
= NULL
;
22052 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22061 if (SWIG_arg_fail(1)) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= (bool)(arg1
)->GetDefaultInfo();
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22078 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
= NULL
;
22080 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22089 if (SWIG_arg_fail(1)) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= (arg1
)->GetMarginTopLeft();
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 wxPoint
* resultptr
;
22099 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22108 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
= NULL
;
22110 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22119 if (SWIG_arg_fail(1)) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (arg1
)->GetMarginBottomRight();
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22128 wxPoint
* resultptr
;
22129 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22138 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
= NULL
;
22140 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22149 if (SWIG_arg_fail(1)) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 result
= (arg1
)->GetMinMarginTopLeft();
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22158 wxPoint
* resultptr
;
22159 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22168 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
= NULL
;
22170 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22172 PyObject
* obj0
= 0 ;
22173 char *kwnames
[] = {
22174 (char *) "self", NULL
22177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22179 if (SWIG_arg_fail(1)) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22182 result
= (arg1
)->GetMinMarginBottomRight();
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22188 wxPoint
* resultptr
;
22189 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22198 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
= NULL
;
22200 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22201 wxPaperSize result
;
22202 PyObject
* obj0
= 0 ;
22203 char *kwnames
[] = {
22204 (char *) "self", NULL
22207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22209 if (SWIG_arg_fail(1)) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= SWIG_From_int((result
));
22224 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
= NULL
;
22226 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22228 PyObject
* obj0
= 0 ;
22229 char *kwnames
[] = {
22230 (char *) "self", NULL
22233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22235 if (SWIG_arg_fail(1)) SWIG_fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (arg1
)->GetPaperSize();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 wxSize
* resultptr
;
22245 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22254 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
= NULL
;
22256 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22257 wxPrintData
*result
;
22258 PyObject
* obj0
= 0 ;
22259 char *kwnames
[] = {
22260 (char *) "self", NULL
22263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22265 if (SWIG_arg_fail(1)) SWIG_fail
;
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22270 result
= (wxPrintData
*) &_result_ref
;
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22283 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
= NULL
;
22285 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22287 PyObject
* obj0
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22294 if (SWIG_arg_fail(1)) SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 result
= (bool)(arg1
)->Ok();
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22311 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
= NULL
;
22313 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22315 PyObject
* obj0
= 0 ;
22316 PyObject
* obj1
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self",(char *) "flag", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22323 if (SWIG_arg_fail(1)) SWIG_fail
;
22325 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22326 if (SWIG_arg_fail(2)) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 (arg1
)->SetDefaultInfo(arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 Py_INCREF(Py_None
); resultobj
= Py_None
;
22342 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
= NULL
;
22344 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self",(char *) "flag", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22354 if (SWIG_arg_fail(1)) SWIG_fail
;
22356 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22357 if (SWIG_arg_fail(2)) SWIG_fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 (arg1
)->SetDefaultMinMargins(arg2
);
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22366 Py_INCREF(Py_None
); resultobj
= Py_None
;
22373 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
= NULL
;
22375 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22376 wxPoint
*arg2
= 0 ;
22378 PyObject
* obj0
= 0 ;
22379 PyObject
* obj1
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self",(char *) "pt", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22386 if (SWIG_arg_fail(1)) SWIG_fail
;
22389 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 Py_INCREF(Py_None
); resultobj
= Py_None
;
22405 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
= NULL
;
22407 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22408 wxPoint
*arg2
= 0 ;
22410 PyObject
* obj0
= 0 ;
22411 PyObject
* obj1
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self",(char *) "pt", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22418 if (SWIG_arg_fail(1)) SWIG_fail
;
22421 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 Py_INCREF(Py_None
); resultobj
= Py_None
;
22437 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
= NULL
;
22439 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22440 wxPoint
*arg2
= 0 ;
22442 PyObject
* obj0
= 0 ;
22443 PyObject
* obj1
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self",(char *) "pt", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22450 if (SWIG_arg_fail(1)) SWIG_fail
;
22453 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 Py_INCREF(Py_None
); resultobj
= Py_None
;
22469 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
= NULL
;
22471 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22472 wxPoint
*arg2
= 0 ;
22474 PyObject
* obj0
= 0 ;
22475 PyObject
* obj1
= 0 ;
22476 char *kwnames
[] = {
22477 (char *) "self",(char *) "pt", NULL
22480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22482 if (SWIG_arg_fail(1)) SWIG_fail
;
22485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22494 Py_INCREF(Py_None
); resultobj
= Py_None
;
22501 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
= NULL
;
22503 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22505 PyObject
* obj0
= 0 ;
22506 PyObject
* obj1
= 0 ;
22507 char *kwnames
[] = {
22508 (char *) "self",(char *) "id", NULL
22511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22513 if (SWIG_arg_fail(1)) SWIG_fail
;
22515 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
22516 if (SWIG_arg_fail(2)) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 (arg1
)->SetPaperId(arg2
);
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 Py_INCREF(Py_None
); resultobj
= Py_None
;
22532 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
= NULL
;
22534 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self",(char *) "size", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22545 if (SWIG_arg_fail(1)) SWIG_fail
;
22548 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22557 Py_INCREF(Py_None
); resultobj
= Py_None
;
22564 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
= NULL
;
22566 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22567 wxPrintData
*arg2
= 0 ;
22568 PyObject
* obj0
= 0 ;
22569 PyObject
* obj1
= 0 ;
22570 char *kwnames
[] = {
22571 (char *) "self",(char *) "printData", NULL
22574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22576 if (SWIG_arg_fail(1)) SWIG_fail
;
22578 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22579 if (SWIG_arg_fail(2)) SWIG_fail
;
22580 if (arg2
== NULL
) {
22581 SWIG_null_ref("wxPrintData");
22583 if (SWIG_arg_fail(2)) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 Py_INCREF(Py_None
); resultobj
= Py_None
;
22599 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
= NULL
;
22601 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22602 PyObject
* obj0
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22609 if (SWIG_arg_fail(1)) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 (arg1
)->CalculateIdFromPaperSize();
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22617 Py_INCREF(Py_None
); resultobj
= Py_None
;
22624 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
= NULL
;
22626 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22627 PyObject
* obj0
= 0 ;
22628 char *kwnames
[] = {
22629 (char *) "self", NULL
22632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22634 if (SWIG_arg_fail(1)) SWIG_fail
;
22636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22637 (arg1
)->CalculatePaperSizeFromId();
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 Py_INCREF(Py_None
); resultobj
= Py_None
;
22649 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22652 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22654 return Py_BuildValue((char *)"");
22656 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
= NULL
;
22658 wxWindow
*arg1
= (wxWindow
*) 0 ;
22659 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22660 wxPageSetupDialog
*result
;
22661 PyObject
* obj0
= 0 ;
22662 PyObject
* obj1
= 0 ;
22663 char *kwnames
[] = {
22664 (char *) "parent",(char *) "data", NULL
22667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22669 if (SWIG_arg_fail(1)) SWIG_fail
;
22671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22672 if (SWIG_arg_fail(2)) SWIG_fail
;
22675 if (!wxPyCheckForApp()) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22689 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
= NULL
;
22691 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22692 wxPageSetupDialogData
*result
;
22693 PyObject
* obj0
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22700 if (SWIG_arg_fail(1)) SWIG_fail
;
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22705 result
= (wxPageSetupDialogData
*) &_result_ref
;
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22718 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
= NULL
;
22720 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22721 wxPageSetupDialogData
*result
;
22722 PyObject
* obj0
= 0 ;
22723 char *kwnames
[] = {
22724 (char *) "self", NULL
22727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22729 if (SWIG_arg_fail(1)) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22734 result
= (wxPageSetupDialogData
*) &_result_ref
;
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22747 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
= NULL
;
22749 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22751 PyObject
* obj0
= 0 ;
22752 char *kwnames
[] = {
22753 (char *) "self", NULL
22756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22758 if (SWIG_arg_fail(1)) SWIG_fail
;
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 result
= (int)(arg1
)->ShowModal();
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22767 resultobj
= SWIG_From_int(static_cast<int >(result
));
22775 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22778 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22780 return Py_BuildValue((char *)"");
22782 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22783 PyObject
*resultobj
= NULL
;
22784 wxPrintDialogData
*result
;
22786 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22789 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22801 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22802 PyObject
*resultobj
= NULL
;
22803 wxPrintData
*arg1
= 0 ;
22804 wxPrintDialogData
*result
;
22805 PyObject
* obj0
= 0 ;
22807 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22810 if (SWIG_arg_fail(1)) SWIG_fail
;
22811 if (arg1
== NULL
) {
22812 SWIG_null_ref("wxPrintData");
22814 if (SWIG_arg_fail(1)) SWIG_fail
;
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22830 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22831 PyObject
*resultobj
= NULL
;
22832 wxPrintDialogData
*arg1
= 0 ;
22833 wxPrintDialogData
*result
;
22834 PyObject
* obj0
= 0 ;
22836 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22839 if (SWIG_arg_fail(1)) SWIG_fail
;
22840 if (arg1
== NULL
) {
22841 SWIG_null_ref("wxPrintDialogData");
22843 if (SWIG_arg_fail(1)) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22859 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22864 argc
= PyObject_Length(args
);
22865 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22866 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22869 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22875 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22883 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
22890 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22898 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
22902 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
22907 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
= NULL
;
22909 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22910 PyObject
* obj0
= 0 ;
22911 char *kwnames
[] = {
22912 (char *) "self", NULL
22915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
22916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22917 if (SWIG_arg_fail(1)) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 Py_INCREF(Py_None
); resultobj
= Py_None
;
22932 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
= NULL
;
22934 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
22942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22943 if (SWIG_arg_fail(1)) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= SWIG_From_int(static_cast<int >(result
));
22960 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
= NULL
;
22962 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22964 PyObject
* obj0
= 0 ;
22965 char *kwnames
[] = {
22966 (char *) "self", NULL
22969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
22970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22971 if (SWIG_arg_fail(1)) SWIG_fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22980 resultobj
= SWIG_From_int(static_cast<int >(result
));
22988 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
= NULL
;
22990 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22992 PyObject
* obj0
= 0 ;
22993 char *kwnames
[] = {
22994 (char *) "self", NULL
22997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
22998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22999 if (SWIG_arg_fail(1)) SWIG_fail
;
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23002 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23008 resultobj
= SWIG_From_int(static_cast<int >(result
));
23016 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
= NULL
;
23018 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23020 PyObject
* obj0
= 0 ;
23021 char *kwnames
[] = {
23022 (char *) "self", NULL
23025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23027 if (SWIG_arg_fail(1)) SWIG_fail
;
23029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_From_int(static_cast<int >(result
));
23044 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23045 PyObject
*resultobj
= NULL
;
23046 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23048 PyObject
* obj0
= 0 ;
23049 char *kwnames
[] = {
23050 (char *) "self", NULL
23053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23055 if (SWIG_arg_fail(1)) SWIG_fail
;
23057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23064 resultobj
= SWIG_From_int(static_cast<int >(result
));
23072 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
= NULL
;
23074 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23076 PyObject
* obj0
= 0 ;
23077 char *kwnames
[] = {
23078 (char *) "self", NULL
23081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23083 if (SWIG_arg_fail(1)) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23100 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
= NULL
;
23102 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23104 PyObject
* obj0
= 0 ;
23105 char *kwnames
[] = {
23106 (char *) "self", NULL
23109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23111 if (SWIG_arg_fail(1)) SWIG_fail
;
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23128 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
= NULL
;
23130 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23132 PyObject
* obj0
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23139 if (SWIG_arg_fail(1)) SWIG_fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23156 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
= NULL
;
23158 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23167 if (SWIG_arg_fail(1)) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23184 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
= NULL
;
23186 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23188 PyObject
* obj0
= 0 ;
23189 PyObject
* obj1
= 0 ;
23190 char *kwnames
[] = {
23191 (char *) "self",(char *) "v", NULL
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23196 if (SWIG_arg_fail(1)) SWIG_fail
;
23198 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23199 if (SWIG_arg_fail(2)) SWIG_fail
;
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 (arg1
)->SetFromPage(arg2
);
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23208 Py_INCREF(Py_None
); resultobj
= Py_None
;
23215 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
= NULL
;
23217 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23219 PyObject
* obj0
= 0 ;
23220 PyObject
* obj1
= 0 ;
23221 char *kwnames
[] = {
23222 (char *) "self",(char *) "v", NULL
23225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23227 if (SWIG_arg_fail(1)) SWIG_fail
;
23229 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23230 if (SWIG_arg_fail(2)) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 (arg1
)->SetToPage(arg2
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 Py_INCREF(Py_None
); resultobj
= Py_None
;
23246 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
= NULL
;
23248 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23250 PyObject
* obj0
= 0 ;
23251 PyObject
* obj1
= 0 ;
23252 char *kwnames
[] = {
23253 (char *) "self",(char *) "v", NULL
23256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23258 if (SWIG_arg_fail(1)) SWIG_fail
;
23260 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23261 if (SWIG_arg_fail(2)) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 (arg1
)->SetMinPage(arg2
);
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 Py_INCREF(Py_None
); resultobj
= Py_None
;
23277 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23278 PyObject
*resultobj
= NULL
;
23279 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23281 PyObject
* obj0
= 0 ;
23282 PyObject
* obj1
= 0 ;
23283 char *kwnames
[] = {
23284 (char *) "self",(char *) "v", NULL
23287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23292 if (SWIG_arg_fail(2)) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 (arg1
)->SetMaxPage(arg2
);
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 Py_INCREF(Py_None
); resultobj
= Py_None
;
23308 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
= NULL
;
23310 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23312 PyObject
* obj0
= 0 ;
23313 PyObject
* obj1
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self",(char *) "v", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23320 if (SWIG_arg_fail(1)) SWIG_fail
;
23322 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23323 if (SWIG_arg_fail(2)) SWIG_fail
;
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 (arg1
)->SetNoCopies(arg2
);
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 Py_INCREF(Py_None
); resultobj
= Py_None
;
23339 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
= NULL
;
23341 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self",(char *) "flag", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23351 if (SWIG_arg_fail(1)) SWIG_fail
;
23353 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23354 if (SWIG_arg_fail(2)) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 (arg1
)->SetAllPages(arg2
);
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 Py_INCREF(Py_None
); resultobj
= Py_None
;
23370 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23371 PyObject
*resultobj
= NULL
;
23372 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23374 PyObject
* obj0
= 0 ;
23375 PyObject
* obj1
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self",(char *) "flag", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23382 if (SWIG_arg_fail(1)) SWIG_fail
;
23384 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23385 if (SWIG_arg_fail(2)) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 (arg1
)->SetSelection(arg2
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 Py_INCREF(Py_None
); resultobj
= Py_None
;
23401 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= NULL
;
23403 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 PyObject
* obj1
= 0 ;
23407 char *kwnames
[] = {
23408 (char *) "self",(char *) "flag", NULL
23411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail
;
23415 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23416 if (SWIG_arg_fail(2)) SWIG_fail
;
23419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 (arg1
)->SetCollate(arg2
);
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 Py_INCREF(Py_None
); resultobj
= Py_None
;
23432 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
= NULL
;
23434 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self",(char *) "flag", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23444 if (SWIG_arg_fail(1)) SWIG_fail
;
23446 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23447 if (SWIG_arg_fail(2)) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 (arg1
)->SetPrintToFile(arg2
);
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23456 Py_INCREF(Py_None
); resultobj
= Py_None
;
23463 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
= NULL
;
23465 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23467 PyObject
* obj0
= 0 ;
23468 PyObject
* obj1
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self",(char *) "flag", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23475 if (SWIG_arg_fail(1)) SWIG_fail
;
23477 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23478 if (SWIG_arg_fail(2)) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 (arg1
)->EnablePrintToFile(arg2
);
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23487 Py_INCREF(Py_None
); resultobj
= Py_None
;
23494 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23495 PyObject
*resultobj
= NULL
;
23496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self",(char *) "flag", NULL
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23506 if (SWIG_arg_fail(1)) SWIG_fail
;
23508 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23509 if (SWIG_arg_fail(2)) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 (arg1
)->EnableSelection(arg2
);
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 Py_INCREF(Py_None
); resultobj
= Py_None
;
23525 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
= NULL
;
23527 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23529 PyObject
* obj0
= 0 ;
23530 PyObject
* obj1
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self",(char *) "flag", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23537 if (SWIG_arg_fail(1)) SWIG_fail
;
23539 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23540 if (SWIG_arg_fail(2)) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 (arg1
)->EnablePageNumbers(arg2
);
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23549 Py_INCREF(Py_None
); resultobj
= Py_None
;
23556 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23557 PyObject
*resultobj
= NULL
;
23558 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23560 PyObject
* obj0
= 0 ;
23561 PyObject
* obj1
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "self",(char *) "flag", NULL
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23568 if (SWIG_arg_fail(1)) SWIG_fail
;
23570 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23571 if (SWIG_arg_fail(2)) SWIG_fail
;
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 (arg1
)->EnableHelp(arg2
);
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 Py_INCREF(Py_None
); resultobj
= Py_None
;
23587 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
= NULL
;
23589 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23598 if (SWIG_arg_fail(1)) SWIG_fail
;
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23603 wxPyEndAllowThreads(__tstate
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23615 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
= NULL
;
23617 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23619 PyObject
* obj0
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23626 if (SWIG_arg_fail(1)) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23643 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
= NULL
;
23645 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23647 PyObject
* obj0
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23654 if (SWIG_arg_fail(1)) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23671 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
= NULL
;
23673 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23675 PyObject
* obj0
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23682 if (SWIG_arg_fail(1)) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23699 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
= NULL
;
23701 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23703 PyObject
* obj0
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23710 if (SWIG_arg_fail(1)) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23727 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
= NULL
;
23729 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23730 wxPrintData
*result
;
23731 PyObject
* obj0
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23738 if (SWIG_arg_fail(1)) SWIG_fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23743 result
= (wxPrintData
*) &_result_ref
;
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23756 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
= NULL
;
23758 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23759 wxPrintData
*arg2
= 0 ;
23760 PyObject
* obj0
= 0 ;
23761 PyObject
* obj1
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "self",(char *) "printData", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23768 if (SWIG_arg_fail(1)) SWIG_fail
;
23770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23771 if (SWIG_arg_fail(2)) SWIG_fail
;
23772 if (arg2
== NULL
) {
23773 SWIG_null_ref("wxPrintData");
23775 if (SWIG_arg_fail(2)) SWIG_fail
;
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 Py_INCREF(Py_None
); resultobj
= Py_None
;
23791 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23794 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23796 return Py_BuildValue((char *)"");
23798 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23799 PyObject
*resultobj
= NULL
;
23800 wxWindow
*arg1
= (wxWindow
*) 0 ;
23801 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23802 wxPrintDialog
*result
;
23803 PyObject
* obj0
= 0 ;
23804 PyObject
* obj1
= 0 ;
23805 char *kwnames
[] = {
23806 (char *) "parent",(char *) "data", NULL
23809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23811 if (SWIG_arg_fail(1)) SWIG_fail
;
23813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23814 if (SWIG_arg_fail(2)) SWIG_fail
;
23817 if (!wxPyCheckForApp()) SWIG_fail
;
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23831 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23832 PyObject
*resultobj
= NULL
;
23833 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23835 PyObject
* obj0
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23842 if (SWIG_arg_fail(1)) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (int)(arg1
)->ShowModal();
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= SWIG_From_int(static_cast<int >(result
));
23859 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
= NULL
;
23861 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23862 wxPrintDialogData
*result
;
23863 PyObject
* obj0
= 0 ;
23864 char *kwnames
[] = {
23865 (char *) "self", NULL
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23870 if (SWIG_arg_fail(1)) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23875 result
= (wxPrintDialogData
*) &_result_ref
;
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23888 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
= NULL
;
23890 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23891 wxPrintData
*result
;
23892 PyObject
* obj0
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
23898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23899 if (SWIG_arg_fail(1)) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23904 result
= (wxPrintData
*) &_result_ref
;
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23917 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23918 PyObject
*resultobj
= NULL
;
23919 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23921 PyObject
* obj0
= 0 ;
23922 char *kwnames
[] = {
23923 (char *) "self", NULL
23926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
23927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23928 if (SWIG_arg_fail(1)) SWIG_fail
;
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 result
= (wxDC
*)(arg1
)->GetPrintDC();
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= wxPyMake_wxObject(result
, (bool)1);
23945 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
23947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23948 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
23950 return Py_BuildValue((char *)"");
23952 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
= NULL
;
23954 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
23956 PyObject
* obj0
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "data", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
23963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23964 if (SWIG_arg_fail(1)) SWIG_fail
;
23967 if (!wxPyCheckForApp()) SWIG_fail
;
23968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23969 result
= (wxPrinter
*)new wxPrinter(arg1
);
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
23981 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
= NULL
;
23983 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23984 PyObject
* obj0
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "self", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
23990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
23991 if (SWIG_arg_fail(1)) SWIG_fail
;
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 Py_INCREF(Py_None
); resultobj
= Py_None
;
24006 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
= NULL
;
24008 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24009 wxWindow
*arg2
= (wxWindow
*) 0 ;
24010 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24012 PyObject
* obj0
= 0 ;
24013 PyObject
* obj1
= 0 ;
24014 PyObject
* obj2
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self",(char *) "parent",(char *) "printout", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24021 if (SWIG_arg_fail(1)) SWIG_fail
;
24022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24023 if (SWIG_arg_fail(2)) SWIG_fail
;
24024 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24025 if (SWIG_arg_fail(3)) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24034 resultobj
= wxPyMake_wxObject(result
, 0);
24042 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
= NULL
;
24044 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24045 wxWindow
*arg2
= (wxWindow
*) 0 ;
24046 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24047 wxString
*arg4
= 0 ;
24048 bool temp4
= false ;
24049 PyObject
* obj0
= 0 ;
24050 PyObject
* obj1
= 0 ;
24051 PyObject
* obj2
= 0 ;
24052 PyObject
* obj3
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24059 if (SWIG_arg_fail(1)) SWIG_fail
;
24060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24061 if (SWIG_arg_fail(2)) SWIG_fail
;
24062 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24063 if (SWIG_arg_fail(3)) SWIG_fail
;
24065 arg4
= wxString_in_helper(obj3
);
24066 if (arg4
== NULL
) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24076 Py_INCREF(Py_None
); resultobj
= Py_None
;
24091 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
= NULL
;
24093 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24094 wxWindow
*arg2
= (wxWindow
*) 0 ;
24096 PyObject
* obj0
= 0 ;
24097 PyObject
* obj1
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self",(char *) "parent", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24104 if (SWIG_arg_fail(1)) SWIG_fail
;
24105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24106 if (SWIG_arg_fail(2)) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (bool)(arg1
)->Setup(arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24123 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
= NULL
;
24125 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24126 wxWindow
*arg2
= (wxWindow
*) 0 ;
24127 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24128 bool arg4
= (bool) true ;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj1
= 0 ;
24132 PyObject
* obj2
= 0 ;
24133 PyObject
* obj3
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24140 if (SWIG_arg_fail(1)) SWIG_fail
;
24141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24142 if (SWIG_arg_fail(2)) SWIG_fail
;
24143 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24144 if (SWIG_arg_fail(3)) SWIG_fail
;
24147 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
24148 if (SWIG_arg_fail(4)) SWIG_fail
;
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24167 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
= NULL
;
24169 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24170 wxWindow
*arg2
= (wxWindow
*) 0 ;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self",(char *) "parent", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24180 if (SWIG_arg_fail(1)) SWIG_fail
;
24181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24182 if (SWIG_arg_fail(2)) SWIG_fail
;
24184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24199 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
= NULL
;
24201 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24202 wxPrintDialogData
*result
;
24203 PyObject
* obj0
= 0 ;
24204 char *kwnames
[] = {
24205 (char *) "self", NULL
24208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24210 if (SWIG_arg_fail(1)) SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24215 result
= (wxPrintDialogData
*) &_result_ref
;
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24228 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
= NULL
;
24230 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24232 PyObject
* obj0
= 0 ;
24233 char *kwnames
[] = {
24234 (char *) "self", NULL
24237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24239 if (SWIG_arg_fail(1)) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (bool)(arg1
)->GetAbort();
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24256 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
= NULL
;
24258 wxPrinterError result
;
24259 char *kwnames
[] = {
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (wxPrinterError
)wxPrinter::GetLastError();
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24271 resultobj
= SWIG_From_int((result
));
24278 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24281 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24283 return Py_BuildValue((char *)"");
24285 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
= NULL
;
24287 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24288 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24289 wxPyPrintout
*result
;
24290 bool temp1
= false ;
24291 PyObject
* obj0
= 0 ;
24292 char *kwnames
[] = {
24293 (char *) "title", NULL
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24299 arg1
= wxString_in_helper(obj0
);
24300 if (arg1
== NULL
) SWIG_fail
;
24305 if (!wxPyCheckForApp()) SWIG_fail
;
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24329 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24330 PyObject
*resultobj
= NULL
;
24331 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24332 PyObject
*arg2
= (PyObject
*) 0 ;
24333 PyObject
*arg3
= (PyObject
*) 0 ;
24334 PyObject
* obj0
= 0 ;
24335 PyObject
* obj1
= 0 ;
24336 PyObject
* obj2
= 0 ;
24337 char *kwnames
[] = {
24338 (char *) "self",(char *) "self",(char *) "_class", NULL
24341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24343 if (SWIG_arg_fail(1)) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 Py_INCREF(Py_None
); resultobj
= Py_None
;
24360 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
= NULL
;
24362 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24371 if (SWIG_arg_fail(1)) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24392 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
= NULL
;
24394 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24396 PyObject
* obj0
= 0 ;
24397 char *kwnames
[] = {
24398 (char *) "self", NULL
24401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24403 if (SWIG_arg_fail(1)) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 result
= (wxDC
*)(arg1
)->GetDC();
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24420 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
= NULL
;
24422 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24423 wxDC
*arg2
= (wxDC
*) 0 ;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self",(char *) "dc", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24432 if (SWIG_arg_fail(1)) SWIG_fail
;
24433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24434 if (SWIG_arg_fail(2)) SWIG_fail
;
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 (arg1
)->SetDC(arg2
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 Py_INCREF(Py_None
); resultobj
= Py_None
;
24449 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
= NULL
;
24451 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 PyObject
* obj2
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "w",(char *) "h", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24463 if (SWIG_arg_fail(1)) SWIG_fail
;
24465 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24466 if (SWIG_arg_fail(2)) SWIG_fail
;
24469 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24470 if (SWIG_arg_fail(3)) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 Py_INCREF(Py_None
); resultobj
= Py_None
;
24486 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
= NULL
;
24488 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24489 int *arg2
= (int *) 0 ;
24490 int *arg3
= (int *) 0 ;
24495 PyObject
* obj0
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self", NULL
24500 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24501 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 Py_INCREF(Py_None
); resultobj
= Py_None
;
24513 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24514 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24515 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24516 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24523 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
= NULL
;
24525 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 PyObject
* obj1
= 0 ;
24530 PyObject
* obj2
= 0 ;
24531 char *kwnames
[] = {
24532 (char *) "self",(char *) "w",(char *) "h", NULL
24535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24537 if (SWIG_arg_fail(1)) SWIG_fail
;
24539 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24540 if (SWIG_arg_fail(2)) SWIG_fail
;
24543 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24544 if (SWIG_arg_fail(3)) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 Py_INCREF(Py_None
); resultobj
= Py_None
;
24560 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
= NULL
;
24562 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24563 int *arg2
= (int *) 0 ;
24564 int *arg3
= (int *) 0 ;
24569 PyObject
* obj0
= 0 ;
24570 char *kwnames
[] = {
24571 (char *) "self", NULL
24574 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24575 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24578 if (SWIG_arg_fail(1)) SWIG_fail
;
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 Py_INCREF(Py_None
); resultobj
= Py_None
;
24587 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24588 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24589 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24590 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24597 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
= NULL
;
24599 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 PyObject
* obj2
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "x",(char *) "y", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail
;
24613 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24614 if (SWIG_arg_fail(2)) SWIG_fail
;
24617 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24618 if (SWIG_arg_fail(3)) SWIG_fail
;
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 (arg1
)->SetPPIScreen(arg2
,arg3
);
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 Py_INCREF(Py_None
); resultobj
= Py_None
;
24634 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24635 PyObject
*resultobj
= NULL
;
24636 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24637 int *arg2
= (int *) 0 ;
24638 int *arg3
= (int *) 0 ;
24643 PyObject
* obj0
= 0 ;
24644 char *kwnames
[] = {
24645 (char *) "self", NULL
24648 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24649 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 (arg1
)->GetPPIScreen(arg2
,arg3
);
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24660 Py_INCREF(Py_None
); resultobj
= Py_None
;
24661 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24662 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24663 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24664 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24671 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
= NULL
;
24673 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24676 PyObject
* obj0
= 0 ;
24677 PyObject
* obj1
= 0 ;
24678 PyObject
* obj2
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "self",(char *) "x",(char *) "y", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24685 if (SWIG_arg_fail(1)) SWIG_fail
;
24687 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24688 if (SWIG_arg_fail(2)) SWIG_fail
;
24691 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24692 if (SWIG_arg_fail(3)) SWIG_fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 Py_INCREF(Py_None
); resultobj
= Py_None
;
24708 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
= NULL
;
24710 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24711 int *arg2
= (int *) 0 ;
24712 int *arg3
= (int *) 0 ;
24717 PyObject
* obj0
= 0 ;
24718 char *kwnames
[] = {
24719 (char *) "self", NULL
24722 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24723 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24726 if (SWIG_arg_fail(1)) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 Py_INCREF(Py_None
); resultobj
= Py_None
;
24735 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24736 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24737 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24738 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24745 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
= NULL
;
24747 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24749 PyObject
* obj0
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (bool)(arg1
)->IsPreview();
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24773 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= NULL
;
24775 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 PyObject
* obj1
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self",(char *) "p", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24785 if (SWIG_arg_fail(1)) SWIG_fail
;
24787 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
24788 if (SWIG_arg_fail(2)) SWIG_fail
;
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 (arg1
)->SetIsPreview(arg2
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 Py_INCREF(Py_None
); resultobj
= Py_None
;
24804 static PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
= NULL
;
24806 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 PyObject
* obj2
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24819 if (SWIG_arg_fail(1)) SWIG_fail
;
24821 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24822 if (SWIG_arg_fail(2)) SWIG_fail
;
24825 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24826 if (SWIG_arg_fail(3)) SWIG_fail
;
24829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24830 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
24832 wxPyEndAllowThreads(__tstate
);
24833 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24844 static PyObject
*_wrap_Printout_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24845 PyObject
*resultobj
= NULL
;
24846 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndDocument",kwnames
,&obj0
)) goto fail
;
24853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24854 if (SWIG_arg_fail(1)) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 (arg1
)->OnEndDocument();
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24862 Py_INCREF(Py_None
); resultobj
= Py_None
;
24869 static PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24870 PyObject
*resultobj
= NULL
;
24871 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24872 PyObject
* obj0
= 0 ;
24873 char *kwnames
[] = {
24874 (char *) "self", NULL
24877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
24878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24879 if (SWIG_arg_fail(1)) SWIG_fail
;
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 (arg1
)->OnBeginPrinting();
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 Py_INCREF(Py_None
); resultobj
= Py_None
;
24894 static PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
= NULL
;
24896 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
24903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24904 if (SWIG_arg_fail(1)) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 (arg1
)->OnEndPrinting();
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 Py_INCREF(Py_None
); resultobj
= Py_None
;
24919 static PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
= NULL
;
24921 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24922 PyObject
* obj0
= 0 ;
24923 char *kwnames
[] = {
24924 (char *) "self", NULL
24927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
24928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24929 if (SWIG_arg_fail(1)) SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 (arg1
)->OnPreparePrinting();
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 Py_INCREF(Py_None
); resultobj
= Py_None
;
24944 static PyObject
*_wrap_Printout_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
= NULL
;
24946 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24949 PyObject
* obj0
= 0 ;
24950 PyObject
* obj1
= 0 ;
24951 char *kwnames
[] = {
24952 (char *) "self",(char *) "page", NULL
24955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24957 if (SWIG_arg_fail(1)) SWIG_fail
;
24959 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24960 if (SWIG_arg_fail(2)) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 result
= (bool)(arg1
)->HasPage(arg2
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24978 static PyObject
*_wrap_Printout_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
= NULL
;
24980 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24981 int *arg2
= (int *) 0 ;
24982 int *arg3
= (int *) 0 ;
24983 int *arg4
= (int *) 0 ;
24984 int *arg5
= (int *) 0 ;
24993 PyObject
* obj0
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self", NULL
24998 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24999 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25000 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25001 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25004 if (SWIG_arg_fail(1)) SWIG_fail
;
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 Py_INCREF(Py_None
); resultobj
= Py_None
;
25013 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25014 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25015 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25016 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25017 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25018 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25019 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25020 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25027 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25030 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25032 return Py_BuildValue((char *)"");
25034 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
= NULL
;
25036 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25037 wxWindow
*arg2
= (wxWindow
*) 0 ;
25038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25040 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25041 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25042 long arg5
= (long) 0 ;
25043 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25044 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25045 wxPreviewCanvas
*result
;
25048 bool temp6
= false ;
25049 PyObject
* obj0
= 0 ;
25050 PyObject
* obj1
= 0 ;
25051 PyObject
* obj2
= 0 ;
25052 PyObject
* obj3
= 0 ;
25053 PyObject
* obj4
= 0 ;
25054 PyObject
* obj5
= 0 ;
25055 char *kwnames
[] = {
25056 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25061 if (SWIG_arg_fail(1)) SWIG_fail
;
25062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25063 if (SWIG_arg_fail(2)) SWIG_fail
;
25067 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25073 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25078 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25079 if (SWIG_arg_fail(5)) SWIG_fail
;
25084 arg6
= wxString_in_helper(obj5
);
25085 if (arg6
== NULL
) SWIG_fail
;
25090 if (!wxPyCheckForApp()) SWIG_fail
;
25091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25092 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25094 wxPyEndAllowThreads(__tstate
);
25095 if (PyErr_Occurred()) SWIG_fail
;
25097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25112 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25115 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25117 return Py_BuildValue((char *)"");
25119 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25120 PyObject
*resultobj
= NULL
;
25121 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25122 wxFrame
*arg2
= (wxFrame
*) 0 ;
25123 wxString
*arg3
= 0 ;
25124 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25125 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25126 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25127 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25128 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25129 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25130 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25131 wxPreviewFrame
*result
;
25132 bool temp3
= false ;
25135 bool temp7
= false ;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 PyObject
* obj2
= 0 ;
25139 PyObject
* obj3
= 0 ;
25140 PyObject
* obj4
= 0 ;
25141 PyObject
* obj5
= 0 ;
25142 PyObject
* obj6
= 0 ;
25143 char *kwnames
[] = {
25144 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25149 if (SWIG_arg_fail(1)) SWIG_fail
;
25150 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25151 if (SWIG_arg_fail(2)) SWIG_fail
;
25153 arg3
= wxString_in_helper(obj2
);
25154 if (arg3
== NULL
) SWIG_fail
;
25160 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25166 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25171 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25172 if (SWIG_arg_fail(6)) SWIG_fail
;
25177 arg7
= wxString_in_helper(obj6
);
25178 if (arg7
== NULL
) SWIG_fail
;
25183 if (!wxPyCheckForApp()) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25213 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
= NULL
;
25215 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25216 PyObject
* obj0
= 0 ;
25217 char *kwnames
[] = {
25218 (char *) "self", NULL
25221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25223 if (SWIG_arg_fail(1)) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 (arg1
)->Initialize();
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25231 Py_INCREF(Py_None
); resultobj
= Py_None
;
25238 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
= NULL
;
25240 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25241 PyObject
* obj0
= 0 ;
25242 char *kwnames
[] = {
25243 (char *) "self", NULL
25246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25248 if (SWIG_arg_fail(1)) SWIG_fail
;
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 (arg1
)->CreateControlBar();
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 Py_INCREF(Py_None
); resultobj
= Py_None
;
25263 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25264 PyObject
*resultobj
= NULL
;
25265 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25266 PyObject
* obj0
= 0 ;
25267 char *kwnames
[] = {
25268 (char *) "self", NULL
25271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25273 if (SWIG_arg_fail(1)) SWIG_fail
;
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 (arg1
)->CreateCanvas();
25278 wxPyEndAllowThreads(__tstate
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25281 Py_INCREF(Py_None
); resultobj
= Py_None
;
25288 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25289 PyObject
*resultobj
= NULL
;
25290 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25291 wxPreviewControlBar
*result
;
25292 PyObject
* obj0
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25299 if (SWIG_arg_fail(1)) SWIG_fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25314 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25317 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25319 return Py_BuildValue((char *)"");
25321 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
= NULL
;
25323 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25325 wxWindow
*arg3
= (wxWindow
*) 0 ;
25326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25330 long arg6
= (long) wxTAB_TRAVERSAL
;
25331 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25332 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25333 wxPreviewControlBar
*result
;
25336 bool temp7
= false ;
25337 PyObject
* obj0
= 0 ;
25338 PyObject
* obj1
= 0 ;
25339 PyObject
* obj2
= 0 ;
25340 PyObject
* obj3
= 0 ;
25341 PyObject
* obj4
= 0 ;
25342 PyObject
* obj5
= 0 ;
25343 PyObject
* obj6
= 0 ;
25344 char *kwnames
[] = {
25345 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25350 if (SWIG_arg_fail(1)) SWIG_fail
;
25352 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25353 if (SWIG_arg_fail(2)) SWIG_fail
;
25355 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25356 if (SWIG_arg_fail(3)) SWIG_fail
;
25360 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25366 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25371 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25372 if (SWIG_arg_fail(6)) SWIG_fail
;
25377 arg7
= wxString_in_helper(obj6
);
25378 if (arg7
== NULL
) SWIG_fail
;
25383 if (!wxPyCheckForApp()) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25405 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25406 PyObject
*resultobj
= NULL
;
25407 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "self", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25416 if (SWIG_arg_fail(1)) SWIG_fail
;
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (int)(arg1
)->GetZoomControl();
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_From_int(static_cast<int >(result
));
25433 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
= NULL
;
25435 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 char *kwnames
[] = {
25440 (char *) "self",(char *) "zoom", NULL
25443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25445 if (SWIG_arg_fail(1)) SWIG_fail
;
25447 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25448 if (SWIG_arg_fail(2)) SWIG_fail
;
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 (arg1
)->SetZoomControl(arg2
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 Py_INCREF(Py_None
); resultobj
= Py_None
;
25464 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
= NULL
;
25466 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25467 wxPrintPreview
*result
;
25468 PyObject
* obj0
= 0 ;
25469 char *kwnames
[] = {
25470 (char *) "self", NULL
25473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25475 if (SWIG_arg_fail(1)) SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25490 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
= NULL
;
25492 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25493 PyObject
* obj0
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "self", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25500 if (SWIG_arg_fail(1)) SWIG_fail
;
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 Py_INCREF(Py_None
); resultobj
= Py_None
;
25515 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
= NULL
;
25517 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25518 PyObject
* obj0
= 0 ;
25519 char *kwnames
[] = {
25520 (char *) "self", NULL
25523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25525 if (SWIG_arg_fail(1)) SWIG_fail
;
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 (arg1
)->OnPrevious();
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
= NULL
;
25542 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25543 PyObject
* obj0
= 0 ;
25544 char *kwnames
[] = {
25545 (char *) "self", NULL
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25550 if (SWIG_arg_fail(1)) SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 Py_INCREF(Py_None
); resultobj
= Py_None
;
25565 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
= NULL
;
25567 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25568 PyObject
* obj0
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25575 if (SWIG_arg_fail(1)) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 Py_INCREF(Py_None
); resultobj
= Py_None
;
25590 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25591 PyObject
*resultobj
= NULL
;
25592 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25593 PyObject
* obj0
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25600 if (SWIG_arg_fail(1)) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 Py_INCREF(Py_None
); resultobj
= Py_None
;
25615 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25618 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25620 return Py_BuildValue((char *)"");
25622 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25623 PyObject
*resultobj
= NULL
;
25624 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25625 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25626 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25627 wxPrintPreview
*result
;
25628 PyObject
* obj0
= 0 ;
25629 PyObject
* obj1
= 0 ;
25630 PyObject
* obj2
= 0 ;
25632 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25634 if (SWIG_arg_fail(1)) SWIG_fail
;
25635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25636 if (SWIG_arg_fail(2)) SWIG_fail
;
25638 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25639 if (SWIG_arg_fail(3)) SWIG_fail
;
25642 if (!wxPyCheckForApp()) SWIG_fail
;
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25656 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25657 PyObject
*resultobj
= NULL
;
25658 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25659 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25660 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25661 wxPrintPreview
*result
;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 PyObject
* obj2
= 0 ;
25666 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25668 if (SWIG_arg_fail(1)) SWIG_fail
;
25669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25670 if (SWIG_arg_fail(2)) SWIG_fail
;
25671 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25672 if (SWIG_arg_fail(3)) SWIG_fail
;
25674 if (!wxPyCheckForApp()) SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25688 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25693 argc
= PyObject_Length(args
);
25694 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25695 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25697 if ((argc
>= 2) && (argc
<= 3)) {
25701 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25711 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25720 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25724 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25732 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25741 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25751 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25761 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25769 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25775 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25780 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
= NULL
;
25782 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25785 PyObject
* obj0
= 0 ;
25786 PyObject
* obj1
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "self",(char *) "pageNum", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25793 if (SWIG_arg_fail(1)) SWIG_fail
;
25795 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25796 if (SWIG_arg_fail(2)) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25814 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25815 PyObject
*resultobj
= NULL
;
25816 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25818 PyObject
* obj0
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25825 if (SWIG_arg_fail(1)) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= (int)(arg1
)->GetCurrentPage();
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= SWIG_From_int(static_cast<int >(result
));
25842 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
= NULL
;
25844 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25845 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25846 PyObject
* obj0
= 0 ;
25847 PyObject
* obj1
= 0 ;
25848 char *kwnames
[] = {
25849 (char *) "self",(char *) "printout", NULL
25852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
25853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25854 if (SWIG_arg_fail(1)) SWIG_fail
;
25855 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25856 if (SWIG_arg_fail(2)) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 (arg1
)->SetPrintout(arg2
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 Py_INCREF(Py_None
); resultobj
= Py_None
;
25871 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
= NULL
;
25873 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25874 wxPyPrintout
*result
;
25875 PyObject
* obj0
= 0 ;
25876 char *kwnames
[] = {
25877 (char *) "self", NULL
25880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
25881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25882 if (SWIG_arg_fail(1)) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25891 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25899 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
= NULL
;
25901 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25902 wxPyPrintout
*result
;
25903 PyObject
* obj0
= 0 ;
25904 char *kwnames
[] = {
25905 (char *) "self", NULL
25908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
25909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25910 if (SWIG_arg_fail(1)) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25927 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
= NULL
;
25929 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25930 wxFrame
*arg2
= (wxFrame
*) 0 ;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "self",(char *) "frame", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
25938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25939 if (SWIG_arg_fail(1)) SWIG_fail
;
25940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25941 if (SWIG_arg_fail(2)) SWIG_fail
;
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 (arg1
)->SetFrame(arg2
);
25946 wxPyEndAllowThreads(__tstate
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25949 Py_INCREF(Py_None
); resultobj
= Py_None
;
25956 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
= NULL
;
25958 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25959 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25960 PyObject
* obj0
= 0 ;
25961 PyObject
* obj1
= 0 ;
25962 char *kwnames
[] = {
25963 (char *) "self",(char *) "canvas", NULL
25966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25968 if (SWIG_arg_fail(1)) SWIG_fail
;
25969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
25970 if (SWIG_arg_fail(2)) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 (arg1
)->SetCanvas(arg2
);
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 Py_INCREF(Py_None
); resultobj
= Py_None
;
25985 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
= NULL
;
25987 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25989 PyObject
* obj0
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
25995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25996 if (SWIG_arg_fail(1)) SWIG_fail
;
25998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25999 result
= (wxFrame
*)(arg1
)->GetFrame();
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26005 resultobj
= wxPyMake_wxObject(result
, 0);
26013 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
= NULL
;
26015 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26016 wxPreviewCanvas
*result
;
26017 PyObject
* obj0
= 0 ;
26018 char *kwnames
[] = {
26019 (char *) "self", NULL
26022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26024 if (SWIG_arg_fail(1)) SWIG_fail
;
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26039 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26040 PyObject
*resultobj
= NULL
;
26041 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26042 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26045 PyObject
* obj0
= 0 ;
26046 PyObject
* obj1
= 0 ;
26047 PyObject
* obj2
= 0 ;
26048 char *kwnames
[] = {
26049 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26054 if (SWIG_arg_fail(1)) SWIG_fail
;
26055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26056 if (SWIG_arg_fail(2)) SWIG_fail
;
26058 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26059 if (SWIG_arg_fail(3)) SWIG_fail
;
26060 if (arg3
== NULL
) {
26061 SWIG_null_ref("wxDC");
26063 if (SWIG_arg_fail(3)) SWIG_fail
;
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26081 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
= NULL
;
26083 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26084 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26087 PyObject
* obj0
= 0 ;
26088 PyObject
* obj1
= 0 ;
26089 PyObject
* obj2
= 0 ;
26090 char *kwnames
[] = {
26091 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26096 if (SWIG_arg_fail(1)) SWIG_fail
;
26097 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26098 if (SWIG_arg_fail(2)) SWIG_fail
;
26100 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26101 if (SWIG_arg_fail(3)) SWIG_fail
;
26102 if (arg3
== NULL
) {
26103 SWIG_null_ref("wxDC");
26105 if (SWIG_arg_fail(3)) SWIG_fail
;
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26111 wxPyEndAllowThreads(__tstate
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26123 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26124 PyObject
*resultobj
= NULL
;
26125 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26128 PyObject
* obj0
= 0 ;
26129 PyObject
* obj1
= 0 ;
26130 char *kwnames
[] = {
26131 (char *) "self",(char *) "pageNum", NULL
26134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26136 if (SWIG_arg_fail(1)) SWIG_fail
;
26138 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26139 if (SWIG_arg_fail(2)) SWIG_fail
;
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 result
= (bool)(arg1
)->RenderPage(arg2
);
26145 wxPyEndAllowThreads(__tstate
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26157 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26158 PyObject
*resultobj
= NULL
;
26159 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26160 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26161 PyObject
* obj0
= 0 ;
26162 PyObject
* obj1
= 0 ;
26163 char *kwnames
[] = {
26164 (char *) "self",(char *) "canvas", NULL
26167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26169 if (SWIG_arg_fail(1)) SWIG_fail
;
26170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26171 if (SWIG_arg_fail(2)) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 (arg1
)->AdjustScrollbars(arg2
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26179 Py_INCREF(Py_None
); resultobj
= Py_None
;
26186 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26187 PyObject
*resultobj
= NULL
;
26188 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26189 wxPrintDialogData
*result
;
26190 PyObject
* obj0
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail
;
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26202 result
= (wxPrintDialogData
*) &_result_ref
;
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26215 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
= NULL
;
26217 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26219 PyObject
* obj0
= 0 ;
26220 PyObject
* obj1
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self",(char *) "percent", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26227 if (SWIG_arg_fail(1)) SWIG_fail
;
26229 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26230 if (SWIG_arg_fail(2)) SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->SetZoom(arg2
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 Py_INCREF(Py_None
); resultobj
= Py_None
;
26246 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26247 PyObject
*resultobj
= NULL
;
26248 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26250 PyObject
* obj0
= 0 ;
26251 char *kwnames
[] = {
26252 (char *) "self", NULL
26255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26257 if (SWIG_arg_fail(1)) SWIG_fail
;
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 result
= (int)(arg1
)->GetZoom();
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26266 resultobj
= SWIG_From_int(static_cast<int >(result
));
26274 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
= NULL
;
26276 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26278 PyObject
* obj0
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26285 if (SWIG_arg_fail(1)) SWIG_fail
;
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= (int)(arg1
)->GetMaxPage();
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= SWIG_From_int(static_cast<int >(result
));
26302 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
= NULL
;
26304 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26306 PyObject
* obj0
= 0 ;
26307 char *kwnames
[] = {
26308 (char *) "self", NULL
26311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26313 if (SWIG_arg_fail(1)) SWIG_fail
;
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 result
= (int)(arg1
)->GetMinPage();
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26322 resultobj
= SWIG_From_int(static_cast<int >(result
));
26330 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26331 PyObject
*resultobj
= NULL
;
26332 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26334 PyObject
* obj0
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26341 if (SWIG_arg_fail(1)) SWIG_fail
;
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 result
= (bool)(arg1
)->Ok();
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26358 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26359 PyObject
*resultobj
= NULL
;
26360 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26362 PyObject
* obj0
= 0 ;
26363 PyObject
* obj1
= 0 ;
26364 char *kwnames
[] = {
26365 (char *) "self",(char *) "ok", NULL
26368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26370 if (SWIG_arg_fail(1)) SWIG_fail
;
26372 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26373 if (SWIG_arg_fail(2)) SWIG_fail
;
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 (arg1
)->SetOk(arg2
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 Py_INCREF(Py_None
); resultobj
= Py_None
;
26389 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
= NULL
;
26391 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26394 PyObject
* obj0
= 0 ;
26395 PyObject
* obj1
= 0 ;
26396 char *kwnames
[] = {
26397 (char *) "self",(char *) "interactive", NULL
26400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26402 if (SWIG_arg_fail(1)) SWIG_fail
;
26404 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26405 if (SWIG_arg_fail(2)) SWIG_fail
;
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 result
= (bool)(arg1
)->Print(arg2
);
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26423 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26424 PyObject
*resultobj
= NULL
;
26425 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26426 PyObject
* obj0
= 0 ;
26427 char *kwnames
[] = {
26428 (char *) "self", NULL
26431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26433 if (SWIG_arg_fail(1)) SWIG_fail
;
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 (arg1
)->DetermineScaling();
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 Py_INCREF(Py_None
); resultobj
= Py_None
;
26448 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26451 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26453 return Py_BuildValue((char *)"");
26455 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26456 PyObject
*resultobj
= NULL
;
26457 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26458 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26459 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26460 wxPyPrintPreview
*result
;
26461 PyObject
* obj0
= 0 ;
26462 PyObject
* obj1
= 0 ;
26463 PyObject
* obj2
= 0 ;
26465 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26467 if (SWIG_arg_fail(1)) SWIG_fail
;
26468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26469 if (SWIG_arg_fail(2)) SWIG_fail
;
26471 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26472 if (SWIG_arg_fail(3)) SWIG_fail
;
26475 if (!wxPyCheckForApp()) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26489 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26490 PyObject
*resultobj
= NULL
;
26491 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26492 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26493 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26494 wxPyPrintPreview
*result
;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 PyObject
* obj2
= 0 ;
26499 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26501 if (SWIG_arg_fail(1)) SWIG_fail
;
26502 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26503 if (SWIG_arg_fail(2)) SWIG_fail
;
26504 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26505 if (SWIG_arg_fail(3)) SWIG_fail
;
26507 if (!wxPyCheckForApp()) SWIG_fail
;
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26521 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26526 argc
= PyObject_Length(args
);
26527 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26528 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26530 if ((argc
>= 2) && (argc
<= 3)) {
26534 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26544 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26553 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26557 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26565 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26574 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26584 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26594 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26602 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26608 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26613 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26614 PyObject
*resultobj
= NULL
;
26615 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26616 PyObject
*arg2
= (PyObject
*) 0 ;
26617 PyObject
*arg3
= (PyObject
*) 0 ;
26618 PyObject
* obj0
= 0 ;
26619 PyObject
* obj1
= 0 ;
26620 PyObject
* obj2
= 0 ;
26621 char *kwnames
[] = {
26622 (char *) "self",(char *) "self",(char *) "_class", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26627 if (SWIG_arg_fail(1)) SWIG_fail
;
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 Py_INCREF(Py_None
); resultobj
= Py_None
;
26644 static PyObject
*_wrap_PyPrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
= NULL
;
26646 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26649 PyObject
* obj0
= 0 ;
26650 PyObject
* obj1
= 0 ;
26651 char *kwnames
[] = {
26652 (char *) "self",(char *) "pageNum", NULL
26655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26657 if (SWIG_arg_fail(1)) SWIG_fail
;
26659 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26660 if (SWIG_arg_fail(2)) SWIG_fail
;
26663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26666 wxPyEndAllowThreads(__tstate
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26678 static PyObject
*_wrap_PyPrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26679 PyObject
*resultobj
= NULL
;
26680 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26681 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26684 PyObject
* obj0
= 0 ;
26685 PyObject
* obj1
= 0 ;
26686 PyObject
* obj2
= 0 ;
26687 char *kwnames
[] = {
26688 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26693 if (SWIG_arg_fail(1)) SWIG_fail
;
26694 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26695 if (SWIG_arg_fail(2)) SWIG_fail
;
26697 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26698 if (SWIG_arg_fail(3)) SWIG_fail
;
26699 if (arg3
== NULL
) {
26700 SWIG_null_ref("wxDC");
26702 if (SWIG_arg_fail(3)) SWIG_fail
;
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26706 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26720 static PyObject
*_wrap_PyPrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
= NULL
;
26722 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26723 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 PyObject
* obj2
= 0 ;
26729 char *kwnames
[] = {
26730 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26735 if (SWIG_arg_fail(1)) SWIG_fail
;
26736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26737 if (SWIG_arg_fail(2)) SWIG_fail
;
26739 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26740 if (SWIG_arg_fail(3)) SWIG_fail
;
26741 if (arg3
== NULL
) {
26742 SWIG_null_ref("wxDC");
26744 if (SWIG_arg_fail(3)) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26762 static PyObject
*_wrap_PyPrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
= NULL
;
26764 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26767 PyObject
* obj0
= 0 ;
26768 PyObject
* obj1
= 0 ;
26769 char *kwnames
[] = {
26770 (char *) "self",(char *) "pageNum", NULL
26773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26775 if (SWIG_arg_fail(1)) SWIG_fail
;
26777 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26778 if (SWIG_arg_fail(2)) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (bool)(arg1
)->RenderPage(arg2
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26796 static PyObject
*_wrap_PyPrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
= NULL
;
26798 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self",(char *) "percent", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26808 if (SWIG_arg_fail(1)) SWIG_fail
;
26810 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26811 if (SWIG_arg_fail(2)) SWIG_fail
;
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 (arg1
)->SetZoom(arg2
);
26817 wxPyEndAllowThreads(__tstate
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26820 Py_INCREF(Py_None
); resultobj
= Py_None
;
26827 static PyObject
*_wrap_PyPrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26828 PyObject
*resultobj
= NULL
;
26829 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26832 PyObject
* obj0
= 0 ;
26833 PyObject
* obj1
= 0 ;
26834 char *kwnames
[] = {
26835 (char *) "self",(char *) "interactive", NULL
26838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26840 if (SWIG_arg_fail(1)) SWIG_fail
;
26842 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26843 if (SWIG_arg_fail(2)) SWIG_fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 result
= (bool)(arg1
)->Print(arg2
);
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26861 static PyObject
*_wrap_PyPrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
= NULL
;
26863 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26864 PyObject
* obj0
= 0 ;
26865 char *kwnames
[] = {
26866 (char *) "self", NULL
26869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26871 if (SWIG_arg_fail(1)) SWIG_fail
;
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 (arg1
)->DetermineScaling();
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26879 Py_INCREF(Py_None
); resultobj
= Py_None
;
26886 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26889 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
26891 return Py_BuildValue((char *)"");
26893 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26894 PyObject
*resultobj
= NULL
;
26895 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26896 wxFrame
*arg2
= (wxFrame
*) 0 ;
26897 wxString
*arg3
= 0 ;
26898 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26899 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26900 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26901 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26902 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
26903 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
26904 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26905 wxPyPreviewFrame
*result
;
26906 bool temp3
= false ;
26909 bool temp7
= false ;
26910 PyObject
* obj0
= 0 ;
26911 PyObject
* obj1
= 0 ;
26912 PyObject
* obj2
= 0 ;
26913 PyObject
* obj3
= 0 ;
26914 PyObject
* obj4
= 0 ;
26915 PyObject
* obj5
= 0 ;
26916 PyObject
* obj6
= 0 ;
26917 char *kwnames
[] = {
26918 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26923 if (SWIG_arg_fail(1)) SWIG_fail
;
26924 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26925 if (SWIG_arg_fail(2)) SWIG_fail
;
26927 arg3
= wxString_in_helper(obj2
);
26928 if (arg3
== NULL
) SWIG_fail
;
26934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26945 arg6
= static_cast<long >(SWIG_As_long(obj5
));
26946 if (SWIG_arg_fail(6)) SWIG_fail
;
26951 arg7
= wxString_in_helper(obj6
);
26952 if (arg7
== NULL
) SWIG_fail
;
26957 if (!wxPyCheckForApp()) SWIG_fail
;
26958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26959 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
26987 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
= NULL
;
26989 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26990 PyObject
*arg2
= (PyObject
*) 0 ;
26991 PyObject
*arg3
= (PyObject
*) 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 PyObject
* obj2
= 0 ;
26995 char *kwnames
[] = {
26996 (char *) "self",(char *) "self",(char *) "_class", NULL
26999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27001 if (SWIG_arg_fail(1)) SWIG_fail
;
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27011 Py_INCREF(Py_None
); resultobj
= Py_None
;
27018 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27019 PyObject
*resultobj
= NULL
;
27020 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27021 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27022 PyObject
* obj0
= 0 ;
27023 PyObject
* obj1
= 0 ;
27024 char *kwnames
[] = {
27025 (char *) "self",(char *) "canvas", NULL
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27030 if (SWIG_arg_fail(1)) SWIG_fail
;
27031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27032 if (SWIG_arg_fail(2)) SWIG_fail
;
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 (arg1
)->SetPreviewCanvas(arg2
);
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27040 Py_INCREF(Py_None
); resultobj
= Py_None
;
27047 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27048 PyObject
*resultobj
= NULL
;
27049 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27050 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27051 PyObject
* obj0
= 0 ;
27052 PyObject
* obj1
= 0 ;
27053 char *kwnames
[] = {
27054 (char *) "self",(char *) "bar", NULL
27057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27059 if (SWIG_arg_fail(1)) SWIG_fail
;
27060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27061 if (SWIG_arg_fail(2)) SWIG_fail
;
27063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27064 (arg1
)->SetControlBar(arg2
);
27066 wxPyEndAllowThreads(__tstate
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27069 Py_INCREF(Py_None
); resultobj
= Py_None
;
27076 static PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
= NULL
;
27078 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27079 PyObject
* obj0
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
27085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27086 if (SWIG_arg_fail(1)) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 (arg1
)->Initialize();
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27094 Py_INCREF(Py_None
); resultobj
= Py_None
;
27101 static PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
= NULL
;
27103 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27104 PyObject
* obj0
= 0 ;
27105 char *kwnames
[] = {
27106 (char *) "self", NULL
27109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27111 if (SWIG_arg_fail(1)) SWIG_fail
;
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 (arg1
)->CreateCanvas();
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 Py_INCREF(Py_None
); resultobj
= Py_None
;
27126 static PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
= NULL
;
27128 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27129 PyObject
* obj0
= 0 ;
27130 char *kwnames
[] = {
27131 (char *) "self", NULL
27134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27136 if (SWIG_arg_fail(1)) SWIG_fail
;
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 (arg1
)->CreateControlBar();
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 Py_INCREF(Py_None
); resultobj
= Py_None
;
27151 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27154 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27156 return Py_BuildValue((char *)"");
27158 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
= NULL
;
27160 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27162 wxWindow
*arg3
= (wxWindow
*) 0 ;
27163 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27164 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27165 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27166 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27167 long arg6
= (long) 0 ;
27168 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27169 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27170 wxPyPreviewControlBar
*result
;
27173 bool temp7
= false ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 PyObject
* obj2
= 0 ;
27177 PyObject
* obj3
= 0 ;
27178 PyObject
* obj4
= 0 ;
27179 PyObject
* obj5
= 0 ;
27180 PyObject
* obj6
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27187 if (SWIG_arg_fail(1)) SWIG_fail
;
27189 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27190 if (SWIG_arg_fail(2)) SWIG_fail
;
27192 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27193 if (SWIG_arg_fail(3)) SWIG_fail
;
27197 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27203 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27208 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27209 if (SWIG_arg_fail(6)) SWIG_fail
;
27214 arg7
= wxString_in_helper(obj6
);
27215 if (arg7
== NULL
) SWIG_fail
;
27220 if (!wxPyCheckForApp()) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27242 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
= NULL
;
27244 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27245 PyObject
*arg2
= (PyObject
*) 0 ;
27246 PyObject
*arg3
= (PyObject
*) 0 ;
27247 PyObject
* obj0
= 0 ;
27248 PyObject
* obj1
= 0 ;
27249 PyObject
* obj2
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self",(char *) "self",(char *) "_class", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27256 if (SWIG_arg_fail(1)) SWIG_fail
;
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 Py_INCREF(Py_None
); resultobj
= Py_None
;
27273 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27274 PyObject
*resultobj
= NULL
;
27275 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27276 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27277 PyObject
* obj0
= 0 ;
27278 PyObject
* obj1
= 0 ;
27279 char *kwnames
[] = {
27280 (char *) "self",(char *) "preview", NULL
27283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27285 if (SWIG_arg_fail(1)) SWIG_fail
;
27286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27287 if (SWIG_arg_fail(2)) SWIG_fail
;
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 (arg1
)->SetPrintPreview(arg2
);
27292 wxPyEndAllowThreads(__tstate
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27295 Py_INCREF(Py_None
); resultobj
= Py_None
;
27302 static PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
= NULL
;
27304 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27305 PyObject
* obj0
= 0 ;
27306 char *kwnames
[] = {
27307 (char *) "self", NULL
27310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_CreateButtons",kwnames
,&obj0
)) goto fail
;
27311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27312 if (SWIG_arg_fail(1)) SWIG_fail
;
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 (arg1
)->CreateButtons();
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27320 Py_INCREF(Py_None
); resultobj
= Py_None
;
27327 static PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27328 PyObject
*resultobj
= NULL
;
27329 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27331 PyObject
* obj0
= 0 ;
27332 PyObject
* obj1
= 0 ;
27333 char *kwnames
[] = {
27334 (char *) "self",(char *) "zoom", NULL
27337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27339 if (SWIG_arg_fail(1)) SWIG_fail
;
27341 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27342 if (SWIG_arg_fail(2)) SWIG_fail
;
27345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 (arg1
)->SetZoomControl(arg2
);
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 Py_INCREF(Py_None
); resultobj
= Py_None
;
27358 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27361 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27363 return Py_BuildValue((char *)"");
27365 static PyMethodDef SwigMethods
[] = {
27366 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27367 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27368 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27369 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27370 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27371 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27372 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27373 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27374 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27375 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27376 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27377 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27378 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27379 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27380 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27381 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27382 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27383 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27384 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27385 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27386 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27387 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27388 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27389 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27390 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27391 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27392 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27393 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27394 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27395 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27396 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27397 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27398 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27399 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27400 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27401 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27402 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27403 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27404 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27405 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27406 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27407 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27408 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27409 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27410 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27411 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27412 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27413 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27414 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27415 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27416 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27417 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27418 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27419 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27420 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27421 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27422 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27423 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27424 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27425 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27426 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27427 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27428 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27429 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27430 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27431 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27432 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27433 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27434 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27435 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27436 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27437 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27438 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27439 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27440 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27441 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27442 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27443 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27444 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27445 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27446 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27447 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27448 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27449 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27450 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27451 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27452 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27453 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27454 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27455 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27456 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27457 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27458 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27459 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27460 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27461 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27462 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27463 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27464 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27465 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27466 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27467 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27468 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27469 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27470 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27471 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27472 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27473 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27474 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27475 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27476 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27477 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27478 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27479 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27480 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27481 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27482 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27483 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27484 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27485 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27486 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27487 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27488 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27489 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27490 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27491 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27492 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27493 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27494 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27495 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27496 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27497 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27498 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27499 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27500 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27501 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27502 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27503 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27504 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27505 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27506 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27507 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27508 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27510 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27511 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27512 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27513 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27514 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27515 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27516 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27520 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27521 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27523 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27528 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27530 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27531 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27532 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27538 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27539 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27540 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27543 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27544 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27547 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27552 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27564 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27570 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27579 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27585 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27588 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27591 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27595 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27615 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27641 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27649 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27659 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27661 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27670 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27673 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27681 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27699 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27703 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27708 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27712 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27714 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27730 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27733 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27736 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27740 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27749 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27758 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27764 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27776 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27783 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27787 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"PyWindow_DoGetSize", (PyCFunction
) _wrap_PyWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"PyWindow_DoGetPosition", (PyCFunction
) _wrap_PyWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"PyWindow_InitDialog", (PyCFunction
) _wrap_PyWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"PyWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"PyWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"PyWindow_Validate", (PyCFunction
) _wrap_PyWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"PyWindow_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"PyWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"PyWindow_GetMaxSize", (PyCFunction
) _wrap_PyWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"PyWindow_AddChild", (PyCFunction
) _wrap_PyWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"PyWindow_RemoveChild", (PyCFunction
) _wrap_PyWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"PyWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
) _wrap_PyWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27814 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"PyPanel_DoGetSize", (PyCFunction
) _wrap_PyPanel_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"PyPanel_DoGetPosition", (PyCFunction
) _wrap_PyPanel_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"PyPanel_InitDialog", (PyCFunction
) _wrap_PyPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"PyPanel_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"PyPanel_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"PyPanel_Validate", (PyCFunction
) _wrap_PyPanel_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"PyPanel_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"PyPanel_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"PyPanel_GetMaxSize", (PyCFunction
) _wrap_PyPanel_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"PyPanel_AddChild", (PyCFunction
) _wrap_PyPanel_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"PyPanel_RemoveChild", (PyCFunction
) _wrap_PyPanel_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"PyPanel_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
) _wrap_PyPanel_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27841 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"PyScrolledWindow_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"PyScrolledWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"PyScrolledWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"PyScrolledWindow_Validate", (PyCFunction
) _wrap_PyScrolledWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"PyScrolledWindow_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"PyScrolledWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"PyScrolledWindow_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"PyScrolledWindow_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"PyScrolledWindow_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"PyScrolledWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
) _wrap_PyScrolledWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27868 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
27869 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
27898 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
27899 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
27932 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
27937 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
27938 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
27969 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
27975 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
27986 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"Printout_OnEndDocument", (PyCFunction
) _wrap_Printout_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"Printout_OnBeginPrinting", (PyCFunction
) _wrap_Printout_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"Printout_OnEndPrinting", (PyCFunction
) _wrap_Printout_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"Printout_OnPreparePrinting", (PyCFunction
) _wrap_Printout_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"Printout_GetPageInfo", (PyCFunction
) _wrap_Printout_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28009 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28011 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28017 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28027 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28028 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28051 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28052 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PyPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PyPrintPreview_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PyPrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PyPrintPreview_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PyPrintPreview_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PyPrintPreview_Print", (PyCFunction
) _wrap_PyPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PyPrintPreview_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28061 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28069 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28075 { NULL
, NULL
, 0, NULL
}
28079 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28081 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28082 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28084 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28087 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28088 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28090 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28091 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28093 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28094 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28096 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28097 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28099 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28100 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28102 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28103 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28105 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28106 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28108 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28111 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28112 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28114 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28115 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28117 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28120 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28121 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28123 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28124 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28126 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28129 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28130 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28132 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28133 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28135 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28136 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28138 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28139 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28141 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28142 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28144 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28145 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28147 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28148 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28150 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28151 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28153 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28154 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28156 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28157 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28159 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28160 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28162 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28163 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28165 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28166 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28168 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28169 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28171 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28172 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28174 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28175 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28177 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28178 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28180 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28181 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28183 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28184 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28186 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28187 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28189 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28190 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28192 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28195 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28196 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28198 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28199 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28201 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28202 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28204 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28205 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28207 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28208 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28210 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28211 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28213 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28214 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28216 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28219 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28222 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28225 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28226 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28228 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28229 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28231 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28232 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28234 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28235 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28237 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28240 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28243 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28246 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28249 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28252 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28255 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28258 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28261 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28262 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28264 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28265 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28267 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28270 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28273 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28276 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28277 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28279 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28282 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28283 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28285 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28286 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28288 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28289 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28291 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28292 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28294 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28297 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28298 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28300 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28301 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28303 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28306 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28307 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28309 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28312 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28315 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28318 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28319 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28321 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28324 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28325 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28327 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28330 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28333 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28336 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28337 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28339 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28340 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28342 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28343 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28345 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28348 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28351 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28354 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28357 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28360 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28363 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28364 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28366 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28367 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28369 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28370 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28372 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28373 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28375 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28376 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28378 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28379 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28381 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28382 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28384 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28385 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28387 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28388 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28390 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28391 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28393 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28394 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28396 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28399 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28402 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28403 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28405 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28406 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28408 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28411 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28412 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28414 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28415 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28417 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28418 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28420 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28421 return (void *)((wxObject
*) ((wxSizer
*) x
));
28423 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28424 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28426 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28427 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28429 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28432 static void *_p_wxEventTo_p_wxObject(void *x
) {
28433 return (void *)((wxObject
*) ((wxEvent
*) x
));
28435 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28436 return (void *)((wxObject
*) ((wxFontData
*) x
));
28438 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28439 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28441 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28442 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28444 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28445 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28447 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28448 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28450 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28451 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28453 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28454 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28456 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28457 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28459 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28460 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28462 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28463 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28465 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28466 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28468 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28469 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28471 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28472 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28474 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28475 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28477 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28480 static void *_p_wxControlTo_p_wxObject(void *x
) {
28481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28483 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28484 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28486 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28487 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28489 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28490 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28492 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28493 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28495 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28496 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28498 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28501 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28502 return (void *)((wxObject
*) ((wxColourData
*) x
));
28504 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28505 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28507 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28510 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28513 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28516 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28519 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28522 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28525 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28528 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28531 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28534 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28537 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28540 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28541 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28543 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28544 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28546 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28547 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28549 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28552 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28553 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28555 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28556 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28558 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28559 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28561 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28562 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28564 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28565 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28567 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28568 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28570 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28571 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28573 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28574 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28576 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28577 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28579 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28580 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28582 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28583 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28585 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28586 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28588 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28589 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28591 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28592 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28594 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28595 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28597 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28598 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28600 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28601 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28603 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
28604 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
28606 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28607 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28609 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28610 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28612 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28613 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28615 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28616 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28618 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28619 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28621 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28624 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28627 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28628 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28630 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28631 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28633 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28636 static void *_p_wxImageTo_p_wxObject(void *x
) {
28637 return (void *)((wxObject
*) ((wxImage
*) x
));
28639 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28642 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28643 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28645 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28646 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28648 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28649 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28651 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28654 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28657 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28660 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28661 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28663 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28664 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28666 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28667 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28669 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28670 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28672 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28675 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28678 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28681 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28684 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28687 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28690 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28693 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28696 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28699 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28702 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28705 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28708 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28711 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28714 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28715 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28717 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28718 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28720 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28723 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28726 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28729 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28732 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28735 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28736 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28738 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28739 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28741 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28742 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28744 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28745 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28747 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28748 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28750 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28751 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28753 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28754 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28756 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28757 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28759 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28760 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28762 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28765 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28766 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28768 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28771 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28774 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28775 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28777 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28778 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28780 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28783 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28786 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28787 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28789 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28790 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28792 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28795 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28796 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28798 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28799 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28801 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28802 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28804 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28805 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28807 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28808 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28810 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28811 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28813 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28814 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28816 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28817 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28819 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28820 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28822 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28823 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28825 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28826 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28828 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28829 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28831 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
28832 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
28834 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28835 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28837 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28838 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28840 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28841 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28843 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28844 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28846 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28847 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
28849 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28850 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28852 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28853 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28855 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
28856 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
28858 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
28859 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
28861 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
28862 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
28864 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28865 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
28867 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28868 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28870 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
28871 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28873 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
28874 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28876 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
28877 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
28879 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28880 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28882 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
28883 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28885 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
28886 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28888 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
28889 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28891 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
28892 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28894 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
28895 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28897 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
28898 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28900 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
28901 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28903 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
28904 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28906 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
28907 return (void *)((wxWindow
*) ((wxPanel
*) x
));
28909 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
28910 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
28912 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
28913 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28915 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
28916 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28918 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
28919 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28921 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
28922 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
28924 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
28925 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28927 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
28928 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
28930 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
28931 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
28933 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
28934 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
28936 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
28937 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
28939 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
28940 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
28942 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
28943 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
28945 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
28946 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28948 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28949 return (void *)((wxWindow
*) ((wxControl
*) x
));
28951 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
28952 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28954 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
28955 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28957 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
28958 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28960 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28961 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28963 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
28964 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
28966 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
28967 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28969 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
28970 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28972 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
28973 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28975 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
28976 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
28978 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
28979 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28981 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
28982 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
28984 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
28985 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28987 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
28988 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28990 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
28991 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28993 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
28994 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
28996 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
28997 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28999 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29000 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29002 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29003 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29005 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29006 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29008 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29009 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29011 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29012 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29014 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29015 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29017 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29018 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29020 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29021 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29023 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29024 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29026 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29027 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29029 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29030 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29032 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29033 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29035 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29036 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29038 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29039 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29041 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29042 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29044 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29045 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29047 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29048 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29050 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29051 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29053 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29054 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29056 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29057 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29059 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29060 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29062 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29063 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29065 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29066 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29068 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29069 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29071 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29072 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29074 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29075 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29077 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29078 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29080 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29081 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29083 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29084 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29086 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29087 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29089 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29090 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29092 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29093 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29095 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29096 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29098 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29099 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29101 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29102 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29104 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
29105 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29106 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
29107 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29108 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29109 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29110 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29111 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29112 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29113 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
29114 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29115 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29116 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29117 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29118 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
29119 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29120 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
29121 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29122 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29123 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29124 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29125 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
29126 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29127 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29128 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29129 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29130 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
29131 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
29132 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
29133 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
29134 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29135 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29136 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
29137 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
29138 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29139 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29140 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
29141 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
29142 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
29143 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
29144 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
29145 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29146 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29147 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29148 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29149 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29150 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29151 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
29152 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
29153 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29154 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
29155 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29156 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
29157 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
29158 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
29159 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
29160 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
29161 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29162 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29163 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29164 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29165 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29166 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
29167 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29168 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29169 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29170 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29171 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29172 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29173 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29174 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29175 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29176 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29177 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29178 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29179 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29180 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29181 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29182 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
29183 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29184 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
29185 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
29186 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29187 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29188 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
29189 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
29190 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
29191 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
29192 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29193 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
29194 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
29195 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
29196 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
29197 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
29198 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
29199 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
29200 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
29201 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
29202 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
29203 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
29204 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
29205 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
29206 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
29207 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
29208 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
29209 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29210 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
29211 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29212 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29213 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29214 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29215 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29216 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29217 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29218 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29219 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29220 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29221 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29222 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29223 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29224 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29225 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29226 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29227 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29228 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29229 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29230 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29231 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29232 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29233 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29234 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29235 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29236 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29237 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29238 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29239 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29240 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
29241 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29242 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29243 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29244 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29245 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29246 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29247 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29248 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
29249 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29250 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29251 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29252 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29253 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29254 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29255 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
29256 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29257 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29258 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29259 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29260 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29261 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29262 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29263 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29264 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29265 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29266 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29268 static swig_type_info
*swig_type_initial
[] = {
29270 &_swigt__p_form_ops_t
,
29272 &_swigt__p_unsigned_char
,
29273 &_swigt__p_unsigned_int
,
29274 &_swigt__p_unsigned_long
,
29275 &_swigt__p_wxANIHandler
,
29276 &_swigt__p_wxAcceleratorTable
,
29277 &_swigt__p_wxActivateEvent
,
29278 &_swigt__p_wxArrayInt
,
29279 &_swigt__p_wxBMPHandler
,
29280 &_swigt__p_wxBitmap
,
29281 &_swigt__p_wxBoxSizer
,
29282 &_swigt__p_wxCURHandler
,
29283 &_swigt__p_wxCalculateLayoutEvent
,
29284 &_swigt__p_wxChildFocusEvent
,
29285 &_swigt__p_wxCloseEvent
,
29286 &_swigt__p_wxColour
,
29287 &_swigt__p_wxColourData
,
29288 &_swigt__p_wxColourDialog
,
29289 &_swigt__p_wxCommandEvent
,
29290 &_swigt__p_wxContextMenuEvent
,
29291 &_swigt__p_wxControl
,
29292 &_swigt__p_wxControlWithItems
,
29294 &_swigt__p_wxDateEvent
,
29295 &_swigt__p_wxDialog
,
29296 &_swigt__p_wxDirDialog
,
29297 &_swigt__p_wxDisplayChangedEvent
,
29298 &_swigt__p_wxDropFilesEvent
,
29299 &_swigt__p_wxDuplexMode
,
29300 &_swigt__p_wxEraseEvent
,
29301 &_swigt__p_wxEvent
,
29302 &_swigt__p_wxEvtHandler
,
29303 &_swigt__p_wxFSFile
,
29304 &_swigt__p_wxFileDialog
,
29305 &_swigt__p_wxFileSystem
,
29306 &_swigt__p_wxFindDialogEvent
,
29307 &_swigt__p_wxFindReplaceData
,
29308 &_swigt__p_wxFindReplaceDialog
,
29309 &_swigt__p_wxFlexGridSizer
,
29310 &_swigt__p_wxFocusEvent
,
29312 &_swigt__p_wxFontData
,
29313 &_swigt__p_wxFontDialog
,
29314 &_swigt__p_wxFrame
,
29315 &_swigt__p_wxGBSizerItem
,
29316 &_swigt__p_wxGIFHandler
,
29317 &_swigt__p_wxGridBagSizer
,
29318 &_swigt__p_wxGridSizer
,
29319 &_swigt__p_wxICOHandler
,
29321 &_swigt__p_wxIconBundle
,
29322 &_swigt__p_wxIconizeEvent
,
29323 &_swigt__p_wxIdleEvent
,
29324 &_swigt__p_wxImage
,
29325 &_swigt__p_wxImageHandler
,
29326 &_swigt__p_wxIndividualLayoutConstraint
,
29327 &_swigt__p_wxInitDialogEvent
,
29328 &_swigt__p_wxJPEGHandler
,
29329 &_swigt__p_wxKeyEvent
,
29330 &_swigt__p_wxLayoutAlgorithm
,
29331 &_swigt__p_wxLayoutConstraints
,
29332 &_swigt__p_wxMDIChildFrame
,
29333 &_swigt__p_wxMDIClientWindow
,
29334 &_swigt__p_wxMDIParentFrame
,
29335 &_swigt__p_wxMaximizeEvent
,
29337 &_swigt__p_wxMenuBar
,
29338 &_swigt__p_wxMenuEvent
,
29339 &_swigt__p_wxMenuItem
,
29340 &_swigt__p_wxMessageDialog
,
29341 &_swigt__p_wxMiniFrame
,
29342 &_swigt__p_wxMouseCaptureChangedEvent
,
29343 &_swigt__p_wxMouseEvent
,
29344 &_swigt__p_wxMoveEvent
,
29345 &_swigt__p_wxMultiChoiceDialog
,
29346 &_swigt__p_wxNavigationKeyEvent
,
29347 &_swigt__p_wxNcPaintEvent
,
29348 &_swigt__p_wxNotifyEvent
,
29349 &_swigt__p_wxObject
,
29350 &_swigt__p_wxPCXHandler
,
29351 &_swigt__p_wxPNGHandler
,
29352 &_swigt__p_wxPNMHandler
,
29353 &_swigt__p_wxPageSetupDialog
,
29354 &_swigt__p_wxPageSetupDialogData
,
29355 &_swigt__p_wxPaintEvent
,
29356 &_swigt__p_wxPaletteChangedEvent
,
29357 &_swigt__p_wxPanel
,
29358 &_swigt__p_wxPaperSize
,
29359 &_swigt__p_wxPasswordEntryDialog
,
29360 &_swigt__p_wxPoint
,
29361 &_swigt__p_wxPopupWindow
,
29362 &_swigt__p_wxPreviewCanvas
,
29363 &_swigt__p_wxPreviewControlBar
,
29364 &_swigt__p_wxPreviewFrame
,
29365 &_swigt__p_wxPrintData
,
29366 &_swigt__p_wxPrintDialog
,
29367 &_swigt__p_wxPrintDialogData
,
29368 &_swigt__p_wxPrintPreview
,
29369 &_swigt__p_wxPrinter
,
29370 &_swigt__p_wxProgressDialog
,
29371 &_swigt__p_wxPyApp
,
29372 &_swigt__p_wxPyCommandEvent
,
29373 &_swigt__p_wxPyEvent
,
29374 &_swigt__p_wxPyHtmlListBox
,
29375 &_swigt__p_wxPyImageHandler
,
29376 &_swigt__p_wxPyPanel
,
29377 &_swigt__p_wxPyPopupTransientWindow
,
29378 &_swigt__p_wxPyPreviewControlBar
,
29379 &_swigt__p_wxPyPreviewFrame
,
29380 &_swigt__p_wxPyPrintPreview
,
29381 &_swigt__p_wxPyPrintout
,
29382 &_swigt__p_wxPyScrolledWindow
,
29383 &_swigt__p_wxPySizer
,
29384 &_swigt__p_wxPyTaskBarIcon
,
29385 &_swigt__p_wxPyVListBox
,
29386 &_swigt__p_wxPyVScrolledWindow
,
29387 &_swigt__p_wxPyValidator
,
29388 &_swigt__p_wxPyWindow
,
29389 &_swigt__p_wxQueryLayoutInfoEvent
,
29390 &_swigt__p_wxQueryNewPaletteEvent
,
29392 &_swigt__p_wxRegion
,
29393 &_swigt__p_wxSashEvent
,
29394 &_swigt__p_wxSashLayoutWindow
,
29395 &_swigt__p_wxSashWindow
,
29396 &_swigt__p_wxScrollEvent
,
29397 &_swigt__p_wxScrollWinEvent
,
29398 &_swigt__p_wxScrolledWindow
,
29399 &_swigt__p_wxSetCursorEvent
,
29400 &_swigt__p_wxShowEvent
,
29401 &_swigt__p_wxSingleChoiceDialog
,
29403 &_swigt__p_wxSizeEvent
,
29404 &_swigt__p_wxSizer
,
29405 &_swigt__p_wxSizerItem
,
29406 &_swigt__p_wxSplashScreen
,
29407 &_swigt__p_wxSplashScreenWindow
,
29408 &_swigt__p_wxSplitterEvent
,
29409 &_swigt__p_wxSplitterWindow
,
29410 &_swigt__p_wxStaticBoxSizer
,
29411 &_swigt__p_wxStatusBar
,
29412 &_swigt__p_wxStdDialogButtonSizer
,
29413 &_swigt__p_wxString
,
29414 &_swigt__p_wxSysColourChangedEvent
,
29415 &_swigt__p_wxTIFFHandler
,
29416 &_swigt__p_wxTaskBarIcon
,
29417 &_swigt__p_wxTaskBarIconEvent
,
29418 &_swigt__p_wxTextEntryDialog
,
29419 &_swigt__p_wxTipWindow
,
29420 &_swigt__p_wxToolBar
,
29421 &_swigt__p_wxTopLevelWindow
,
29422 &_swigt__p_wxUpdateUIEvent
,
29423 &_swigt__p_wxValidator
,
29424 &_swigt__p_wxVisualAttributes
,
29425 &_swigt__p_wxWindow
,
29426 &_swigt__p_wxWindowCreateEvent
,
29427 &_swigt__p_wxWindowDestroyEvent
,
29428 &_swigt__p_wxXPMHandler
,
29429 &_swigt__ptrdiff_t
,
29430 &_swigt__std__ptrdiff_t
,
29431 &_swigt__unsigned_int
,
29434 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
29435 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
29436 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
29437 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
29438 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29439 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
29440 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
29441 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
29442 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
29443 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
29444 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
29445 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
29446 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29447 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
29448 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29449 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29450 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
29451 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29452 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29453 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29454 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}};
29455 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
29456 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}};
29457 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
29458 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
29459 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29460 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29461 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29462 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29463 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
29464 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29465 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29466 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
29467 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
29468 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29469 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29470 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29471 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29472 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
29473 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29474 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29475 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29476 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29477 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29478 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29479 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
29480 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29481 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
29482 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29483 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29484 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}};
29485 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
29486 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
29487 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
29488 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
29489 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
29490 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
29491 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
29492 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
29493 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29494 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
29495 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29496 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
29497 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
29498 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
29499 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
29500 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
29501 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
29502 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
29503 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
29504 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29505 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
29506 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
29507 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
29508 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
29509 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
29510 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29511 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}};
29512 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
29513 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29514 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29515 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
29516 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29517 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29518 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29519 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
29520 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29521 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29522 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
29523 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
29524 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
29525 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29526 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29527 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
29528 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
29529 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
29530 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
29531 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29532 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29533 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
29534 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29535 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29536 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29537 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29538 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
29539 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
29540 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
29541 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
29542 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29543 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}};
29544 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
29545 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
29546 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
29547 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
29548 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
29549 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}};
29550 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}};
29551 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
29552 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
29553 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29554 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}};
29555 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
29556 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
29557 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
29558 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
29559 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29560 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
29561 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
29562 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
29563 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
29564 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
29565 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29566 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}};
29567 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}};
29568 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
29569 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
29570 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
29571 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
29572 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
29573 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
29574 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}};
29575 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
29576 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}};
29577 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29578 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
29579 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
29580 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
29581 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
29582 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
29583 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
29584 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
29585 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
29586 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29587 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
29588 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}};
29589 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
29590 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
29591 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
29592 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
29593 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
29594 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29595 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29596 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29598 static swig_cast_info
*swig_cast_initial
[] = {
29600 _swigc__p_form_ops_t
,
29602 _swigc__p_unsigned_char
,
29603 _swigc__p_unsigned_int
,
29604 _swigc__p_unsigned_long
,
29605 _swigc__p_wxANIHandler
,
29606 _swigc__p_wxAcceleratorTable
,
29607 _swigc__p_wxActivateEvent
,
29608 _swigc__p_wxArrayInt
,
29609 _swigc__p_wxBMPHandler
,
29610 _swigc__p_wxBitmap
,
29611 _swigc__p_wxBoxSizer
,
29612 _swigc__p_wxCURHandler
,
29613 _swigc__p_wxCalculateLayoutEvent
,
29614 _swigc__p_wxChildFocusEvent
,
29615 _swigc__p_wxCloseEvent
,
29616 _swigc__p_wxColour
,
29617 _swigc__p_wxColourData
,
29618 _swigc__p_wxColourDialog
,
29619 _swigc__p_wxCommandEvent
,
29620 _swigc__p_wxContextMenuEvent
,
29621 _swigc__p_wxControl
,
29622 _swigc__p_wxControlWithItems
,
29624 _swigc__p_wxDateEvent
,
29625 _swigc__p_wxDialog
,
29626 _swigc__p_wxDirDialog
,
29627 _swigc__p_wxDisplayChangedEvent
,
29628 _swigc__p_wxDropFilesEvent
,
29629 _swigc__p_wxDuplexMode
,
29630 _swigc__p_wxEraseEvent
,
29632 _swigc__p_wxEvtHandler
,
29633 _swigc__p_wxFSFile
,
29634 _swigc__p_wxFileDialog
,
29635 _swigc__p_wxFileSystem
,
29636 _swigc__p_wxFindDialogEvent
,
29637 _swigc__p_wxFindReplaceData
,
29638 _swigc__p_wxFindReplaceDialog
,
29639 _swigc__p_wxFlexGridSizer
,
29640 _swigc__p_wxFocusEvent
,
29642 _swigc__p_wxFontData
,
29643 _swigc__p_wxFontDialog
,
29645 _swigc__p_wxGBSizerItem
,
29646 _swigc__p_wxGIFHandler
,
29647 _swigc__p_wxGridBagSizer
,
29648 _swigc__p_wxGridSizer
,
29649 _swigc__p_wxICOHandler
,
29651 _swigc__p_wxIconBundle
,
29652 _swigc__p_wxIconizeEvent
,
29653 _swigc__p_wxIdleEvent
,
29655 _swigc__p_wxImageHandler
,
29656 _swigc__p_wxIndividualLayoutConstraint
,
29657 _swigc__p_wxInitDialogEvent
,
29658 _swigc__p_wxJPEGHandler
,
29659 _swigc__p_wxKeyEvent
,
29660 _swigc__p_wxLayoutAlgorithm
,
29661 _swigc__p_wxLayoutConstraints
,
29662 _swigc__p_wxMDIChildFrame
,
29663 _swigc__p_wxMDIClientWindow
,
29664 _swigc__p_wxMDIParentFrame
,
29665 _swigc__p_wxMaximizeEvent
,
29667 _swigc__p_wxMenuBar
,
29668 _swigc__p_wxMenuEvent
,
29669 _swigc__p_wxMenuItem
,
29670 _swigc__p_wxMessageDialog
,
29671 _swigc__p_wxMiniFrame
,
29672 _swigc__p_wxMouseCaptureChangedEvent
,
29673 _swigc__p_wxMouseEvent
,
29674 _swigc__p_wxMoveEvent
,
29675 _swigc__p_wxMultiChoiceDialog
,
29676 _swigc__p_wxNavigationKeyEvent
,
29677 _swigc__p_wxNcPaintEvent
,
29678 _swigc__p_wxNotifyEvent
,
29679 _swigc__p_wxObject
,
29680 _swigc__p_wxPCXHandler
,
29681 _swigc__p_wxPNGHandler
,
29682 _swigc__p_wxPNMHandler
,
29683 _swigc__p_wxPageSetupDialog
,
29684 _swigc__p_wxPageSetupDialogData
,
29685 _swigc__p_wxPaintEvent
,
29686 _swigc__p_wxPaletteChangedEvent
,
29688 _swigc__p_wxPaperSize
,
29689 _swigc__p_wxPasswordEntryDialog
,
29691 _swigc__p_wxPopupWindow
,
29692 _swigc__p_wxPreviewCanvas
,
29693 _swigc__p_wxPreviewControlBar
,
29694 _swigc__p_wxPreviewFrame
,
29695 _swigc__p_wxPrintData
,
29696 _swigc__p_wxPrintDialog
,
29697 _swigc__p_wxPrintDialogData
,
29698 _swigc__p_wxPrintPreview
,
29699 _swigc__p_wxPrinter
,
29700 _swigc__p_wxProgressDialog
,
29702 _swigc__p_wxPyCommandEvent
,
29703 _swigc__p_wxPyEvent
,
29704 _swigc__p_wxPyHtmlListBox
,
29705 _swigc__p_wxPyImageHandler
,
29706 _swigc__p_wxPyPanel
,
29707 _swigc__p_wxPyPopupTransientWindow
,
29708 _swigc__p_wxPyPreviewControlBar
,
29709 _swigc__p_wxPyPreviewFrame
,
29710 _swigc__p_wxPyPrintPreview
,
29711 _swigc__p_wxPyPrintout
,
29712 _swigc__p_wxPyScrolledWindow
,
29713 _swigc__p_wxPySizer
,
29714 _swigc__p_wxPyTaskBarIcon
,
29715 _swigc__p_wxPyVListBox
,
29716 _swigc__p_wxPyVScrolledWindow
,
29717 _swigc__p_wxPyValidator
,
29718 _swigc__p_wxPyWindow
,
29719 _swigc__p_wxQueryLayoutInfoEvent
,
29720 _swigc__p_wxQueryNewPaletteEvent
,
29722 _swigc__p_wxRegion
,
29723 _swigc__p_wxSashEvent
,
29724 _swigc__p_wxSashLayoutWindow
,
29725 _swigc__p_wxSashWindow
,
29726 _swigc__p_wxScrollEvent
,
29727 _swigc__p_wxScrollWinEvent
,
29728 _swigc__p_wxScrolledWindow
,
29729 _swigc__p_wxSetCursorEvent
,
29730 _swigc__p_wxShowEvent
,
29731 _swigc__p_wxSingleChoiceDialog
,
29733 _swigc__p_wxSizeEvent
,
29735 _swigc__p_wxSizerItem
,
29736 _swigc__p_wxSplashScreen
,
29737 _swigc__p_wxSplashScreenWindow
,
29738 _swigc__p_wxSplitterEvent
,
29739 _swigc__p_wxSplitterWindow
,
29740 _swigc__p_wxStaticBoxSizer
,
29741 _swigc__p_wxStatusBar
,
29742 _swigc__p_wxStdDialogButtonSizer
,
29743 _swigc__p_wxString
,
29744 _swigc__p_wxSysColourChangedEvent
,
29745 _swigc__p_wxTIFFHandler
,
29746 _swigc__p_wxTaskBarIcon
,
29747 _swigc__p_wxTaskBarIconEvent
,
29748 _swigc__p_wxTextEntryDialog
,
29749 _swigc__p_wxTipWindow
,
29750 _swigc__p_wxToolBar
,
29751 _swigc__p_wxTopLevelWindow
,
29752 _swigc__p_wxUpdateUIEvent
,
29753 _swigc__p_wxValidator
,
29754 _swigc__p_wxVisualAttributes
,
29755 _swigc__p_wxWindow
,
29756 _swigc__p_wxWindowCreateEvent
,
29757 _swigc__p_wxWindowDestroyEvent
,
29758 _swigc__p_wxXPMHandler
,
29760 _swigc__std__ptrdiff_t
,
29761 _swigc__unsigned_int
,
29765 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29767 static swig_const_info swig_const_table
[] = {
29768 {0, 0, 0, 0.0, 0, 0}};
29773 /*************************************************************************
29774 * Type initialization:
29775 * This problem is tough by the requirement that no dynamic
29776 * memory is used. Also, since swig_type_info structures store pointers to
29777 * swig_cast_info structures and swig_cast_info structures store pointers back
29778 * to swig_type_info structures, we need some lookup code at initialization.
29779 * The idea is that swig generates all the structures that are needed.
29780 * The runtime then collects these partially filled structures.
29781 * The SWIG_InitializeModule function takes these initial arrays out of
29782 * swig_module, and does all the lookup, filling in the swig_module.types
29783 * array with the correct data and linking the correct swig_cast_info
29784 * structures together.
29786 * The generated swig_type_info structures are assigned staticly to an initial
29787 * array. We just loop though that array, and handle each type individually.
29788 * First we lookup if this type has been already loaded, and if so, use the
29789 * loaded structure instead of the generated one. Then we have to fill in the
29790 * cast linked list. The cast data is initially stored in something like a
29791 * two-dimensional array. Each row corresponds to a type (there are the same
29792 * number of rows as there are in the swig_type_initial array). Each entry in
29793 * a column is one of the swig_cast_info structures for that type.
29794 * The cast_initial array is actually an array of arrays, because each row has
29795 * a variable number of columns. So to actually build the cast linked list,
29796 * we find the array of casts associated with the type, and loop through it
29797 * adding the casts to the list. The one last trick we need to do is making
29798 * sure the type pointer in the swig_cast_info struct is correct.
29800 * First off, we lookup the cast->type name to see if it is already loaded.
29801 * There are three cases to handle:
29802 * 1) If the cast->type has already been loaded AND the type we are adding
29803 * casting info to has not been loaded (it is in this module), THEN we
29804 * replace the cast->type pointer with the type pointer that has already
29806 * 2) If BOTH types (the one we are adding casting info to, and the
29807 * cast->type) are loaded, THEN the cast info has already been loaded by
29808 * the previous module so we just ignore it.
29809 * 3) Finally, if cast->type has not already been loaded, then we add that
29810 * swig_cast_info to the linked list (because the cast->type) pointer will
29822 #define SWIGRUNTIME_DEBUG
29826 SWIG_InitializeModule(void *clientdata
) {
29828 swig_module_info
*module_head
;
29829 static int init_run
= 0;
29831 clientdata
= clientdata
;
29833 if (init_run
) return;
29836 /* Initialize the swig_module */
29837 swig_module
.type_initial
= swig_type_initial
;
29838 swig_module
.cast_initial
= swig_cast_initial
;
29840 /* Try and load any already created modules */
29841 module_head
= SWIG_GetModule(clientdata
);
29843 swig_module
.next
= module_head
->next
;
29844 module_head
->next
= &swig_module
;
29846 /* This is the first module loaded */
29847 swig_module
.next
= &swig_module
;
29848 SWIG_SetModule(clientdata
, &swig_module
);
29851 /* Now work on filling in swig_module.types */
29852 #ifdef SWIGRUNTIME_DEBUG
29853 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
29855 for (i
= 0; i
< swig_module
.size
; ++i
) {
29856 swig_type_info
*type
= 0;
29857 swig_type_info
*ret
;
29858 swig_cast_info
*cast
;
29860 #ifdef SWIGRUNTIME_DEBUG
29861 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
29864 /* if there is another module already loaded */
29865 if (swig_module
.next
!= &swig_module
) {
29866 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
29869 /* Overwrite clientdata field */
29870 #ifdef SWIGRUNTIME_DEBUG
29871 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
29873 if (swig_module
.type_initial
[i
]->clientdata
) {
29874 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
29875 #ifdef SWIGRUNTIME_DEBUG
29876 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
29880 type
= swig_module
.type_initial
[i
];
29883 /* Insert casting types */
29884 cast
= swig_module
.cast_initial
[i
];
29885 while (cast
->type
) {
29886 /* Don't need to add information already in the list */
29888 #ifdef SWIGRUNTIME_DEBUG
29889 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
29891 if (swig_module
.next
!= &swig_module
) {
29892 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
29893 #ifdef SWIGRUNTIME_DEBUG
29894 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
29898 if (type
== swig_module
.type_initial
[i
]) {
29899 #ifdef SWIGRUNTIME_DEBUG
29900 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
29905 /* Check for casting already in the list */
29906 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
29907 #ifdef SWIGRUNTIME_DEBUG
29908 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
29910 if (!ocast
) ret
= 0;
29915 #ifdef SWIGRUNTIME_DEBUG
29916 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
29919 type
->cast
->prev
= cast
;
29920 cast
->next
= type
->cast
;
29926 /* Set entry in modules->types array equal to the type */
29927 swig_module
.types
[i
] = type
;
29929 swig_module
.types
[i
] = 0;
29931 #ifdef SWIGRUNTIME_DEBUG
29932 printf("**** SWIG_InitializeModule: Cast List ******\n");
29933 for (i
= 0; i
< swig_module
.size
; ++i
) {
29935 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
29936 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
29937 while (cast
->type
) {
29938 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
29942 printf("---- Total casts: %d\n",j
);
29944 printf("**** SWIG_InitializeModule: Cast List ******\n");
29948 /* This function will propagate the clientdata field of type to
29949 * any new swig_type_info structures that have been added into the list
29950 * of equivalent types. It is like calling
29951 * SWIG_TypeClientData(type, clientdata) a second time.
29954 SWIG_PropagateClientData(void) {
29956 swig_cast_info
*equiv
;
29957 static int init_run
= 0;
29959 if (init_run
) return;
29962 for (i
= 0; i
< swig_module
.size
; i
++) {
29963 if (swig_module
.types
[i
]->clientdata
) {
29964 equiv
= swig_module
.types
[i
]->cast
;
29966 if (!equiv
->converter
) {
29967 if (equiv
->type
&& !equiv
->type
->clientdata
)
29968 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
29970 equiv
= equiv
->next
;
29990 /* Python-specific SWIG API */
29991 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29992 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29993 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29995 /* -----------------------------------------------------------------------------
29996 * global variable support code.
29997 * ----------------------------------------------------------------------------- */
29999 typedef struct swig_globalvar
{
30000 char *name
; /* Name of global variable */
30001 PyObject
*(*get_attr
)(void); /* Return the current value */
30002 int (*set_attr
)(PyObject
*); /* Set the value */
30003 struct swig_globalvar
*next
;
30006 typedef struct swig_varlinkobject
{
30008 swig_globalvar
*vars
;
30009 } swig_varlinkobject
;
30011 SWIGINTERN PyObject
*
30012 swig_varlink_repr(swig_varlinkobject
*v
) {
30014 return PyString_FromString("<Swig global variables>");
30018 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
30019 swig_globalvar
*var
;
30021 fprintf(fp
,"Swig global variables { ");
30022 for (var
= v
->vars
; var
; var
=var
->next
) {
30023 fprintf(fp
,"%s", var
->name
);
30024 if (var
->next
) fprintf(fp
,", ");
30026 fprintf(fp
," }\n");
30030 SWIGINTERN PyObject
*
30031 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30032 swig_globalvar
*var
= v
->vars
;
30034 if (strcmp(var
->name
,n
) == 0) {
30035 return (*var
->get_attr
)();
30039 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30044 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30045 swig_globalvar
*var
= v
->vars
;
30047 if (strcmp(var
->name
,n
) == 0) {
30048 return (*var
->set_attr
)(p
);
30052 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30056 SWIGINTERN PyTypeObject
*
30057 swig_varlink_type(void) {
30058 static char varlink__doc__
[] = "Swig var link object";
30059 static PyTypeObject varlink_type
30060 #if !defined(__cplusplus)
30062 static int type_init
= 0;
30067 PyObject_HEAD_INIT(&PyType_Type
)
30068 0, /* Number of items in variable part (ob_size) */
30069 (char *)"swigvarlink", /* Type name (tp_name) */
30070 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30071 0, /* Itemsize (tp_itemsize) */
30072 0, /* Deallocator (tp_dealloc) */
30073 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30074 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30075 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30076 0, /* tp_compare */
30077 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30078 0, /* tp_as_number */
30079 0, /* tp_as_sequence */
30080 0, /* tp_as_mapping */
30084 0, /* tp_getattro */
30085 0, /* tp_setattro */
30086 0, /* tp_as_buffer */
30088 varlink__doc__
, /* tp_doc */
30089 #if PY_VERSION_HEX >= 0x02000000
30090 0, /* tp_traverse */
30093 #if PY_VERSION_HEX >= 0x02010000
30094 0, /* tp_richcompare */
30095 0, /* tp_weaklistoffset */
30097 #if PY_VERSION_HEX >= 0x02020000
30098 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30100 #if PY_VERSION_HEX >= 0x02030000
30103 #ifdef COUNT_ALLOCS
30104 0,0,0,0 /* tp_alloc -> tp_next */
30107 #if !defined(__cplusplus)
30108 varlink_type
= tmp
;
30112 return &varlink_type
;
30115 /* Create a variable linking object for use later */
30116 SWIGINTERN PyObject
*
30117 SWIG_Python_newvarlink(void) {
30118 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
30122 return ((PyObject
*) result
);
30126 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
30127 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
30128 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
30130 size_t size
= strlen(name
)+1;
30131 gv
->name
= (char *)malloc(size
);
30133 strncpy(gv
->name
,name
,size
);
30134 gv
->get_attr
= get_attr
;
30135 gv
->set_attr
= set_attr
;
30136 gv
->next
= v
->vars
;
30142 /* -----------------------------------------------------------------------------
30143 * constants/methods manipulation
30144 * ----------------------------------------------------------------------------- */
30146 /* Install Constants */
30148 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30151 for (i
= 0; constants
[i
].type
; ++i
) {
30152 switch(constants
[i
].type
) {
30154 obj
= PyInt_FromLong(constants
[i
].lvalue
);
30156 case SWIG_PY_FLOAT
:
30157 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
30159 case SWIG_PY_STRING
:
30160 if (constants
[i
].pvalue
) {
30161 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
30163 Py_INCREF(Py_None
);
30167 case SWIG_PY_POINTER
:
30168 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30170 case SWIG_PY_BINARY
:
30171 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30178 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
30184 /* -----------------------------------------------------------------------------*/
30185 /* Fix SwigMethods to carry the callback ptrs when needed */
30186 /* -----------------------------------------------------------------------------*/
30189 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30190 swig_const_info
*const_table
,
30191 swig_type_info
**types
,
30192 swig_type_info
**types_initial
) {
30194 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30195 char *c
= methods
[i
].ml_doc
;
30196 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30198 swig_const_info
*ci
= 0;
30199 char *name
= c
+ 10;
30200 for (j
= 0; const_table
[j
].type
; ++j
) {
30201 if (strncmp(const_table
[j
].name
, name
,
30202 strlen(const_table
[j
].name
)) == 0) {
30203 ci
= &(const_table
[j
]);
30208 size_t shift
= (ci
->ptype
) - types
;
30209 swig_type_info
*ty
= types_initial
[shift
];
30210 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30211 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30212 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30215 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
30217 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30219 strncpy(buff
, "swig_ptr: ", 10);
30221 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30222 methods
[i
].ml_doc
= ndoc
;
30230 /* -----------------------------------------------------------------------------*
30231 * Initialize type list
30232 * -----------------------------------------------------------------------------*/
30238 /* -----------------------------------------------------------------------------*
30239 * Partial Init method
30240 * -----------------------------------------------------------------------------*/
30245 SWIGEXPORT
void SWIG_init(void) {
30246 static PyObject
*SWIG_globals
= 0;
30248 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30250 /* Fix SwigMethods to carry the callback ptrs when needed */
30251 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
30253 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30254 d
= PyModule_GetDict(m
);
30256 SWIG_InitializeModule(0);
30257 SWIG_InstallConstants(d
,swig_const_table
);
30259 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30260 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30261 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30262 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30263 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30265 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP
)));
30268 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE
)));
30271 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE
)));
30274 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE
)));
30277 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX
)));
30280 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME
)));
30283 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU
)));
30286 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX
)));
30289 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX
)));
30292 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ
)));
30295 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT
)));
30298 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX
)));
30301 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER
)));
30304 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT
)));
30307 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE
)));
30310 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE
)));
30313 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW
)));
30316 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT
)));
30319 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU
)));
30322 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR
)));
30325 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED
)));
30328 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER
)));
30331 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL
)));
30334 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL
)));
30337 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL
)));
30340 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS
)));
30343 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS
)));
30346 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D
)));
30349 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR
)));
30352 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR
)));
30355 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR
)));
30358 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER
)));
30361 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION
)));
30364 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL
)));
30367 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG
)));
30370 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO
)));
30373 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR
)));
30376 PyDict_SetItemString(d
,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags
)));
30379 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT
)));
30382 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN
)));
30385 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE
)));
30388 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT
)));
30391 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT
)));
30394 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL
)));
30397 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT
)));
30400 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED
)));
30402 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30404 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER
)));
30407 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH
)));
30410 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT
)));
30413 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE
)));
30416 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH
)));
30419 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER
)));
30422 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME
)));
30425 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER
)));
30428 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D
)));
30431 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL
)));
30434 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL
)));
30437 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE
)));
30440 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING
)));
30443 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN
)));
30445 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30446 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30447 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30448 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30449 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30450 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30452 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE
)));
30455 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING
)));
30458 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN
)));
30461 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER
)));
30464 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER
)));
30467 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH
)));
30470 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER
)));
30473 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D
)));
30476 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP
)));
30479 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT
)));
30482 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM
)));
30485 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT
)));
30488 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE
)));
30491 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK
)));
30494 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE
)));
30496 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30498 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL
)));
30501 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL
)));
30504 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE
)));
30507 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP
)));
30510 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT
)));
30513 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT
)));
30516 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM
)));
30519 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y
)));
30522 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X
)));
30525 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH
)));
30528 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY
)));
30530 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30531 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30532 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30534 // Map renamed classes back to their common name for OOR
30535 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30536 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30537 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30539 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30540 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30541 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30542 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30543 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30544 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30545 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30546 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30547 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30548 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30549 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30550 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30551 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30553 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE
)));
30556 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle
)));
30558 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30560 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN
)));
30563 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD
)));
30566 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE
)));
30569 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG
)));
30572 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN
)));
30575 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE
)));
30578 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD
)));
30580 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30581 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30582 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30583 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30584 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30586 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30589 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30592 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30595 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30598 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30601 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30604 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30607 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30610 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30612 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30613 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30615 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE
)));
30618 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW
)));
30621 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE
)));
30624 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER
)));
30627 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM
)));
30630 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT
)));
30633 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE
)));
30636 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER
)));
30639 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE
)));
30642 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL
)));
30645 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE
)));
30648 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL
)));
30651 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO
)));
30654 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR
)));
30657 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT
)));
30660 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT
)));
30663 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY
)));
30666 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE
)));
30669 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE
)));
30672 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER
)));
30675 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR
)));
30678 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED
)));
30681 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR
)));
30684 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT
)));
30687 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS
)));
30690 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT
)));
30693 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM
)));
30696 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST
)));
30699 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST
)));
30702 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO
)));
30705 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT
)));
30708 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE
)));
30711 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT
)));
30714 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS
)));
30717 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT
)));
30720 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM
)));
30723 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST
)));
30726 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST
)));
30729 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO
)));
30732 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");