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
);
2601 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2602 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2606 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2607 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2608 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2609 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2610 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2611 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2612 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2618 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2619 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2620 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2623 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2624 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2627 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2628 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2629 PyObject* win = wxPyMake_wxObject(a,false); \
2630 PyObject* dc = wxPyMake_wxObject(&b,false); \
2631 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2635 wxPyEndBlockThreads(blocked); \
2637 rval = PCLASS::CBNAME(a, b); \
2640 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2641 return PCLASS::CBNAME(a, b); \
2647 class wxPyPrintPreview
: public wxPrintPreview
2649 DECLARE_CLASS(wxPyPrintPreview
)
2651 wxPyPrintPreview(wxPyPrintout
* printout
,
2652 wxPyPrintout
* printoutForPrinting
,
2653 wxPrintDialogData
* data
=NULL
)
2654 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2656 wxPyPrintPreview(wxPyPrintout
* printout
,
2657 wxPyPrintout
* printoutForPrinting
,
2659 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2665 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2666 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2667 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2668 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2673 // Stupid renamed classes... Fix this in 2.5...
2674 #if defined(__WXMSW__)
2675 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2676 #elif defined(__WXMAC__)
2677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2679 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2691 class wxPyPreviewFrame
: public wxPreviewFrame
2693 DECLARE_CLASS(wxPyPreviewFrame
)
2695 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2696 const wxString
& title
,
2697 const wxPoint
& pos
= wxDefaultPosition
,
2698 const wxSize
& size
= wxDefaultSize
,
2699 long style
= wxDEFAULT_FRAME_STYLE
,
2700 const wxString
& name
= wxPyFrameNameStr
)
2701 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2704 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2705 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2707 DEC_PYCALLBACK_VOID_(Initialize
);
2708 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2709 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2714 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2721 class wxPyPreviewControlBar
: public wxPreviewControlBar
2723 DECLARE_CLASS(wxPyPreviewControlBar
)
2725 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2728 const wxPoint
& pos
= wxDefaultPosition
,
2729 const wxSize
& size
= wxDefaultSize
,
2731 const wxString
& name
= wxPyPanelNameStr
)
2732 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2735 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2737 DEC_PYCALLBACK_VOID_(CreateButtons
);
2738 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2743 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2750 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
= NULL
;
2752 wxWindow
*arg1
= (wxWindow
*) 0 ;
2753 int arg2
= (int) (int)-1 ;
2754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2758 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2759 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2760 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2764 bool temp6
= false ;
2765 PyObject
* obj0
= 0 ;
2766 PyObject
* obj1
= 0 ;
2767 PyObject
* obj2
= 0 ;
2768 PyObject
* obj3
= 0 ;
2769 PyObject
* obj4
= 0 ;
2770 PyObject
* obj5
= 0 ;
2772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2777 if (SWIG_arg_fail(1)) SWIG_fail
;
2780 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
2781 if (SWIG_arg_fail(2)) SWIG_fail
;
2787 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2793 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2798 arg5
= static_cast<long >(SWIG_As_long(obj4
));
2799 if (SWIG_arg_fail(5)) SWIG_fail
;
2804 arg6
= wxString_in_helper(obj5
);
2805 if (arg6
== NULL
) SWIG_fail
;
2810 if (!wxPyCheckForApp()) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2832 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
= NULL
;
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2841 if (!wxPyCheckForApp()) SWIG_fail
;
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 result
= (wxPanel
*)new wxPanel();
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2855 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
= NULL
;
2857 wxPanel
*arg1
= (wxPanel
*) 0 ;
2858 wxWindow
*arg2
= (wxWindow
*) 0 ;
2859 int arg3
= (int) (int)-1 ;
2860 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2861 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2862 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2863 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2864 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2865 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2866 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2870 bool temp7
= false ;
2871 PyObject
* obj0
= 0 ;
2872 PyObject
* obj1
= 0 ;
2873 PyObject
* obj2
= 0 ;
2874 PyObject
* obj3
= 0 ;
2875 PyObject
* obj4
= 0 ;
2876 PyObject
* obj5
= 0 ;
2877 PyObject
* obj6
= 0 ;
2879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2884 if (SWIG_arg_fail(1)) SWIG_fail
;
2885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2886 if (SWIG_arg_fail(2)) SWIG_fail
;
2889 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
2890 if (SWIG_arg_fail(3)) SWIG_fail
;
2896 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2902 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2907 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2908 if (SWIG_arg_fail(6)) SWIG_fail
;
2913 arg7
= wxString_in_helper(obj6
);
2914 if (arg7
== NULL
) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2942 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
= NULL
;
2944 wxPanel
*arg1
= (wxPanel
*) 0 ;
2945 PyObject
* obj0
= 0 ;
2947 (char *) "self", NULL
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 (arg1
)->InitDialog();
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2960 Py_INCREF(Py_None
); resultobj
= Py_None
;
2967 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
= NULL
;
2969 wxPanel
*arg1
= (wxPanel
*) 0 ;
2970 PyObject
* obj0
= 0 ;
2972 (char *) "self", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2977 if (SWIG_arg_fail(1)) SWIG_fail
;
2979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 wxPyEndAllowThreads(__tstate
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2985 Py_INCREF(Py_None
); resultobj
= Py_None
;
2992 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
*resultobj
= NULL
;
2994 wxPanel
*arg1
= (wxPanel
*) 0 ;
2995 PyObject
* obj0
= 0 ;
2997 (char *) "self", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
3001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
3002 if (SWIG_arg_fail(1)) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 (arg1
)->SetFocusIgnoringChildren();
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3010 Py_INCREF(Py_None
); resultobj
= Py_None
;
3017 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
= NULL
;
3019 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3020 wxVisualAttributes result
;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "variant", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3029 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3030 if (SWIG_arg_fail(1)) SWIG_fail
;
3034 if (!wxPyCheckForApp()) SWIG_fail
;
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3042 wxVisualAttributes
* resultptr
;
3043 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3052 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
3054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3055 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
3057 return Py_BuildValue((char *)"");
3059 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
= NULL
;
3061 wxWindow
*arg1
= (wxWindow
*) 0 ;
3062 int arg2
= (int) (int)-1 ;
3063 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3064 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3065 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3066 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3067 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3068 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3069 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3070 wxScrolledWindow
*result
;
3073 bool temp6
= false ;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3076 PyObject
* obj2
= 0 ;
3077 PyObject
* obj3
= 0 ;
3078 PyObject
* obj4
= 0 ;
3079 PyObject
* obj5
= 0 ;
3081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3086 if (SWIG_arg_fail(1)) SWIG_fail
;
3089 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
3090 if (SWIG_arg_fail(2)) SWIG_fail
;
3096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3107 arg5
= static_cast<long >(SWIG_As_long(obj4
));
3108 if (SWIG_arg_fail(5)) SWIG_fail
;
3113 arg6
= wxString_in_helper(obj5
);
3114 if (arg6
== NULL
) SWIG_fail
;
3119 if (!wxPyCheckForApp()) SWIG_fail
;
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3141 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
= NULL
;
3143 wxScrolledWindow
*result
;
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
3150 if (!wxPyCheckForApp()) SWIG_fail
;
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 result
= (wxScrolledWindow
*)new wxScrolledWindow();
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3164 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
= NULL
;
3166 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3167 wxWindow
*arg2
= (wxWindow
*) 0 ;
3168 int arg3
= (int) (int)-1 ;
3169 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3170 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3171 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3172 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3173 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3174 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3175 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3179 bool temp7
= false ;
3180 PyObject
* obj0
= 0 ;
3181 PyObject
* obj1
= 0 ;
3182 PyObject
* obj2
= 0 ;
3183 PyObject
* obj3
= 0 ;
3184 PyObject
* obj4
= 0 ;
3185 PyObject
* obj5
= 0 ;
3186 PyObject
* obj6
= 0 ;
3188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3193 if (SWIG_arg_fail(1)) SWIG_fail
;
3194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3195 if (SWIG_arg_fail(2)) SWIG_fail
;
3198 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
3199 if (SWIG_arg_fail(3)) SWIG_fail
;
3205 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3211 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3216 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3217 if (SWIG_arg_fail(6)) SWIG_fail
;
3222 arg7
= wxString_in_helper(obj6
);
3223 if (arg7
== NULL
) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3251 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
= NULL
;
3253 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3258 int arg6
= (int) 0 ;
3259 int arg7
= (int) 0 ;
3260 bool arg8
= (bool) false ;
3261 PyObject
* obj0
= 0 ;
3262 PyObject
* obj1
= 0 ;
3263 PyObject
* obj2
= 0 ;
3264 PyObject
* obj3
= 0 ;
3265 PyObject
* obj4
= 0 ;
3266 PyObject
* obj5
= 0 ;
3267 PyObject
* obj6
= 0 ;
3268 PyObject
* obj7
= 0 ;
3270 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3275 if (SWIG_arg_fail(1)) SWIG_fail
;
3277 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3278 if (SWIG_arg_fail(2)) SWIG_fail
;
3281 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3282 if (SWIG_arg_fail(3)) SWIG_fail
;
3285 arg4
= static_cast<int >(SWIG_As_int(obj3
));
3286 if (SWIG_arg_fail(4)) SWIG_fail
;
3289 arg5
= static_cast<int >(SWIG_As_int(obj4
));
3290 if (SWIG_arg_fail(5)) SWIG_fail
;
3294 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3295 if (SWIG_arg_fail(6)) SWIG_fail
;
3300 arg7
= static_cast<int >(SWIG_As_int(obj6
));
3301 if (SWIG_arg_fail(7)) SWIG_fail
;
3306 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
3307 if (SWIG_arg_fail(8)) SWIG_fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
= NULL
;
3326 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3329 PyObject
* obj0
= 0 ;
3330 PyObject
* obj1
= 0 ;
3331 PyObject
* obj2
= 0 ;
3333 (char *) "self",(char *) "x",(char *) "y", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3338 if (SWIG_arg_fail(1)) SWIG_fail
;
3340 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3341 if (SWIG_arg_fail(2)) SWIG_fail
;
3344 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3345 if (SWIG_arg_fail(3)) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 (arg1
)->Scroll(arg2
,arg3
);
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3354 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
= NULL
;
3363 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3369 (char *) "self",(char *) "orient", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3374 if (SWIG_arg_fail(1)) SWIG_fail
;
3376 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3377 if (SWIG_arg_fail(2)) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3387 resultobj
= SWIG_From_int(static_cast<int >(result
));
3395 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
= NULL
;
3397 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3402 PyObject
* obj2
= 0 ;
3404 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3409 if (SWIG_arg_fail(1)) SWIG_fail
;
3411 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3412 if (SWIG_arg_fail(2)) SWIG_fail
;
3415 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3416 if (SWIG_arg_fail(3)) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
= NULL
;
3434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3438 PyObject
* obj1
= 0 ;
3439 PyObject
* obj2
= 0 ;
3441 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail
;
3448 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3449 if (SWIG_arg_fail(2)) SWIG_fail
;
3452 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3453 if (SWIG_arg_fail(3)) SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 (arg1
)->SetScrollRate(arg2
,arg3
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 Py_INCREF(Py_None
); resultobj
= Py_None
;
3469 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
= NULL
;
3471 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3472 int *arg2
= (int *) 0 ;
3473 int *arg3
= (int *) 0 ;
3478 PyObject
* obj0
= 0 ;
3480 (char *) "self", NULL
3483 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3484 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3487 if (SWIG_arg_fail(1)) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3497 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3498 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3499 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3506 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
*resultobj
= NULL
;
3508 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3511 PyObject
* obj0
= 0 ;
3512 PyObject
* obj1
= 0 ;
3513 PyObject
* obj2
= 0 ;
3515 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3520 if (SWIG_arg_fail(1)) SWIG_fail
;
3522 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3523 if (SWIG_arg_fail(2)) SWIG_fail
;
3526 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
3527 if (SWIG_arg_fail(3)) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 (arg1
)->EnableScrolling(arg2
,arg3
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 Py_INCREF(Py_None
); resultobj
= Py_None
;
3543 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= NULL
;
3545 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3546 int *arg2
= (int *) 0 ;
3547 int *arg3
= (int *) 0 ;
3552 PyObject
* obj0
= 0 ;
3554 (char *) "self", NULL
3557 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3558 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3561 if (SWIG_arg_fail(1)) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 Py_INCREF(Py_None
); resultobj
= Py_None
;
3570 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3571 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3572 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3573 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3580 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
= NULL
;
3582 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3585 PyObject
* obj0
= 0 ;
3586 PyObject
* obj1
= 0 ;
3587 PyObject
* obj2
= 0 ;
3589 (char *) "self",(char *) "xs",(char *) "ys", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3594 if (SWIG_arg_fail(1)) SWIG_fail
;
3596 arg2
= static_cast<double >(SWIG_As_double(obj1
));
3597 if (SWIG_arg_fail(2)) SWIG_fail
;
3600 arg3
= static_cast<double >(SWIG_As_double(obj2
));
3601 if (SWIG_arg_fail(3)) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 (arg1
)->SetScale(arg2
,arg3
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3610 Py_INCREF(Py_None
); resultobj
= Py_None
;
3617 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
= NULL
;
3619 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3623 (char *) "self", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3628 if (SWIG_arg_fail(1)) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3637 resultobj
= SWIG_From_double(static_cast<double >(result
));
3645 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
= NULL
;
3647 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3651 (char *) "self", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3665 resultobj
= SWIG_From_double(static_cast<double >(result
));
3673 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3674 PyObject
*resultobj
= NULL
;
3675 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3680 PyObject
* obj1
= 0 ;
3682 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3684 if (SWIG_arg_fail(1)) SWIG_fail
;
3687 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3697 wxPoint
* resultptr
;
3698 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3707 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3708 PyObject
*resultobj
= NULL
;
3709 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3712 int *arg4
= (int *) 0 ;
3713 int *arg5
= (int *) 0 ;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3720 PyObject
* obj2
= 0 ;
3722 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3723 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3724 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3726 if (SWIG_arg_fail(1)) SWIG_fail
;
3728 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3729 if (SWIG_arg_fail(2)) SWIG_fail
;
3732 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3733 if (SWIG_arg_fail(3)) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3742 Py_INCREF(Py_None
); resultobj
= Py_None
;
3743 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3744 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3745 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3746 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3753 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3758 argc
= PyObject_Length(args
);
3759 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3760 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3766 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3775 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3778 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3786 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3794 _v
= SWIG_Check_int(argv
[1]);
3796 _v
= SWIG_Check_int(argv
[2]);
3798 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3804 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3809 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3810 PyObject
*resultobj
= NULL
;
3811 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3816 PyObject
* obj1
= 0 ;
3818 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3820 if (SWIG_arg_fail(1)) SWIG_fail
;
3823 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 wxPoint
* resultptr
;
3834 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3843 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3844 PyObject
*resultobj
= NULL
;
3845 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3848 int *arg4
= (int *) 0 ;
3849 int *arg5
= (int *) 0 ;
3854 PyObject
* obj0
= 0 ;
3855 PyObject
* obj1
= 0 ;
3856 PyObject
* obj2
= 0 ;
3858 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3859 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3860 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3862 if (SWIG_arg_fail(1)) SWIG_fail
;
3864 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3865 if (SWIG_arg_fail(2)) SWIG_fail
;
3868 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3869 if (SWIG_arg_fail(3)) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 Py_INCREF(Py_None
); resultobj
= Py_None
;
3879 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3880 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3881 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3882 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3889 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3894 argc
= PyObject_Length(args
);
3895 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3896 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3902 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3911 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3914 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3922 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3930 _v
= SWIG_Check_int(argv
[1]);
3932 _v
= SWIG_Check_int(argv
[2]);
3934 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3940 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3945 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
= NULL
;
3947 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3948 PyObject
* obj0
= 0 ;
3950 (char *) "self", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 (arg1
)->AdjustScrollbars();
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 Py_INCREF(Py_None
); resultobj
= Py_None
;
3970 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
= NULL
;
3972 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3973 wxScrollWinEvent
*arg2
= 0 ;
3975 PyObject
* obj0
= 0 ;
3976 PyObject
* obj1
= 0 ;
3978 (char *) "self",(char *) "event", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3983 if (SWIG_arg_fail(1)) SWIG_fail
;
3985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3986 if (SWIG_arg_fail(2)) SWIG_fail
;
3988 SWIG_null_ref("wxScrollWinEvent");
3990 if (SWIG_arg_fail(2)) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
4000 resultobj
= SWIG_From_int(static_cast<int >(result
));
4008 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
= NULL
;
4010 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4011 wxWindow
*arg2
= (wxWindow
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4013 PyObject
* obj1
= 0 ;
4015 (char *) "self",(char *) "target", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
4019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4020 if (SWIG_arg_fail(1)) SWIG_fail
;
4021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4022 if (SWIG_arg_fail(2)) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 (arg1
)->SetTargetWindow(arg2
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 Py_INCREF(Py_None
); resultobj
= Py_None
;
4037 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
= NULL
;
4039 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4041 PyObject
* obj0
= 0 ;
4043 (char *) "self", NULL
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
4047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4048 if (SWIG_arg_fail(1)) SWIG_fail
;
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4057 resultobj
= wxPyMake_wxObject(result
, 0);
4065 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
= NULL
;
4067 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4073 (char *) "self",(char *) "rect", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4078 if (SWIG_arg_fail(1)) SWIG_fail
;
4081 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 Py_INCREF(Py_None
); resultobj
= Py_None
;
4097 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
= NULL
;
4099 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4101 PyObject
* obj0
= 0 ;
4103 (char *) "self", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
4107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4108 if (SWIG_arg_fail(1)) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4118 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
4119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4127 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
= NULL
;
4129 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4134 (char *) "self",(char *) "dc", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
4138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4139 if (SWIG_arg_fail(1)) SWIG_fail
;
4141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4142 if (SWIG_arg_fail(2)) SWIG_fail
;
4144 SWIG_null_ref("wxDC");
4146 if (SWIG_arg_fail(2)) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 (arg1
)->DoPrepareDC(*arg2
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 Py_INCREF(Py_None
); resultobj
= Py_None
;
4162 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
= NULL
;
4164 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4165 wxVisualAttributes result
;
4166 PyObject
* obj0
= 0 ;
4168 (char *) "variant", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4174 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4175 if (SWIG_arg_fail(1)) SWIG_fail
;
4179 if (!wxPyCheckForApp()) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4187 wxVisualAttributes
* resultptr
;
4188 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4197 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4200 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4202 return Py_BuildValue((char *)"");
4204 static int _wrap_FrameNameStr_set(PyObject
*) {
4205 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4210 static PyObject
*_wrap_FrameNameStr_get(void) {
4211 PyObject
*pyobj
= NULL
;
4215 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4217 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4224 static int _wrap_DialogNameStr_set(PyObject
*) {
4225 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4230 static PyObject
*_wrap_DialogNameStr_get(void) {
4231 PyObject
*pyobj
= NULL
;
4235 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4237 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4244 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4245 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4250 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4251 PyObject
*pyobj
= NULL
;
4255 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4257 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4264 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4265 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4270 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4271 PyObject
*pyobj
= NULL
;
4275 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4277 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4284 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
= NULL
;
4286 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4287 bool arg2
= (bool) true ;
4288 PyObject
* obj0
= 0 ;
4289 PyObject
* obj1
= 0 ;
4291 (char *) "self",(char *) "maximize", NULL
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4296 if (SWIG_arg_fail(1)) SWIG_fail
;
4299 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4300 if (SWIG_arg_fail(2)) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 (arg1
)->Maximize(arg2
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 Py_INCREF(Py_None
); resultobj
= Py_None
;
4317 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
= NULL
;
4319 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4320 PyObject
* obj0
= 0 ;
4322 (char *) "self", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4327 if (SWIG_arg_fail(1)) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
= NULL
;
4344 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4345 bool arg2
= (bool) true ;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4349 (char *) "self",(char *) "iconize", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail
;
4357 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4358 if (SWIG_arg_fail(2)) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 (arg1
)->Iconize(arg2
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 Py_INCREF(Py_None
); resultobj
= Py_None
;
4375 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
= NULL
;
4377 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4381 (char *) "self", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4386 if (SWIG_arg_fail(1)) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4403 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
= NULL
;
4405 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4407 PyObject
* obj0
= 0 ;
4409 (char *) "self", NULL
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4414 if (SWIG_arg_fail(1)) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4431 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= NULL
;
4433 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4435 PyObject
* obj0
= 0 ;
4437 (char *) "self", NULL
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4442 if (SWIG_arg_fail(1)) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4452 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
4453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4461 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
= NULL
;
4463 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4468 (char *) "self",(char *) "icon", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail
;
4475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4476 if (SWIG_arg_fail(2)) SWIG_fail
;
4478 SWIG_null_ref("wxIcon");
4480 if (SWIG_arg_fail(2)) SWIG_fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 Py_INCREF(Py_None
); resultobj
= Py_None
;
4496 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
= NULL
;
4498 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4499 wxIconBundle
*arg2
= 0 ;
4500 PyObject
* obj0
= 0 ;
4501 PyObject
* obj1
= 0 ;
4503 (char *) "self",(char *) "icons", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail
;
4510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4511 if (SWIG_arg_fail(2)) SWIG_fail
;
4513 SWIG_null_ref("wxIconBundle");
4515 if (SWIG_arg_fail(2)) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
= NULL
;
4533 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4535 long arg3
= (long) wxFULLSCREEN_ALL
;
4537 PyObject
* obj0
= 0 ;
4538 PyObject
* obj1
= 0 ;
4539 PyObject
* obj2
= 0 ;
4541 (char *) "self",(char *) "show",(char *) "style", NULL
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4546 if (SWIG_arg_fail(1)) SWIG_fail
;
4548 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4549 if (SWIG_arg_fail(2)) SWIG_fail
;
4553 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4554 if (SWIG_arg_fail(3)) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4573 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= NULL
;
4575 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4577 PyObject
* obj0
= 0 ;
4579 (char *) "self", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4601 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
= NULL
;
4603 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4604 wxString
*arg2
= 0 ;
4605 bool temp2
= false ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4609 (char *) "self",(char *) "title", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail
;
4616 arg2
= wxString_in_helper(obj1
);
4617 if (arg2
== NULL
) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 (arg1
)->SetTitle((wxString
const &)*arg2
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 Py_INCREF(Py_None
); resultobj
= Py_None
;
4642 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
= NULL
;
4644 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4646 PyObject
* obj0
= 0 ;
4648 (char *) "self", NULL
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4653 if (SWIG_arg_fail(1)) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4674 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
= NULL
;
4676 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4677 wxRegion
*arg2
= 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4682 (char *) "self",(char *) "region", NULL
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4687 if (SWIG_arg_fail(1)) SWIG_fail
;
4689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4690 if (SWIG_arg_fail(2)) SWIG_fail
;
4692 SWIG_null_ref("wxRegion");
4694 if (SWIG_arg_fail(2)) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4712 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
= NULL
;
4714 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4715 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj1
= 0 ;
4719 (char *) "self",(char *) "flags", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail
;
4727 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4728 if (SWIG_arg_fail(2)) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 (arg1
)->RequestUserAttention(arg2
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 Py_INCREF(Py_None
); resultobj
= Py_None
;
4745 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
= NULL
;
4747 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4749 PyObject
* obj0
= 0 ;
4751 (char *) "self", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4756 if (SWIG_arg_fail(1)) SWIG_fail
;
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (bool)(arg1
)->IsActive();
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4773 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
= NULL
;
4775 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4780 (char *) "self",(char *) "on", NULL
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4785 if (SWIG_arg_fail(1)) SWIG_fail
;
4787 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4788 if (SWIG_arg_fail(2)) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 (arg1
)->MacSetMetalAppearance(arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 Py_INCREF(Py_None
); resultobj
= Py_None
;
4804 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
= NULL
;
4806 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4810 (char *) "self", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4815 if (SWIG_arg_fail(1)) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4832 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4835 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4837 return Py_BuildValue((char *)"");
4839 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
= NULL
;
4841 wxWindow
*arg1
= (wxWindow
*) 0 ;
4842 int arg2
= (int) (int)-1 ;
4843 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4844 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4845 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4846 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4847 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4848 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4849 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4850 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4851 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4853 bool temp3
= false ;
4856 bool temp7
= false ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4859 PyObject
* obj2
= 0 ;
4860 PyObject
* obj3
= 0 ;
4861 PyObject
* obj4
= 0 ;
4862 PyObject
* obj5
= 0 ;
4863 PyObject
* obj6
= 0 ;
4865 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4870 if (SWIG_arg_fail(1)) SWIG_fail
;
4873 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
4874 if (SWIG_arg_fail(2)) SWIG_fail
;
4879 arg3
= wxString_in_helper(obj2
);
4880 if (arg3
== NULL
) SWIG_fail
;
4887 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4893 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4898 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4899 if (SWIG_arg_fail(6)) SWIG_fail
;
4904 arg7
= wxString_in_helper(obj6
);
4905 if (arg7
== NULL
) SWIG_fail
;
4910 if (!wxPyCheckForApp()) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4940 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
= NULL
;
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4949 if (!wxPyCheckForApp()) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= (wxFrame
*)new wxFrame();
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4963 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
= NULL
;
4965 wxFrame
*arg1
= (wxFrame
*) 0 ;
4966 wxWindow
*arg2
= (wxWindow
*) 0 ;
4967 int arg3
= (int) (int)-1 ;
4968 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4969 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4970 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4971 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4972 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4973 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4974 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4975 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4976 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4978 bool temp4
= false ;
4981 bool temp8
= false ;
4982 PyObject
* obj0
= 0 ;
4983 PyObject
* obj1
= 0 ;
4984 PyObject
* obj2
= 0 ;
4985 PyObject
* obj3
= 0 ;
4986 PyObject
* obj4
= 0 ;
4987 PyObject
* obj5
= 0 ;
4988 PyObject
* obj6
= 0 ;
4989 PyObject
* obj7
= 0 ;
4991 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4996 if (SWIG_arg_fail(1)) SWIG_fail
;
4997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4998 if (SWIG_arg_fail(2)) SWIG_fail
;
5001 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5002 if (SWIG_arg_fail(3)) SWIG_fail
;
5007 arg4
= wxString_in_helper(obj3
);
5008 if (arg4
== NULL
) SWIG_fail
;
5015 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5021 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5026 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5027 if (SWIG_arg_fail(7)) SWIG_fail
;
5032 arg8
= wxString_in_helper(obj7
);
5033 if (arg8
== NULL
) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5069 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
= NULL
;
5071 wxFrame
*arg1
= (wxFrame
*) 0 ;
5073 PyObject
* obj0
= 0 ;
5075 (char *) "self", NULL
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
5079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5080 if (SWIG_arg_fail(1)) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5089 wxPoint
* resultptr
;
5090 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5099 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
= NULL
;
5101 wxFrame
*arg1
= (wxFrame
*) 0 ;
5102 PyObject
* obj0
= 0 ;
5104 (char *) "self", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
5108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5109 if (SWIG_arg_fail(1)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 (arg1
)->SendSizeEvent();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 Py_INCREF(Py_None
); resultobj
= Py_None
;
5124 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
= NULL
;
5126 wxFrame
*arg1
= (wxFrame
*) 0 ;
5127 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5131 (char *) "self",(char *) "menubar", NULL
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5136 if (SWIG_arg_fail(1)) SWIG_fail
;
5137 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
5138 if (SWIG_arg_fail(2)) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 (arg1
)->SetMenuBar(arg2
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 Py_INCREF(Py_None
); resultobj
= Py_None
;
5153 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
= NULL
;
5155 wxFrame
*arg1
= (wxFrame
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5159 (char *) "self", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
5163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= wxPyMake_wxObject(result
, 0);
5181 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
= NULL
;
5183 wxFrame
*arg1
= (wxFrame
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5189 (char *) "self",(char *) "winid", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail
;
5196 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5197 if (SWIG_arg_fail(2)) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5215 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
= NULL
;
5217 wxFrame
*arg1
= (wxFrame
*) 0 ;
5218 int arg2
= (int) 1 ;
5219 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5220 int arg4
= (int) 0 ;
5221 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5222 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5223 wxStatusBar
*result
;
5224 bool temp5
= false ;
5225 PyObject
* obj0
= 0 ;
5226 PyObject
* obj1
= 0 ;
5227 PyObject
* obj2
= 0 ;
5228 PyObject
* obj3
= 0 ;
5229 PyObject
* obj4
= 0 ;
5231 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5236 if (SWIG_arg_fail(1)) SWIG_fail
;
5239 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5240 if (SWIG_arg_fail(2)) SWIG_fail
;
5245 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5246 if (SWIG_arg_fail(3)) SWIG_fail
;
5251 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5252 if (SWIG_arg_fail(4)) SWIG_fail
;
5257 arg5
= wxString_in_helper(obj4
);
5258 if (arg5
== NULL
) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5286 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
= NULL
;
5288 wxFrame
*arg1
= (wxFrame
*) 0 ;
5289 wxStatusBar
*result
;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "self", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5297 if (SWIG_arg_fail(1)) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5314 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
= NULL
;
5316 wxFrame
*arg1
= (wxFrame
*) 0 ;
5317 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5319 PyObject
* obj1
= 0 ;
5321 (char *) "self",(char *) "statBar", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5326 if (SWIG_arg_fail(1)) SWIG_fail
;
5327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5328 if (SWIG_arg_fail(2)) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 (arg1
)->SetStatusBar(arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 Py_INCREF(Py_None
); resultobj
= Py_None
;
5343 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
= NULL
;
5345 wxFrame
*arg1
= (wxFrame
*) 0 ;
5346 wxString
*arg2
= 0 ;
5347 int arg3
= (int) 0 ;
5348 bool temp2
= false ;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5351 PyObject
* obj2
= 0 ;
5353 (char *) "self",(char *) "text",(char *) "number", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail
;
5360 arg2
= wxString_in_helper(obj1
);
5361 if (arg2
== NULL
) SWIG_fail
;
5366 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5367 if (SWIG_arg_fail(3)) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5392 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
= NULL
;
5394 wxFrame
*arg1
= (wxFrame
*) 0 ;
5396 int *arg3
= (int *) 0 ;
5397 PyObject
* obj0
= 0 ;
5398 PyObject
* obj1
= 0 ;
5400 (char *) "self",(char *) "widths", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail
;
5407 arg2
= PyList_Size(obj1
);
5408 arg3
= int_LIST_helper(obj1
);
5409 if (arg3
== NULL
) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 Py_INCREF(Py_None
); resultobj
= Py_None
;
5420 if (arg3
) delete [] arg3
;
5425 if (arg3
) delete [] arg3
;
5431 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
= NULL
;
5433 wxFrame
*arg1
= (wxFrame
*) 0 ;
5434 wxString
*arg2
= 0 ;
5435 int arg3
= (int) 0 ;
5436 bool temp2
= false ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5439 PyObject
* obj2
= 0 ;
5441 (char *) "self",(char *) "text",(char *) "number", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5446 if (SWIG_arg_fail(1)) SWIG_fail
;
5448 arg2
= wxString_in_helper(obj1
);
5449 if (arg2
== NULL
) SWIG_fail
;
5454 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5455 if (SWIG_arg_fail(3)) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 Py_INCREF(Py_None
); resultobj
= Py_None
;
5480 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
= NULL
;
5482 wxFrame
*arg1
= (wxFrame
*) 0 ;
5483 int arg2
= (int) 0 ;
5484 PyObject
* obj0
= 0 ;
5485 PyObject
* obj1
= 0 ;
5487 (char *) "self",(char *) "number", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5492 if (SWIG_arg_fail(1)) SWIG_fail
;
5495 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5496 if (SWIG_arg_fail(2)) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 (arg1
)->PopStatusText(arg2
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 Py_INCREF(Py_None
); resultobj
= Py_None
;
5513 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
= NULL
;
5515 wxFrame
*arg1
= (wxFrame
*) 0 ;
5517 PyObject
* obj0
= 0 ;
5518 PyObject
* obj1
= 0 ;
5520 (char *) "self",(char *) "n", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5525 if (SWIG_arg_fail(1)) SWIG_fail
;
5527 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5528 if (SWIG_arg_fail(2)) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 (arg1
)->SetStatusBarPane(arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 Py_INCREF(Py_None
); resultobj
= Py_None
;
5544 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
= NULL
;
5546 wxFrame
*arg1
= (wxFrame
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5550 (char *) "self", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_From_int(static_cast<int >(result
));
5572 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
= NULL
;
5574 wxFrame
*arg1
= (wxFrame
*) 0 ;
5575 long arg2
= (long) -1 ;
5576 int arg3
= (int) -1 ;
5577 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5580 bool temp4
= false ;
5581 PyObject
* obj0
= 0 ;
5582 PyObject
* obj1
= 0 ;
5583 PyObject
* obj2
= 0 ;
5584 PyObject
* obj3
= 0 ;
5586 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5591 if (SWIG_arg_fail(1)) SWIG_fail
;
5594 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5595 if (SWIG_arg_fail(2)) SWIG_fail
;
5600 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5601 if (SWIG_arg_fail(3)) SWIG_fail
;
5606 arg4
= wxString_in_helper(obj3
);
5607 if (arg4
== NULL
) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5619 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5635 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
= NULL
;
5637 wxFrame
*arg1
= (wxFrame
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "self", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5646 if (SWIG_arg_fail(1)) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5655 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5663 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
*resultobj
= NULL
;
5665 wxFrame
*arg1
= (wxFrame
*) 0 ;
5666 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj1
= 0 ;
5670 (char *) "self",(char *) "toolbar", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5675 if (SWIG_arg_fail(1)) SWIG_fail
;
5676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5677 if (SWIG_arg_fail(2)) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 (arg1
)->SetToolBar(arg2
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
= NULL
;
5694 wxFrame
*arg1
= (wxFrame
*) 0 ;
5695 wxString
*arg2
= 0 ;
5697 bool temp2
= false ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5700 PyObject
* obj2
= 0 ;
5702 (char *) "self",(char *) "text",(char *) "show", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail
;
5709 arg2
= wxString_in_helper(obj1
);
5710 if (arg2
== NULL
) SWIG_fail
;
5714 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
5715 if (SWIG_arg_fail(3)) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 Py_INCREF(Py_None
); resultobj
= Py_None
;
5739 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
= NULL
;
5741 wxFrame
*arg1
= (wxFrame
*) 0 ;
5742 wxMenu
*arg2
= (wxMenu
*) NULL
;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5746 (char *) "self",(char *) "menu", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5751 if (SWIG_arg_fail(1)) SWIG_fail
;
5753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5754 if (SWIG_arg_fail(2)) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 (arg1
)->DoMenuUpdates(arg2
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 Py_INCREF(Py_None
); resultobj
= Py_None
;
5770 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
= NULL
;
5772 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5773 wxVisualAttributes result
;
5774 PyObject
* obj0
= 0 ;
5776 (char *) "variant", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5782 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5783 if (SWIG_arg_fail(1)) SWIG_fail
;
5787 if (!wxPyCheckForApp()) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= wxFrame::GetClassDefaultAttributes(arg1
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5795 wxVisualAttributes
* resultptr
;
5796 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5805 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5808 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5810 return Py_BuildValue((char *)"");
5812 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
= NULL
;
5814 wxWindow
*arg1
= (wxWindow
*) 0 ;
5815 int arg2
= (int) (int)-1 ;
5816 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5817 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5818 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5819 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5820 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5821 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5822 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5823 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5824 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5826 bool temp3
= false ;
5829 bool temp7
= false ;
5830 PyObject
* obj0
= 0 ;
5831 PyObject
* obj1
= 0 ;
5832 PyObject
* obj2
= 0 ;
5833 PyObject
* obj3
= 0 ;
5834 PyObject
* obj4
= 0 ;
5835 PyObject
* obj5
= 0 ;
5836 PyObject
* obj6
= 0 ;
5838 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5843 if (SWIG_arg_fail(1)) SWIG_fail
;
5846 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
5847 if (SWIG_arg_fail(2)) SWIG_fail
;
5852 arg3
= wxString_in_helper(obj2
);
5853 if (arg3
== NULL
) SWIG_fail
;
5860 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5866 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5871 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5872 if (SWIG_arg_fail(6)) SWIG_fail
;
5877 arg7
= wxString_in_helper(obj6
);
5878 if (arg7
== NULL
) SWIG_fail
;
5883 if (!wxPyCheckForApp()) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5913 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
= NULL
;
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5922 if (!wxPyCheckForApp()) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (wxDialog
*)new wxDialog();
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5936 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
= NULL
;
5938 wxDialog
*arg1
= (wxDialog
*) 0 ;
5939 wxWindow
*arg2
= (wxWindow
*) 0 ;
5940 int arg3
= (int) (int)-1 ;
5941 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5942 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5943 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5944 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5945 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5946 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5947 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5948 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5949 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5951 bool temp4
= false ;
5954 bool temp8
= false ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5957 PyObject
* obj2
= 0 ;
5958 PyObject
* obj3
= 0 ;
5959 PyObject
* obj4
= 0 ;
5960 PyObject
* obj5
= 0 ;
5961 PyObject
* obj6
= 0 ;
5962 PyObject
* obj7
= 0 ;
5964 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5969 if (SWIG_arg_fail(1)) SWIG_fail
;
5970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5971 if (SWIG_arg_fail(2)) SWIG_fail
;
5974 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5975 if (SWIG_arg_fail(3)) SWIG_fail
;
5980 arg4
= wxString_in_helper(obj3
);
5981 if (arg4
== NULL
) SWIG_fail
;
5988 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5994 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5999 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6000 if (SWIG_arg_fail(7)) SWIG_fail
;
6005 arg8
= wxString_in_helper(obj7
);
6006 if (arg8
== NULL
) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6042 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
= NULL
;
6044 wxDialog
*arg1
= (wxDialog
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6047 PyObject
* obj1
= 0 ;
6049 (char *) "self",(char *) "returnCode", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
6053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail
;
6056 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6057 if (SWIG_arg_fail(2)) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 (arg1
)->SetReturnCode(arg2
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 Py_INCREF(Py_None
); resultobj
= Py_None
;
6073 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
= NULL
;
6075 wxDialog
*arg1
= (wxDialog
*) 0 ;
6077 PyObject
* obj0
= 0 ;
6079 (char *) "self", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
6083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6084 if (SWIG_arg_fail(1)) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_From_int(static_cast<int >(result
));
6101 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
= NULL
;
6103 wxDialog
*arg1
= (wxDialog
*) 0 ;
6104 wxString
*arg2
= 0 ;
6106 bool temp2
= false ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6110 (char *) "self",(char *) "message", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6115 if (SWIG_arg_fail(1)) SWIG_fail
;
6117 arg2
= wxString_in_helper(obj1
);
6118 if (arg2
== NULL
) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6145 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
= NULL
;
6147 wxDialog
*arg1
= (wxDialog
*) 0 ;
6149 bool arg3
= (bool) false ;
6150 int arg4
= (int) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 PyObject
* obj2
= 0 ;
6155 PyObject
* obj3
= 0 ;
6157 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail
;
6164 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6165 if (SWIG_arg_fail(2)) SWIG_fail
;
6169 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
6170 if (SWIG_arg_fail(3)) SWIG_fail
;
6175 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6176 if (SWIG_arg_fail(4)) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6195 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= NULL
;
6197 wxDialog
*arg1
= (wxDialog
*) 0 ;
6199 wxStdDialogButtonSizer
*result
;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6203 (char *) "self",(char *) "flags", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail
;
6210 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6211 if (SWIG_arg_fail(2)) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6227 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
= NULL
;
6229 wxDialog
*arg1
= (wxDialog
*) 0 ;
6231 PyObject
* obj0
= 0 ;
6233 (char *) "self", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6238 if (SWIG_arg_fail(1)) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6255 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
= NULL
;
6257 wxDialog
*arg1
= (wxDialog
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6266 if (SWIG_arg_fail(1)) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (int)(arg1
)->ShowModal();
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= SWIG_From_int(static_cast<int >(result
));
6283 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
= NULL
;
6285 wxDialog
*arg1
= (wxDialog
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6290 (char *) "self",(char *) "retCode", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail
;
6297 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6298 if (SWIG_arg_fail(2)) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 (arg1
)->EndModal(arg2
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 Py_INCREF(Py_None
); resultobj
= Py_None
;
6314 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
= NULL
;
6316 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6317 wxVisualAttributes result
;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "variant", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6326 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6327 if (SWIG_arg_fail(1)) SWIG_fail
;
6331 if (!wxPyCheckForApp()) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 result
= wxDialog::GetClassDefaultAttributes(arg1
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6339 wxVisualAttributes
* resultptr
;
6340 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6349 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6352 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6354 return Py_BuildValue((char *)"");
6356 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
= NULL
;
6358 wxWindow
*arg1
= (wxWindow
*) 0 ;
6359 int arg2
= (int) (int)-1 ;
6360 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6361 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6366 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6367 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6369 wxMiniFrame
*result
;
6370 bool temp3
= false ;
6373 bool temp7
= false ;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 PyObject
* obj2
= 0 ;
6377 PyObject
* obj3
= 0 ;
6378 PyObject
* obj4
= 0 ;
6379 PyObject
* obj5
= 0 ;
6380 PyObject
* obj6
= 0 ;
6382 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail
;
6390 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
6391 if (SWIG_arg_fail(2)) SWIG_fail
;
6396 arg3
= wxString_in_helper(obj2
);
6397 if (arg3
== NULL
) SWIG_fail
;
6404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6415 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6416 if (SWIG_arg_fail(6)) SWIG_fail
;
6421 arg7
= wxString_in_helper(obj6
);
6422 if (arg7
== NULL
) SWIG_fail
;
6427 if (!wxPyCheckForApp()) SWIG_fail
;
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) SWIG_fail
;
6434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6457 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
= NULL
;
6459 wxMiniFrame
*result
;
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6466 if (!wxPyCheckForApp()) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (wxMiniFrame
*)new wxMiniFrame();
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6480 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
= NULL
;
6482 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6483 wxWindow
*arg2
= (wxWindow
*) 0 ;
6484 int arg3
= (int) (int)-1 ;
6485 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6486 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6487 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6488 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6489 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6490 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6491 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6492 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6493 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6495 bool temp4
= false ;
6498 bool temp8
= false ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 PyObject
* obj2
= 0 ;
6502 PyObject
* obj3
= 0 ;
6503 PyObject
* obj4
= 0 ;
6504 PyObject
* obj5
= 0 ;
6505 PyObject
* obj6
= 0 ;
6506 PyObject
* obj7
= 0 ;
6508 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6513 if (SWIG_arg_fail(1)) SWIG_fail
;
6514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6515 if (SWIG_arg_fail(2)) SWIG_fail
;
6518 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
6519 if (SWIG_arg_fail(3)) SWIG_fail
;
6524 arg4
= wxString_in_helper(obj3
);
6525 if (arg4
== NULL
) SWIG_fail
;
6532 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6538 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6543 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6544 if (SWIG_arg_fail(7)) SWIG_fail
;
6549 arg8
= wxString_in_helper(obj7
);
6550 if (arg8
== NULL
) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6586 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6589 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6591 return Py_BuildValue((char *)"");
6593 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
= NULL
;
6595 wxBitmap
*arg1
= 0 ;
6596 wxWindow
*arg2
= (wxWindow
*) 0 ;
6598 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6599 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6600 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6601 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6602 long arg6
= (long) wxNO_BORDER
;
6603 wxSplashScreenWindow
*result
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 PyObject
* obj2
= 0 ;
6609 PyObject
* obj3
= 0 ;
6610 PyObject
* obj4
= 0 ;
6611 PyObject
* obj5
= 0 ;
6613 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6619 if (SWIG_arg_fail(1)) SWIG_fail
;
6621 SWIG_null_ref("wxBitmap");
6623 if (SWIG_arg_fail(1)) SWIG_fail
;
6625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6626 if (SWIG_arg_fail(2)) SWIG_fail
;
6628 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6629 if (SWIG_arg_fail(3)) SWIG_fail
;
6634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6645 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6646 if (SWIG_arg_fail(6)) SWIG_fail
;
6650 if (!wxPyCheckForApp()) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6664 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
= NULL
;
6666 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6667 wxBitmap
*arg2
= 0 ;
6668 PyObject
* obj0
= 0 ;
6669 PyObject
* obj1
= 0 ;
6671 (char *) "self",(char *) "bitmap", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail
;
6678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6679 if (SWIG_arg_fail(2)) SWIG_fail
;
6681 SWIG_null_ref("wxBitmap");
6683 if (SWIG_arg_fail(2)) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 Py_INCREF(Py_None
); resultobj
= Py_None
;
6699 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
= NULL
;
6701 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6703 PyObject
* obj0
= 0 ;
6705 (char *) "self", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6710 if (SWIG_arg_fail(1)) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6715 result
= (wxBitmap
*) &_result_ref
;
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6722 wxBitmap
* resultptr
= new wxBitmap(*result
);
6723 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6731 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6734 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6736 return Py_BuildValue((char *)"");
6738 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
= NULL
;
6740 wxBitmap
*arg1
= 0 ;
6743 wxWindow
*arg4
= (wxWindow
*) 0 ;
6744 int arg5
= (int) -1 ;
6745 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6746 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6747 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6748 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6749 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6750 wxSplashScreen
*result
;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 PyObject
* obj2
= 0 ;
6756 PyObject
* obj3
= 0 ;
6757 PyObject
* obj4
= 0 ;
6758 PyObject
* obj5
= 0 ;
6759 PyObject
* obj6
= 0 ;
6760 PyObject
* obj7
= 0 ;
6762 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6768 if (SWIG_arg_fail(1)) SWIG_fail
;
6770 SWIG_null_ref("wxBitmap");
6772 if (SWIG_arg_fail(1)) SWIG_fail
;
6775 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6776 if (SWIG_arg_fail(2)) SWIG_fail
;
6779 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6780 if (SWIG_arg_fail(3)) SWIG_fail
;
6782 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6783 if (SWIG_arg_fail(4)) SWIG_fail
;
6786 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6787 if (SWIG_arg_fail(5)) SWIG_fail
;
6793 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6799 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6804 arg8
= static_cast<long >(SWIG_As_long(obj7
));
6805 if (SWIG_arg_fail(8)) SWIG_fail
;
6809 if (!wxPyCheckForApp()) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6823 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
= NULL
;
6825 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6827 PyObject
* obj0
= 0 ;
6829 (char *) "self", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6843 resultobj
= SWIG_From_long(static_cast<long >(result
));
6851 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
= NULL
;
6853 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6854 wxSplashScreenWindow
*result
;
6855 PyObject
* obj0
= 0 ;
6857 (char *) "self", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6862 if (SWIG_arg_fail(1)) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6877 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
= NULL
;
6879 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6881 PyObject
* obj0
= 0 ;
6883 (char *) "self", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6888 if (SWIG_arg_fail(1)) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_From_int(static_cast<int >(result
));
6905 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6908 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6910 return Py_BuildValue((char *)"");
6912 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
= NULL
;
6914 wxWindow
*arg1
= (wxWindow
*) 0 ;
6915 int arg2
= (int) -1 ;
6916 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6917 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6918 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6919 wxStatusBar
*result
;
6920 bool temp4
= false ;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6923 PyObject
* obj2
= 0 ;
6924 PyObject
* obj3
= 0 ;
6926 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail
;
6934 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6935 if (SWIG_arg_fail(2)) SWIG_fail
;
6940 arg3
= static_cast<long >(SWIG_As_long(obj2
));
6941 if (SWIG_arg_fail(3)) SWIG_fail
;
6946 arg4
= wxString_in_helper(obj3
);
6947 if (arg4
== NULL
) SWIG_fail
;
6952 if (!wxPyCheckForApp()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6974 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
= NULL
;
6976 wxStatusBar
*result
;
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6983 if (!wxPyCheckForApp()) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 result
= (wxStatusBar
*)new wxStatusBar();
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6997 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
= NULL
;
6999 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7000 wxWindow
*arg2
= (wxWindow
*) 0 ;
7001 int arg3
= (int) -1 ;
7002 long arg4
= (long) wxST_SIZEGRIP
;
7003 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
7004 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
7006 bool temp5
= false ;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7009 PyObject
* obj2
= 0 ;
7010 PyObject
* obj3
= 0 ;
7011 PyObject
* obj4
= 0 ;
7013 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7018 if (SWIG_arg_fail(1)) SWIG_fail
;
7019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7020 if (SWIG_arg_fail(2)) SWIG_fail
;
7023 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7024 if (SWIG_arg_fail(3)) SWIG_fail
;
7029 arg4
= static_cast<long >(SWIG_As_long(obj3
));
7030 if (SWIG_arg_fail(4)) SWIG_fail
;
7035 arg5
= wxString_in_helper(obj4
);
7036 if (arg5
== NULL
) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= NULL
;
7066 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7067 int arg2
= (int) 1 ;
7068 PyObject
* obj0
= 0 ;
7069 PyObject
* obj1
= 0 ;
7071 (char *) "self",(char *) "number", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail
;
7079 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7080 if (SWIG_arg_fail(2)) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 (arg1
)->SetFieldsCount(arg2
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 Py_INCREF(Py_None
); resultobj
= Py_None
;
7097 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
= NULL
;
7099 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7101 PyObject
* obj0
= 0 ;
7103 (char *) "self", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
7107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7108 if (SWIG_arg_fail(1)) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= SWIG_From_int(static_cast<int >(result
));
7125 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
= NULL
;
7127 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7128 wxString
*arg2
= 0 ;
7129 int arg3
= (int) 0 ;
7130 bool temp2
= false ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 PyObject
* obj2
= 0 ;
7135 (char *) "self",(char *) "text",(char *) "number", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7140 if (SWIG_arg_fail(1)) SWIG_fail
;
7142 arg2
= wxString_in_helper(obj1
);
7143 if (arg2
== NULL
) SWIG_fail
;
7148 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7149 if (SWIG_arg_fail(3)) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
= NULL
;
7176 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7177 int arg2
= (int) 0 ;
7179 PyObject
* obj0
= 0 ;
7180 PyObject
* obj1
= 0 ;
7182 (char *) "self",(char *) "number", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7187 if (SWIG_arg_fail(1)) SWIG_fail
;
7190 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7191 if (SWIG_arg_fail(2)) SWIG_fail
;
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7214 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
= NULL
;
7216 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7217 wxString
*arg2
= 0 ;
7218 int arg3
= (int) 0 ;
7219 bool temp2
= false ;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7222 PyObject
* obj2
= 0 ;
7224 (char *) "self",(char *) "text",(char *) "number", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail
;
7231 arg2
= wxString_in_helper(obj1
);
7232 if (arg2
== NULL
) SWIG_fail
;
7237 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7238 if (SWIG_arg_fail(3)) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 Py_INCREF(Py_None
); resultobj
= Py_None
;
7263 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
= NULL
;
7265 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7266 int arg2
= (int) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7270 (char *) "self",(char *) "number", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7275 if (SWIG_arg_fail(1)) SWIG_fail
;
7278 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7279 if (SWIG_arg_fail(2)) SWIG_fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 (arg1
)->PopStatusText(arg2
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 Py_INCREF(Py_None
); resultobj
= Py_None
;
7296 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
= NULL
;
7298 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7300 int *arg3
= (int *) 0 ;
7301 PyObject
* obj0
= 0 ;
7302 PyObject
* obj1
= 0 ;
7304 (char *) "self",(char *) "widths", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail
;
7311 arg2
= PyList_Size(obj1
);
7312 arg3
= int_LIST_helper(obj1
);
7313 if (arg3
== NULL
) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 if (arg3
) delete [] arg3
;
7329 if (arg3
) delete [] arg3
;
7335 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
= NULL
;
7337 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7339 int *arg3
= (int *) 0 ;
7340 PyObject
* obj0
= 0 ;
7341 PyObject
* obj1
= 0 ;
7343 (char *) "self",(char *) "styles", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7348 if (SWIG_arg_fail(1)) SWIG_fail
;
7350 arg2
= PyList_Size(obj1
);
7351 arg3
= int_LIST_helper(obj1
);
7352 if (arg3
== NULL
) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 Py_INCREF(Py_None
); resultobj
= Py_None
;
7363 if (arg3
) delete [] arg3
;
7368 if (arg3
) delete [] arg3
;
7374 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
= NULL
;
7376 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7382 (char *) "self",(char *) "i", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail
;
7389 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7390 if (SWIG_arg_fail(2)) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7401 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7410 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
= NULL
;
7412 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj1
= 0 ;
7417 (char *) "self",(char *) "height", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail
;
7424 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7425 if (SWIG_arg_fail(2)) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 (arg1
)->SetMinHeight(arg2
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 Py_INCREF(Py_None
); resultobj
= Py_None
;
7441 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
= NULL
;
7443 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7445 PyObject
* obj0
= 0 ;
7447 (char *) "self", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7452 if (SWIG_arg_fail(1)) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= SWIG_From_int(static_cast<int >(result
));
7469 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
= NULL
;
7471 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7475 (char *) "self", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_From_int(static_cast<int >(result
));
7497 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
= NULL
;
7499 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7500 wxVisualAttributes result
;
7501 PyObject
* obj0
= 0 ;
7503 (char *) "variant", NULL
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7509 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7510 if (SWIG_arg_fail(1)) SWIG_fail
;
7514 if (!wxPyCheckForApp()) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7522 wxVisualAttributes
* resultptr
;
7523 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7532 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7535 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7537 return Py_BuildValue((char *)"");
7539 static int _wrap_SplitterNameStr_set(PyObject
*) {
7540 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7545 static PyObject
*_wrap_SplitterNameStr_get(void) {
7546 PyObject
*pyobj
= NULL
;
7550 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7552 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7559 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
*resultobj
= NULL
;
7561 wxWindow
*arg1
= (wxWindow
*) 0 ;
7562 int arg2
= (int) -1 ;
7563 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7564 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7565 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7566 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7567 long arg5
= (long) wxSP_3D
;
7568 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7569 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7570 wxSplitterWindow
*result
;
7573 bool temp6
= false ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7576 PyObject
* obj2
= 0 ;
7577 PyObject
* obj3
= 0 ;
7578 PyObject
* obj4
= 0 ;
7579 PyObject
* obj5
= 0 ;
7581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7586 if (SWIG_arg_fail(1)) SWIG_fail
;
7589 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7590 if (SWIG_arg_fail(2)) SWIG_fail
;
7596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7607 arg5
= static_cast<long >(SWIG_As_long(obj4
));
7608 if (SWIG_arg_fail(5)) SWIG_fail
;
7613 arg6
= wxString_in_helper(obj5
);
7614 if (arg6
== NULL
) SWIG_fail
;
7619 if (!wxPyCheckForApp()) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7641 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
= NULL
;
7643 wxSplitterWindow
*result
;
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7650 if (!wxPyCheckForApp()) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7664 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
= NULL
;
7666 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7667 wxWindow
*arg2
= (wxWindow
*) 0 ;
7668 int arg3
= (int) -1 ;
7669 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7670 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7671 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7672 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7673 long arg6
= (long) wxSP_3D
;
7674 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7675 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7679 bool temp7
= false ;
7680 PyObject
* obj0
= 0 ;
7681 PyObject
* obj1
= 0 ;
7682 PyObject
* obj2
= 0 ;
7683 PyObject
* obj3
= 0 ;
7684 PyObject
* obj4
= 0 ;
7685 PyObject
* obj5
= 0 ;
7686 PyObject
* obj6
= 0 ;
7688 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7693 if (SWIG_arg_fail(1)) SWIG_fail
;
7694 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7695 if (SWIG_arg_fail(2)) SWIG_fail
;
7698 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7699 if (SWIG_arg_fail(3)) SWIG_fail
;
7705 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7711 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7716 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7717 if (SWIG_arg_fail(6)) SWIG_fail
;
7722 arg7
= wxString_in_helper(obj6
);
7723 if (arg7
== NULL
) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7751 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
= NULL
;
7753 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7757 (char *) "self", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= wxPyMake_wxObject(result
, 0);
7779 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
= NULL
;
7781 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= wxPyMake_wxObject(result
, 0);
7807 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
= NULL
;
7809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7814 (char *) "self",(char *) "mode", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail
;
7821 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7822 if (SWIG_arg_fail(2)) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 (arg1
)->SetSplitMode(arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 Py_INCREF(Py_None
); resultobj
= Py_None
;
7838 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
= NULL
;
7840 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_From_int((result
));
7864 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
= NULL
;
7866 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7867 wxWindow
*arg2
= (wxWindow
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7871 (char *) "self",(char *) "window", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail
;
7877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7878 if (SWIG_arg_fail(2)) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 (arg1
)->Initialize(arg2
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 Py_INCREF(Py_None
); resultobj
= Py_None
;
7893 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
= NULL
;
7895 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7896 wxWindow
*arg2
= (wxWindow
*) 0 ;
7897 wxWindow
*arg3
= (wxWindow
*) 0 ;
7898 int arg4
= (int) 0 ;
7900 PyObject
* obj0
= 0 ;
7901 PyObject
* obj1
= 0 ;
7902 PyObject
* obj2
= 0 ;
7903 PyObject
* obj3
= 0 ;
7905 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7910 if (SWIG_arg_fail(1)) SWIG_fail
;
7911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7912 if (SWIG_arg_fail(2)) SWIG_fail
;
7913 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7914 if (SWIG_arg_fail(3)) SWIG_fail
;
7917 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7918 if (SWIG_arg_fail(4)) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7937 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
= NULL
;
7939 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7940 wxWindow
*arg2
= (wxWindow
*) 0 ;
7941 wxWindow
*arg3
= (wxWindow
*) 0 ;
7942 int arg4
= (int) 0 ;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7946 PyObject
* obj2
= 0 ;
7947 PyObject
* obj3
= 0 ;
7949 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7954 if (SWIG_arg_fail(1)) SWIG_fail
;
7955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7956 if (SWIG_arg_fail(2)) SWIG_fail
;
7957 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7958 if (SWIG_arg_fail(3)) SWIG_fail
;
7961 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7962 if (SWIG_arg_fail(4)) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7981 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
= NULL
;
7983 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7984 wxWindow
*arg2
= (wxWindow
*) NULL
;
7986 PyObject
* obj0
= 0 ;
7987 PyObject
* obj1
= 0 ;
7989 (char *) "self",(char *) "toRemove", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7994 if (SWIG_arg_fail(1)) SWIG_fail
;
7996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7997 if (SWIG_arg_fail(2)) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 result
= (bool)(arg1
)->Unsplit(arg2
);
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8015 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
= NULL
;
8017 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8018 wxWindow
*arg2
= (wxWindow
*) 0 ;
8019 wxWindow
*arg3
= (wxWindow
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8023 PyObject
* obj2
= 0 ;
8025 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8030 if (SWIG_arg_fail(1)) SWIG_fail
;
8031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8032 if (SWIG_arg_fail(2)) SWIG_fail
;
8033 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8034 if (SWIG_arg_fail(3)) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8051 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
= NULL
;
8053 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 (arg1
)->UpdateSize();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
= NULL
;
8078 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8080 PyObject
* obj0
= 0 ;
8082 (char *) "self", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
8086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8104 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
= NULL
;
8106 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8111 (char *) "self",(char *) "width", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail
;
8118 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8119 if (SWIG_arg_fail(2)) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 (arg1
)->SetSashSize(arg2
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
= NULL
;
8137 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8140 PyObject
* obj1
= 0 ;
8142 (char *) "self",(char *) "width", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8147 if (SWIG_arg_fail(1)) SWIG_fail
;
8149 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8150 if (SWIG_arg_fail(2)) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 (arg1
)->SetBorderSize(arg2
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 Py_INCREF(Py_None
); resultobj
= Py_None
;
8166 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
= NULL
;
8168 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8170 PyObject
* obj0
= 0 ;
8172 (char *) "self", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
8176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8177 if (SWIG_arg_fail(1)) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= SWIG_From_int(static_cast<int >(result
));
8194 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
= NULL
;
8196 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8198 PyObject
* obj0
= 0 ;
8200 (char *) "self", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8205 if (SWIG_arg_fail(1)) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= SWIG_From_int(static_cast<int >(result
));
8222 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
= NULL
;
8224 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8226 bool arg3
= (bool) true ;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8229 PyObject
* obj2
= 0 ;
8231 (char *) "self",(char *) "position",(char *) "redraw", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8236 if (SWIG_arg_fail(1)) SWIG_fail
;
8238 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8239 if (SWIG_arg_fail(2)) SWIG_fail
;
8243 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8244 if (SWIG_arg_fail(3)) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 (arg1
)->SetSashPosition(arg2
,arg3
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 Py_INCREF(Py_None
); resultobj
= Py_None
;
8261 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
= NULL
;
8263 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8265 PyObject
* obj0
= 0 ;
8267 (char *) "self", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8272 if (SWIG_arg_fail(1)) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8281 resultobj
= SWIG_From_int(static_cast<int >(result
));
8289 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
= NULL
;
8291 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8293 PyObject
* obj0
= 0 ;
8294 PyObject
* obj1
= 0 ;
8296 (char *) "self",(char *) "gravity", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8301 if (SWIG_arg_fail(1)) SWIG_fail
;
8303 arg2
= static_cast<double >(SWIG_As_double(obj1
));
8304 if (SWIG_arg_fail(2)) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 (arg1
)->SetSashGravity(arg2
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 Py_INCREF(Py_None
); resultobj
= Py_None
;
8320 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
= NULL
;
8322 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8326 (char *) "self", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8331 if (SWIG_arg_fail(1)) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_From_double(static_cast<double >(result
));
8348 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
= NULL
;
8350 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8355 (char *) "self",(char *) "min", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8360 if (SWIG_arg_fail(1)) SWIG_fail
;
8362 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8363 if (SWIG_arg_fail(2)) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 (arg1
)->SetMinimumPaneSize(arg2
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 Py_INCREF(Py_None
); resultobj
= Py_None
;
8379 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
= NULL
;
8381 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8383 PyObject
* obj0
= 0 ;
8385 (char *) "self", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8390 if (SWIG_arg_fail(1)) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= SWIG_From_int(static_cast<int >(result
));
8407 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
= NULL
;
8409 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8412 int arg4
= (int) 5 ;
8414 PyObject
* obj0
= 0 ;
8415 PyObject
* obj1
= 0 ;
8416 PyObject
* obj2
= 0 ;
8417 PyObject
* obj3
= 0 ;
8419 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8424 if (SWIG_arg_fail(1)) SWIG_fail
;
8426 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8427 if (SWIG_arg_fail(2)) SWIG_fail
;
8430 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8431 if (SWIG_arg_fail(3)) SWIG_fail
;
8435 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8436 if (SWIG_arg_fail(4)) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8455 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
= NULL
;
8457 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8465 if (SWIG_arg_fail(1)) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 (arg1
)->SizeWindows();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 Py_INCREF(Py_None
); resultobj
= Py_None
;
8480 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
= NULL
;
8482 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8487 (char *) "self",(char *) "needUpdating", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8492 if (SWIG_arg_fail(1)) SWIG_fail
;
8494 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8495 if (SWIG_arg_fail(2)) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 (arg1
)->SetNeedUpdating(arg2
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 Py_INCREF(Py_None
); resultobj
= Py_None
;
8511 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
= NULL
;
8513 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8515 PyObject
* obj0
= 0 ;
8517 (char *) "self", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8522 if (SWIG_arg_fail(1)) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8539 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
= NULL
;
8541 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8542 wxVisualAttributes result
;
8543 PyObject
* obj0
= 0 ;
8545 (char *) "variant", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8551 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8552 if (SWIG_arg_fail(1)) SWIG_fail
;
8556 if (!wxPyCheckForApp()) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8564 wxVisualAttributes
* resultptr
;
8565 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8574 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8577 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8579 return Py_BuildValue((char *)"");
8581 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
= NULL
;
8583 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8584 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8585 wxSplitterEvent
*result
;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8589 (char *) "type",(char *) "splitter", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8595 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
8596 if (SWIG_arg_fail(1)) SWIG_fail
;
8600 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8601 if (SWIG_arg_fail(2)) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8617 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
= NULL
;
8619 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8621 PyObject
* obj0
= 0 ;
8622 PyObject
* obj1
= 0 ;
8624 (char *) "self",(char *) "pos", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8629 if (SWIG_arg_fail(1)) SWIG_fail
;
8631 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8632 if (SWIG_arg_fail(2)) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 (arg1
)->SetSashPosition(arg2
);
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 Py_INCREF(Py_None
); resultobj
= Py_None
;
8648 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
= NULL
;
8650 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8652 PyObject
* obj0
= 0 ;
8654 (char *) "self", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= SWIG_From_int(static_cast<int >(result
));
8676 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
= NULL
;
8678 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8680 PyObject
* obj0
= 0 ;
8682 (char *) "self", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8687 if (SWIG_arg_fail(1)) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= wxPyMake_wxObject(result
, 0);
8704 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
= NULL
;
8706 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8710 (char *) "self", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= SWIG_From_int(static_cast<int >(result
));
8732 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
= NULL
;
8734 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8736 PyObject
* obj0
= 0 ;
8738 (char *) "self", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8743 if (SWIG_arg_fail(1)) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_From_int(static_cast<int >(result
));
8760 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8763 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8765 return Py_BuildValue((char *)"");
8767 static int _wrap_SashNameStr_set(PyObject
*) {
8768 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8773 static PyObject
*_wrap_SashNameStr_get(void) {
8774 PyObject
*pyobj
= NULL
;
8778 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8780 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8787 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8788 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8793 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8794 PyObject
*pyobj
= NULL
;
8798 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8800 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8807 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
= NULL
;
8809 wxWindow
*arg1
= (wxWindow
*) 0 ;
8810 int arg2
= (int) -1 ;
8811 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8812 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8813 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8814 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8815 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8816 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8817 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8818 wxSashWindow
*result
;
8821 bool temp6
= false ;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 PyObject
* obj2
= 0 ;
8825 PyObject
* obj3
= 0 ;
8826 PyObject
* obj4
= 0 ;
8827 PyObject
* obj5
= 0 ;
8829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8834 if (SWIG_arg_fail(1)) SWIG_fail
;
8837 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8838 if (SWIG_arg_fail(2)) SWIG_fail
;
8844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8850 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8855 arg5
= static_cast<long >(SWIG_As_long(obj4
));
8856 if (SWIG_arg_fail(5)) SWIG_fail
;
8861 arg6
= wxString_in_helper(obj5
);
8862 if (arg6
== NULL
) SWIG_fail
;
8867 if (!wxPyCheckForApp()) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8889 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
= NULL
;
8891 wxSashWindow
*result
;
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8898 if (!wxPyCheckForApp()) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (wxSashWindow
*)new wxSashWindow();
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8912 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
= NULL
;
8914 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8915 wxWindow
*arg2
= (wxWindow
*) 0 ;
8916 int arg3
= (int) -1 ;
8917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8921 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8922 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8923 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8927 bool temp7
= false ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 PyObject
* obj2
= 0 ;
8931 PyObject
* obj3
= 0 ;
8932 PyObject
* obj4
= 0 ;
8933 PyObject
* obj5
= 0 ;
8934 PyObject
* obj6
= 0 ;
8936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8941 if (SWIG_arg_fail(1)) SWIG_fail
;
8942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8943 if (SWIG_arg_fail(2)) SWIG_fail
;
8946 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8947 if (SWIG_arg_fail(3)) SWIG_fail
;
8953 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8959 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8964 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8965 if (SWIG_arg_fail(6)) SWIG_fail
;
8970 arg7
= wxString_in_helper(obj6
);
8971 if (arg7
== NULL
) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8999 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
= NULL
;
9001 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9002 wxSashEdgePosition arg2
;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9006 PyObject
* obj2
= 0 ;
9008 (char *) "self",(char *) "edge",(char *) "sash", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9013 if (SWIG_arg_fail(1)) SWIG_fail
;
9015 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9016 if (SWIG_arg_fail(2)) SWIG_fail
;
9019 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9020 if (SWIG_arg_fail(3)) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 (arg1
)->SetSashVisible(arg2
,arg3
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
= NULL
;
9038 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9039 wxSashEdgePosition arg2
;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9044 (char *) "self",(char *) "edge", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail
;
9051 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9052 if (SWIG_arg_fail(2)) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9070 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
= NULL
;
9072 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9073 wxSashEdgePosition arg2
;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 PyObject
* obj2
= 0 ;
9079 (char *) "self",(char *) "edge",(char *) "border", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9084 if (SWIG_arg_fail(1)) SWIG_fail
;
9086 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9087 if (SWIG_arg_fail(2)) SWIG_fail
;
9090 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9091 if (SWIG_arg_fail(3)) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 (arg1
)->SetSashBorder(arg2
,arg3
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 Py_INCREF(Py_None
); resultobj
= Py_None
;
9107 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
= NULL
;
9109 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9110 wxSashEdgePosition arg2
;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9115 (char *) "self",(char *) "edge", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
9119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9120 if (SWIG_arg_fail(1)) SWIG_fail
;
9122 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9123 if (SWIG_arg_fail(2)) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9141 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
= NULL
;
9143 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9144 wxSashEdgePosition arg2
;
9146 PyObject
* obj0
= 0 ;
9147 PyObject
* obj1
= 0 ;
9149 (char *) "self",(char *) "edge", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
9153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail
;
9156 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9157 if (SWIG_arg_fail(2)) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_From_int(static_cast<int >(result
));
9175 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
= NULL
;
9177 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9180 PyObject
* obj1
= 0 ;
9182 (char *) "self",(char *) "width", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9187 if (SWIG_arg_fail(1)) SWIG_fail
;
9189 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9190 if (SWIG_arg_fail(2)) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 (arg1
)->SetDefaultBorderSize(arg2
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 Py_INCREF(Py_None
); resultobj
= Py_None
;
9206 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
= NULL
;
9208 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9212 (char *) "self", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_From_int(static_cast<int >(result
));
9234 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
= NULL
;
9236 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9241 (char *) "self",(char *) "width", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail
;
9248 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9249 if (SWIG_arg_fail(2)) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 (arg1
)->SetExtraBorderSize(arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 Py_INCREF(Py_None
); resultobj
= Py_None
;
9265 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
= NULL
;
9267 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9271 (char *) "self", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_From_int(static_cast<int >(result
));
9293 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
= NULL
;
9295 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9300 (char *) "self",(char *) "min", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail
;
9307 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9308 if (SWIG_arg_fail(2)) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 (arg1
)->SetMinimumSizeX(arg2
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 Py_INCREF(Py_None
); resultobj
= Py_None
;
9324 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
= NULL
;
9326 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9329 PyObject
* obj1
= 0 ;
9331 (char *) "self",(char *) "min", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9336 if (SWIG_arg_fail(1)) SWIG_fail
;
9338 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9339 if (SWIG_arg_fail(2)) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 (arg1
)->SetMinimumSizeY(arg2
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 Py_INCREF(Py_None
); resultobj
= Py_None
;
9355 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
= NULL
;
9357 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9359 PyObject
* obj0
= 0 ;
9361 (char *) "self", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9366 if (SWIG_arg_fail(1)) SWIG_fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= SWIG_From_int(static_cast<int >(result
));
9383 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
= NULL
;
9385 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9387 PyObject
* obj0
= 0 ;
9389 (char *) "self", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9394 if (SWIG_arg_fail(1)) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_From_int(static_cast<int >(result
));
9411 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
= NULL
;
9413 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9416 PyObject
* obj1
= 0 ;
9418 (char *) "self",(char *) "max", NULL
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9423 if (SWIG_arg_fail(1)) SWIG_fail
;
9425 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9426 if (SWIG_arg_fail(2)) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 (arg1
)->SetMaximumSizeX(arg2
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 Py_INCREF(Py_None
); resultobj
= Py_None
;
9442 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
= NULL
;
9444 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9449 (char *) "self",(char *) "max", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail
;
9456 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9457 if (SWIG_arg_fail(2)) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 (arg1
)->SetMaximumSizeY(arg2
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 Py_INCREF(Py_None
); resultobj
= Py_None
;
9473 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
= NULL
;
9475 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9477 PyObject
* obj0
= 0 ;
9479 (char *) "self", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_From_int(static_cast<int >(result
));
9501 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
= NULL
;
9503 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9507 (char *) "self", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= SWIG_From_int(static_cast<int >(result
));
9529 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
= NULL
;
9531 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9534 int arg4
= (int) 2 ;
9535 wxSashEdgePosition result
;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9538 PyObject
* obj2
= 0 ;
9539 PyObject
* obj3
= 0 ;
9541 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9546 if (SWIG_arg_fail(1)) SWIG_fail
;
9548 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9549 if (SWIG_arg_fail(2)) SWIG_fail
;
9552 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9553 if (SWIG_arg_fail(3)) SWIG_fail
;
9557 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9558 if (SWIG_arg_fail(4)) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= SWIG_From_int((result
));
9575 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
= NULL
;
9577 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9585 if (SWIG_arg_fail(1)) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 (arg1
)->SizeWindows();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 Py_INCREF(Py_None
); resultobj
= Py_None
;
9600 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9603 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9605 return Py_BuildValue((char *)"");
9607 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
= NULL
;
9609 int arg1
= (int) 0 ;
9610 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9611 wxSashEvent
*result
;
9612 PyObject
* obj0
= 0 ;
9613 PyObject
* obj1
= 0 ;
9615 (char *) "id",(char *) "edge", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9621 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9622 if (SWIG_arg_fail(1)) SWIG_fail
;
9627 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9628 if (SWIG_arg_fail(2)) SWIG_fail
;
9632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
9635 wxPyEndAllowThreads(__tstate
);
9636 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9645 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
= NULL
;
9647 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9648 wxSashEdgePosition arg2
;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9652 (char *) "self",(char *) "edge", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9657 if (SWIG_arg_fail(1)) SWIG_fail
;
9659 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9660 if (SWIG_arg_fail(2)) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 (arg1
)->SetEdge(arg2
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 Py_INCREF(Py_None
); resultobj
= Py_None
;
9676 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
= NULL
;
9678 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9679 wxSashEdgePosition result
;
9680 PyObject
* obj0
= 0 ;
9682 (char *) "self", NULL
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9687 if (SWIG_arg_fail(1)) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= SWIG_From_int((result
));
9702 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
= NULL
;
9704 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9707 PyObject
* obj0
= 0 ;
9708 PyObject
* obj1
= 0 ;
9710 (char *) "self",(char *) "rect", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail
;
9718 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 Py_INCREF(Py_None
); resultobj
= Py_None
;
9734 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
= NULL
;
9736 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9740 (char *) "self", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9745 if (SWIG_arg_fail(1)) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9755 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
9756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9764 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
= NULL
;
9766 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9767 wxSashDragStatus arg2
;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9771 (char *) "self",(char *) "status", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9776 if (SWIG_arg_fail(1)) SWIG_fail
;
9778 arg2
= static_cast<wxSashDragStatus
>(SWIG_As_int(obj1
));
9779 if (SWIG_arg_fail(2)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 (arg1
)->SetDragStatus(arg2
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 Py_INCREF(Py_None
); resultobj
= Py_None
;
9795 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
= NULL
;
9797 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9798 wxSashDragStatus result
;
9799 PyObject
* obj0
= 0 ;
9801 (char *) "self", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9806 if (SWIG_arg_fail(1)) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= SWIG_From_int((result
));
9821 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9824 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9826 return Py_BuildValue((char *)"");
9828 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
= NULL
;
9830 int arg1
= (int) 0 ;
9831 wxQueryLayoutInfoEvent
*result
;
9832 PyObject
* obj0
= 0 ;
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9840 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9841 if (SWIG_arg_fail(1)) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9858 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
= NULL
;
9860 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9865 (char *) "self",(char *) "length", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9870 if (SWIG_arg_fail(1)) SWIG_fail
;
9872 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9873 if (SWIG_arg_fail(2)) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 (arg1
)->SetRequestedLength(arg2
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 Py_INCREF(Py_None
); resultobj
= Py_None
;
9889 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
= NULL
;
9891 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "self", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_From_int(static_cast<int >(result
));
9917 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
= NULL
;
9919 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9924 (char *) "self",(char *) "flags", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail
;
9931 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9932 if (SWIG_arg_fail(2)) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 (arg1
)->SetFlags(arg2
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 Py_INCREF(Py_None
); resultobj
= Py_None
;
9948 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
= NULL
;
9950 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9954 (char *) "self", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9959 if (SWIG_arg_fail(1)) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= SWIG_From_int(static_cast<int >(result
));
9976 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
= NULL
;
9978 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "self",(char *) "size", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail
;
9992 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 (arg1
)->SetSize((wxSize
const &)*arg2
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 Py_INCREF(Py_None
); resultobj
= Py_None
;
10008 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
= NULL
;
10010 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
10018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 wxSize
* resultptr
;
10029 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
10030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10038 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
= NULL
;
10040 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10041 wxLayoutOrientation arg2
;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj1
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self",(char *) "orient", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10050 if (SWIG_arg_fail(1)) SWIG_fail
;
10052 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10053 if (SWIG_arg_fail(2)) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 (arg1
)->SetOrientation(arg2
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 Py_INCREF(Py_None
); resultobj
= Py_None
;
10069 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
= NULL
;
10071 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10072 wxLayoutOrientation result
;
10073 PyObject
* obj0
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
10079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= SWIG_From_int((result
));
10095 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
= NULL
;
10097 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10098 wxLayoutAlignment arg2
;
10099 PyObject
* obj0
= 0 ;
10100 PyObject
* obj1
= 0 ;
10101 char *kwnames
[] = {
10102 (char *) "self",(char *) "align", NULL
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10107 if (SWIG_arg_fail(1)) SWIG_fail
;
10109 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10110 if (SWIG_arg_fail(2)) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 (arg1
)->SetAlignment(arg2
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 Py_INCREF(Py_None
); resultobj
= Py_None
;
10126 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
= NULL
;
10128 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10129 wxLayoutAlignment result
;
10130 PyObject
* obj0
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
10136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_From_int((result
));
10152 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
10154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10155 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
10157 return Py_BuildValue((char *)"");
10159 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
= NULL
;
10161 int arg1
= (int) 0 ;
10162 wxCalculateLayoutEvent
*result
;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "id", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
10171 arg1
= static_cast<int >(SWIG_As_int(obj0
));
10172 if (SWIG_arg_fail(1)) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10189 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
= NULL
;
10191 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self",(char *) "flags", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail
;
10203 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10204 if (SWIG_arg_fail(2)) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 (arg1
)->SetFlags(arg2
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 Py_INCREF(Py_None
); resultobj
= Py_None
;
10220 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
= NULL
;
10222 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10231 if (SWIG_arg_fail(1)) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_From_int(static_cast<int >(result
));
10248 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
= NULL
;
10250 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10253 PyObject
* obj0
= 0 ;
10254 PyObject
* obj1
= 0 ;
10255 char *kwnames
[] = {
10256 (char *) "self",(char *) "rect", NULL
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10261 if (SWIG_arg_fail(1)) SWIG_fail
;
10264 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 (arg1
)->SetRect((wxRect
const &)*arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10280 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
= NULL
;
10282 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10291 if (SWIG_arg_fail(1)) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10300 wxRect
* resultptr
;
10301 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
10302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10310 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10313 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10315 return Py_BuildValue((char *)"");
10317 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
= NULL
;
10319 wxWindow
*arg1
= (wxWindow
*) 0 ;
10320 int arg2
= (int) -1 ;
10321 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10322 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10323 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10324 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10325 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10326 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10327 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10328 wxSashLayoutWindow
*result
;
10331 bool temp6
= false ;
10332 PyObject
* obj0
= 0 ;
10333 PyObject
* obj1
= 0 ;
10334 PyObject
* obj2
= 0 ;
10335 PyObject
* obj3
= 0 ;
10336 PyObject
* obj4
= 0 ;
10337 PyObject
* obj5
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10344 if (SWIG_arg_fail(1)) SWIG_fail
;
10347 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10348 if (SWIG_arg_fail(2)) SWIG_fail
;
10354 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10360 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10365 arg5
= static_cast<long >(SWIG_As_long(obj4
));
10366 if (SWIG_arg_fail(5)) SWIG_fail
;
10371 arg6
= wxString_in_helper(obj5
);
10372 if (arg6
== NULL
) SWIG_fail
;
10377 if (!wxPyCheckForApp()) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10399 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
= NULL
;
10401 wxSashLayoutWindow
*result
;
10402 char *kwnames
[] = {
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10408 if (!wxPyCheckForApp()) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10422 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
= NULL
;
10424 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10425 wxWindow
*arg2
= (wxWindow
*) 0 ;
10426 int arg3
= (int) -1 ;
10427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10431 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10432 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10433 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10437 bool temp7
= false ;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 PyObject
* obj2
= 0 ;
10441 PyObject
* obj3
= 0 ;
10442 PyObject
* obj4
= 0 ;
10443 PyObject
* obj5
= 0 ;
10444 PyObject
* obj6
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail
;
10452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10453 if (SWIG_arg_fail(2)) SWIG_fail
;
10456 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10457 if (SWIG_arg_fail(3)) SWIG_fail
;
10463 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10469 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10474 arg6
= static_cast<long >(SWIG_As_long(obj5
));
10475 if (SWIG_arg_fail(6)) SWIG_fail
;
10480 arg7
= wxString_in_helper(obj6
);
10481 if (arg7
== NULL
) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10509 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
= NULL
;
10511 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10512 wxLayoutAlignment result
;
10513 PyObject
* obj0
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 resultobj
= SWIG_From_int((result
));
10535 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
= NULL
;
10537 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10538 wxLayoutOrientation result
;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_From_int((result
));
10561 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
= NULL
;
10563 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10564 wxLayoutAlignment arg2
;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self",(char *) "alignment", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10573 if (SWIG_arg_fail(1)) SWIG_fail
;
10575 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10576 if (SWIG_arg_fail(2)) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 (arg1
)->SetAlignment(arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 Py_INCREF(Py_None
); resultobj
= Py_None
;
10592 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= NULL
;
10594 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self",(char *) "size", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10605 if (SWIG_arg_fail(1)) SWIG_fail
;
10608 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 Py_INCREF(Py_None
); resultobj
= Py_None
;
10624 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
= NULL
;
10626 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10627 wxLayoutOrientation arg2
;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self",(char *) "orientation", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10636 if (SWIG_arg_fail(1)) SWIG_fail
;
10638 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10639 if (SWIG_arg_fail(2)) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 (arg1
)->SetOrientation(arg2
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 Py_INCREF(Py_None
); resultobj
= Py_None
;
10655 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10658 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10660 return Py_BuildValue((char *)"");
10662 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
= NULL
;
10664 wxLayoutAlgorithm
*result
;
10665 char *kwnames
[] = {
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10684 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
= NULL
;
10686 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 Py_INCREF(Py_None
); resultobj
= Py_None
;
10709 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
= NULL
;
10711 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10712 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10713 wxRect
*arg3
= (wxRect
*) NULL
;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 PyObject
* obj2
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self",(char *) "frame",(char *) "rect", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10724 if (SWIG_arg_fail(1)) SWIG_fail
;
10725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10726 if (SWIG_arg_fail(2)) SWIG_fail
;
10728 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10729 if (SWIG_arg_fail(3)) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10747 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
= NULL
;
10749 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10750 wxFrame
*arg2
= (wxFrame
*) 0 ;
10751 wxWindow
*arg3
= (wxWindow
*) NULL
;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 PyObject
* obj2
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10764 if (SWIG_arg_fail(2)) SWIG_fail
;
10766 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10767 if (SWIG_arg_fail(3)) SWIG_fail
;
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10785 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
= NULL
;
10787 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10788 wxWindow
*arg2
= (wxWindow
*) 0 ;
10789 wxWindow
*arg3
= (wxWindow
*) NULL
;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 PyObject
* obj2
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10800 if (SWIG_arg_fail(1)) SWIG_fail
;
10801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10802 if (SWIG_arg_fail(2)) SWIG_fail
;
10804 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10805 if (SWIG_arg_fail(3)) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10823 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10826 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10828 return Py_BuildValue((char *)"");
10830 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
= NULL
;
10832 wxWindow
*arg1
= (wxWindow
*) 0 ;
10833 int arg2
= (int) wxBORDER_NONE
;
10834 wxPopupWindow
*result
;
10835 PyObject
* obj0
= 0 ;
10836 PyObject
* obj1
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "parent",(char *) "flags", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail
;
10846 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10847 if (SWIG_arg_fail(2)) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10864 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
= NULL
;
10866 wxPopupWindow
*result
;
10867 char *kwnames
[] = {
10871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 result
= (wxPopupWindow
*)new wxPopupWindow();
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10886 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10889 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10891 return Py_BuildValue((char *)"");
10893 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
= NULL
;
10895 wxWindow
*arg1
= (wxWindow
*) 0 ;
10896 int arg2
= (int) wxBORDER_NONE
;
10897 wxPyPopupTransientWindow
*result
;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "parent",(char *) "style", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10906 if (SWIG_arg_fail(1)) SWIG_fail
;
10909 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10910 if (SWIG_arg_fail(2)) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10927 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
= NULL
;
10929 wxPyPopupTransientWindow
*result
;
10930 char *kwnames
[] = {
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10949 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10952 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10954 return Py_BuildValue((char *)"");
10956 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
= NULL
;
10958 wxWindow
*arg1
= (wxWindow
*) 0 ;
10959 wxString
*arg2
= 0 ;
10960 int arg3
= (int) 100 ;
10961 wxRect
*arg4
= (wxRect
*) NULL
;
10962 wxTipWindow
*result
;
10963 bool temp2
= false ;
10964 PyObject
* obj0
= 0 ;
10965 PyObject
* obj1
= 0 ;
10966 PyObject
* obj2
= 0 ;
10967 PyObject
* obj3
= 0 ;
10968 char *kwnames
[] = {
10969 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10974 if (SWIG_arg_fail(1)) SWIG_fail
;
10976 arg2
= wxString_in_helper(obj1
);
10977 if (arg2
== NULL
) SWIG_fail
;
10982 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10983 if (SWIG_arg_fail(3)) SWIG_fail
;
10987 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10988 if (SWIG_arg_fail(4)) SWIG_fail
;
10991 if (!wxPyCheckForApp()) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
11013 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
= NULL
;
11015 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self",(char *) "rectBound", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11026 if (SWIG_arg_fail(1)) SWIG_fail
;
11029 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11038 Py_INCREF(Py_None
); resultobj
= Py_None
;
11045 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
= NULL
;
11047 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11048 PyObject
* obj0
= 0 ;
11049 char *kwnames
[] = {
11050 (char *) "self", NULL
11053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11055 if (SWIG_arg_fail(1)) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 Py_INCREF(Py_None
); resultobj
= Py_None
;
11070 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11073 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11075 return Py_BuildValue((char *)"");
11077 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
= NULL
;
11079 wxWindow
*arg1
= (wxWindow
*) 0 ;
11080 int arg2
= (int) wxID_ANY
;
11081 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11082 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11083 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11084 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11085 long arg5
= (long) 0 ;
11086 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11087 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11088 wxPyVScrolledWindow
*result
;
11091 bool temp6
= false ;
11092 PyObject
* obj0
= 0 ;
11093 PyObject
* obj1
= 0 ;
11094 PyObject
* obj2
= 0 ;
11095 PyObject
* obj3
= 0 ;
11096 PyObject
* obj4
= 0 ;
11097 PyObject
* obj5
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail
;
11107 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11108 if (SWIG_arg_fail(2)) SWIG_fail
;
11114 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11120 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11125 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11126 if (SWIG_arg_fail(5)) SWIG_fail
;
11131 arg6
= wxString_in_helper(obj5
);
11132 if (arg6
== NULL
) SWIG_fail
;
11137 if (!wxPyCheckForApp()) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11159 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
= NULL
;
11161 wxPyVScrolledWindow
*result
;
11162 char *kwnames
[] = {
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11168 if (!wxPyCheckForApp()) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11182 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
= NULL
;
11184 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11185 PyObject
*arg2
= (PyObject
*) 0 ;
11186 PyObject
*arg3
= (PyObject
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 PyObject
* obj2
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self",(char *) "self",(char *) "_class", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
= NULL
;
11215 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11216 wxWindow
*arg2
= (wxWindow
*) 0 ;
11217 int arg3
= (int) wxID_ANY
;
11218 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11219 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11220 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11221 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11222 long arg6
= (long) 0 ;
11223 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11224 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11228 bool temp7
= false ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 PyObject
* obj2
= 0 ;
11232 PyObject
* obj3
= 0 ;
11233 PyObject
* obj4
= 0 ;
11234 PyObject
* obj5
= 0 ;
11235 PyObject
* obj6
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail
;
11243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11244 if (SWIG_arg_fail(2)) SWIG_fail
;
11247 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11248 if (SWIG_arg_fail(3)) SWIG_fail
;
11254 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11260 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11265 arg6
= static_cast<long >(SWIG_As_long(obj5
));
11266 if (SWIG_arg_fail(6)) SWIG_fail
;
11271 arg7
= wxString_in_helper(obj6
);
11272 if (arg7
== NULL
) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11300 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
= NULL
;
11302 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "count", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11312 if (SWIG_arg_fail(1)) SWIG_fail
;
11314 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11315 if (SWIG_arg_fail(2)) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 (arg1
)->SetLineCount(arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 Py_INCREF(Py_None
); resultobj
= Py_None
;
11331 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
= NULL
;
11333 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11336 PyObject
* obj0
= 0 ;
11337 PyObject
* obj1
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self",(char *) "line", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail
;
11346 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11347 if (SWIG_arg_fail(2)) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11365 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
= NULL
;
11367 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "self",(char *) "lines", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11378 if (SWIG_arg_fail(1)) SWIG_fail
;
11380 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11381 if (SWIG_arg_fail(2)) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (bool)(arg1
)->ScrollLines(arg2
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11399 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
= NULL
;
11401 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 PyObject
* obj1
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self",(char *) "pages", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11412 if (SWIG_arg_fail(1)) SWIG_fail
;
11414 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11415 if (SWIG_arg_fail(2)) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (bool)(arg1
)->ScrollPages(arg2
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11433 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
= NULL
;
11435 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 PyObject
* obj1
= 0 ;
11439 char *kwnames
[] = {
11440 (char *) "self",(char *) "line", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11445 if (SWIG_arg_fail(1)) SWIG_fail
;
11447 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11448 if (SWIG_arg_fail(2)) SWIG_fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 (arg1
)->RefreshLine(arg2
);
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 Py_INCREF(Py_None
); resultobj
= Py_None
;
11464 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
= NULL
;
11466 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11469 PyObject
* obj0
= 0 ;
11470 PyObject
* obj1
= 0 ;
11471 PyObject
* obj2
= 0 ;
11472 char *kwnames
[] = {
11473 (char *) "self",(char *) "from",(char *) "to", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11478 if (SWIG_arg_fail(1)) SWIG_fail
;
11480 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11481 if (SWIG_arg_fail(2)) SWIG_fail
;
11484 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
11485 if (SWIG_arg_fail(3)) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 (arg1
)->RefreshLines(arg2
,arg3
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 Py_INCREF(Py_None
); resultobj
= Py_None
;
11501 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
= NULL
;
11503 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self",(char *) "x",(char *) "y", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail
;
11518 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11519 if (SWIG_arg_fail(2)) SWIG_fail
;
11522 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11523 if (SWIG_arg_fail(3)) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= SWIG_From_int(static_cast<int >(result
));
11541 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
= NULL
;
11543 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11544 wxPoint
*arg2
= 0 ;
11547 PyObject
* obj0
= 0 ;
11548 PyObject
* obj1
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self",(char *) "pt", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail
;
11558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_From_int(static_cast<int >(result
));
11576 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
= NULL
;
11578 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11579 PyObject
* obj0
= 0 ;
11580 char *kwnames
[] = {
11581 (char *) "self", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 (arg1
)->RefreshAll();
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 Py_INCREF(Py_None
); resultobj
= Py_None
;
11601 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
= NULL
;
11603 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11605 PyObject
* obj0
= 0 ;
11606 char *kwnames
[] = {
11607 (char *) "self", NULL
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11612 if (SWIG_arg_fail(1)) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11621 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11629 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
= NULL
;
11631 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11640 if (SWIG_arg_fail(1)) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11657 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
= NULL
;
11659 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11661 PyObject
* obj0
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11668 if (SWIG_arg_fail(1)) SWIG_fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11677 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11685 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
= NULL
;
11687 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "line", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail
;
11700 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11701 if (SWIG_arg_fail(2)) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11719 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
= NULL
;
11721 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11723 PyObject
* obj0
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11730 if (SWIG_arg_fail(1)) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11747 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
= NULL
;
11749 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11751 PyObject
* obj0
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11758 if (SWIG_arg_fail(1)) SWIG_fail
;
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11775 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11778 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11780 return Py_BuildValue((char *)"");
11782 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11783 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11788 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11789 PyObject
*pyobj
= NULL
;
11793 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11795 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11802 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
= NULL
;
11804 wxWindow
*arg1
= (wxWindow
*) 0 ;
11805 int arg2
= (int) wxID_ANY
;
11806 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11807 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11808 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11809 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11810 long arg5
= (long) 0 ;
11811 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11812 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11813 wxPyVListBox
*result
;
11816 bool temp6
= false ;
11817 PyObject
* obj0
= 0 ;
11818 PyObject
* obj1
= 0 ;
11819 PyObject
* obj2
= 0 ;
11820 PyObject
* obj3
= 0 ;
11821 PyObject
* obj4
= 0 ;
11822 PyObject
* obj5
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11829 if (SWIG_arg_fail(1)) SWIG_fail
;
11832 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11833 if (SWIG_arg_fail(2)) SWIG_fail
;
11839 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11845 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11850 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11851 if (SWIG_arg_fail(5)) SWIG_fail
;
11856 arg6
= wxString_in_helper(obj5
);
11857 if (arg6
== NULL
) SWIG_fail
;
11862 if (!wxPyCheckForApp()) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11884 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
*resultobj
= NULL
;
11886 wxPyVListBox
*result
;
11887 char *kwnames
[] = {
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11893 if (!wxPyCheckForApp()) SWIG_fail
;
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 result
= (wxPyVListBox
*)new wxPyVListBox();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11907 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
= NULL
;
11909 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11910 PyObject
*arg2
= (PyObject
*) 0 ;
11911 PyObject
*arg3
= (PyObject
*) 0 ;
11912 PyObject
* obj0
= 0 ;
11913 PyObject
* obj1
= 0 ;
11914 PyObject
* obj2
= 0 ;
11915 char *kwnames
[] = {
11916 (char *) "self",(char *) "self",(char *) "_class", NULL
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11921 if (SWIG_arg_fail(1)) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 Py_INCREF(Py_None
); resultobj
= Py_None
;
11938 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
= NULL
;
11940 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11941 wxWindow
*arg2
= (wxWindow
*) 0 ;
11942 int arg3
= (int) wxID_ANY
;
11943 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11944 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11945 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11946 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11947 long arg6
= (long) 0 ;
11948 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11949 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11953 bool temp7
= false ;
11954 PyObject
* obj0
= 0 ;
11955 PyObject
* obj1
= 0 ;
11956 PyObject
* obj2
= 0 ;
11957 PyObject
* obj3
= 0 ;
11958 PyObject
* obj4
= 0 ;
11959 PyObject
* obj5
= 0 ;
11960 PyObject
* obj6
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11967 if (SWIG_arg_fail(1)) SWIG_fail
;
11968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11969 if (SWIG_arg_fail(2)) SWIG_fail
;
11972 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11973 if (SWIG_arg_fail(3)) SWIG_fail
;
11979 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11985 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11990 arg6
= static_cast<long >(SWIG_As_long(obj5
));
11991 if (SWIG_arg_fail(6)) SWIG_fail
;
11996 arg7
= wxString_in_helper(obj6
);
11997 if (arg7
== NULL
) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12025 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
= NULL
;
12027 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
12035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12053 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
= NULL
;
12055 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12057 PyObject
* obj0
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
12063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12081 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
= NULL
;
12083 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12092 if (SWIG_arg_fail(1)) SWIG_fail
;
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_From_int(static_cast<int >(result
));
12109 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
= NULL
;
12111 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 PyObject
* obj1
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self",(char *) "item", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail
;
12124 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12125 if (SWIG_arg_fail(2)) SWIG_fail
;
12128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12143 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12144 PyObject
*resultobj
= NULL
;
12145 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 PyObject
* obj1
= 0 ;
12150 char *kwnames
[] = {
12151 (char *) "self",(char *) "item", NULL
12154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12156 if (SWIG_arg_fail(1)) SWIG_fail
;
12158 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12159 if (SWIG_arg_fail(2)) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12177 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
= NULL
;
12179 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12181 PyObject
* obj0
= 0 ;
12182 char *kwnames
[] = {
12183 (char *) "self", NULL
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12205 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
= NULL
;
12207 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12209 PyObject
* obj0
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= result
;
12231 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
= NULL
;
12233 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12234 unsigned long arg2
;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self",(char *) "cookie", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail
;
12246 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
12247 if (SWIG_arg_fail(2)) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= result
;
12263 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
= NULL
;
12265 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12274 if (SWIG_arg_fail(1)) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 wxPoint
* resultptr
;
12284 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12293 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
= NULL
;
12295 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12297 PyObject
* obj0
= 0 ;
12298 char *kwnames
[] = {
12299 (char *) "self", NULL
12302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12304 if (SWIG_arg_fail(1)) SWIG_fail
;
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12308 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12309 result
= (wxColour
*) &_result_ref
;
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12322 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12323 PyObject
*resultobj
= NULL
;
12324 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self",(char *) "count", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail
;
12336 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12337 if (SWIG_arg_fail(2)) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 (arg1
)->SetItemCount(arg2
);
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 Py_INCREF(Py_None
); resultobj
= Py_None
;
12353 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
= NULL
;
12355 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 Py_INCREF(Py_None
); resultobj
= Py_None
;
12378 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
= NULL
;
12380 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self",(char *) "selection", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail
;
12392 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12393 if (SWIG_arg_fail(2)) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 (arg1
)->SetSelection(arg2
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 Py_INCREF(Py_None
); resultobj
= Py_None
;
12409 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
= NULL
;
12411 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12413 bool arg3
= (bool) true ;
12415 PyObject
* obj0
= 0 ;
12416 PyObject
* obj1
= 0 ;
12417 PyObject
* obj2
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self",(char *) "item",(char *) "select", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12424 if (SWIG_arg_fail(1)) SWIG_fail
;
12426 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12427 if (SWIG_arg_fail(2)) SWIG_fail
;
12431 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
12432 if (SWIG_arg_fail(3)) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12451 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
= NULL
;
12453 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12457 PyObject
* obj0
= 0 ;
12458 PyObject
* obj1
= 0 ;
12459 PyObject
* obj2
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self",(char *) "from",(char *) "to", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12466 if (SWIG_arg_fail(1)) SWIG_fail
;
12468 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12469 if (SWIG_arg_fail(2)) SWIG_fail
;
12472 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12473 if (SWIG_arg_fail(3)) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12491 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
= NULL
;
12493 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self",(char *) "item", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12503 if (SWIG_arg_fail(1)) SWIG_fail
;
12505 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12506 if (SWIG_arg_fail(2)) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->Toggle(arg2
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 Py_INCREF(Py_None
); resultobj
= Py_None
;
12522 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
= NULL
;
12524 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (bool)(arg1
)->SelectAll();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12550 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
= NULL
;
12552 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12554 PyObject
* obj0
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 result
= (bool)(arg1
)->DeselectAll();
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12578 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12579 PyObject
*resultobj
= NULL
;
12580 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12581 wxPoint
*arg2
= 0 ;
12583 PyObject
* obj0
= 0 ;
12584 PyObject
* obj1
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self",(char *) "pt", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12591 if (SWIG_arg_fail(1)) SWIG_fail
;
12594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 Py_INCREF(Py_None
); resultobj
= Py_None
;
12610 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
= NULL
;
12612 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 PyObject
* obj2
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self",(char *) "x",(char *) "y", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail
;
12626 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12627 if (SWIG_arg_fail(2)) SWIG_fail
;
12630 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12631 if (SWIG_arg_fail(3)) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 (arg1
)->SetMargins(arg2
,arg3
);
12637 wxPyEndAllowThreads(__tstate
);
12638 if (PyErr_Occurred()) SWIG_fail
;
12640 Py_INCREF(Py_None
); resultobj
= Py_None
;
12647 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
= NULL
;
12649 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12650 wxColour
*arg2
= 0 ;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 char *kwnames
[] = {
12655 (char *) "self",(char *) "col", NULL
12658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12660 if (SWIG_arg_fail(1)) SWIG_fail
;
12663 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 Py_INCREF(Py_None
); resultobj
= Py_None
;
12679 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12682 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12684 return Py_BuildValue((char *)"");
12686 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
= NULL
;
12688 wxWindow
*arg1
= (wxWindow
*) 0 ;
12689 int arg2
= (int) wxID_ANY
;
12690 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12691 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12692 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12693 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12694 long arg5
= (long) 0 ;
12695 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12696 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12697 wxPyHtmlListBox
*result
;
12700 bool temp6
= false ;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 PyObject
* obj2
= 0 ;
12704 PyObject
* obj3
= 0 ;
12705 PyObject
* obj4
= 0 ;
12706 PyObject
* obj5
= 0 ;
12707 char *kwnames
[] = {
12708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12713 if (SWIG_arg_fail(1)) SWIG_fail
;
12716 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12717 if (SWIG_arg_fail(2)) SWIG_fail
;
12723 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12729 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12734 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12735 if (SWIG_arg_fail(5)) SWIG_fail
;
12740 arg6
= wxString_in_helper(obj5
);
12741 if (arg6
== NULL
) SWIG_fail
;
12746 if (!wxPyCheckForApp()) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12768 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
= NULL
;
12770 wxPyHtmlListBox
*result
;
12771 char *kwnames
[] = {
12775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12777 if (!wxPyCheckForApp()) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12791 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12792 PyObject
*resultobj
= NULL
;
12793 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12794 PyObject
*arg2
= (PyObject
*) 0 ;
12795 PyObject
*arg3
= (PyObject
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 PyObject
* obj1
= 0 ;
12798 PyObject
* obj2
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self",(char *) "self",(char *) "_class", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 Py_INCREF(Py_None
); resultobj
= Py_None
;
12822 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
= NULL
;
12824 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12825 wxWindow
*arg2
= (wxWindow
*) 0 ;
12826 int arg3
= (int) wxID_ANY
;
12827 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12828 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12829 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12830 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12831 long arg6
= (long) 0 ;
12832 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12833 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12837 bool temp7
= false ;
12838 PyObject
* obj0
= 0 ;
12839 PyObject
* obj1
= 0 ;
12840 PyObject
* obj2
= 0 ;
12841 PyObject
* obj3
= 0 ;
12842 PyObject
* obj4
= 0 ;
12843 PyObject
* obj5
= 0 ;
12844 PyObject
* obj6
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12851 if (SWIG_arg_fail(1)) SWIG_fail
;
12852 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12853 if (SWIG_arg_fail(2)) SWIG_fail
;
12856 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12857 if (SWIG_arg_fail(3)) SWIG_fail
;
12863 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12869 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12874 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12875 if (SWIG_arg_fail(6)) SWIG_fail
;
12880 arg7
= wxString_in_helper(obj6
);
12881 if (arg7
== NULL
) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12909 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
= NULL
;
12911 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12919 if (SWIG_arg_fail(1)) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 (arg1
)->RefreshAll();
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 Py_INCREF(Py_None
); resultobj
= Py_None
;
12934 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
= NULL
;
12936 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 PyObject
* obj1
= 0 ;
12940 char *kwnames
[] = {
12941 (char *) "self",(char *) "count", NULL
12944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12946 if (SWIG_arg_fail(1)) SWIG_fail
;
12948 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12949 if (SWIG_arg_fail(2)) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 (arg1
)->SetItemCount(arg2
);
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 Py_INCREF(Py_None
); resultobj
= Py_None
;
12965 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
= NULL
;
12967 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12968 wxFileSystem
*result
;
12969 PyObject
* obj0
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12981 result
= (wxFileSystem
*) &_result_ref
;
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12994 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12997 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12999 return Py_BuildValue((char *)"");
13001 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
= NULL
;
13003 wxPyTaskBarIcon
*result
;
13004 char *kwnames
[] = {
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
13010 if (!wxPyCheckForApp()) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
13024 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
= NULL
;
13026 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
13033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13034 if (SWIG_arg_fail(1)) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 Py_INCREF(Py_None
); resultobj
= Py_None
;
13049 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
= NULL
;
13051 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13052 PyObject
*arg2
= (PyObject
*) 0 ;
13053 PyObject
*arg3
= (PyObject
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 PyObject
* obj1
= 0 ;
13057 PyObject
* obj2
= 0 ;
13058 PyObject
* obj3
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13065 if (SWIG_arg_fail(1)) SWIG_fail
;
13069 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13070 if (SWIG_arg_fail(4)) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
= NULL
;
13088 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13089 PyObject
* obj0
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
13095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 wxPyTaskBarIcon_Destroy(arg1
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 Py_INCREF(Py_None
); resultobj
= Py_None
;
13111 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= NULL
;
13113 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13122 if (SWIG_arg_fail(1)) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13139 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
= NULL
;
13141 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13143 PyObject
* obj0
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "self", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13150 if (SWIG_arg_fail(1)) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13167 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
= NULL
;
13169 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13171 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13172 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13174 bool temp3
= false ;
13175 PyObject
* obj0
= 0 ;
13176 PyObject
* obj1
= 0 ;
13177 PyObject
* obj2
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13184 if (SWIG_arg_fail(1)) SWIG_fail
;
13186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13187 if (SWIG_arg_fail(2)) SWIG_fail
;
13188 if (arg2
== NULL
) {
13189 SWIG_null_ref("wxIcon");
13191 if (SWIG_arg_fail(2)) SWIG_fail
;
13195 arg3
= wxString_in_helper(obj2
);
13196 if (arg3
== NULL
) SWIG_fail
;
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13224 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13225 PyObject
*resultobj
= NULL
;
13226 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13228 PyObject
* obj0
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13235 if (SWIG_arg_fail(1)) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (bool)(arg1
)->RemoveIcon();
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13252 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13253 PyObject
*resultobj
= NULL
;
13254 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13255 wxMenu
*arg2
= (wxMenu
*) 0 ;
13257 PyObject
* obj0
= 0 ;
13258 PyObject
* obj1
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self",(char *) "menu", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail
;
13266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13267 if (SWIG_arg_fail(2)) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (bool)(arg1
)->PopupMenu(arg2
);
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13284 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13287 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13289 return Py_BuildValue((char *)"");
13291 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
= NULL
;
13294 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13295 wxTaskBarIconEvent
*result
;
13296 PyObject
* obj0
= 0 ;
13297 PyObject
* obj1
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "evtType",(char *) "tbIcon", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13304 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13305 if (SWIG_arg_fail(1)) SWIG_fail
;
13307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13308 if (SWIG_arg_fail(2)) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13323 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13326 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13328 return Py_BuildValue((char *)"");
13330 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13331 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13336 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13337 PyObject
*pyobj
= NULL
;
13341 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13343 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13350 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13351 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13356 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13357 PyObject
*pyobj
= NULL
;
13361 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13363 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13370 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13371 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13376 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13377 PyObject
*pyobj
= NULL
;
13381 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13383 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13390 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13391 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13396 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13397 PyObject
*pyobj
= NULL
;
13401 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13403 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13410 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13411 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13416 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13417 PyObject
*pyobj
= NULL
;
13421 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13423 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13430 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13431 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13436 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13437 PyObject
*pyobj
= NULL
;
13441 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13443 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13450 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
= NULL
;
13452 wxColourData
*result
;
13453 char *kwnames
[] = {
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= (wxColourData
*)new wxColourData();
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13472 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
= NULL
;
13474 wxColourData
*arg1
= (wxColourData
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13482 if (SWIG_arg_fail(1)) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 Py_INCREF(Py_None
); resultobj
= Py_None
;
13497 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
= NULL
;
13499 wxColourData
*arg1
= (wxColourData
*) 0 ;
13501 PyObject
* obj0
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (bool)(arg1
)->GetChooseFull();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13525 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
= NULL
;
13527 wxColourData
*arg1
= (wxColourData
*) 0 ;
13529 PyObject
* obj0
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13536 if (SWIG_arg_fail(1)) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (arg1
)->GetColour();
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13545 wxColour
* resultptr
;
13546 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13555 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
= NULL
;
13557 wxColourData
*arg1
= (wxColourData
*) 0 ;
13560 PyObject
* obj0
= 0 ;
13561 PyObject
* obj1
= 0 ;
13562 char *kwnames
[] = {
13563 (char *) "self",(char *) "i", NULL
13566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13568 if (SWIG_arg_fail(1)) SWIG_fail
;
13570 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13571 if (SWIG_arg_fail(2)) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (arg1
)->GetCustomColour(arg2
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13581 wxColour
* resultptr
;
13582 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13591 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
= NULL
;
13593 wxColourData
*arg1
= (wxColourData
*) 0 ;
13595 PyObject
* obj0
= 0 ;
13596 PyObject
* obj1
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self",(char *) "flag", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13603 if (SWIG_arg_fail(1)) SWIG_fail
;
13605 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13606 if (SWIG_arg_fail(2)) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 (arg1
)->SetChooseFull(arg2
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 Py_INCREF(Py_None
); resultobj
= Py_None
;
13622 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
= NULL
;
13624 wxColourData
*arg1
= (wxColourData
*) 0 ;
13625 wxColour
*arg2
= 0 ;
13627 PyObject
* obj0
= 0 ;
13628 PyObject
* obj1
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self",(char *) "colour", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13635 if (SWIG_arg_fail(1)) SWIG_fail
;
13638 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 (arg1
)->SetColour((wxColour
const &)*arg2
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 Py_INCREF(Py_None
); resultobj
= Py_None
;
13654 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13655 PyObject
*resultobj
= NULL
;
13656 wxColourData
*arg1
= (wxColourData
*) 0 ;
13658 wxColour
*arg3
= 0 ;
13660 PyObject
* obj0
= 0 ;
13661 PyObject
* obj1
= 0 ;
13662 PyObject
* obj2
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self",(char *) "i",(char *) "colour", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13669 if (SWIG_arg_fail(1)) SWIG_fail
;
13671 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13672 if (SWIG_arg_fail(2)) SWIG_fail
;
13676 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13680 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 Py_INCREF(Py_None
); resultobj
= Py_None
;
13692 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13695 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13697 return Py_BuildValue((char *)"");
13699 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
= NULL
;
13701 wxWindow
*arg1
= (wxWindow
*) 0 ;
13702 wxColourData
*arg2
= (wxColourData
*) NULL
;
13703 wxColourDialog
*result
;
13704 PyObject
* obj0
= 0 ;
13705 PyObject
* obj1
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "parent",(char *) "data", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13712 if (SWIG_arg_fail(1)) SWIG_fail
;
13714 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13715 if (SWIG_arg_fail(2)) SWIG_fail
;
13718 if (!wxPyCheckForApp()) SWIG_fail
;
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13720 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13722 wxPyEndAllowThreads(__tstate
);
13723 if (PyErr_Occurred()) SWIG_fail
;
13725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13732 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
= NULL
;
13734 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13735 wxColourData
*result
;
13736 PyObject
* obj0
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "self", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13743 if (SWIG_arg_fail(1)) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13748 result
= (wxColourData
*) &_result_ref
;
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13761 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13764 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13766 return Py_BuildValue((char *)"");
13768 static PyObject
*_wrap_GetColourFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
= NULL
;
13770 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
13771 wxColour
const &arg2_defvalue
= wxNullColour
;
13772 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
13773 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13774 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13777 bool temp3
= false ;
13778 PyObject
* obj0
= 0 ;
13779 PyObject
* obj1
= 0 ;
13780 PyObject
* obj2
= 0 ;
13781 char *kwnames
[] = {
13782 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13788 if (SWIG_arg_fail(1)) SWIG_fail
;
13793 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13798 arg3
= wxString_in_helper(obj2
);
13799 if (arg3
== NULL
) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13805 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13811 wxColour
* resultptr
;
13812 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13829 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
= NULL
;
13831 wxWindow
*arg1
= (wxWindow
*) 0 ;
13832 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13833 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13834 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13835 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13836 long arg4
= (long) 0 ;
13837 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13838 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13839 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13840 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13841 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13842 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13843 wxDirDialog
*result
;
13844 bool temp2
= false ;
13845 bool temp3
= false ;
13848 bool temp7
= false ;
13849 PyObject
* obj0
= 0 ;
13850 PyObject
* obj1
= 0 ;
13851 PyObject
* obj2
= 0 ;
13852 PyObject
* obj3
= 0 ;
13853 PyObject
* obj4
= 0 ;
13854 PyObject
* obj5
= 0 ;
13855 PyObject
* obj6
= 0 ;
13856 char *kwnames
[] = {
13857 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13862 if (SWIG_arg_fail(1)) SWIG_fail
;
13865 arg2
= wxString_in_helper(obj1
);
13866 if (arg2
== NULL
) SWIG_fail
;
13872 arg3
= wxString_in_helper(obj2
);
13873 if (arg3
== NULL
) SWIG_fail
;
13879 arg4
= static_cast<long >(SWIG_As_long(obj3
));
13880 if (SWIG_arg_fail(4)) SWIG_fail
;
13886 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13892 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13897 arg7
= wxString_in_helper(obj6
);
13898 if (arg7
== NULL
) SWIG_fail
;
13903 if (!wxPyCheckForApp()) SWIG_fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13941 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13942 PyObject
*resultobj
= NULL
;
13943 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 char *kwnames
[] = {
13947 (char *) "self", NULL
13950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13952 if (SWIG_arg_fail(1)) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (arg1
)->GetPath();
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13973 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
= NULL
;
13975 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13977 PyObject
* obj0
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "self", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13984 if (SWIG_arg_fail(1)) SWIG_fail
;
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (arg1
)->GetMessage();
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14005 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
= NULL
;
14007 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14016 if (SWIG_arg_fail(1)) SWIG_fail
;
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 result
= (long)(arg1
)->GetStyle();
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14025 resultobj
= SWIG_From_long(static_cast<long >(result
));
14033 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
= NULL
;
14035 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14036 wxString
*arg2
= 0 ;
14037 bool temp2
= false ;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "message", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail
;
14048 arg2
= wxString_in_helper(obj1
);
14049 if (arg2
== NULL
) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 (arg1
)->SetMessage((wxString
const &)*arg2
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14059 Py_INCREF(Py_None
); resultobj
= Py_None
;
14074 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
= NULL
;
14076 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14077 wxString
*arg2
= 0 ;
14078 bool temp2
= false ;
14079 PyObject
* obj0
= 0 ;
14080 PyObject
* obj1
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self",(char *) "path", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14087 if (SWIG_arg_fail(1)) SWIG_fail
;
14089 arg2
= wxString_in_helper(obj1
);
14090 if (arg2
== NULL
) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 (arg1
)->SetPath((wxString
const &)*arg2
);
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 Py_INCREF(Py_None
); resultobj
= Py_None
;
14115 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
14117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14118 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
14120 return Py_BuildValue((char *)"");
14122 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
= NULL
;
14124 wxWindow
*arg1
= (wxWindow
*) 0 ;
14125 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
14126 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14127 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14128 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14129 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14130 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14131 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14132 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14133 long arg6
= (long) 0 ;
14134 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14135 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14136 wxFileDialog
*result
;
14137 bool temp2
= false ;
14138 bool temp3
= false ;
14139 bool temp4
= false ;
14140 bool temp5
= false ;
14142 PyObject
* obj0
= 0 ;
14143 PyObject
* obj1
= 0 ;
14144 PyObject
* obj2
= 0 ;
14145 PyObject
* obj3
= 0 ;
14146 PyObject
* obj4
= 0 ;
14147 PyObject
* obj5
= 0 ;
14148 PyObject
* obj6
= 0 ;
14149 char *kwnames
[] = {
14150 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14155 if (SWIG_arg_fail(1)) SWIG_fail
;
14158 arg2
= wxString_in_helper(obj1
);
14159 if (arg2
== NULL
) SWIG_fail
;
14165 arg3
= wxString_in_helper(obj2
);
14166 if (arg3
== NULL
) SWIG_fail
;
14172 arg4
= wxString_in_helper(obj3
);
14173 if (arg4
== NULL
) SWIG_fail
;
14179 arg5
= wxString_in_helper(obj4
);
14180 if (arg5
== NULL
) SWIG_fail
;
14186 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14187 if (SWIG_arg_fail(6)) SWIG_fail
;
14193 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14197 if (!wxPyCheckForApp()) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14243 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14244 PyObject
*resultobj
= NULL
;
14245 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14246 wxString
*arg2
= 0 ;
14247 bool temp2
= false ;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 char *kwnames
[] = {
14251 (char *) "self",(char *) "message", NULL
14254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14256 if (SWIG_arg_fail(1)) SWIG_fail
;
14258 arg2
= wxString_in_helper(obj1
);
14259 if (arg2
== NULL
) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 (arg1
)->SetMessage((wxString
const &)*arg2
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 Py_INCREF(Py_None
); resultobj
= Py_None
;
14284 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
= NULL
;
14286 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14287 wxString
*arg2
= 0 ;
14288 bool temp2
= false ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self",(char *) "path", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14297 if (SWIG_arg_fail(1)) SWIG_fail
;
14299 arg2
= wxString_in_helper(obj1
);
14300 if (arg2
== NULL
) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 (arg1
)->SetPath((wxString
const &)*arg2
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 Py_INCREF(Py_None
); resultobj
= Py_None
;
14325 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
= NULL
;
14327 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14328 wxString
*arg2
= 0 ;
14329 bool temp2
= false ;
14330 PyObject
* obj0
= 0 ;
14331 PyObject
* obj1
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "self",(char *) "dir", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14338 if (SWIG_arg_fail(1)) SWIG_fail
;
14340 arg2
= wxString_in_helper(obj1
);
14341 if (arg2
== NULL
) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 Py_INCREF(Py_None
); resultobj
= Py_None
;
14366 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
= NULL
;
14368 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14369 wxString
*arg2
= 0 ;
14370 bool temp2
= false ;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 char *kwnames
[] = {
14374 (char *) "self",(char *) "name", NULL
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14379 if (SWIG_arg_fail(1)) SWIG_fail
;
14381 arg2
= wxString_in_helper(obj1
);
14382 if (arg2
== NULL
) SWIG_fail
;
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 (arg1
)->SetFilename((wxString
const &)*arg2
);
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14392 Py_INCREF(Py_None
); resultobj
= Py_None
;
14407 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
= NULL
;
14409 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14410 wxString
*arg2
= 0 ;
14411 bool temp2
= false ;
14412 PyObject
* obj0
= 0 ;
14413 PyObject
* obj1
= 0 ;
14414 char *kwnames
[] = {
14415 (char *) "self",(char *) "wildCard", NULL
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14420 if (SWIG_arg_fail(1)) SWIG_fail
;
14422 arg2
= wxString_in_helper(obj1
);
14423 if (arg2
== NULL
) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 Py_INCREF(Py_None
); resultobj
= Py_None
;
14448 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14449 PyObject
*resultobj
= NULL
;
14450 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self",(char *) "style", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14460 if (SWIG_arg_fail(1)) SWIG_fail
;
14462 arg2
= static_cast<long >(SWIG_As_long(obj1
));
14463 if (SWIG_arg_fail(2)) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 (arg1
)->SetStyle(arg2
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
= NULL
;
14481 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "self",(char *) "filterIndex", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14491 if (SWIG_arg_fail(1)) SWIG_fail
;
14493 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14494 if (SWIG_arg_fail(2)) SWIG_fail
;
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 (arg1
)->SetFilterIndex(arg2
);
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 Py_INCREF(Py_None
); resultobj
= Py_None
;
14510 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
= NULL
;
14512 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14514 PyObject
* obj0
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14521 if (SWIG_arg_fail(1)) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14542 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14543 PyObject
*resultobj
= NULL
;
14544 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14546 PyObject
* obj0
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14553 if (SWIG_arg_fail(1)) SWIG_fail
;
14555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14556 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14574 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
= NULL
;
14576 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14585 if (SWIG_arg_fail(1)) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14606 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
= NULL
;
14608 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14610 PyObject
* obj0
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14617 if (SWIG_arg_fail(1)) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14629 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14638 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
= NULL
;
14640 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14649 if (SWIG_arg_fail(1)) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14670 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
= NULL
;
14672 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14681 if (SWIG_arg_fail(1)) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= SWIG_From_long(static_cast<long >(result
));
14698 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
= NULL
;
14700 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_From_int(static_cast<int >(result
));
14726 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
= NULL
;
14728 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14737 if (SWIG_arg_fail(1)) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= result
;
14752 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
= NULL
;
14754 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 char *kwnames
[] = {
14758 (char *) "self", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14763 if (SWIG_arg_fail(1)) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= result
;
14778 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14781 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14783 return Py_BuildValue((char *)"");
14785 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
= NULL
;
14787 wxWindow
*arg1
= (wxWindow
*) 0 ;
14788 wxString
*arg2
= 0 ;
14789 wxString
*arg3
= 0 ;
14790 int arg4
= (int) 0 ;
14791 wxString
*arg5
= (wxString
*) NULL
;
14792 long arg6
= (long) wxCHOICEDLG_STYLE
;
14793 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14794 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14795 wxMultiChoiceDialog
*result
;
14796 bool temp2
= false ;
14797 bool temp3
= false ;
14799 PyObject
* obj0
= 0 ;
14800 PyObject
* obj1
= 0 ;
14801 PyObject
* obj2
= 0 ;
14802 PyObject
* obj3
= 0 ;
14803 PyObject
* obj4
= 0 ;
14804 PyObject
* obj5
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14811 if (SWIG_arg_fail(1)) SWIG_fail
;
14813 arg2
= wxString_in_helper(obj1
);
14814 if (arg2
== NULL
) SWIG_fail
;
14818 arg3
= wxString_in_helper(obj2
);
14819 if (arg3
== NULL
) SWIG_fail
;
14824 arg4
= PyList_Size(obj3
);
14825 arg5
= wxString_LIST_helper(obj3
);
14826 if (arg5
== NULL
) SWIG_fail
;
14831 arg6
= static_cast<long >(SWIG_As_long(obj4
));
14832 if (SWIG_arg_fail(6)) SWIG_fail
;
14838 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14842 if (!wxPyCheckForApp()) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14859 if (arg5
) delete [] arg5
;
14872 if (arg5
) delete [] arg5
;
14878 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
= NULL
;
14880 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14881 wxArrayInt
*arg2
= 0 ;
14882 bool temp2
= false ;
14883 PyObject
* obj0
= 0 ;
14884 PyObject
* obj1
= 0 ;
14885 char *kwnames
[] = {
14886 (char *) "self",(char *) "selections", NULL
14889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14891 if (SWIG_arg_fail(1)) SWIG_fail
;
14893 if (! PySequence_Check(obj1
)) {
14894 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14897 arg2
= new wxArrayInt
;
14899 int i
, len
=PySequence_Length(obj1
);
14900 for (i
=0; i
<len
; i
++) {
14901 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14902 PyObject
* number
= PyNumber_Int(item
);
14903 arg2
->Add(PyInt_AS_LONG(number
));
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 Py_INCREF(Py_None
); resultobj
= Py_None
;
14917 if (temp2
) delete arg2
;
14922 if (temp2
) delete arg2
;
14928 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
= NULL
;
14930 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14939 if (SWIG_arg_fail(1)) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= result
;
14954 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14957 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14959 return Py_BuildValue((char *)"");
14961 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14962 PyObject
*resultobj
= NULL
;
14963 wxWindow
*arg1
= (wxWindow
*) 0 ;
14964 wxString
*arg2
= 0 ;
14965 wxString
*arg3
= 0 ;
14967 wxString
*arg5
= (wxString
*) 0 ;
14968 long arg6
= (long) wxCHOICEDLG_STYLE
;
14969 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14970 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14971 wxSingleChoiceDialog
*result
;
14972 bool temp2
= false ;
14973 bool temp3
= false ;
14975 PyObject
* obj0
= 0 ;
14976 PyObject
* obj1
= 0 ;
14977 PyObject
* obj2
= 0 ;
14978 PyObject
* obj3
= 0 ;
14979 PyObject
* obj4
= 0 ;
14980 PyObject
* obj5
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14987 if (SWIG_arg_fail(1)) SWIG_fail
;
14989 arg2
= wxString_in_helper(obj1
);
14990 if (arg2
== NULL
) SWIG_fail
;
14994 arg3
= wxString_in_helper(obj2
);
14995 if (arg3
== NULL
) SWIG_fail
;
14999 arg4
= PyList_Size(obj3
);
15000 arg5
= wxString_LIST_helper(obj3
);
15001 if (arg5
== NULL
) SWIG_fail
;
15005 arg6
= static_cast<long >(SWIG_As_long(obj4
));
15006 if (SWIG_arg_fail(6)) SWIG_fail
;
15012 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15016 if (!wxPyCheckForApp()) SWIG_fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
15033 if (arg5
) delete [] arg5
;
15046 if (arg5
) delete [] arg5
;
15052 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
= NULL
;
15054 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
15062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15063 if (SWIG_arg_fail(1)) SWIG_fail
;
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= (int)(arg1
)->GetSelection();
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= SWIG_From_int(static_cast<int >(result
));
15080 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
= NULL
;
15082 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15084 PyObject
* obj0
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "self", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
15090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15091 if (SWIG_arg_fail(1)) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (arg1
)->GetStringSelection();
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15112 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
= NULL
;
15114 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15116 PyObject
* obj0
= 0 ;
15117 PyObject
* obj1
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "self",(char *) "sel", NULL
15122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15124 if (SWIG_arg_fail(1)) SWIG_fail
;
15126 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15127 if (SWIG_arg_fail(2)) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 (arg1
)->SetSelection(arg2
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 Py_INCREF(Py_None
); resultobj
= Py_None
;
15143 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15146 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15148 return Py_BuildValue((char *)"");
15150 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
= NULL
;
15152 wxWindow
*arg1
= (wxWindow
*) 0 ;
15153 wxString
*arg2
= 0 ;
15154 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15155 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15156 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15157 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15158 long arg5
= (long) wxTextEntryDialogStyle
;
15159 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15160 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15161 wxTextEntryDialog
*result
;
15162 bool temp2
= false ;
15163 bool temp3
= false ;
15164 bool temp4
= false ;
15166 PyObject
* obj0
= 0 ;
15167 PyObject
* obj1
= 0 ;
15168 PyObject
* obj2
= 0 ;
15169 PyObject
* obj3
= 0 ;
15170 PyObject
* obj4
= 0 ;
15171 PyObject
* obj5
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15178 if (SWIG_arg_fail(1)) SWIG_fail
;
15180 arg2
= wxString_in_helper(obj1
);
15181 if (arg2
== NULL
) SWIG_fail
;
15186 arg3
= wxString_in_helper(obj2
);
15187 if (arg3
== NULL
) SWIG_fail
;
15193 arg4
= wxString_in_helper(obj3
);
15194 if (arg4
== NULL
) SWIG_fail
;
15200 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15201 if (SWIG_arg_fail(5)) SWIG_fail
;
15207 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15211 if (!wxPyCheckForApp()) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15215 wxPyEndAllowThreads(__tstate
);
15216 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15249 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15250 PyObject
*resultobj
= NULL
;
15251 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15253 PyObject
* obj0
= 0 ;
15254 char *kwnames
[] = {
15255 (char *) "self", NULL
15258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15260 if (SWIG_arg_fail(1)) SWIG_fail
;
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (arg1
)->GetValue();
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15281 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
= NULL
;
15283 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15284 wxString
*arg2
= 0 ;
15285 bool temp2
= false ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self",(char *) "value", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail
;
15296 arg2
= wxString_in_helper(obj1
);
15297 if (arg2
== NULL
) SWIG_fail
;
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 (arg1
)->SetValue((wxString
const &)*arg2
);
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15307 Py_INCREF(Py_None
); resultobj
= Py_None
;
15322 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15325 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15327 return Py_BuildValue((char *)"");
15329 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15330 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15335 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15336 PyObject
*pyobj
= NULL
;
15340 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15342 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15349 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
= NULL
;
15351 wxWindow
*arg1
= (wxWindow
*) 0 ;
15352 wxString
*arg2
= 0 ;
15353 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15354 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15355 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15356 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15357 long arg5
= (long) wxTextEntryDialogStyle
;
15358 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15359 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15360 wxPasswordEntryDialog
*result
;
15361 bool temp2
= false ;
15362 bool temp3
= false ;
15363 bool temp4
= false ;
15365 PyObject
* obj0
= 0 ;
15366 PyObject
* obj1
= 0 ;
15367 PyObject
* obj2
= 0 ;
15368 PyObject
* obj3
= 0 ;
15369 PyObject
* obj4
= 0 ;
15370 PyObject
* obj5
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15377 if (SWIG_arg_fail(1)) SWIG_fail
;
15379 arg2
= wxString_in_helper(obj1
);
15380 if (arg2
== NULL
) SWIG_fail
;
15385 arg3
= wxString_in_helper(obj2
);
15386 if (arg3
== NULL
) SWIG_fail
;
15392 arg4
= wxString_in_helper(obj3
);
15393 if (arg4
== NULL
) SWIG_fail
;
15399 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15400 if (SWIG_arg_fail(5)) SWIG_fail
;
15406 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15447 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15450 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15452 return Py_BuildValue((char *)"");
15454 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
= NULL
;
15456 wxFontData
*result
;
15457 char *kwnames
[] = {
15461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 result
= (wxFontData
*)new wxFontData();
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15476 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
= NULL
;
15478 wxFontData
*arg1
= (wxFontData
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15486 if (SWIG_arg_fail(1)) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 Py_INCREF(Py_None
); resultobj
= Py_None
;
15501 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
= NULL
;
15503 wxFontData
*arg1
= (wxFontData
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 PyObject
* obj1
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "self",(char *) "enable", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15513 if (SWIG_arg_fail(1)) SWIG_fail
;
15515 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15516 if (SWIG_arg_fail(2)) SWIG_fail
;
15519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15520 (arg1
)->EnableEffects(arg2
);
15522 wxPyEndAllowThreads(__tstate
);
15523 if (PyErr_Occurred()) SWIG_fail
;
15525 Py_INCREF(Py_None
); resultobj
= Py_None
;
15532 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15533 PyObject
*resultobj
= NULL
;
15534 wxFontData
*arg1
= (wxFontData
*) 0 ;
15536 PyObject
* obj0
= 0 ;
15537 char *kwnames
[] = {
15538 (char *) "self", NULL
15541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15543 if (SWIG_arg_fail(1)) SWIG_fail
;
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 result
= (bool)(arg1
)->GetAllowSymbols();
15548 wxPyEndAllowThreads(__tstate
);
15549 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15560 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
= NULL
;
15562 wxFontData
*arg1
= (wxFontData
*) 0 ;
15564 PyObject
* obj0
= 0 ;
15565 char *kwnames
[] = {
15566 (char *) "self", NULL
15569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15571 if (SWIG_arg_fail(1)) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (arg1
)->GetColour();
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15580 wxColour
* resultptr
;
15581 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
15582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15590 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
= NULL
;
15592 wxFontData
*arg1
= (wxFontData
*) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15601 if (SWIG_arg_fail(1)) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (arg1
)->GetChosenFont();
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15610 wxFont
* resultptr
;
15611 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15620 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
= NULL
;
15622 wxFontData
*arg1
= (wxFontData
*) 0 ;
15624 PyObject
* obj0
= 0 ;
15625 char *kwnames
[] = {
15626 (char *) "self", NULL
15629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15631 if (SWIG_arg_fail(1)) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (bool)(arg1
)->GetEnableEffects();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15648 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
= NULL
;
15650 wxFontData
*arg1
= (wxFontData
*) 0 ;
15652 PyObject
* obj0
= 0 ;
15653 char *kwnames
[] = {
15654 (char *) "self", NULL
15657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15659 if (SWIG_arg_fail(1)) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 result
= (arg1
)->GetInitialFont();
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15668 wxFont
* resultptr
;
15669 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15678 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
= NULL
;
15680 wxFontData
*arg1
= (wxFontData
*) 0 ;
15682 PyObject
* obj0
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15689 if (SWIG_arg_fail(1)) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (bool)(arg1
)->GetShowHelp();
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15706 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15707 PyObject
*resultobj
= NULL
;
15708 wxFontData
*arg1
= (wxFontData
*) 0 ;
15710 PyObject
* obj0
= 0 ;
15711 PyObject
* obj1
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "self",(char *) "allowSymbols", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15718 if (SWIG_arg_fail(1)) SWIG_fail
;
15720 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15721 if (SWIG_arg_fail(2)) SWIG_fail
;
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 (arg1
)->SetAllowSymbols(arg2
);
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 Py_INCREF(Py_None
); resultobj
= Py_None
;
15737 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
= NULL
;
15739 wxFontData
*arg1
= (wxFontData
*) 0 ;
15741 PyObject
* obj0
= 0 ;
15742 PyObject
* obj1
= 0 ;
15743 char *kwnames
[] = {
15744 (char *) "self",(char *) "font", NULL
15747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15749 if (SWIG_arg_fail(1)) SWIG_fail
;
15751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15752 if (SWIG_arg_fail(2)) SWIG_fail
;
15753 if (arg2
== NULL
) {
15754 SWIG_null_ref("wxFont");
15756 if (SWIG_arg_fail(2)) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 Py_INCREF(Py_None
); resultobj
= Py_None
;
15772 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
= NULL
;
15774 wxFontData
*arg1
= (wxFontData
*) 0 ;
15775 wxColour
*arg2
= 0 ;
15777 PyObject
* obj0
= 0 ;
15778 PyObject
* obj1
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self",(char *) "colour", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15785 if (SWIG_arg_fail(1)) SWIG_fail
;
15788 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15792 (arg1
)->SetColour((wxColour
const &)*arg2
);
15794 wxPyEndAllowThreads(__tstate
);
15795 if (PyErr_Occurred()) SWIG_fail
;
15797 Py_INCREF(Py_None
); resultobj
= Py_None
;
15804 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15805 PyObject
*resultobj
= NULL
;
15806 wxFontData
*arg1
= (wxFontData
*) 0 ;
15808 PyObject
* obj0
= 0 ;
15809 PyObject
* obj1
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self",(char *) "font", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15816 if (SWIG_arg_fail(1)) SWIG_fail
;
15818 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15819 if (SWIG_arg_fail(2)) SWIG_fail
;
15820 if (arg2
== NULL
) {
15821 SWIG_null_ref("wxFont");
15823 if (SWIG_arg_fail(2)) SWIG_fail
;
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15832 Py_INCREF(Py_None
); resultobj
= Py_None
;
15839 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
= NULL
;
15841 wxFontData
*arg1
= (wxFontData
*) 0 ;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 PyObject
* obj2
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self",(char *) "min",(char *) "max", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15853 if (SWIG_arg_fail(1)) SWIG_fail
;
15855 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15856 if (SWIG_arg_fail(2)) SWIG_fail
;
15859 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15860 if (SWIG_arg_fail(3)) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 (arg1
)->SetRange(arg2
,arg3
);
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 Py_INCREF(Py_None
); resultobj
= Py_None
;
15876 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
= NULL
;
15878 wxFontData
*arg1
= (wxFontData
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self",(char *) "showHelp", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15888 if (SWIG_arg_fail(1)) SWIG_fail
;
15890 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15891 if (SWIG_arg_fail(2)) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 (arg1
)->SetShowHelp(arg2
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 Py_INCREF(Py_None
); resultobj
= Py_None
;
15907 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15910 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15912 return Py_BuildValue((char *)"");
15914 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
= NULL
;
15916 wxWindow
*arg1
= (wxWindow
*) 0 ;
15917 wxFontData
*arg2
= 0 ;
15918 wxFontDialog
*result
;
15919 PyObject
* obj0
= 0 ;
15920 PyObject
* obj1
= 0 ;
15921 char *kwnames
[] = {
15922 (char *) "parent",(char *) "data", NULL
15925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15927 if (SWIG_arg_fail(1)) SWIG_fail
;
15929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15930 if (SWIG_arg_fail(2)) SWIG_fail
;
15931 if (arg2
== NULL
) {
15932 SWIG_null_ref("wxFontData");
15934 if (SWIG_arg_fail(2)) SWIG_fail
;
15937 if (!wxPyCheckForApp()) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15951 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15952 PyObject
*resultobj
= NULL
;
15953 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15954 wxFontData
*result
;
15955 PyObject
* obj0
= 0 ;
15956 char *kwnames
[] = {
15957 (char *) "self", NULL
15960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15962 if (SWIG_arg_fail(1)) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15967 result
= (wxFontData
*) &_result_ref
;
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15980 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15983 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15985 return Py_BuildValue((char *)"");
15987 static PyObject
*_wrap_GetFontFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
= NULL
;
15989 wxWindow
*arg1
= (wxWindow
*) NULL
;
15990 wxFont
const &arg2_defvalue
= wxNullFont
;
15991 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
15992 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15993 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15995 bool temp3
= false ;
15996 PyObject
* obj0
= 0 ;
15997 PyObject
* obj1
= 0 ;
15998 PyObject
* obj2
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16006 if (SWIG_arg_fail(1)) SWIG_fail
;
16010 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16011 if (SWIG_arg_fail(2)) SWIG_fail
;
16012 if (arg2
== NULL
) {
16013 SWIG_null_ref("wxFont");
16015 if (SWIG_arg_fail(2)) SWIG_fail
;
16020 arg3
= wxString_in_helper(obj2
);
16021 if (arg3
== NULL
) SWIG_fail
;
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16033 wxFont
* resultptr
;
16034 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
16035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16051 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
= NULL
;
16053 wxWindow
*arg1
= (wxWindow
*) 0 ;
16054 wxString
*arg2
= 0 ;
16055 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
16056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16057 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
16058 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16059 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16060 wxMessageDialog
*result
;
16061 bool temp2
= false ;
16062 bool temp3
= false ;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 PyObject
* obj2
= 0 ;
16067 PyObject
* obj3
= 0 ;
16068 PyObject
* obj4
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16075 if (SWIG_arg_fail(1)) SWIG_fail
;
16077 arg2
= wxString_in_helper(obj1
);
16078 if (arg2
== NULL
) SWIG_fail
;
16083 arg3
= wxString_in_helper(obj2
);
16084 if (arg3
== NULL
) SWIG_fail
;
16090 arg4
= static_cast<long >(SWIG_As_long(obj3
));
16091 if (SWIG_arg_fail(4)) SWIG_fail
;
16097 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16101 if (!wxPyCheckForApp()) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
16131 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
16133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16134 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
16136 return Py_BuildValue((char *)"");
16138 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
= NULL
;
16140 wxString
*arg1
= 0 ;
16141 wxString
*arg2
= 0 ;
16142 int arg3
= (int) 100 ;
16143 wxWindow
*arg4
= (wxWindow
*) NULL
;
16144 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
16145 wxProgressDialog
*result
;
16146 bool temp1
= false ;
16147 bool temp2
= false ;
16148 PyObject
* obj0
= 0 ;
16149 PyObject
* obj1
= 0 ;
16150 PyObject
* obj2
= 0 ;
16151 PyObject
* obj3
= 0 ;
16152 PyObject
* obj4
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16159 arg1
= wxString_in_helper(obj0
);
16160 if (arg1
== NULL
) SWIG_fail
;
16164 arg2
= wxString_in_helper(obj1
);
16165 if (arg2
== NULL
) SWIG_fail
;
16170 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16171 if (SWIG_arg_fail(3)) SWIG_fail
;
16175 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16176 if (SWIG_arg_fail(4)) SWIG_fail
;
16180 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16181 if (SWIG_arg_fail(5)) SWIG_fail
;
16185 if (!wxPyCheckForApp()) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16215 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
= NULL
;
16217 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16219 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16220 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16222 bool temp3
= false ;
16223 PyObject
* obj0
= 0 ;
16224 PyObject
* obj1
= 0 ;
16225 PyObject
* obj2
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16232 if (SWIG_arg_fail(1)) SWIG_fail
;
16234 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16235 if (SWIG_arg_fail(2)) SWIG_fail
;
16239 arg3
= wxString_in_helper(obj2
);
16240 if (arg3
== NULL
) SWIG_fail
;
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16268 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
= NULL
;
16270 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16278 if (SWIG_arg_fail(1)) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 Py_INCREF(Py_None
); resultobj
= Py_None
;
16293 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16296 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16298 return Py_BuildValue((char *)"");
16300 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
= NULL
;
16302 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16303 int arg2
= (int) 0 ;
16304 wxFindDialogEvent
*result
;
16305 PyObject
* obj0
= 0 ;
16306 PyObject
* obj1
= 0 ;
16307 char *kwnames
[] = {
16308 (char *) "commandType",(char *) "id", NULL
16311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16314 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
16315 if (SWIG_arg_fail(1)) SWIG_fail
;
16320 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16321 if (SWIG_arg_fail(2)) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16338 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
= NULL
;
16340 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16342 PyObject
* obj0
= 0 ;
16343 char *kwnames
[] = {
16344 (char *) "self", NULL
16347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16349 if (SWIG_arg_fail(1)) SWIG_fail
;
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 result
= (int)(arg1
)->GetFlags();
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= SWIG_From_int(static_cast<int >(result
));
16366 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
= NULL
;
16368 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16370 PyObject
* obj0
= 0 ;
16371 char *kwnames
[] = {
16372 (char *) "self", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16377 if (SWIG_arg_fail(1)) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 wxString
const &_result_ref
= (arg1
)->GetFindString();
16382 result
= (wxString
*) &_result_ref
;
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16390 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16392 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16401 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
= NULL
;
16403 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16417 result
= (wxString
*) &_result_ref
;
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16427 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16436 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
= NULL
;
16438 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16439 wxFindReplaceDialog
*result
;
16440 PyObject
* obj0
= 0 ;
16441 char *kwnames
[] = {
16442 (char *) "self", NULL
16445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16447 if (SWIG_arg_fail(1)) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16462 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
= NULL
;
16464 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "flags", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16474 if (SWIG_arg_fail(1)) SWIG_fail
;
16476 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16477 if (SWIG_arg_fail(2)) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 (arg1
)->SetFlags(arg2
);
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16486 Py_INCREF(Py_None
); resultobj
= Py_None
;
16493 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
= NULL
;
16495 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16496 wxString
*arg2
= 0 ;
16497 bool temp2
= false ;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "self",(char *) "str", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16506 if (SWIG_arg_fail(1)) SWIG_fail
;
16508 arg2
= wxString_in_helper(obj1
);
16509 if (arg2
== NULL
) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 (arg1
)->SetFindString((wxString
const &)*arg2
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 Py_INCREF(Py_None
); resultobj
= Py_None
;
16534 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
= NULL
;
16536 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16537 wxString
*arg2
= 0 ;
16538 bool temp2
= false ;
16539 PyObject
* obj0
= 0 ;
16540 PyObject
* obj1
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self",(char *) "str", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16547 if (SWIG_arg_fail(1)) SWIG_fail
;
16549 arg2
= wxString_in_helper(obj1
);
16550 if (arg2
== NULL
) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 Py_INCREF(Py_None
); resultobj
= Py_None
;
16575 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16578 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16580 return Py_BuildValue((char *)"");
16582 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
= NULL
;
16584 int arg1
= (int) 0 ;
16585 wxFindReplaceData
*result
;
16586 PyObject
* obj0
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "flags", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16594 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16595 if (SWIG_arg_fail(1)) SWIG_fail
;
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16600 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16612 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
= NULL
;
16614 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 Py_INCREF(Py_None
); resultobj
= Py_None
;
16637 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
= NULL
;
16639 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16641 PyObject
* obj0
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16648 if (SWIG_arg_fail(1)) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 wxString
const &_result_ref
= (arg1
)->GetFindString();
16653 result
= (wxString
*) &_result_ref
;
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16661 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16663 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16672 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
= NULL
;
16674 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16676 PyObject
* obj0
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16683 if (SWIG_arg_fail(1)) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16688 result
= (wxString
*) &_result_ref
;
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16698 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16707 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16708 PyObject
*resultobj
= NULL
;
16709 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16711 PyObject
* obj0
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16718 if (SWIG_arg_fail(1)) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (int)(arg1
)->GetFlags();
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= SWIG_From_int(static_cast<int >(result
));
16735 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
= NULL
;
16737 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "self",(char *) "flags", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16747 if (SWIG_arg_fail(1)) SWIG_fail
;
16749 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16750 if (SWIG_arg_fail(2)) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 (arg1
)->SetFlags(arg2
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 Py_INCREF(Py_None
); resultobj
= Py_None
;
16766 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
= NULL
;
16768 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16769 wxString
*arg2
= 0 ;
16770 bool temp2
= false ;
16771 PyObject
* obj0
= 0 ;
16772 PyObject
* obj1
= 0 ;
16773 char *kwnames
[] = {
16774 (char *) "self",(char *) "str", NULL
16777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16779 if (SWIG_arg_fail(1)) SWIG_fail
;
16781 arg2
= wxString_in_helper(obj1
);
16782 if (arg2
== NULL
) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 (arg1
)->SetFindString((wxString
const &)*arg2
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 Py_INCREF(Py_None
); resultobj
= Py_None
;
16807 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16808 PyObject
*resultobj
= NULL
;
16809 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16810 wxString
*arg2
= 0 ;
16811 bool temp2
= false ;
16812 PyObject
* obj0
= 0 ;
16813 PyObject
* obj1
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self",(char *) "str", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16820 if (SWIG_arg_fail(1)) SWIG_fail
;
16822 arg2
= wxString_in_helper(obj1
);
16823 if (arg2
== NULL
) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 Py_INCREF(Py_None
); resultobj
= Py_None
;
16848 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16851 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16853 return Py_BuildValue((char *)"");
16855 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
= NULL
;
16857 wxWindow
*arg1
= (wxWindow
*) 0 ;
16858 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16859 wxString
*arg3
= 0 ;
16860 int arg4
= (int) 0 ;
16861 wxFindReplaceDialog
*result
;
16862 bool temp3
= false ;
16863 PyObject
* obj0
= 0 ;
16864 PyObject
* obj1
= 0 ;
16865 PyObject
* obj2
= 0 ;
16866 PyObject
* obj3
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16873 if (SWIG_arg_fail(1)) SWIG_fail
;
16874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16875 if (SWIG_arg_fail(2)) SWIG_fail
;
16877 arg3
= wxString_in_helper(obj2
);
16878 if (arg3
== NULL
) SWIG_fail
;
16883 arg4
= static_cast<int >(SWIG_As_int(obj3
));
16884 if (SWIG_arg_fail(4)) SWIG_fail
;
16888 if (!wxPyCheckForApp()) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16910 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
= NULL
;
16912 wxFindReplaceDialog
*result
;
16913 char *kwnames
[] = {
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16919 if (!wxPyCheckForApp()) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16933 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
= NULL
;
16935 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16936 wxWindow
*arg2
= (wxWindow
*) 0 ;
16937 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16938 wxString
*arg4
= 0 ;
16939 int arg5
= (int) 0 ;
16941 bool temp4
= false ;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 PyObject
* obj2
= 0 ;
16945 PyObject
* obj3
= 0 ;
16946 PyObject
* obj4
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16953 if (SWIG_arg_fail(1)) SWIG_fail
;
16954 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16955 if (SWIG_arg_fail(2)) SWIG_fail
;
16956 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16957 if (SWIG_arg_fail(3)) SWIG_fail
;
16959 arg4
= wxString_in_helper(obj3
);
16960 if (arg4
== NULL
) SWIG_fail
;
16965 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16966 if (SWIG_arg_fail(5)) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16993 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
= NULL
;
16995 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16996 wxFindReplaceData
*result
;
16997 PyObject
* obj0
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "self", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
17003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17004 if (SWIG_arg_fail(1)) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= (wxFindReplaceData
*)(arg1
)->GetData();
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
17019 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17020 PyObject
*resultobj
= NULL
;
17021 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17022 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17023 PyObject
* obj0
= 0 ;
17024 PyObject
* obj1
= 0 ;
17025 char *kwnames
[] = {
17026 (char *) "self",(char *) "data", NULL
17029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17031 if (SWIG_arg_fail(1)) SWIG_fail
;
17032 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17033 if (SWIG_arg_fail(2)) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 (arg1
)->SetData(arg2
);
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17041 Py_INCREF(Py_None
); resultobj
= Py_None
;
17048 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
17050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17051 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
17053 return Py_BuildValue((char *)"");
17055 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
= NULL
;
17057 wxWindow
*arg1
= (wxWindow
*) 0 ;
17058 int arg2
= (int) (int)-1 ;
17059 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17060 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17061 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17062 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17063 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17064 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17065 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17066 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17067 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17068 wxMDIParentFrame
*result
;
17069 bool temp3
= false ;
17072 bool temp7
= false ;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 PyObject
* obj2
= 0 ;
17076 PyObject
* obj3
= 0 ;
17077 PyObject
* obj4
= 0 ;
17078 PyObject
* obj5
= 0 ;
17079 PyObject
* obj6
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail
;
17089 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17090 if (SWIG_arg_fail(2)) SWIG_fail
;
17095 arg3
= wxString_in_helper(obj2
);
17096 if (arg3
== NULL
) SWIG_fail
;
17103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17114 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17115 if (SWIG_arg_fail(6)) SWIG_fail
;
17120 arg7
= wxString_in_helper(obj6
);
17121 if (arg7
== NULL
) SWIG_fail
;
17126 if (!wxPyCheckForApp()) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17156 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
= NULL
;
17158 wxMDIParentFrame
*result
;
17159 char *kwnames
[] = {
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
17165 if (!wxPyCheckForApp()) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17179 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
= NULL
;
17181 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17182 wxWindow
*arg2
= (wxWindow
*) 0 ;
17183 int arg3
= (int) (int)-1 ;
17184 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17185 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17186 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17187 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17188 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17189 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17190 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17191 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17192 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17194 bool temp4
= false ;
17197 bool temp8
= false ;
17198 PyObject
* obj0
= 0 ;
17199 PyObject
* obj1
= 0 ;
17200 PyObject
* obj2
= 0 ;
17201 PyObject
* obj3
= 0 ;
17202 PyObject
* obj4
= 0 ;
17203 PyObject
* obj5
= 0 ;
17204 PyObject
* obj6
= 0 ;
17205 PyObject
* obj7
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17212 if (SWIG_arg_fail(1)) SWIG_fail
;
17213 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17214 if (SWIG_arg_fail(2)) SWIG_fail
;
17217 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17218 if (SWIG_arg_fail(3)) SWIG_fail
;
17223 arg4
= wxString_in_helper(obj3
);
17224 if (arg4
== NULL
) SWIG_fail
;
17231 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17237 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17242 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17243 if (SWIG_arg_fail(7)) SWIG_fail
;
17248 arg8
= wxString_in_helper(obj7
);
17249 if (arg8
== NULL
) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17285 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
= NULL
;
17287 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17295 if (SWIG_arg_fail(1)) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 (arg1
)->ActivateNext();
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
= NULL
;
17312 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17313 PyObject
* obj0
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17320 if (SWIG_arg_fail(1)) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 (arg1
)->ActivatePrevious();
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 Py_INCREF(Py_None
); resultobj
= Py_None
;
17335 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
= NULL
;
17337 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17338 PyObject
* obj0
= 0 ;
17339 char *kwnames
[] = {
17340 (char *) "self", NULL
17343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17345 if (SWIG_arg_fail(1)) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 (arg1
)->ArrangeIcons();
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17353 Py_INCREF(Py_None
); resultobj
= Py_None
;
17360 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
= NULL
;
17362 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17363 PyObject
* obj0
= 0 ;
17364 char *kwnames
[] = {
17365 (char *) "self", NULL
17368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17370 if (SWIG_arg_fail(1)) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 Py_INCREF(Py_None
); resultobj
= Py_None
;
17385 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
= NULL
;
17387 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17388 wxMDIChildFrame
*result
;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17396 if (SWIG_arg_fail(1)) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17413 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
= NULL
;
17415 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17416 wxMDIClientWindow
*result
;
17417 PyObject
* obj0
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17424 if (SWIG_arg_fail(1)) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17441 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
= NULL
;
17443 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17445 PyObject
* obj0
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17452 if (SWIG_arg_fail(1)) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 result
= (wxWindow
*)(arg1
)->GetToolBar();
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17461 resultobj
= wxPyMake_wxObject(result
, 0);
17469 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
= NULL
;
17471 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17472 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17473 PyObject
* obj0
= 0 ;
17474 PyObject
* obj1
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "self",(char *) "orient", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17481 if (SWIG_arg_fail(1)) SWIG_fail
;
17484 arg2
= static_cast<wxOrientation
>(SWIG_As_int(obj1
));
17485 if (SWIG_arg_fail(2)) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 (arg1
)->Tile(arg2
);
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 Py_INCREF(Py_None
); resultobj
= Py_None
;
17502 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17505 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17507 return Py_BuildValue((char *)"");
17509 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
= NULL
;
17511 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17512 int arg2
= (int) (int)-1 ;
17513 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17514 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17515 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17516 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17517 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17518 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17519 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17520 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17521 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17522 wxMDIChildFrame
*result
;
17523 bool temp3
= false ;
17526 bool temp7
= false ;
17527 PyObject
* obj0
= 0 ;
17528 PyObject
* obj1
= 0 ;
17529 PyObject
* obj2
= 0 ;
17530 PyObject
* obj3
= 0 ;
17531 PyObject
* obj4
= 0 ;
17532 PyObject
* obj5
= 0 ;
17533 PyObject
* obj6
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17540 if (SWIG_arg_fail(1)) SWIG_fail
;
17543 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17544 if (SWIG_arg_fail(2)) SWIG_fail
;
17549 arg3
= wxString_in_helper(obj2
);
17550 if (arg3
== NULL
) SWIG_fail
;
17557 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17563 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17568 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17569 if (SWIG_arg_fail(6)) SWIG_fail
;
17574 arg7
= wxString_in_helper(obj6
);
17575 if (arg7
== NULL
) SWIG_fail
;
17580 if (!wxPyCheckForApp()) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17610 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
= NULL
;
17612 wxMDIChildFrame
*result
;
17613 char *kwnames
[] = {
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17619 if (!wxPyCheckForApp()) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17633 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
= NULL
;
17635 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17636 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17637 int arg3
= (int) (int)-1 ;
17638 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17639 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17640 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17641 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17642 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17643 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17644 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17645 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17646 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17648 bool temp4
= false ;
17651 bool temp8
= false ;
17652 PyObject
* obj0
= 0 ;
17653 PyObject
* obj1
= 0 ;
17654 PyObject
* obj2
= 0 ;
17655 PyObject
* obj3
= 0 ;
17656 PyObject
* obj4
= 0 ;
17657 PyObject
* obj5
= 0 ;
17658 PyObject
* obj6
= 0 ;
17659 PyObject
* obj7
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17666 if (SWIG_arg_fail(1)) SWIG_fail
;
17667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17668 if (SWIG_arg_fail(2)) SWIG_fail
;
17671 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17672 if (SWIG_arg_fail(3)) SWIG_fail
;
17677 arg4
= wxString_in_helper(obj3
);
17678 if (arg4
== NULL
) SWIG_fail
;
17685 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17691 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17696 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17697 if (SWIG_arg_fail(7)) SWIG_fail
;
17702 arg8
= wxString_in_helper(obj7
);
17703 if (arg8
== NULL
) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17739 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
= NULL
;
17741 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17742 PyObject
* obj0
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "self", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17749 if (SWIG_arg_fail(1)) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 (arg1
)->Activate();
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 Py_INCREF(Py_None
); resultobj
= Py_None
;
17764 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
= NULL
;
17766 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17767 bool arg2
= (bool) true ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self",(char *) "maximize", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17776 if (SWIG_arg_fail(1)) SWIG_fail
;
17779 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17780 if (SWIG_arg_fail(2)) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 (arg1
)->Maximize(arg2
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17790 Py_INCREF(Py_None
); resultobj
= Py_None
;
17797 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
= NULL
;
17799 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17800 PyObject
* obj0
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "self", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17807 if (SWIG_arg_fail(1)) SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 Py_INCREF(Py_None
); resultobj
= Py_None
;
17822 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17825 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17827 return Py_BuildValue((char *)"");
17829 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
= NULL
;
17831 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17832 long arg2
= (long) 0 ;
17833 wxMDIClientWindow
*result
;
17834 PyObject
* obj0
= 0 ;
17835 PyObject
* obj1
= 0 ;
17836 char *kwnames
[] = {
17837 (char *) "parent",(char *) "style", NULL
17840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17842 if (SWIG_arg_fail(1)) SWIG_fail
;
17845 arg2
= static_cast<long >(SWIG_As_long(obj1
));
17846 if (SWIG_arg_fail(2)) SWIG_fail
;
17850 if (!wxPyCheckForApp()) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17864 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
= NULL
;
17866 wxMDIClientWindow
*result
;
17867 char *kwnames
[] = {
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17873 if (!wxPyCheckForApp()) SWIG_fail
;
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17887 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
= NULL
;
17889 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17890 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17891 long arg3
= (long) 0 ;
17893 PyObject
* obj0
= 0 ;
17894 PyObject
* obj1
= 0 ;
17895 PyObject
* obj2
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self",(char *) "parent",(char *) "style", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17902 if (SWIG_arg_fail(1)) SWIG_fail
;
17903 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17904 if (SWIG_arg_fail(2)) SWIG_fail
;
17907 arg3
= static_cast<long >(SWIG_As_long(obj2
));
17908 if (SWIG_arg_fail(3)) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17927 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17930 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17932 return Py_BuildValue((char *)"");
17934 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
= NULL
;
17936 wxWindow
*arg1
= (wxWindow
*) 0 ;
17937 int arg2
= (int) (int)-1 ;
17938 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17939 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17940 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17941 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17942 long arg5
= (long) 0 ;
17943 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17944 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17945 wxPyWindow
*result
;
17948 bool temp6
= false ;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 PyObject
* obj2
= 0 ;
17952 PyObject
* obj3
= 0 ;
17953 PyObject
* obj4
= 0 ;
17954 PyObject
* obj5
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17961 if (SWIG_arg_fail(1)) SWIG_fail
;
17964 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17965 if (SWIG_arg_fail(2)) SWIG_fail
;
17971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17977 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17982 arg5
= static_cast<long >(SWIG_As_long(obj4
));
17983 if (SWIG_arg_fail(5)) SWIG_fail
;
17988 arg6
= wxString_in_helper(obj5
);
17989 if (arg6
== NULL
) SWIG_fail
;
17994 if (!wxPyCheckForApp()) SWIG_fail
;
17995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17996 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18016 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
= NULL
;
18018 wxPyWindow
*result
;
18019 char *kwnames
[] = {
18023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
18025 if (!wxPyCheckForApp()) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 result
= (wxPyWindow
*)new wxPyWindow();
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18039 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
= NULL
;
18041 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18042 PyObject
*arg2
= (PyObject
*) 0 ;
18043 PyObject
*arg3
= (PyObject
*) 0 ;
18044 PyObject
* obj0
= 0 ;
18045 PyObject
* obj1
= 0 ;
18046 PyObject
* obj2
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self",(char *) "self",(char *) "_class", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18053 if (SWIG_arg_fail(1)) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 Py_INCREF(Py_None
); resultobj
= Py_None
;
18070 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18071 PyObject
*resultobj
= NULL
;
18072 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18075 PyObject
* obj0
= 0 ;
18076 PyObject
* obj1
= 0 ;
18077 char *kwnames
[] = {
18078 (char *) "self",(char *) "size", NULL
18081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18083 if (SWIG_arg_fail(1)) SWIG_fail
;
18086 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 Py_INCREF(Py_None
); resultobj
= Py_None
;
18102 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
= NULL
;
18104 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18105 wxDC
*arg2
= (wxDC
*) 0 ;
18107 PyObject
* obj0
= 0 ;
18108 PyObject
* obj1
= 0 ;
18109 char *kwnames
[] = {
18110 (char *) "self",(char *) "dc", NULL
18113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18115 if (SWIG_arg_fail(1)) SWIG_fail
;
18116 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18117 if (SWIG_arg_fail(2)) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18134 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
= NULL
;
18136 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 PyObject
* obj1
= 0 ;
18143 PyObject
* obj2
= 0 ;
18144 PyObject
* obj3
= 0 ;
18145 PyObject
* obj4
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18152 if (SWIG_arg_fail(1)) SWIG_fail
;
18154 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18155 if (SWIG_arg_fail(2)) SWIG_fail
;
18158 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18159 if (SWIG_arg_fail(3)) SWIG_fail
;
18162 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18163 if (SWIG_arg_fail(4)) SWIG_fail
;
18166 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18167 if (SWIG_arg_fail(5)) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 Py_INCREF(Py_None
); resultobj
= Py_None
;
18183 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
= NULL
;
18185 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18190 int arg6
= (int) wxSIZE_AUTO
;
18191 PyObject
* obj0
= 0 ;
18192 PyObject
* obj1
= 0 ;
18193 PyObject
* obj2
= 0 ;
18194 PyObject
* obj3
= 0 ;
18195 PyObject
* obj4
= 0 ;
18196 PyObject
* obj5
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18203 if (SWIG_arg_fail(1)) SWIG_fail
;
18205 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18206 if (SWIG_arg_fail(2)) SWIG_fail
;
18209 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18210 if (SWIG_arg_fail(3)) SWIG_fail
;
18213 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18214 if (SWIG_arg_fail(4)) SWIG_fail
;
18217 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18218 if (SWIG_arg_fail(5)) SWIG_fail
;
18222 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18223 if (SWIG_arg_fail(6)) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 Py_INCREF(Py_None
); resultobj
= Py_None
;
18240 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
= NULL
;
18242 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18245 PyObject
* obj0
= 0 ;
18246 PyObject
* obj1
= 0 ;
18247 PyObject
* obj2
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self",(char *) "width",(char *) "height", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18254 if (SWIG_arg_fail(1)) SWIG_fail
;
18256 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18257 if (SWIG_arg_fail(2)) SWIG_fail
;
18260 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18261 if (SWIG_arg_fail(3)) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 Py_INCREF(Py_None
); resultobj
= Py_None
;
18277 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
= NULL
;
18279 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18282 PyObject
* obj0
= 0 ;
18283 PyObject
* obj1
= 0 ;
18284 PyObject
* obj2
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self",(char *) "x",(char *) "y", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18291 if (SWIG_arg_fail(1)) SWIG_fail
;
18293 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18294 if (SWIG_arg_fail(2)) SWIG_fail
;
18297 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18298 if (SWIG_arg_fail(3)) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 Py_INCREF(Py_None
); resultobj
= Py_None
;
18314 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
= NULL
;
18316 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18317 int *arg2
= (int *) 0 ;
18318 int *arg3
= (int *) 0 ;
18323 PyObject
* obj0
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self", NULL
18328 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18329 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18332 if (SWIG_arg_fail(1)) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 Py_INCREF(Py_None
); resultobj
= Py_None
;
18341 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18342 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18343 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18344 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18351 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18352 PyObject
*resultobj
= NULL
;
18353 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18354 int *arg2
= (int *) 0 ;
18355 int *arg3
= (int *) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 char *kwnames
[] = {
18362 (char *) "self", NULL
18365 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18366 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18369 if (SWIG_arg_fail(1)) SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 Py_INCREF(Py_None
); resultobj
= Py_None
;
18378 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18379 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18380 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18381 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18388 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
= NULL
;
18390 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18391 int *arg2
= (int *) 0 ;
18392 int *arg3
= (int *) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self", NULL
18402 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18403 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18406 if (SWIG_arg_fail(1)) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 Py_INCREF(Py_None
); resultobj
= Py_None
;
18415 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18416 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18417 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18418 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18425 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
= NULL
;
18427 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18436 if (SWIG_arg_fail(1)) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18445 wxSize
* resultptr
;
18446 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18455 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
= NULL
;
18457 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18466 if (SWIG_arg_fail(1)) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 wxSize
* resultptr
;
18476 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18485 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
= NULL
;
18487 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 char *kwnames
[] = {
18490 (char *) "self", NULL
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18495 if (SWIG_arg_fail(1)) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 (arg1
)->base_InitDialog();
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 Py_INCREF(Py_None
); resultobj
= Py_None
;
18510 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
= NULL
;
18512 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18521 if (SWIG_arg_fail(1)) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 result
= (bool)(arg1
)->base_TransferDataToWindow();
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18538 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
= NULL
;
18540 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18542 PyObject
* obj0
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18549 if (SWIG_arg_fail(1)) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18554 wxPyEndAllowThreads(__tstate
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18566 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
= NULL
;
18568 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18570 PyObject
* obj0
= 0 ;
18571 char *kwnames
[] = {
18572 (char *) "self", NULL
18575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18577 if (SWIG_arg_fail(1)) SWIG_fail
;
18579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18580 result
= (bool)(arg1
)->base_Validate();
18582 wxPyEndAllowThreads(__tstate
);
18583 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18594 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
= NULL
;
18596 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18605 if (SWIG_arg_fail(1)) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18622 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
= NULL
;
18624 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18633 if (SWIG_arg_fail(1)) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18650 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
= NULL
;
18652 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18654 PyObject
* obj0
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18661 if (SWIG_arg_fail(1)) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18670 wxSize
* resultptr
;
18671 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18680 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
= NULL
;
18682 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18683 wxWindow
*arg2
= (wxWindow
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self",(char *) "child", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail
;
18693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18694 if (SWIG_arg_fail(2)) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 (arg1
)->base_AddChild(arg2
);
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 Py_INCREF(Py_None
); resultobj
= Py_None
;
18709 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
= NULL
;
18711 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18712 wxWindow
*arg2
= (wxWindow
*) 0 ;
18713 PyObject
* obj0
= 0 ;
18714 PyObject
* obj1
= 0 ;
18715 char *kwnames
[] = {
18716 (char *) "self",(char *) "child", NULL
18719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18721 if (SWIG_arg_fail(1)) SWIG_fail
;
18722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18723 if (SWIG_arg_fail(2)) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 (arg1
)->base_RemoveChild(arg2
);
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 Py_INCREF(Py_None
); resultobj
= Py_None
;
18738 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
= NULL
;
18740 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18749 if (SWIG_arg_fail(1)) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18766 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
= NULL
;
18768 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18769 wxVisualAttributes result
;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18777 if (SWIG_arg_fail(1)) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (arg1
)->base_GetDefaultAttributes();
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 wxVisualAttributes
* resultptr
;
18787 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
18788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18796 static PyObject
*_wrap_PyWindow_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
= NULL
;
18798 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18799 PyObject
* obj0
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "self", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
18805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18806 if (SWIG_arg_fail(1)) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 (arg1
)->base_OnInternalIdle();
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 Py_INCREF(Py_None
); resultobj
= Py_None
;
18821 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18824 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18826 return Py_BuildValue((char *)"");
18828 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
= NULL
;
18830 wxWindow
*arg1
= (wxWindow
*) 0 ;
18831 int arg2
= (int) (int)-1 ;
18832 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18833 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18834 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18835 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18836 long arg5
= (long) 0 ;
18837 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18838 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18842 bool temp6
= false ;
18843 PyObject
* obj0
= 0 ;
18844 PyObject
* obj1
= 0 ;
18845 PyObject
* obj2
= 0 ;
18846 PyObject
* obj3
= 0 ;
18847 PyObject
* obj4
= 0 ;
18848 PyObject
* obj5
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18855 if (SWIG_arg_fail(1)) SWIG_fail
;
18858 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
18859 if (SWIG_arg_fail(2)) SWIG_fail
;
18865 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18871 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18876 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18877 if (SWIG_arg_fail(5)) SWIG_fail
;
18882 arg6
= wxString_in_helper(obj5
);
18883 if (arg6
== NULL
) SWIG_fail
;
18888 if (!wxPyCheckForApp()) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18910 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
= NULL
;
18913 char *kwnames
[] = {
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18919 if (!wxPyCheckForApp()) SWIG_fail
;
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18921 result
= (wxPyPanel
*)new wxPyPanel();
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18933 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
= NULL
;
18935 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18936 PyObject
*arg2
= (PyObject
*) 0 ;
18937 PyObject
*arg3
= (PyObject
*) 0 ;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 PyObject
* obj2
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "self",(char *) "self",(char *) "_class", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18947 if (SWIG_arg_fail(1)) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 Py_INCREF(Py_None
); resultobj
= Py_None
;
18964 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
= NULL
;
18966 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18969 PyObject
* obj0
= 0 ;
18970 PyObject
* obj1
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self",(char *) "size", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18977 if (SWIG_arg_fail(1)) SWIG_fail
;
18980 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18984 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 Py_INCREF(Py_None
); resultobj
= Py_None
;
18996 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
= NULL
;
18998 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18999 wxDC
*arg2
= (wxDC
*) 0 ;
19001 PyObject
* obj0
= 0 ;
19002 PyObject
* obj1
= 0 ;
19003 char *kwnames
[] = {
19004 (char *) "self",(char *) "dc", NULL
19007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19009 if (SWIG_arg_fail(1)) SWIG_fail
;
19010 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19011 if (SWIG_arg_fail(2)) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19028 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
= NULL
;
19030 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19035 PyObject
* obj0
= 0 ;
19036 PyObject
* obj1
= 0 ;
19037 PyObject
* obj2
= 0 ;
19038 PyObject
* obj3
= 0 ;
19039 PyObject
* obj4
= 0 ;
19040 char *kwnames
[] = {
19041 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19046 if (SWIG_arg_fail(1)) SWIG_fail
;
19048 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19049 if (SWIG_arg_fail(2)) SWIG_fail
;
19052 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19053 if (SWIG_arg_fail(3)) SWIG_fail
;
19056 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19057 if (SWIG_arg_fail(4)) SWIG_fail
;
19060 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19061 if (SWIG_arg_fail(5)) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 Py_INCREF(Py_None
); resultobj
= Py_None
;
19077 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
= NULL
;
19079 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19084 int arg6
= (int) wxSIZE_AUTO
;
19085 PyObject
* obj0
= 0 ;
19086 PyObject
* obj1
= 0 ;
19087 PyObject
* obj2
= 0 ;
19088 PyObject
* obj3
= 0 ;
19089 PyObject
* obj4
= 0 ;
19090 PyObject
* obj5
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19097 if (SWIG_arg_fail(1)) SWIG_fail
;
19099 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19100 if (SWIG_arg_fail(2)) SWIG_fail
;
19103 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19104 if (SWIG_arg_fail(3)) SWIG_fail
;
19107 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19108 if (SWIG_arg_fail(4)) SWIG_fail
;
19111 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19112 if (SWIG_arg_fail(5)) SWIG_fail
;
19116 arg6
= static_cast<int >(SWIG_As_int(obj5
));
19117 if (SWIG_arg_fail(6)) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 Py_INCREF(Py_None
); resultobj
= Py_None
;
19134 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19135 PyObject
*resultobj
= NULL
;
19136 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 PyObject
* obj2
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self",(char *) "width",(char *) "height", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19148 if (SWIG_arg_fail(1)) SWIG_fail
;
19150 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19151 if (SWIG_arg_fail(2)) SWIG_fail
;
19154 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19155 if (SWIG_arg_fail(3)) SWIG_fail
;
19158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19159 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19164 Py_INCREF(Py_None
); resultobj
= Py_None
;
19171 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
= NULL
;
19173 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19176 PyObject
* obj0
= 0 ;
19177 PyObject
* obj1
= 0 ;
19178 PyObject
* obj2
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "x",(char *) "y", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19185 if (SWIG_arg_fail(1)) SWIG_fail
;
19187 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19188 if (SWIG_arg_fail(2)) SWIG_fail
;
19191 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19192 if (SWIG_arg_fail(3)) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 Py_INCREF(Py_None
); resultobj
= Py_None
;
19208 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
= NULL
;
19210 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19211 int *arg2
= (int *) 0 ;
19212 int *arg3
= (int *) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self", NULL
19222 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19223 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19226 if (SWIG_arg_fail(1)) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 Py_INCREF(Py_None
); resultobj
= Py_None
;
19235 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19236 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19237 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19238 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19245 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
= NULL
;
19247 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19248 int *arg2
= (int *) 0 ;
19249 int *arg3
= (int *) 0 ;
19254 PyObject
* obj0
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self", NULL
19259 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19260 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19263 if (SWIG_arg_fail(1)) SWIG_fail
;
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19271 Py_INCREF(Py_None
); resultobj
= Py_None
;
19272 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19273 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19274 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19275 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19282 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
= NULL
;
19284 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19285 int *arg2
= (int *) 0 ;
19286 int *arg3
= (int *) 0 ;
19291 PyObject
* obj0
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self", NULL
19296 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19297 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19300 if (SWIG_arg_fail(1)) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 Py_INCREF(Py_None
); resultobj
= Py_None
;
19309 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19310 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19311 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19312 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19319 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
= NULL
;
19321 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19330 if (SWIG_arg_fail(1)) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19339 wxSize
* resultptr
;
19340 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19349 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
= NULL
;
19351 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19353 PyObject
* obj0
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19360 if (SWIG_arg_fail(1)) SWIG_fail
;
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19365 wxPyEndAllowThreads(__tstate
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19369 wxSize
* resultptr
;
19370 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19379 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
= NULL
;
19381 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19389 if (SWIG_arg_fail(1)) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 (arg1
)->base_InitDialog();
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 Py_INCREF(Py_None
); resultobj
= Py_None
;
19404 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
= NULL
;
19406 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19408 PyObject
* obj0
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19415 if (SWIG_arg_fail(1)) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 result
= (bool)(arg1
)->base_TransferDataToWindow();
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19432 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
= NULL
;
19434 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19436 PyObject
* obj0
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "self", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19443 if (SWIG_arg_fail(1)) SWIG_fail
;
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19460 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
= NULL
;
19462 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19464 PyObject
* obj0
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19471 if (SWIG_arg_fail(1)) SWIG_fail
;
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 result
= (bool)(arg1
)->base_Validate();
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19488 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
= NULL
;
19490 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19499 if (SWIG_arg_fail(1)) SWIG_fail
;
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19504 wxPyEndAllowThreads(__tstate
);
19505 if (PyErr_Occurred()) SWIG_fail
;
19508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19516 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
= NULL
;
19518 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19520 PyObject
* obj0
= 0 ;
19521 char *kwnames
[] = {
19522 (char *) "self", NULL
19525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19527 if (SWIG_arg_fail(1)) SWIG_fail
;
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19544 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
= NULL
;
19546 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19548 PyObject
* obj0
= 0 ;
19549 char *kwnames
[] = {
19550 (char *) "self", NULL
19553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19555 if (SWIG_arg_fail(1)) SWIG_fail
;
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19564 wxSize
* resultptr
;
19565 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19574 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
= NULL
;
19576 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19577 wxWindow
*arg2
= (wxWindow
*) 0 ;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self",(char *) "child", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19586 if (SWIG_arg_fail(1)) SWIG_fail
;
19587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19588 if (SWIG_arg_fail(2)) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 (arg1
)->base_AddChild(arg2
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 Py_INCREF(Py_None
); resultobj
= Py_None
;
19603 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
= NULL
;
19605 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19606 wxWindow
*arg2
= (wxWindow
*) 0 ;
19607 PyObject
* obj0
= 0 ;
19608 PyObject
* obj1
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "self",(char *) "child", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19615 if (SWIG_arg_fail(1)) SWIG_fail
;
19616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19617 if (SWIG_arg_fail(2)) SWIG_fail
;
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 (arg1
)->base_RemoveChild(arg2
);
19622 wxPyEndAllowThreads(__tstate
);
19623 if (PyErr_Occurred()) SWIG_fail
;
19625 Py_INCREF(Py_None
); resultobj
= Py_None
;
19632 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
= NULL
;
19634 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19636 PyObject
* obj0
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19643 if (SWIG_arg_fail(1)) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19660 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
= NULL
;
19662 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19663 wxVisualAttributes result
;
19664 PyObject
* obj0
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19671 if (SWIG_arg_fail(1)) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (arg1
)->base_GetDefaultAttributes();
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19680 wxVisualAttributes
* resultptr
;
19681 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19690 static PyObject
*_wrap_PyPanel_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
= NULL
;
19692 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19700 if (SWIG_arg_fail(1)) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 (arg1
)->base_OnInternalIdle();
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 Py_INCREF(Py_None
); resultobj
= Py_None
;
19715 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19718 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19720 return Py_BuildValue((char *)"");
19722 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
= NULL
;
19724 wxWindow
*arg1
= (wxWindow
*) 0 ;
19725 int arg2
= (int) (int)-1 ;
19726 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19727 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19728 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19729 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19730 long arg5
= (long) 0 ;
19731 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19732 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19733 wxPyScrolledWindow
*result
;
19736 bool temp6
= false ;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 PyObject
* obj2
= 0 ;
19740 PyObject
* obj3
= 0 ;
19741 PyObject
* obj4
= 0 ;
19742 PyObject
* obj5
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19749 if (SWIG_arg_fail(1)) SWIG_fail
;
19752 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
19753 if (SWIG_arg_fail(2)) SWIG_fail
;
19759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19765 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19770 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19771 if (SWIG_arg_fail(5)) SWIG_fail
;
19776 arg6
= wxString_in_helper(obj5
);
19777 if (arg6
== NULL
) SWIG_fail
;
19782 if (!wxPyCheckForApp()) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19804 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
= NULL
;
19806 wxPyScrolledWindow
*result
;
19807 char *kwnames
[] = {
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19813 if (!wxPyCheckForApp()) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19827 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19828 PyObject
*resultobj
= NULL
;
19829 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19830 PyObject
*arg2
= (PyObject
*) 0 ;
19831 PyObject
*arg3
= (PyObject
*) 0 ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 PyObject
* obj2
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self",(char *) "self",(char *) "_class", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19841 if (SWIG_arg_fail(1)) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 Py_INCREF(Py_None
); resultobj
= Py_None
;
19858 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
= NULL
;
19860 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19863 PyObject
* obj0
= 0 ;
19864 PyObject
* obj1
= 0 ;
19865 char *kwnames
[] = {
19866 (char *) "self",(char *) "size", NULL
19869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19871 if (SWIG_arg_fail(1)) SWIG_fail
;
19874 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19883 Py_INCREF(Py_None
); resultobj
= Py_None
;
19890 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19891 PyObject
*resultobj
= NULL
;
19892 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19893 wxDC
*arg2
= (wxDC
*) 0 ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 char *kwnames
[] = {
19898 (char *) "self",(char *) "dc", NULL
19901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19903 if (SWIG_arg_fail(1)) SWIG_fail
;
19904 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19905 if (SWIG_arg_fail(2)) SWIG_fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19922 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
= NULL
;
19924 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19929 PyObject
* obj0
= 0 ;
19930 PyObject
* obj1
= 0 ;
19931 PyObject
* obj2
= 0 ;
19932 PyObject
* obj3
= 0 ;
19933 PyObject
* obj4
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19940 if (SWIG_arg_fail(1)) SWIG_fail
;
19942 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19943 if (SWIG_arg_fail(2)) SWIG_fail
;
19946 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19947 if (SWIG_arg_fail(3)) SWIG_fail
;
19950 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19951 if (SWIG_arg_fail(4)) SWIG_fail
;
19954 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19955 if (SWIG_arg_fail(5)) SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 Py_INCREF(Py_None
); resultobj
= Py_None
;
19971 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
= NULL
;
19973 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19978 int arg6
= (int) wxSIZE_AUTO
;
19979 PyObject
* obj0
= 0 ;
19980 PyObject
* obj1
= 0 ;
19981 PyObject
* obj2
= 0 ;
19982 PyObject
* obj3
= 0 ;
19983 PyObject
* obj4
= 0 ;
19984 PyObject
* obj5
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19991 if (SWIG_arg_fail(1)) SWIG_fail
;
19993 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19994 if (SWIG_arg_fail(2)) SWIG_fail
;
19997 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19998 if (SWIG_arg_fail(3)) SWIG_fail
;
20001 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20002 if (SWIG_arg_fail(4)) SWIG_fail
;
20005 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20006 if (SWIG_arg_fail(5)) SWIG_fail
;
20010 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20011 if (SWIG_arg_fail(6)) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 Py_INCREF(Py_None
); resultobj
= Py_None
;
20028 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
= NULL
;
20030 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 PyObject
* obj2
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self",(char *) "width",(char *) "height", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20042 if (SWIG_arg_fail(1)) SWIG_fail
;
20044 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20045 if (SWIG_arg_fail(2)) SWIG_fail
;
20048 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20049 if (SWIG_arg_fail(3)) SWIG_fail
;
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20058 Py_INCREF(Py_None
); resultobj
= Py_None
;
20065 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
= NULL
;
20067 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20072 PyObject
* obj2
= 0 ;
20073 char *kwnames
[] = {
20074 (char *) "self",(char *) "x",(char *) "y", NULL
20077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20079 if (SWIG_arg_fail(1)) SWIG_fail
;
20081 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20082 if (SWIG_arg_fail(2)) SWIG_fail
;
20085 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20086 if (SWIG_arg_fail(3)) SWIG_fail
;
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 Py_INCREF(Py_None
); resultobj
= Py_None
;
20102 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
= NULL
;
20104 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20105 int *arg2
= (int *) 0 ;
20106 int *arg3
= (int *) 0 ;
20111 PyObject
* obj0
= 0 ;
20112 char *kwnames
[] = {
20113 (char *) "self", NULL
20116 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20117 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
20119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail
;
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 Py_INCREF(Py_None
); resultobj
= Py_None
;
20129 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20130 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20131 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20132 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20139 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
= NULL
;
20141 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20142 int *arg2
= (int *) 0 ;
20143 int *arg3
= (int *) 0 ;
20148 PyObject
* obj0
= 0 ;
20149 char *kwnames
[] = {
20150 (char *) "self", NULL
20153 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20154 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
20156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20157 if (SWIG_arg_fail(1)) SWIG_fail
;
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
20162 wxPyEndAllowThreads(__tstate
);
20163 if (PyErr_Occurred()) SWIG_fail
;
20165 Py_INCREF(Py_None
); resultobj
= Py_None
;
20166 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20167 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20168 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20169 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20176 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
= NULL
;
20178 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20179 int *arg2
= (int *) 0 ;
20180 int *arg3
= (int *) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 char *kwnames
[] = {
20187 (char *) "self", NULL
20190 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20191 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
20193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20194 if (SWIG_arg_fail(1)) SWIG_fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 Py_INCREF(Py_None
); resultobj
= Py_None
;
20203 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20204 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20205 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20206 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20213 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
= NULL
;
20215 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20217 PyObject
* obj0
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "self", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
20223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20224 if (SWIG_arg_fail(1)) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20233 wxSize
* resultptr
;
20234 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20243 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
= NULL
;
20245 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20247 PyObject
* obj0
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20254 if (SWIG_arg_fail(1)) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20263 wxSize
* resultptr
;
20264 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20273 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
= NULL
;
20275 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20276 PyObject
* obj0
= 0 ;
20277 char *kwnames
[] = {
20278 (char *) "self", NULL
20281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
20282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20283 if (SWIG_arg_fail(1)) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 (arg1
)->base_InitDialog();
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 Py_INCREF(Py_None
); resultobj
= Py_None
;
20298 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
= NULL
;
20300 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20302 PyObject
* obj0
= 0 ;
20303 char *kwnames
[] = {
20304 (char *) "self", NULL
20307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20309 if (SWIG_arg_fail(1)) SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (bool)(arg1
)->base_TransferDataToWindow();
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20326 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
= NULL
;
20328 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20330 PyObject
* obj0
= 0 ;
20331 char *kwnames
[] = {
20332 (char *) "self", NULL
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20337 if (SWIG_arg_fail(1)) SWIG_fail
;
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= (bool)(arg1
)->base_TransferDataFromWindow();
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20354 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
= NULL
;
20356 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20358 PyObject
* obj0
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
20364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20365 if (SWIG_arg_fail(1)) SWIG_fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (bool)(arg1
)->base_Validate();
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20382 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
= NULL
;
20384 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20386 PyObject
* obj0
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20393 if (SWIG_arg_fail(1)) SWIG_fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20410 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
= NULL
;
20412 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 char *kwnames
[] = {
20416 (char *) "self", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20421 if (SWIG_arg_fail(1)) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20438 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
= NULL
;
20440 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20442 PyObject
* obj0
= 0 ;
20443 char *kwnames
[] = {
20444 (char *) "self", NULL
20447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20449 if (SWIG_arg_fail(1)) SWIG_fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20458 wxSize
* resultptr
;
20459 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20468 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
= NULL
;
20470 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20471 wxWindow
*arg2
= (wxWindow
*) 0 ;
20472 PyObject
* obj0
= 0 ;
20473 PyObject
* obj1
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self",(char *) "child", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20480 if (SWIG_arg_fail(1)) SWIG_fail
;
20481 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20482 if (SWIG_arg_fail(2)) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 (arg1
)->base_AddChild(arg2
);
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 Py_INCREF(Py_None
); resultobj
= Py_None
;
20497 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
= NULL
;
20499 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20500 wxWindow
*arg2
= (wxWindow
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "child", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20509 if (SWIG_arg_fail(1)) SWIG_fail
;
20510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20511 if (SWIG_arg_fail(2)) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 (arg1
)->base_RemoveChild(arg2
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 Py_INCREF(Py_None
); resultobj
= Py_None
;
20526 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
= NULL
;
20528 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20537 if (SWIG_arg_fail(1)) SWIG_fail
;
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20554 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
= NULL
;
20556 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20557 wxVisualAttributes result
;
20558 PyObject
* obj0
= 0 ;
20559 char *kwnames
[] = {
20560 (char *) "self", NULL
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20565 if (SWIG_arg_fail(1)) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= (arg1
)->base_GetDefaultAttributes();
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20574 wxVisualAttributes
* resultptr
;
20575 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
20576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20584 static PyObject
*_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
= NULL
;
20586 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 char *kwnames
[] = {
20589 (char *) "self", NULL
20592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20594 if (SWIG_arg_fail(1)) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 (arg1
)->base_OnInternalIdle();
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 Py_INCREF(Py_None
); resultobj
= Py_None
;
20609 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20612 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20614 return Py_BuildValue((char *)"");
20616 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20617 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20622 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20623 PyObject
*pyobj
= NULL
;
20627 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20629 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20636 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20637 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20642 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20643 PyObject
*pyobj
= NULL
;
20647 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20649 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20656 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20657 PyObject
*resultobj
= NULL
;
20658 wxPrintData
*result
;
20660 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (wxPrintData
*)new wxPrintData();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20675 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20676 PyObject
*resultobj
= NULL
;
20677 wxPrintData
*arg1
= 0 ;
20678 wxPrintData
*result
;
20679 PyObject
* obj0
= 0 ;
20681 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20684 if (SWIG_arg_fail(1)) SWIG_fail
;
20685 if (arg1
== NULL
) {
20686 SWIG_null_ref("wxPrintData");
20688 if (SWIG_arg_fail(1)) SWIG_fail
;
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20704 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20709 argc
= PyObject_Length(args
);
20710 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20711 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20714 return _wrap_new_PrintData__SWIG_0(self
,args
);
20720 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20728 return _wrap_new_PrintData__SWIG_1(self
,args
);
20732 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20737 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
= NULL
;
20739 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20740 PyObject
* obj0
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "self", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20747 if (SWIG_arg_fail(1)) SWIG_fail
;
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20755 Py_INCREF(Py_None
); resultobj
= Py_None
;
20762 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20763 PyObject
*resultobj
= NULL
;
20764 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20766 PyObject
* obj0
= 0 ;
20767 char *kwnames
[] = {
20768 (char *) "self", NULL
20771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20773 if (SWIG_arg_fail(1)) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= (int)(arg1
)->GetNoCopies();
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20782 resultobj
= SWIG_From_int(static_cast<int >(result
));
20790 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
= NULL
;
20792 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20794 PyObject
* obj0
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20801 if (SWIG_arg_fail(1)) SWIG_fail
;
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 result
= (bool)(arg1
)->GetCollate();
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20818 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
= NULL
;
20820 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20822 PyObject
* obj0
= 0 ;
20823 char *kwnames
[] = {
20824 (char *) "self", NULL
20827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20829 if (SWIG_arg_fail(1)) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= (int)(arg1
)->GetOrientation();
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= SWIG_From_int(static_cast<int >(result
));
20846 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
= NULL
;
20848 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20857 if (SWIG_arg_fail(1)) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= (bool)(arg1
)->Ok();
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20874 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
= NULL
;
20876 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20878 PyObject
* obj0
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20885 if (SWIG_arg_fail(1)) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20890 result
= (wxString
*) &_result_ref
;
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20900 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20909 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
= NULL
;
20911 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20913 PyObject
* obj0
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20920 if (SWIG_arg_fail(1)) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (bool)(arg1
)->GetColour();
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20937 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
= NULL
;
20939 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20940 wxDuplexMode result
;
20941 PyObject
* obj0
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "self", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20948 if (SWIG_arg_fail(1)) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= SWIG_From_int((result
));
20963 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
= NULL
;
20965 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20966 wxPaperSize result
;
20967 PyObject
* obj0
= 0 ;
20968 char *kwnames
[] = {
20969 (char *) "self", NULL
20972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20974 if (SWIG_arg_fail(1)) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= SWIG_From_int((result
));
20989 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
= NULL
;
20991 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20993 PyObject
* obj0
= 0 ;
20994 char *kwnames
[] = {
20995 (char *) "self", NULL
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21000 if (SWIG_arg_fail(1)) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
21005 result
= (wxSize
*) &_result_ref
;
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
21018 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
= NULL
;
21020 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
21028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21029 if (SWIG_arg_fail(1)) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= (int)(arg1
)->GetQuality();
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= SWIG_From_int(static_cast<int >(result
));
21046 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
= NULL
;
21048 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
21056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21057 if (SWIG_arg_fail(1)) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (wxPrintBin
)(arg1
)->GetBin();
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= SWIG_From_int((result
));
21072 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
= NULL
;
21074 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21075 wxPrintMode result
;
21076 PyObject
* obj0
= 0 ;
21077 char *kwnames
[] = {
21078 (char *) "self", NULL
21081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
21082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21083 if (SWIG_arg_fail(1)) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= SWIG_From_int((result
));
21098 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
= NULL
;
21100 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 char *kwnames
[] = {
21105 (char *) "self",(char *) "v", NULL
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21110 if (SWIG_arg_fail(1)) SWIG_fail
;
21112 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21113 if (SWIG_arg_fail(2)) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 (arg1
)->SetNoCopies(arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 Py_INCREF(Py_None
); resultobj
= Py_None
;
21129 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
= NULL
;
21131 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 char *kwnames
[] = {
21136 (char *) "self",(char *) "flag", NULL
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21141 if (SWIG_arg_fail(1)) SWIG_fail
;
21143 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21144 if (SWIG_arg_fail(2)) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 (arg1
)->SetCollate(arg2
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21153 Py_INCREF(Py_None
); resultobj
= Py_None
;
21160 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
= NULL
;
21162 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self",(char *) "orient", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21172 if (SWIG_arg_fail(1)) SWIG_fail
;
21174 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21175 if (SWIG_arg_fail(2)) SWIG_fail
;
21178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21179 (arg1
)->SetOrientation(arg2
);
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 Py_INCREF(Py_None
); resultobj
= Py_None
;
21191 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
= NULL
;
21193 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21194 wxString
*arg2
= 0 ;
21195 bool temp2
= false ;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self",(char *) "name", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
21203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21204 if (SWIG_arg_fail(1)) SWIG_fail
;
21206 arg2
= wxString_in_helper(obj1
);
21207 if (arg2
== NULL
) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 Py_INCREF(Py_None
); resultobj
= Py_None
;
21232 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
= NULL
;
21234 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21236 PyObject
* obj0
= 0 ;
21237 PyObject
* obj1
= 0 ;
21238 char *kwnames
[] = {
21239 (char *) "self",(char *) "colour", NULL
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21244 if (SWIG_arg_fail(1)) SWIG_fail
;
21246 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21247 if (SWIG_arg_fail(2)) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 (arg1
)->SetColour(arg2
);
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21256 Py_INCREF(Py_None
); resultobj
= Py_None
;
21263 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
= NULL
;
21265 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21266 wxDuplexMode arg2
;
21267 PyObject
* obj0
= 0 ;
21268 PyObject
* obj1
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self",(char *) "duplex", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21275 if (SWIG_arg_fail(1)) SWIG_fail
;
21277 arg2
= static_cast<wxDuplexMode
>(SWIG_As_int(obj1
));
21278 if (SWIG_arg_fail(2)) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 (arg1
)->SetDuplex(arg2
);
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 Py_INCREF(Py_None
); resultobj
= Py_None
;
21294 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
= NULL
;
21296 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21298 PyObject
* obj0
= 0 ;
21299 PyObject
* obj1
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self",(char *) "sizeId", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21306 if (SWIG_arg_fail(1)) SWIG_fail
;
21308 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
21309 if (SWIG_arg_fail(2)) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 (arg1
)->SetPaperId(arg2
);
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21318 Py_INCREF(Py_None
); resultobj
= Py_None
;
21325 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
= NULL
;
21327 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self",(char *) "sz", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21338 if (SWIG_arg_fail(1)) SWIG_fail
;
21341 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21345 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21350 Py_INCREF(Py_None
); resultobj
= Py_None
;
21357 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21358 PyObject
*resultobj
= NULL
;
21359 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21361 PyObject
* obj0
= 0 ;
21362 PyObject
* obj1
= 0 ;
21363 char *kwnames
[] = {
21364 (char *) "self",(char *) "quality", NULL
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21369 if (SWIG_arg_fail(1)) SWIG_fail
;
21371 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21372 if (SWIG_arg_fail(2)) SWIG_fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 (arg1
)->SetQuality(arg2
);
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 Py_INCREF(Py_None
); resultobj
= Py_None
;
21388 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
= NULL
;
21390 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21392 PyObject
* obj0
= 0 ;
21393 PyObject
* obj1
= 0 ;
21394 char *kwnames
[] = {
21395 (char *) "self",(char *) "bin", NULL
21398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21400 if (SWIG_arg_fail(1)) SWIG_fail
;
21402 arg2
= static_cast<wxPrintBin
>(SWIG_As_int(obj1
));
21403 if (SWIG_arg_fail(2)) SWIG_fail
;
21406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21407 (arg1
)->SetBin(arg2
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 Py_INCREF(Py_None
); resultobj
= Py_None
;
21419 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
= NULL
;
21421 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "printMode", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail
;
21433 arg2
= static_cast<wxPrintMode
>(SWIG_As_int(obj1
));
21434 if (SWIG_arg_fail(2)) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 (arg1
)->SetPrintMode(arg2
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 Py_INCREF(Py_None
); resultobj
= Py_None
;
21450 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
= NULL
;
21452 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21454 PyObject
* obj0
= 0 ;
21455 char *kwnames
[] = {
21456 (char *) "self", NULL
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21461 if (SWIG_arg_fail(1)) SWIG_fail
;
21463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21464 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21482 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
= NULL
;
21484 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21485 wxString
*arg2
= 0 ;
21486 bool temp2
= false ;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self",(char *) "filename", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21495 if (SWIG_arg_fail(1)) SWIG_fail
;
21497 arg2
= wxString_in_helper(obj1
);
21498 if (arg2
== NULL
) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 (arg1
)->SetFilename((wxString
const &)*arg2
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21508 Py_INCREF(Py_None
); resultobj
= Py_None
;
21523 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
= NULL
;
21525 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21534 if (SWIG_arg_fail(1)) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= result
;
21549 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
= NULL
;
21551 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21552 PyObject
*arg2
= (PyObject
*) 0 ;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self",(char *) "data", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21561 if (SWIG_arg_fail(1)) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 wxPrintData_SetPrivData(arg1
,arg2
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 Py_INCREF(Py_None
); resultobj
= Py_None
;
21577 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21580 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21582 return Py_BuildValue((char *)"");
21584 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21585 PyObject
*resultobj
= NULL
;
21586 wxPageSetupDialogData
*result
;
21588 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21603 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21604 PyObject
*resultobj
= NULL
;
21605 wxPageSetupDialogData
*arg1
= 0 ;
21606 wxPageSetupDialogData
*result
;
21607 PyObject
* obj0
= 0 ;
21609 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21612 if (SWIG_arg_fail(1)) SWIG_fail
;
21613 if (arg1
== NULL
) {
21614 SWIG_null_ref("wxPageSetupDialogData");
21616 if (SWIG_arg_fail(1)) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21632 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21633 PyObject
*resultobj
= NULL
;
21634 wxPrintData
*arg1
= 0 ;
21635 wxPageSetupDialogData
*result
;
21636 PyObject
* obj0
= 0 ;
21638 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21641 if (SWIG_arg_fail(1)) SWIG_fail
;
21642 if (arg1
== NULL
) {
21643 SWIG_null_ref("wxPrintData");
21645 if (SWIG_arg_fail(1)) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21661 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21666 argc
= PyObject_Length(args
);
21667 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21668 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21671 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21677 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21685 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21692 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21700 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21704 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21709 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
= NULL
;
21711 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21712 PyObject
* obj0
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 Py_INCREF(Py_None
); resultobj
= Py_None
;
21734 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
= NULL
;
21736 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 char *kwnames
[] = {
21741 (char *) "self",(char *) "flag", NULL
21744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21746 if (SWIG_arg_fail(1)) SWIG_fail
;
21748 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21749 if (SWIG_arg_fail(2)) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 (arg1
)->EnableHelp(arg2
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 Py_INCREF(Py_None
); resultobj
= Py_None
;
21765 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
= NULL
;
21767 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "self",(char *) "flag", NULL
21775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21777 if (SWIG_arg_fail(1)) SWIG_fail
;
21779 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21780 if (SWIG_arg_fail(2)) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 (arg1
)->EnableMargins(arg2
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 Py_INCREF(Py_None
); resultobj
= Py_None
;
21796 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
= NULL
;
21798 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "flag", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21808 if (SWIG_arg_fail(1)) SWIG_fail
;
21810 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21811 if (SWIG_arg_fail(2)) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 (arg1
)->EnableOrientation(arg2
);
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 Py_INCREF(Py_None
); resultobj
= Py_None
;
21827 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
= NULL
;
21829 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21831 PyObject
* obj0
= 0 ;
21832 PyObject
* obj1
= 0 ;
21833 char *kwnames
[] = {
21834 (char *) "self",(char *) "flag", NULL
21837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21839 if (SWIG_arg_fail(1)) SWIG_fail
;
21841 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21842 if (SWIG_arg_fail(2)) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 (arg1
)->EnablePaper(arg2
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 Py_INCREF(Py_None
); resultobj
= Py_None
;
21858 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
= NULL
;
21860 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21862 PyObject
* obj0
= 0 ;
21863 PyObject
* obj1
= 0 ;
21864 char *kwnames
[] = {
21865 (char *) "self",(char *) "flag", NULL
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21870 if (SWIG_arg_fail(1)) SWIG_fail
;
21872 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21873 if (SWIG_arg_fail(2)) SWIG_fail
;
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 (arg1
)->EnablePrinter(arg2
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21882 Py_INCREF(Py_None
); resultobj
= Py_None
;
21889 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
= NULL
;
21891 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21893 PyObject
* obj0
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "self", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
21899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21900 if (SWIG_arg_fail(1)) SWIG_fail
;
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 result
= (bool)(arg1
)->GetDefaultMinMargins();
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21917 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
= NULL
;
21919 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
21927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21928 if (SWIG_arg_fail(1)) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= (bool)(arg1
)->GetEnableMargins();
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21945 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
= NULL
;
21947 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21949 PyObject
* obj0
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
21955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21956 if (SWIG_arg_fail(1)) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= (bool)(arg1
)->GetEnableOrientation();
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21973 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
= NULL
;
21975 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21977 PyObject
* obj0
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
21983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21984 if (SWIG_arg_fail(1)) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= (bool)(arg1
)->GetEnablePaper();
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22001 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
= NULL
;
22003 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22012 if (SWIG_arg_fail(1)) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (bool)(arg1
)->GetEnablePrinter();
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22029 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
= NULL
;
22031 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22033 PyObject
* obj0
= 0 ;
22034 char *kwnames
[] = {
22035 (char *) "self", NULL
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (bool)(arg1
)->GetEnableHelp();
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22057 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
= NULL
;
22059 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22061 PyObject
* obj0
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "self", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22068 if (SWIG_arg_fail(1)) SWIG_fail
;
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 result
= (bool)(arg1
)->GetDefaultInfo();
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22085 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
= NULL
;
22087 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22089 PyObject
* obj0
= 0 ;
22090 char *kwnames
[] = {
22091 (char *) "self", NULL
22094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22096 if (SWIG_arg_fail(1)) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (arg1
)->GetMarginTopLeft();
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22105 wxPoint
* resultptr
;
22106 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22115 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
= NULL
;
22117 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22119 PyObject
* obj0
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22126 if (SWIG_arg_fail(1)) SWIG_fail
;
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 result
= (arg1
)->GetMarginBottomRight();
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22135 wxPoint
* resultptr
;
22136 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22145 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
= NULL
;
22147 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "self", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22156 if (SWIG_arg_fail(1)) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (arg1
)->GetMinMarginTopLeft();
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 wxPoint
* resultptr
;
22166 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22175 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
= NULL
;
22177 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (arg1
)->GetMinMarginBottomRight();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22195 wxPoint
* resultptr
;
22196 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22205 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
= NULL
;
22207 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22208 wxPaperSize result
;
22209 PyObject
* obj0
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= SWIG_From_int((result
));
22231 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
= NULL
;
22233 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22235 PyObject
* obj0
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "self", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22242 if (SWIG_arg_fail(1)) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= (arg1
)->GetPaperSize();
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22251 wxSize
* resultptr
;
22252 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22261 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
= NULL
;
22263 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22264 wxPrintData
*result
;
22265 PyObject
* obj0
= 0 ;
22266 char *kwnames
[] = {
22267 (char *) "self", NULL
22270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22272 if (SWIG_arg_fail(1)) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22277 result
= (wxPrintData
*) &_result_ref
;
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22290 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
= NULL
;
22292 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22294 PyObject
* obj0
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22301 if (SWIG_arg_fail(1)) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 result
= (bool)(arg1
)->Ok();
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22318 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
= NULL
;
22320 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22322 PyObject
* obj0
= 0 ;
22323 PyObject
* obj1
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self",(char *) "flag", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22330 if (SWIG_arg_fail(1)) SWIG_fail
;
22332 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22333 if (SWIG_arg_fail(2)) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 (arg1
)->SetDefaultInfo(arg2
);
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 Py_INCREF(Py_None
); resultobj
= Py_None
;
22349 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
= NULL
;
22351 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22353 PyObject
* obj0
= 0 ;
22354 PyObject
* obj1
= 0 ;
22355 char *kwnames
[] = {
22356 (char *) "self",(char *) "flag", NULL
22359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22361 if (SWIG_arg_fail(1)) SWIG_fail
;
22363 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22364 if (SWIG_arg_fail(2)) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 (arg1
)->SetDefaultMinMargins(arg2
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 Py_INCREF(Py_None
); resultobj
= Py_None
;
22380 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
= NULL
;
22382 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22383 wxPoint
*arg2
= 0 ;
22385 PyObject
* obj0
= 0 ;
22386 PyObject
* obj1
= 0 ;
22387 char *kwnames
[] = {
22388 (char *) "self",(char *) "pt", NULL
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22393 if (SWIG_arg_fail(1)) SWIG_fail
;
22396 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22400 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 Py_INCREF(Py_None
); resultobj
= Py_None
;
22412 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
= NULL
;
22414 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22415 wxPoint
*arg2
= 0 ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 char *kwnames
[] = {
22420 (char *) "self",(char *) "pt", NULL
22423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22425 if (SWIG_arg_fail(1)) SWIG_fail
;
22428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22434 wxPyEndAllowThreads(__tstate
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22437 Py_INCREF(Py_None
); resultobj
= Py_None
;
22444 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22445 PyObject
*resultobj
= NULL
;
22446 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22447 wxPoint
*arg2
= 0 ;
22449 PyObject
* obj0
= 0 ;
22450 PyObject
* obj1
= 0 ;
22451 char *kwnames
[] = {
22452 (char *) "self",(char *) "pt", NULL
22455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22457 if (SWIG_arg_fail(1)) SWIG_fail
;
22460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 Py_INCREF(Py_None
); resultobj
= Py_None
;
22476 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
= NULL
;
22478 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22479 wxPoint
*arg2
= 0 ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 char *kwnames
[] = {
22484 (char *) "self",(char *) "pt", NULL
22487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22489 if (SWIG_arg_fail(1)) SWIG_fail
;
22492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 Py_INCREF(Py_None
); resultobj
= Py_None
;
22508 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
= NULL
;
22510 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22514 char *kwnames
[] = {
22515 (char *) "self",(char *) "id", NULL
22518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22520 if (SWIG_arg_fail(1)) SWIG_fail
;
22522 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
22523 if (SWIG_arg_fail(2)) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 (arg1
)->SetPaperId(arg2
);
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 Py_INCREF(Py_None
); resultobj
= Py_None
;
22539 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
= NULL
;
22541 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22544 PyObject
* obj0
= 0 ;
22545 PyObject
* obj1
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self",(char *) "size", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22552 if (SWIG_arg_fail(1)) SWIG_fail
;
22555 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 Py_INCREF(Py_None
); resultobj
= Py_None
;
22571 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
= NULL
;
22573 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22574 wxPrintData
*arg2
= 0 ;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 char *kwnames
[] = {
22578 (char *) "self",(char *) "printData", NULL
22581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22583 if (SWIG_arg_fail(1)) SWIG_fail
;
22585 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22586 if (SWIG_arg_fail(2)) SWIG_fail
;
22587 if (arg2
== NULL
) {
22588 SWIG_null_ref("wxPrintData");
22590 if (SWIG_arg_fail(2)) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 Py_INCREF(Py_None
); resultobj
= Py_None
;
22606 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
= NULL
;
22608 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22616 if (SWIG_arg_fail(1)) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 (arg1
)->CalculateIdFromPaperSize();
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 Py_INCREF(Py_None
); resultobj
= Py_None
;
22631 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
= NULL
;
22633 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22634 PyObject
* obj0
= 0 ;
22635 char *kwnames
[] = {
22636 (char *) "self", NULL
22639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22641 if (SWIG_arg_fail(1)) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 (arg1
)->CalculatePaperSizeFromId();
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22649 Py_INCREF(Py_None
); resultobj
= Py_None
;
22656 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22659 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22661 return Py_BuildValue((char *)"");
22663 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
= NULL
;
22665 wxWindow
*arg1
= (wxWindow
*) 0 ;
22666 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22667 wxPageSetupDialog
*result
;
22668 PyObject
* obj0
= 0 ;
22669 PyObject
* obj1
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "parent",(char *) "data", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail
;
22678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22679 if (SWIG_arg_fail(2)) SWIG_fail
;
22682 if (!wxPyCheckForApp()) SWIG_fail
;
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22696 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
= NULL
;
22698 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22699 wxPageSetupDialogData
*result
;
22700 PyObject
* obj0
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22712 result
= (wxPageSetupDialogData
*) &_result_ref
;
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22725 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
= NULL
;
22727 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22728 wxPageSetupDialogData
*result
;
22729 PyObject
* obj0
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22741 result
= (wxPageSetupDialogData
*) &_result_ref
;
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22754 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22755 PyObject
*resultobj
= NULL
;
22756 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22758 PyObject
* obj0
= 0 ;
22759 char *kwnames
[] = {
22760 (char *) "self", NULL
22763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22765 if (SWIG_arg_fail(1)) SWIG_fail
;
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 result
= (int)(arg1
)->ShowModal();
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= SWIG_From_int(static_cast<int >(result
));
22782 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22785 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22787 return Py_BuildValue((char *)"");
22789 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22790 PyObject
*resultobj
= NULL
;
22791 wxPrintDialogData
*result
;
22793 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22796 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22808 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22809 PyObject
*resultobj
= NULL
;
22810 wxPrintData
*arg1
= 0 ;
22811 wxPrintDialogData
*result
;
22812 PyObject
* obj0
= 0 ;
22814 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22817 if (SWIG_arg_fail(1)) SWIG_fail
;
22818 if (arg1
== NULL
) {
22819 SWIG_null_ref("wxPrintData");
22821 if (SWIG_arg_fail(1)) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22837 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22838 PyObject
*resultobj
= NULL
;
22839 wxPrintDialogData
*arg1
= 0 ;
22840 wxPrintDialogData
*result
;
22841 PyObject
* obj0
= 0 ;
22843 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22846 if (SWIG_arg_fail(1)) SWIG_fail
;
22847 if (arg1
== NULL
) {
22848 SWIG_null_ref("wxPrintDialogData");
22850 if (SWIG_arg_fail(1)) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22866 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22871 argc
= PyObject_Length(args
);
22872 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22873 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22876 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22882 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22890 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
22897 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22905 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
22909 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
22914 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
= NULL
;
22916 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22917 PyObject
* obj0
= 0 ;
22918 char *kwnames
[] = {
22919 (char *) "self", NULL
22922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
22923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22924 if (SWIG_arg_fail(1)) SWIG_fail
;
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 Py_INCREF(Py_None
); resultobj
= Py_None
;
22939 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22940 PyObject
*resultobj
= NULL
;
22941 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22943 PyObject
* obj0
= 0 ;
22944 char *kwnames
[] = {
22945 (char *) "self", NULL
22948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
22949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22950 if (SWIG_arg_fail(1)) SWIG_fail
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= SWIG_From_int(static_cast<int >(result
));
22967 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22968 PyObject
*resultobj
= NULL
;
22969 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
22977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22978 if (SWIG_arg_fail(1)) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= SWIG_From_int(static_cast<int >(result
));
22995 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
= NULL
;
22997 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22999 PyObject
* obj0
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23006 if (SWIG_arg_fail(1)) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23015 resultobj
= SWIG_From_int(static_cast<int >(result
));
23023 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
= NULL
;
23025 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23027 PyObject
* obj0
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23034 if (SWIG_arg_fail(1)) SWIG_fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_From_int(static_cast<int >(result
));
23051 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
= NULL
;
23053 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23055 PyObject
* obj0
= 0 ;
23056 char *kwnames
[] = {
23057 (char *) "self", NULL
23060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23062 if (SWIG_arg_fail(1)) SWIG_fail
;
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23065 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23067 wxPyEndAllowThreads(__tstate
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= SWIG_From_int(static_cast<int >(result
));
23079 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23080 PyObject
*resultobj
= NULL
;
23081 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23083 PyObject
* obj0
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self", NULL
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23090 if (SWIG_arg_fail(1)) SWIG_fail
;
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23093 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23107 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
= NULL
;
23109 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 char *kwnames
[] = {
23113 (char *) "self", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23118 if (SWIG_arg_fail(1)) SWIG_fail
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23135 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
= NULL
;
23137 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23139 PyObject
* obj0
= 0 ;
23140 char *kwnames
[] = {
23141 (char *) "self", NULL
23144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23146 if (SWIG_arg_fail(1)) SWIG_fail
;
23148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23163 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
= NULL
;
23165 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23167 PyObject
* obj0
= 0 ;
23168 char *kwnames
[] = {
23169 (char *) "self", NULL
23172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23174 if (SWIG_arg_fail(1)) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23179 wxPyEndAllowThreads(__tstate
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23191 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23192 PyObject
*resultobj
= NULL
;
23193 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23195 PyObject
* obj0
= 0 ;
23196 PyObject
* obj1
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self",(char *) "v", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23203 if (SWIG_arg_fail(1)) SWIG_fail
;
23205 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23206 if (SWIG_arg_fail(2)) SWIG_fail
;
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 (arg1
)->SetFromPage(arg2
);
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 Py_INCREF(Py_None
); resultobj
= Py_None
;
23222 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
= NULL
;
23224 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23226 PyObject
* obj0
= 0 ;
23227 PyObject
* obj1
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self",(char *) "v", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23234 if (SWIG_arg_fail(1)) SWIG_fail
;
23236 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23237 if (SWIG_arg_fail(2)) SWIG_fail
;
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 (arg1
)->SetToPage(arg2
);
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 Py_INCREF(Py_None
); resultobj
= Py_None
;
23253 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
= NULL
;
23255 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 PyObject
* obj1
= 0 ;
23259 char *kwnames
[] = {
23260 (char *) "self",(char *) "v", NULL
23263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23265 if (SWIG_arg_fail(1)) SWIG_fail
;
23267 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23268 if (SWIG_arg_fail(2)) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 (arg1
)->SetMinPage(arg2
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 Py_INCREF(Py_None
); resultobj
= Py_None
;
23284 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
= NULL
;
23286 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23288 PyObject
* obj0
= 0 ;
23289 PyObject
* obj1
= 0 ;
23290 char *kwnames
[] = {
23291 (char *) "self",(char *) "v", NULL
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23296 if (SWIG_arg_fail(1)) SWIG_fail
;
23298 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23299 if (SWIG_arg_fail(2)) SWIG_fail
;
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 (arg1
)->SetMaxPage(arg2
);
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23308 Py_INCREF(Py_None
); resultobj
= Py_None
;
23315 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23316 PyObject
*resultobj
= NULL
;
23317 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23319 PyObject
* obj0
= 0 ;
23320 PyObject
* obj1
= 0 ;
23321 char *kwnames
[] = {
23322 (char *) "self",(char *) "v", NULL
23325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23327 if (SWIG_arg_fail(1)) SWIG_fail
;
23329 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23330 if (SWIG_arg_fail(2)) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 (arg1
)->SetNoCopies(arg2
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 Py_INCREF(Py_None
); resultobj
= Py_None
;
23346 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
= NULL
;
23348 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23350 PyObject
* obj0
= 0 ;
23351 PyObject
* obj1
= 0 ;
23352 char *kwnames
[] = {
23353 (char *) "self",(char *) "flag", NULL
23356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23358 if (SWIG_arg_fail(1)) SWIG_fail
;
23360 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23361 if (SWIG_arg_fail(2)) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 (arg1
)->SetAllPages(arg2
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 Py_INCREF(Py_None
); resultobj
= Py_None
;
23377 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
= NULL
;
23379 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23381 PyObject
* obj0
= 0 ;
23382 PyObject
* obj1
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self",(char *) "flag", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23389 if (SWIG_arg_fail(1)) SWIG_fail
;
23391 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23392 if (SWIG_arg_fail(2)) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 (arg1
)->SetSelection(arg2
);
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 Py_INCREF(Py_None
); resultobj
= Py_None
;
23408 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
= NULL
;
23410 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 char *kwnames
[] = {
23415 (char *) "self",(char *) "flag", NULL
23418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23420 if (SWIG_arg_fail(1)) SWIG_fail
;
23422 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23423 if (SWIG_arg_fail(2)) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 (arg1
)->SetCollate(arg2
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 Py_INCREF(Py_None
); resultobj
= Py_None
;
23439 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
= NULL
;
23441 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23443 PyObject
* obj0
= 0 ;
23444 PyObject
* obj1
= 0 ;
23445 char *kwnames
[] = {
23446 (char *) "self",(char *) "flag", NULL
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23451 if (SWIG_arg_fail(1)) SWIG_fail
;
23453 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23454 if (SWIG_arg_fail(2)) SWIG_fail
;
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 (arg1
)->SetPrintToFile(arg2
);
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 Py_INCREF(Py_None
); resultobj
= Py_None
;
23470 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
= NULL
;
23472 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23474 PyObject
* obj0
= 0 ;
23475 PyObject
* obj1
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "self",(char *) "flag", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23482 if (SWIG_arg_fail(1)) SWIG_fail
;
23484 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23485 if (SWIG_arg_fail(2)) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 (arg1
)->EnablePrintToFile(arg2
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 Py_INCREF(Py_None
); resultobj
= Py_None
;
23501 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
= NULL
;
23503 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23505 PyObject
* obj0
= 0 ;
23506 PyObject
* obj1
= 0 ;
23507 char *kwnames
[] = {
23508 (char *) "self",(char *) "flag", NULL
23511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23513 if (SWIG_arg_fail(1)) SWIG_fail
;
23515 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23516 if (SWIG_arg_fail(2)) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 (arg1
)->EnableSelection(arg2
);
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 Py_INCREF(Py_None
); resultobj
= Py_None
;
23532 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
= NULL
;
23534 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23536 PyObject
* obj0
= 0 ;
23537 PyObject
* obj1
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "self",(char *) "flag", NULL
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23544 if (SWIG_arg_fail(1)) SWIG_fail
;
23546 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23547 if (SWIG_arg_fail(2)) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 (arg1
)->EnablePageNumbers(arg2
);
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 Py_INCREF(Py_None
); resultobj
= Py_None
;
23563 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
= NULL
;
23565 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 PyObject
* obj1
= 0 ;
23569 char *kwnames
[] = {
23570 (char *) "self",(char *) "flag", NULL
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23575 if (SWIG_arg_fail(1)) SWIG_fail
;
23577 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23578 if (SWIG_arg_fail(2)) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 (arg1
)->EnableHelp(arg2
);
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 Py_INCREF(Py_None
); resultobj
= Py_None
;
23594 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
= NULL
;
23596 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23605 if (SWIG_arg_fail(1)) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23622 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
= NULL
;
23624 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23626 PyObject
* obj0
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23633 if (SWIG_arg_fail(1)) SWIG_fail
;
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23650 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
= NULL
;
23652 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23654 PyObject
* obj0
= 0 ;
23655 char *kwnames
[] = {
23656 (char *) "self", NULL
23659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23661 if (SWIG_arg_fail(1)) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23678 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23679 PyObject
*resultobj
= NULL
;
23680 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23682 PyObject
* obj0
= 0 ;
23683 char *kwnames
[] = {
23684 (char *) "self", NULL
23687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23689 if (SWIG_arg_fail(1)) SWIG_fail
;
23691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23692 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23706 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
= NULL
;
23708 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 char *kwnames
[] = {
23712 (char *) "self", NULL
23715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23717 if (SWIG_arg_fail(1)) SWIG_fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23734 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
= NULL
;
23736 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23737 wxPrintData
*result
;
23738 PyObject
* obj0
= 0 ;
23739 char *kwnames
[] = {
23740 (char *) "self", NULL
23743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23745 if (SWIG_arg_fail(1)) SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23750 result
= (wxPrintData
*) &_result_ref
;
23753 wxPyEndAllowThreads(__tstate
);
23754 if (PyErr_Occurred()) SWIG_fail
;
23756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23763 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23764 PyObject
*resultobj
= NULL
;
23765 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23766 wxPrintData
*arg2
= 0 ;
23767 PyObject
* obj0
= 0 ;
23768 PyObject
* obj1
= 0 ;
23769 char *kwnames
[] = {
23770 (char *) "self",(char *) "printData", NULL
23773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23775 if (SWIG_arg_fail(1)) SWIG_fail
;
23777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23778 if (SWIG_arg_fail(2)) SWIG_fail
;
23779 if (arg2
== NULL
) {
23780 SWIG_null_ref("wxPrintData");
23782 if (SWIG_arg_fail(2)) SWIG_fail
;
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 Py_INCREF(Py_None
); resultobj
= Py_None
;
23798 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23801 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23803 return Py_BuildValue((char *)"");
23805 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
= NULL
;
23807 wxWindow
*arg1
= (wxWindow
*) 0 ;
23808 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23809 wxPrintDialog
*result
;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23812 char *kwnames
[] = {
23813 (char *) "parent",(char *) "data", NULL
23816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23818 if (SWIG_arg_fail(1)) SWIG_fail
;
23820 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23821 if (SWIG_arg_fail(2)) SWIG_fail
;
23824 if (!wxPyCheckForApp()) SWIG_fail
;
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23828 wxPyEndAllowThreads(__tstate
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23838 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
= NULL
;
23840 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23842 PyObject
* obj0
= 0 ;
23843 char *kwnames
[] = {
23844 (char *) "self", NULL
23847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23849 if (SWIG_arg_fail(1)) SWIG_fail
;
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 result
= (int)(arg1
)->ShowModal();
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= SWIG_From_int(static_cast<int >(result
));
23866 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23867 PyObject
*resultobj
= NULL
;
23868 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23869 wxPrintDialogData
*result
;
23870 PyObject
* obj0
= 0 ;
23871 char *kwnames
[] = {
23872 (char *) "self", NULL
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23877 if (SWIG_arg_fail(1)) SWIG_fail
;
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23882 result
= (wxPrintDialogData
*) &_result_ref
;
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23895 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
= NULL
;
23897 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23898 wxPrintData
*result
;
23899 PyObject
* obj0
= 0 ;
23900 char *kwnames
[] = {
23901 (char *) "self", NULL
23904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
23905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23906 if (SWIG_arg_fail(1)) SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23911 result
= (wxPrintData
*) &_result_ref
;
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23924 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
= NULL
;
23926 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 char *kwnames
[] = {
23930 (char *) "self", NULL
23933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
23934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23935 if (SWIG_arg_fail(1)) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (wxDC
*)(arg1
)->GetPrintDC();
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= wxPyMake_wxObject(result
, (bool)1);
23952 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
23954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23955 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
23957 return Py_BuildValue((char *)"");
23959 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
= NULL
;
23961 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
23963 PyObject
* obj0
= 0 ;
23964 char *kwnames
[] = {
23965 (char *) "data", NULL
23968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
23970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23971 if (SWIG_arg_fail(1)) SWIG_fail
;
23974 if (!wxPyCheckForApp()) SWIG_fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 result
= (wxPrinter
*)new wxPrinter(arg1
);
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
23988 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23989 PyObject
*resultobj
= NULL
;
23990 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
23991 PyObject
* obj0
= 0 ;
23992 char *kwnames
[] = {
23993 (char *) "self", NULL
23996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
23997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
23998 if (SWIG_arg_fail(1)) SWIG_fail
;
24000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 Py_INCREF(Py_None
); resultobj
= Py_None
;
24013 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
= NULL
;
24015 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24016 wxWindow
*arg2
= (wxWindow
*) 0 ;
24017 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24019 PyObject
* obj0
= 0 ;
24020 PyObject
* obj1
= 0 ;
24021 PyObject
* obj2
= 0 ;
24022 char *kwnames
[] = {
24023 (char *) "self",(char *) "parent",(char *) "printout", NULL
24026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24028 if (SWIG_arg_fail(1)) SWIG_fail
;
24029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24030 if (SWIG_arg_fail(2)) SWIG_fail
;
24031 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24032 if (SWIG_arg_fail(3)) SWIG_fail
;
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24037 wxPyEndAllowThreads(__tstate
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24041 resultobj
= wxPyMake_wxObject(result
, 0);
24049 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
= NULL
;
24051 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24052 wxWindow
*arg2
= (wxWindow
*) 0 ;
24053 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24054 wxString
*arg4
= 0 ;
24055 bool temp4
= false ;
24056 PyObject
* obj0
= 0 ;
24057 PyObject
* obj1
= 0 ;
24058 PyObject
* obj2
= 0 ;
24059 PyObject
* obj3
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24066 if (SWIG_arg_fail(1)) SWIG_fail
;
24067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24068 if (SWIG_arg_fail(2)) SWIG_fail
;
24069 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24070 if (SWIG_arg_fail(3)) SWIG_fail
;
24072 arg4
= wxString_in_helper(obj3
);
24073 if (arg4
== NULL
) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 Py_INCREF(Py_None
); resultobj
= Py_None
;
24098 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
= NULL
;
24100 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24101 wxWindow
*arg2
= (wxWindow
*) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 PyObject
* obj1
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self",(char *) "parent", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24111 if (SWIG_arg_fail(1)) SWIG_fail
;
24112 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24113 if (SWIG_arg_fail(2)) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 result
= (bool)(arg1
)->Setup(arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24130 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
= NULL
;
24132 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24133 wxWindow
*arg2
= (wxWindow
*) 0 ;
24134 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24135 bool arg4
= (bool) true ;
24137 PyObject
* obj0
= 0 ;
24138 PyObject
* obj1
= 0 ;
24139 PyObject
* obj2
= 0 ;
24140 PyObject
* obj3
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24147 if (SWIG_arg_fail(1)) SWIG_fail
;
24148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24149 if (SWIG_arg_fail(2)) SWIG_fail
;
24150 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24151 if (SWIG_arg_fail(3)) SWIG_fail
;
24154 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
24155 if (SWIG_arg_fail(4)) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24174 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
= NULL
;
24176 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24177 wxWindow
*arg2
= (wxWindow
*) 0 ;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self",(char *) "parent", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24187 if (SWIG_arg_fail(1)) SWIG_fail
;
24188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24189 if (SWIG_arg_fail(2)) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24206 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
= NULL
;
24208 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24209 wxPrintDialogData
*result
;
24210 PyObject
* obj0
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24217 if (SWIG_arg_fail(1)) SWIG_fail
;
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24222 result
= (wxPrintDialogData
*) &_result_ref
;
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24235 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
= NULL
;
24237 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (bool)(arg1
)->GetAbort();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24263 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
= NULL
;
24265 wxPrinterError result
;
24266 char *kwnames
[] = {
24270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 result
= (wxPrinterError
)wxPrinter::GetLastError();
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 resultobj
= SWIG_From_int((result
));
24285 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24288 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24290 return Py_BuildValue((char *)"");
24292 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
= NULL
;
24294 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24295 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24296 wxPyPrintout
*result
;
24297 bool temp1
= false ;
24298 PyObject
* obj0
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "title", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24306 arg1
= wxString_in_helper(obj0
);
24307 if (arg1
== NULL
) SWIG_fail
;
24312 if (!wxPyCheckForApp()) SWIG_fail
;
24313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24314 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24336 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
= NULL
;
24338 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24339 PyObject
*arg2
= (PyObject
*) 0 ;
24340 PyObject
*arg3
= (PyObject
*) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 PyObject
* obj2
= 0 ;
24344 char *kwnames
[] = {
24345 (char *) "self",(char *) "self",(char *) "_class", NULL
24348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24350 if (SWIG_arg_fail(1)) SWIG_fail
;
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24355 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24360 Py_INCREF(Py_None
); resultobj
= Py_None
;
24367 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
= NULL
;
24369 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24371 PyObject
* obj0
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24378 if (SWIG_arg_fail(1)) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24399 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
= NULL
;
24401 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24403 PyObject
* obj0
= 0 ;
24404 char *kwnames
[] = {
24405 (char *) "self", NULL
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24410 if (SWIG_arg_fail(1)) SWIG_fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (wxDC
*)(arg1
)->GetDC();
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24427 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
= NULL
;
24429 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24430 wxDC
*arg2
= (wxDC
*) 0 ;
24431 PyObject
* obj0
= 0 ;
24432 PyObject
* obj1
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "self",(char *) "dc", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24439 if (SWIG_arg_fail(1)) SWIG_fail
;
24440 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24441 if (SWIG_arg_fail(2)) SWIG_fail
;
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 (arg1
)->SetDC(arg2
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 Py_INCREF(Py_None
); resultobj
= Py_None
;
24456 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
= NULL
;
24458 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24461 PyObject
* obj0
= 0 ;
24462 PyObject
* obj1
= 0 ;
24463 PyObject
* obj2
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self",(char *) "w",(char *) "h", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24470 if (SWIG_arg_fail(1)) SWIG_fail
;
24472 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24473 if (SWIG_arg_fail(2)) SWIG_fail
;
24476 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24477 if (SWIG_arg_fail(3)) SWIG_fail
;
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24483 wxPyEndAllowThreads(__tstate
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24486 Py_INCREF(Py_None
); resultobj
= Py_None
;
24493 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
= NULL
;
24495 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24496 int *arg2
= (int *) 0 ;
24497 int *arg3
= (int *) 0 ;
24502 PyObject
* obj0
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "self", NULL
24507 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24508 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24511 if (SWIG_arg_fail(1)) SWIG_fail
;
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 Py_INCREF(Py_None
); resultobj
= Py_None
;
24520 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24521 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24522 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24523 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24530 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
= NULL
;
24532 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 PyObject
* obj2
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "self",(char *) "w",(char *) "h", NULL
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24544 if (SWIG_arg_fail(1)) SWIG_fail
;
24546 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24547 if (SWIG_arg_fail(2)) SWIG_fail
;
24550 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24551 if (SWIG_arg_fail(3)) SWIG_fail
;
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24560 Py_INCREF(Py_None
); resultobj
= Py_None
;
24567 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
= NULL
;
24569 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24570 int *arg2
= (int *) 0 ;
24571 int *arg3
= (int *) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "self", NULL
24581 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24582 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24585 if (SWIG_arg_fail(1)) SWIG_fail
;
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24590 wxPyEndAllowThreads(__tstate
);
24591 if (PyErr_Occurred()) SWIG_fail
;
24593 Py_INCREF(Py_None
); resultobj
= Py_None
;
24594 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24595 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24596 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24597 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24604 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
= NULL
;
24606 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24609 PyObject
* obj0
= 0 ;
24610 PyObject
* obj1
= 0 ;
24611 PyObject
* obj2
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self",(char *) "x",(char *) "y", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24618 if (SWIG_arg_fail(1)) SWIG_fail
;
24620 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24621 if (SWIG_arg_fail(2)) SWIG_fail
;
24624 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24625 if (SWIG_arg_fail(3)) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 (arg1
)->SetPPIScreen(arg2
,arg3
);
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 Py_INCREF(Py_None
); resultobj
= Py_None
;
24641 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
= NULL
;
24643 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24644 int *arg2
= (int *) 0 ;
24645 int *arg3
= (int *) 0 ;
24650 PyObject
* obj0
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self", NULL
24655 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24656 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24659 if (SWIG_arg_fail(1)) SWIG_fail
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 (arg1
)->GetPPIScreen(arg2
,arg3
);
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24667 Py_INCREF(Py_None
); resultobj
= Py_None
;
24668 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24669 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24670 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24671 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24678 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
= NULL
;
24680 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 PyObject
* obj2
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self",(char *) "x",(char *) "y", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24692 if (SWIG_arg_fail(1)) SWIG_fail
;
24694 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24695 if (SWIG_arg_fail(2)) SWIG_fail
;
24698 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24699 if (SWIG_arg_fail(3)) SWIG_fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24708 Py_INCREF(Py_None
); resultobj
= Py_None
;
24715 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
= NULL
;
24717 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24718 int *arg2
= (int *) 0 ;
24719 int *arg3
= (int *) 0 ;
24724 PyObject
* obj0
= 0 ;
24725 char *kwnames
[] = {
24726 (char *) "self", NULL
24729 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24730 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24733 if (SWIG_arg_fail(1)) SWIG_fail
;
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 Py_INCREF(Py_None
); resultobj
= Py_None
;
24742 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24743 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24744 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24745 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24752 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24753 PyObject
*resultobj
= NULL
;
24754 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24756 PyObject
* obj0
= 0 ;
24757 char *kwnames
[] = {
24758 (char *) "self", NULL
24761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24763 if (SWIG_arg_fail(1)) SWIG_fail
;
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 result
= (bool)(arg1
)->IsPreview();
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24780 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
= NULL
;
24782 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24784 PyObject
* obj0
= 0 ;
24785 PyObject
* obj1
= 0 ;
24786 char *kwnames
[] = {
24787 (char *) "self",(char *) "p", NULL
24790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24792 if (SWIG_arg_fail(1)) SWIG_fail
;
24794 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
24795 if (SWIG_arg_fail(2)) SWIG_fail
;
24798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24799 (arg1
)->SetIsPreview(arg2
);
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24804 Py_INCREF(Py_None
); resultobj
= Py_None
;
24811 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
= NULL
;
24813 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 PyObject
* obj1
= 0 ;
24819 PyObject
* obj2
= 0 ;
24820 char *kwnames
[] = {
24821 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24826 if (SWIG_arg_fail(1)) SWIG_fail
;
24828 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24829 if (SWIG_arg_fail(2)) SWIG_fail
;
24832 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24833 if (SWIG_arg_fail(3)) SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24851 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
= NULL
;
24853 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
24860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24861 if (SWIG_arg_fail(1)) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 (arg1
)->base_OnEndDocument();
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 Py_INCREF(Py_None
); resultobj
= Py_None
;
24876 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24877 PyObject
*resultobj
= NULL
;
24878 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24879 PyObject
* obj0
= 0 ;
24880 char *kwnames
[] = {
24881 (char *) "self", NULL
24884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
24885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24886 if (SWIG_arg_fail(1)) SWIG_fail
;
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 (arg1
)->base_OnBeginPrinting();
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 Py_INCREF(Py_None
); resultobj
= Py_None
;
24901 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
= NULL
;
24903 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24904 PyObject
* obj0
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "self", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
24910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24911 if (SWIG_arg_fail(1)) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 (arg1
)->base_OnEndPrinting();
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 Py_INCREF(Py_None
); resultobj
= Py_None
;
24926 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
= NULL
;
24928 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
24935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24936 if (SWIG_arg_fail(1)) SWIG_fail
;
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 (arg1
)->base_OnPreparePrinting();
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24944 Py_INCREF(Py_None
); resultobj
= Py_None
;
24951 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
= NULL
;
24953 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24956 PyObject
* obj0
= 0 ;
24957 PyObject
* obj1
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self",(char *) "page", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24964 if (SWIG_arg_fail(1)) SWIG_fail
;
24966 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24967 if (SWIG_arg_fail(2)) SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= (bool)(arg1
)->base_HasPage(arg2
);
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24985 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
= NULL
;
24987 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24988 int *arg2
= (int *) 0 ;
24989 int *arg3
= (int *) 0 ;
24990 int *arg4
= (int *) 0 ;
24991 int *arg5
= (int *) 0 ;
25000 PyObject
* obj0
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self", NULL
25005 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25006 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25007 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25008 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25011 if (SWIG_arg_fail(1)) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25019 Py_INCREF(Py_None
); resultobj
= Py_None
;
25020 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25021 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25022 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25023 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25024 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25025 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25026 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25027 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25034 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25037 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25039 return Py_BuildValue((char *)"");
25041 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
= NULL
;
25043 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25044 wxWindow
*arg2
= (wxWindow
*) 0 ;
25045 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25046 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25047 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25048 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25049 long arg5
= (long) 0 ;
25050 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25051 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25052 wxPreviewCanvas
*result
;
25055 bool temp6
= false ;
25056 PyObject
* obj0
= 0 ;
25057 PyObject
* obj1
= 0 ;
25058 PyObject
* obj2
= 0 ;
25059 PyObject
* obj3
= 0 ;
25060 PyObject
* obj4
= 0 ;
25061 PyObject
* obj5
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25068 if (SWIG_arg_fail(1)) SWIG_fail
;
25069 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25070 if (SWIG_arg_fail(2)) SWIG_fail
;
25074 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25080 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25085 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25086 if (SWIG_arg_fail(5)) SWIG_fail
;
25091 arg6
= wxString_in_helper(obj5
);
25092 if (arg6
== NULL
) SWIG_fail
;
25097 if (!wxPyCheckForApp()) SWIG_fail
;
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25119 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25122 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25124 return Py_BuildValue((char *)"");
25126 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
= NULL
;
25128 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25129 wxFrame
*arg2
= (wxFrame
*) 0 ;
25130 wxString
*arg3
= 0 ;
25131 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25132 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25133 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25134 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25135 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25136 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25137 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25138 wxPreviewFrame
*result
;
25139 bool temp3
= false ;
25142 bool temp7
= false ;
25143 PyObject
* obj0
= 0 ;
25144 PyObject
* obj1
= 0 ;
25145 PyObject
* obj2
= 0 ;
25146 PyObject
* obj3
= 0 ;
25147 PyObject
* obj4
= 0 ;
25148 PyObject
* obj5
= 0 ;
25149 PyObject
* obj6
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25156 if (SWIG_arg_fail(1)) SWIG_fail
;
25157 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25158 if (SWIG_arg_fail(2)) SWIG_fail
;
25160 arg3
= wxString_in_helper(obj2
);
25161 if (arg3
== NULL
) SWIG_fail
;
25167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25178 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25179 if (SWIG_arg_fail(6)) SWIG_fail
;
25184 arg7
= wxString_in_helper(obj6
);
25185 if (arg7
== NULL
) SWIG_fail
;
25190 if (!wxPyCheckForApp()) SWIG_fail
;
25191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25192 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25220 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25221 PyObject
*resultobj
= NULL
;
25222 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25223 PyObject
* obj0
= 0 ;
25224 char *kwnames
[] = {
25225 (char *) "self", NULL
25228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25230 if (SWIG_arg_fail(1)) SWIG_fail
;
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 (arg1
)->Initialize();
25235 wxPyEndAllowThreads(__tstate
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25238 Py_INCREF(Py_None
); resultobj
= Py_None
;
25245 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
= NULL
;
25247 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25248 PyObject
* obj0
= 0 ;
25249 char *kwnames
[] = {
25250 (char *) "self", NULL
25253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25255 if (SWIG_arg_fail(1)) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 (arg1
)->CreateControlBar();
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 Py_INCREF(Py_None
); resultobj
= Py_None
;
25270 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
= NULL
;
25272 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25273 PyObject
* obj0
= 0 ;
25274 char *kwnames
[] = {
25275 (char *) "self", NULL
25278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25280 if (SWIG_arg_fail(1)) SWIG_fail
;
25282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25283 (arg1
)->CreateCanvas();
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 Py_INCREF(Py_None
); resultobj
= Py_None
;
25295 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
= NULL
;
25297 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25298 wxPreviewControlBar
*result
;
25299 PyObject
* obj0
= 0 ;
25300 char *kwnames
[] = {
25301 (char *) "self", NULL
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25306 if (SWIG_arg_fail(1)) SWIG_fail
;
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25321 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25324 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25326 return Py_BuildValue((char *)"");
25328 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
= NULL
;
25330 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25332 wxWindow
*arg3
= (wxWindow
*) 0 ;
25333 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25334 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25335 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25336 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25337 long arg6
= (long) wxTAB_TRAVERSAL
;
25338 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25339 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25340 wxPreviewControlBar
*result
;
25343 bool temp7
= false ;
25344 PyObject
* obj0
= 0 ;
25345 PyObject
* obj1
= 0 ;
25346 PyObject
* obj2
= 0 ;
25347 PyObject
* obj3
= 0 ;
25348 PyObject
* obj4
= 0 ;
25349 PyObject
* obj5
= 0 ;
25350 PyObject
* obj6
= 0 ;
25351 char *kwnames
[] = {
25352 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25357 if (SWIG_arg_fail(1)) SWIG_fail
;
25359 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25360 if (SWIG_arg_fail(2)) SWIG_fail
;
25362 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25363 if (SWIG_arg_fail(3)) SWIG_fail
;
25367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25373 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25378 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25379 if (SWIG_arg_fail(6)) SWIG_fail
;
25384 arg7
= wxString_in_helper(obj6
);
25385 if (arg7
== NULL
) SWIG_fail
;
25390 if (!wxPyCheckForApp()) SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25412 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
= NULL
;
25414 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25416 PyObject
* obj0
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25423 if (SWIG_arg_fail(1)) SWIG_fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (int)(arg1
)->GetZoomControl();
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_From_int(static_cast<int >(result
));
25440 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25441 PyObject
*resultobj
= NULL
;
25442 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25444 PyObject
* obj0
= 0 ;
25445 PyObject
* obj1
= 0 ;
25446 char *kwnames
[] = {
25447 (char *) "self",(char *) "zoom", NULL
25450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25452 if (SWIG_arg_fail(1)) SWIG_fail
;
25454 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25455 if (SWIG_arg_fail(2)) SWIG_fail
;
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 (arg1
)->SetZoomControl(arg2
);
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25464 Py_INCREF(Py_None
); resultobj
= Py_None
;
25471 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25472 PyObject
*resultobj
= NULL
;
25473 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25474 wxPrintPreview
*result
;
25475 PyObject
* obj0
= 0 ;
25476 char *kwnames
[] = {
25477 (char *) "self", NULL
25480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25482 if (SWIG_arg_fail(1)) SWIG_fail
;
25484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25487 wxPyEndAllowThreads(__tstate
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25497 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25498 PyObject
*resultobj
= NULL
;
25499 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25500 PyObject
* obj0
= 0 ;
25501 char *kwnames
[] = {
25502 (char *) "self", NULL
25505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25507 if (SWIG_arg_fail(1)) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 Py_INCREF(Py_None
); resultobj
= Py_None
;
25522 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25523 PyObject
*resultobj
= NULL
;
25524 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25525 PyObject
* obj0
= 0 ;
25526 char *kwnames
[] = {
25527 (char *) "self", NULL
25530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25532 if (SWIG_arg_fail(1)) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 (arg1
)->OnPrevious();
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 Py_INCREF(Py_None
); resultobj
= Py_None
;
25547 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
= NULL
;
25549 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25550 PyObject
* obj0
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25557 if (SWIG_arg_fail(1)) SWIG_fail
;
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 Py_INCREF(Py_None
); resultobj
= Py_None
;
25572 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
= NULL
;
25574 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25575 PyObject
* obj0
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25582 if (SWIG_arg_fail(1)) SWIG_fail
;
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25587 wxPyEndAllowThreads(__tstate
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25590 Py_INCREF(Py_None
); resultobj
= Py_None
;
25597 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25598 PyObject
*resultobj
= NULL
;
25599 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 Py_INCREF(Py_None
); resultobj
= Py_None
;
25622 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25625 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25627 return Py_BuildValue((char *)"");
25629 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25630 PyObject
*resultobj
= NULL
;
25631 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25632 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25633 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25634 wxPrintPreview
*result
;
25635 PyObject
* obj0
= 0 ;
25636 PyObject
* obj1
= 0 ;
25637 PyObject
* obj2
= 0 ;
25639 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25641 if (SWIG_arg_fail(1)) SWIG_fail
;
25642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25643 if (SWIG_arg_fail(2)) SWIG_fail
;
25645 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25646 if (SWIG_arg_fail(3)) SWIG_fail
;
25649 if (!wxPyCheckForApp()) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25663 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25664 PyObject
*resultobj
= NULL
;
25665 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25666 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25667 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25668 wxPrintPreview
*result
;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 PyObject
* obj2
= 0 ;
25673 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25675 if (SWIG_arg_fail(1)) SWIG_fail
;
25676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25677 if (SWIG_arg_fail(2)) SWIG_fail
;
25678 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25679 if (SWIG_arg_fail(3)) SWIG_fail
;
25681 if (!wxPyCheckForApp()) SWIG_fail
;
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25695 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25700 argc
= PyObject_Length(args
);
25701 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25702 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25704 if ((argc
>= 2) && (argc
<= 3)) {
25708 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25718 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25727 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25731 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25739 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25748 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25758 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25768 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25776 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25782 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25787 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
= NULL
;
25789 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj1
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self",(char *) "pageNum", NULL
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25800 if (SWIG_arg_fail(1)) SWIG_fail
;
25802 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25803 if (SWIG_arg_fail(2)) SWIG_fail
;
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25809 wxPyEndAllowThreads(__tstate
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25821 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25822 PyObject
*resultobj
= NULL
;
25823 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25825 PyObject
* obj0
= 0 ;
25826 char *kwnames
[] = {
25827 (char *) "self", NULL
25830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25832 if (SWIG_arg_fail(1)) SWIG_fail
;
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (int)(arg1
)->GetCurrentPage();
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 resultobj
= SWIG_From_int(static_cast<int >(result
));
25849 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25850 PyObject
*resultobj
= NULL
;
25851 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25852 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25853 PyObject
* obj0
= 0 ;
25854 PyObject
* obj1
= 0 ;
25855 char *kwnames
[] = {
25856 (char *) "self",(char *) "printout", NULL
25859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
25860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25861 if (SWIG_arg_fail(1)) SWIG_fail
;
25862 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25863 if (SWIG_arg_fail(2)) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 (arg1
)->SetPrintout(arg2
);
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 Py_INCREF(Py_None
); resultobj
= Py_None
;
25878 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25879 PyObject
*resultobj
= NULL
;
25880 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25881 wxPyPrintout
*result
;
25882 PyObject
* obj0
= 0 ;
25883 char *kwnames
[] = {
25884 (char *) "self", NULL
25887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
25888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25889 if (SWIG_arg_fail(1)) SWIG_fail
;
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25906 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
= NULL
;
25908 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25909 wxPyPrintout
*result
;
25910 PyObject
* obj0
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
25916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25917 if (SWIG_arg_fail(1)) SWIG_fail
;
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25934 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
= NULL
;
25936 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25937 wxFrame
*arg2
= (wxFrame
*) 0 ;
25938 PyObject
* obj0
= 0 ;
25939 PyObject
* obj1
= 0 ;
25940 char *kwnames
[] = {
25941 (char *) "self",(char *) "frame", NULL
25944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
25945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25946 if (SWIG_arg_fail(1)) SWIG_fail
;
25947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25948 if (SWIG_arg_fail(2)) SWIG_fail
;
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25951 (arg1
)->SetFrame(arg2
);
25953 wxPyEndAllowThreads(__tstate
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 Py_INCREF(Py_None
); resultobj
= Py_None
;
25963 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
= NULL
;
25965 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25966 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25967 PyObject
* obj0
= 0 ;
25968 PyObject
* obj1
= 0 ;
25969 char *kwnames
[] = {
25970 (char *) "self",(char *) "canvas", NULL
25973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25975 if (SWIG_arg_fail(1)) SWIG_fail
;
25976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
25977 if (SWIG_arg_fail(2)) SWIG_fail
;
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 (arg1
)->SetCanvas(arg2
);
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 Py_INCREF(Py_None
); resultobj
= Py_None
;
25992 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
= NULL
;
25994 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25996 PyObject
* obj0
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26003 if (SWIG_arg_fail(1)) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 result
= (wxFrame
*)(arg1
)->GetFrame();
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26012 resultobj
= wxPyMake_wxObject(result
, 0);
26020 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
= NULL
;
26022 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26023 wxPreviewCanvas
*result
;
26024 PyObject
* obj0
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26031 if (SWIG_arg_fail(1)) SWIG_fail
;
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26036 wxPyEndAllowThreads(__tstate
);
26037 if (PyErr_Occurred()) SWIG_fail
;
26039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26046 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
= NULL
;
26048 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26049 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 PyObject
* obj2
= 0 ;
26055 char *kwnames
[] = {
26056 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26061 if (SWIG_arg_fail(1)) SWIG_fail
;
26062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26063 if (SWIG_arg_fail(2)) SWIG_fail
;
26065 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26066 if (SWIG_arg_fail(3)) SWIG_fail
;
26067 if (arg3
== NULL
) {
26068 SWIG_null_ref("wxDC");
26070 if (SWIG_arg_fail(3)) SWIG_fail
;
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26088 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
= NULL
;
26090 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26091 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26094 PyObject
* obj0
= 0 ;
26095 PyObject
* obj1
= 0 ;
26096 PyObject
* obj2
= 0 ;
26097 char *kwnames
[] = {
26098 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26103 if (SWIG_arg_fail(1)) SWIG_fail
;
26104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26105 if (SWIG_arg_fail(2)) SWIG_fail
;
26107 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26108 if (SWIG_arg_fail(3)) SWIG_fail
;
26109 if (arg3
== NULL
) {
26110 SWIG_null_ref("wxDC");
26112 if (SWIG_arg_fail(3)) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26130 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26131 PyObject
*resultobj
= NULL
;
26132 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26135 PyObject
* obj0
= 0 ;
26136 PyObject
* obj1
= 0 ;
26137 char *kwnames
[] = {
26138 (char *) "self",(char *) "pageNum", NULL
26141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26143 if (SWIG_arg_fail(1)) SWIG_fail
;
26145 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26146 if (SWIG_arg_fail(2)) SWIG_fail
;
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 result
= (bool)(arg1
)->RenderPage(arg2
);
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26164 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
= NULL
;
26166 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26167 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26168 PyObject
* obj0
= 0 ;
26169 PyObject
* obj1
= 0 ;
26170 char *kwnames
[] = {
26171 (char *) "self",(char *) "canvas", NULL
26174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26176 if (SWIG_arg_fail(1)) SWIG_fail
;
26177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26178 if (SWIG_arg_fail(2)) SWIG_fail
;
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 (arg1
)->AdjustScrollbars(arg2
);
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26186 Py_INCREF(Py_None
); resultobj
= Py_None
;
26193 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
= NULL
;
26195 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26196 wxPrintDialogData
*result
;
26197 PyObject
* obj0
= 0 ;
26198 char *kwnames
[] = {
26199 (char *) "self", NULL
26202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26204 if (SWIG_arg_fail(1)) SWIG_fail
;
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26209 result
= (wxPrintDialogData
*) &_result_ref
;
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26222 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
= NULL
;
26224 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 char *kwnames
[] = {
26229 (char *) "self",(char *) "percent", NULL
26232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26234 if (SWIG_arg_fail(1)) SWIG_fail
;
26236 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26237 if (SWIG_arg_fail(2)) SWIG_fail
;
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 (arg1
)->SetZoom(arg2
);
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 Py_INCREF(Py_None
); resultobj
= Py_None
;
26253 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
= NULL
;
26255 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26257 PyObject
* obj0
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self", NULL
26262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26264 if (SWIG_arg_fail(1)) SWIG_fail
;
26266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26267 result
= (int)(arg1
)->GetZoom();
26269 wxPyEndAllowThreads(__tstate
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26273 resultobj
= SWIG_From_int(static_cast<int >(result
));
26281 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
= NULL
;
26283 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26285 PyObject
* obj0
= 0 ;
26286 char *kwnames
[] = {
26287 (char *) "self", NULL
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26292 if (SWIG_arg_fail(1)) SWIG_fail
;
26294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26295 result
= (int)(arg1
)->GetMaxPage();
26297 wxPyEndAllowThreads(__tstate
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_From_int(static_cast<int >(result
));
26309 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26310 PyObject
*resultobj
= NULL
;
26311 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 char *kwnames
[] = {
26315 (char *) "self", NULL
26318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26320 if (SWIG_arg_fail(1)) SWIG_fail
;
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 result
= (int)(arg1
)->GetMinPage();
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_From_int(static_cast<int >(result
));
26337 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26338 PyObject
*resultobj
= NULL
;
26339 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26348 if (SWIG_arg_fail(1)) SWIG_fail
;
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 result
= (bool)(arg1
)->Ok();
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26365 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
= NULL
;
26367 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self",(char *) "ok", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26377 if (SWIG_arg_fail(1)) SWIG_fail
;
26379 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26380 if (SWIG_arg_fail(2)) SWIG_fail
;
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->SetOk(arg2
);
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 Py_INCREF(Py_None
); resultobj
= Py_None
;
26396 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
= NULL
;
26398 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26401 PyObject
* obj0
= 0 ;
26402 PyObject
* obj1
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self",(char *) "interactive", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26409 if (SWIG_arg_fail(1)) SWIG_fail
;
26411 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26412 if (SWIG_arg_fail(2)) SWIG_fail
;
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 result
= (bool)(arg1
)->Print(arg2
);
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26430 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
= NULL
;
26432 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26433 PyObject
* obj0
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "self", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26440 if (SWIG_arg_fail(1)) SWIG_fail
;
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->DetermineScaling();
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 Py_INCREF(Py_None
); resultobj
= Py_None
;
26455 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26458 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26460 return Py_BuildValue((char *)"");
26462 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26463 PyObject
*resultobj
= NULL
;
26464 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26465 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26466 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26467 wxPyPrintPreview
*result
;
26468 PyObject
* obj0
= 0 ;
26469 PyObject
* obj1
= 0 ;
26470 PyObject
* obj2
= 0 ;
26472 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26474 if (SWIG_arg_fail(1)) SWIG_fail
;
26475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26476 if (SWIG_arg_fail(2)) SWIG_fail
;
26478 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26479 if (SWIG_arg_fail(3)) SWIG_fail
;
26482 if (!wxPyCheckForApp()) SWIG_fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26489 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26496 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26497 PyObject
*resultobj
= NULL
;
26498 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26499 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26500 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26501 wxPyPrintPreview
*result
;
26502 PyObject
* obj0
= 0 ;
26503 PyObject
* obj1
= 0 ;
26504 PyObject
* obj2
= 0 ;
26506 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26508 if (SWIG_arg_fail(1)) SWIG_fail
;
26509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26510 if (SWIG_arg_fail(2)) SWIG_fail
;
26511 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26512 if (SWIG_arg_fail(3)) SWIG_fail
;
26514 if (!wxPyCheckForApp()) SWIG_fail
;
26515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26528 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26533 argc
= PyObject_Length(args
);
26534 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26535 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26537 if ((argc
>= 2) && (argc
<= 3)) {
26541 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26551 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26560 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26564 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26572 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26581 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26591 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26601 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26609 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26615 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26620 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
= NULL
;
26622 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26623 PyObject
*arg2
= (PyObject
*) 0 ;
26624 PyObject
*arg3
= (PyObject
*) 0 ;
26625 PyObject
* obj0
= 0 ;
26626 PyObject
* obj1
= 0 ;
26627 PyObject
* obj2
= 0 ;
26628 char *kwnames
[] = {
26629 (char *) "self",(char *) "self",(char *) "_class", NULL
26632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26634 if (SWIG_arg_fail(1)) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26644 Py_INCREF(Py_None
); resultobj
= Py_None
;
26651 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
= NULL
;
26653 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 char *kwnames
[] = {
26659 (char *) "self",(char *) "pageNum", NULL
26662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26664 if (SWIG_arg_fail(1)) SWIG_fail
;
26666 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26667 if (SWIG_arg_fail(2)) SWIG_fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26685 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26686 PyObject
*resultobj
= NULL
;
26687 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26688 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 PyObject
* obj2
= 0 ;
26694 char *kwnames
[] = {
26695 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26700 if (SWIG_arg_fail(1)) SWIG_fail
;
26701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26702 if (SWIG_arg_fail(2)) SWIG_fail
;
26704 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26705 if (SWIG_arg_fail(3)) SWIG_fail
;
26706 if (arg3
== NULL
) {
26707 SWIG_null_ref("wxDC");
26709 if (SWIG_arg_fail(3)) SWIG_fail
;
26712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26713 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26727 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
= NULL
;
26729 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26730 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26735 PyObject
* obj2
= 0 ;
26736 char *kwnames
[] = {
26737 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26742 if (SWIG_arg_fail(1)) SWIG_fail
;
26743 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26744 if (SWIG_arg_fail(2)) SWIG_fail
;
26746 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26747 if (SWIG_arg_fail(3)) SWIG_fail
;
26748 if (arg3
== NULL
) {
26749 SWIG_null_ref("wxDC");
26751 if (SWIG_arg_fail(3)) SWIG_fail
;
26754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26757 wxPyEndAllowThreads(__tstate
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26769 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
= NULL
;
26771 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26774 PyObject
* obj0
= 0 ;
26775 PyObject
* obj1
= 0 ;
26776 char *kwnames
[] = {
26777 (char *) "self",(char *) "pageNum", NULL
26780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26782 if (SWIG_arg_fail(1)) SWIG_fail
;
26784 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26785 if (SWIG_arg_fail(2)) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26803 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26804 PyObject
*resultobj
= NULL
;
26805 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self",(char *) "percent", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail
;
26817 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26818 if (SWIG_arg_fail(2)) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 (arg1
)->base_SetZoom(arg2
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 Py_INCREF(Py_None
); resultobj
= Py_None
;
26834 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
= NULL
;
26836 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26839 PyObject
* obj0
= 0 ;
26840 PyObject
* obj1
= 0 ;
26841 char *kwnames
[] = {
26842 (char *) "self",(char *) "interactive", NULL
26845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26847 if (SWIG_arg_fail(1)) SWIG_fail
;
26849 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26850 if (SWIG_arg_fail(2)) SWIG_fail
;
26853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26854 result
= (bool)(arg1
)->base_Print(arg2
);
26856 wxPyEndAllowThreads(__tstate
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26868 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
= NULL
;
26870 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26871 PyObject
* obj0
= 0 ;
26872 char *kwnames
[] = {
26873 (char *) "self", NULL
26876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26878 if (SWIG_arg_fail(1)) SWIG_fail
;
26880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 (arg1
)->base_DetermineScaling();
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26886 Py_INCREF(Py_None
); resultobj
= Py_None
;
26893 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26896 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
26898 return Py_BuildValue((char *)"");
26900 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
= NULL
;
26902 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26903 wxFrame
*arg2
= (wxFrame
*) 0 ;
26904 wxString
*arg3
= 0 ;
26905 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26906 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26907 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26908 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26909 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
26910 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
26911 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26912 wxPyPreviewFrame
*result
;
26913 bool temp3
= false ;
26916 bool temp7
= false ;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 PyObject
* obj2
= 0 ;
26920 PyObject
* obj3
= 0 ;
26921 PyObject
* obj4
= 0 ;
26922 PyObject
* obj5
= 0 ;
26923 PyObject
* obj6
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail
;
26931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26932 if (SWIG_arg_fail(2)) SWIG_fail
;
26934 arg3
= wxString_in_helper(obj2
);
26935 if (arg3
== NULL
) SWIG_fail
;
26941 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26947 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26952 arg6
= static_cast<long >(SWIG_As_long(obj5
));
26953 if (SWIG_arg_fail(6)) SWIG_fail
;
26958 arg7
= wxString_in_helper(obj6
);
26959 if (arg7
== NULL
) SWIG_fail
;
26964 if (!wxPyCheckForApp()) SWIG_fail
;
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
26994 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
= NULL
;
26996 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
26997 PyObject
*arg2
= (PyObject
*) 0 ;
26998 PyObject
*arg3
= (PyObject
*) 0 ;
26999 PyObject
* obj0
= 0 ;
27000 PyObject
* obj1
= 0 ;
27001 PyObject
* obj2
= 0 ;
27002 char *kwnames
[] = {
27003 (char *) "self",(char *) "self",(char *) "_class", NULL
27006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27008 if (SWIG_arg_fail(1)) SWIG_fail
;
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27013 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27015 wxPyEndAllowThreads(__tstate
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27018 Py_INCREF(Py_None
); resultobj
= Py_None
;
27025 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
= NULL
;
27027 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27028 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27029 PyObject
* obj0
= 0 ;
27030 PyObject
* obj1
= 0 ;
27031 char *kwnames
[] = {
27032 (char *) "self",(char *) "canvas", NULL
27035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27037 if (SWIG_arg_fail(1)) SWIG_fail
;
27038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27039 if (SWIG_arg_fail(2)) SWIG_fail
;
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 (arg1
)->SetPreviewCanvas(arg2
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 Py_INCREF(Py_None
); resultobj
= Py_None
;
27054 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
= NULL
;
27056 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27057 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27058 PyObject
* obj0
= 0 ;
27059 PyObject
* obj1
= 0 ;
27060 char *kwnames
[] = {
27061 (char *) "self",(char *) "bar", NULL
27064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27066 if (SWIG_arg_fail(1)) SWIG_fail
;
27067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27068 if (SWIG_arg_fail(2)) SWIG_fail
;
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 (arg1
)->SetControlBar(arg2
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 Py_INCREF(Py_None
); resultobj
= Py_None
;
27083 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
= NULL
;
27085 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27086 PyObject
* obj0
= 0 ;
27087 char *kwnames
[] = {
27088 (char *) "self", NULL
27091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27093 if (SWIG_arg_fail(1)) SWIG_fail
;
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 (arg1
)->base_Initialize();
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27101 Py_INCREF(Py_None
); resultobj
= Py_None
;
27108 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27109 PyObject
*resultobj
= NULL
;
27110 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27111 PyObject
* obj0
= 0 ;
27112 char *kwnames
[] = {
27113 (char *) "self", NULL
27116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27118 if (SWIG_arg_fail(1)) SWIG_fail
;
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 (arg1
)->base_CreateCanvas();
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27126 Py_INCREF(Py_None
); resultobj
= Py_None
;
27133 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
= NULL
;
27135 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27136 PyObject
* obj0
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27143 if (SWIG_arg_fail(1)) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 (arg1
)->base_CreateControlBar();
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 Py_INCREF(Py_None
); resultobj
= Py_None
;
27158 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27161 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27163 return Py_BuildValue((char *)"");
27165 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
= NULL
;
27167 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27169 wxWindow
*arg3
= (wxWindow
*) 0 ;
27170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27174 long arg6
= (long) 0 ;
27175 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27176 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27177 wxPyPreviewControlBar
*result
;
27180 bool temp7
= false ;
27181 PyObject
* obj0
= 0 ;
27182 PyObject
* obj1
= 0 ;
27183 PyObject
* obj2
= 0 ;
27184 PyObject
* obj3
= 0 ;
27185 PyObject
* obj4
= 0 ;
27186 PyObject
* obj5
= 0 ;
27187 PyObject
* obj6
= 0 ;
27188 char *kwnames
[] = {
27189 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27194 if (SWIG_arg_fail(1)) SWIG_fail
;
27196 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27197 if (SWIG_arg_fail(2)) SWIG_fail
;
27199 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27200 if (SWIG_arg_fail(3)) SWIG_fail
;
27204 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27210 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27215 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27216 if (SWIG_arg_fail(6)) SWIG_fail
;
27221 arg7
= wxString_in_helper(obj6
);
27222 if (arg7
== NULL
) SWIG_fail
;
27227 if (!wxPyCheckForApp()) SWIG_fail
;
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27249 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
= NULL
;
27251 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27252 PyObject
*arg2
= (PyObject
*) 0 ;
27253 PyObject
*arg3
= (PyObject
*) 0 ;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 PyObject
* obj2
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self",(char *) "self",(char *) "_class", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27263 if (SWIG_arg_fail(1)) SWIG_fail
;
27267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27268 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27270 wxPyEndAllowThreads(__tstate
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27273 Py_INCREF(Py_None
); resultobj
= Py_None
;
27280 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
= NULL
;
27282 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27283 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27284 PyObject
* obj0
= 0 ;
27285 PyObject
* obj1
= 0 ;
27286 char *kwnames
[] = {
27287 (char *) "self",(char *) "preview", NULL
27290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27292 if (SWIG_arg_fail(1)) SWIG_fail
;
27293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27294 if (SWIG_arg_fail(2)) SWIG_fail
;
27296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27297 (arg1
)->SetPrintPreview(arg2
);
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 Py_INCREF(Py_None
); resultobj
= Py_None
;
27309 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
= NULL
;
27311 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27312 PyObject
* obj0
= 0 ;
27313 char *kwnames
[] = {
27314 (char *) "self", NULL
27317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27319 if (SWIG_arg_fail(1)) SWIG_fail
;
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 (arg1
)->base_CreateButtons();
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 Py_INCREF(Py_None
); resultobj
= Py_None
;
27334 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
= NULL
;
27336 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27338 PyObject
* obj0
= 0 ;
27339 PyObject
* obj1
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "self",(char *) "zoom", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27346 if (SWIG_arg_fail(1)) SWIG_fail
;
27348 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27349 if (SWIG_arg_fail(2)) SWIG_fail
;
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 (arg1
)->base_SetZoomControl(arg2
);
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 Py_INCREF(Py_None
); resultobj
= Py_None
;
27365 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27368 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27370 return Py_BuildValue((char *)"");
27372 static PyMethodDef SwigMethods
[] = {
27373 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27374 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27375 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27376 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27377 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27378 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27379 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27380 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27381 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27382 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27383 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27384 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27385 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27386 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27387 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27388 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27389 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27390 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27391 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27392 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27393 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27394 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27395 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27396 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27397 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27398 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27399 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27400 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27401 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27402 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27403 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27404 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27405 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27406 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27407 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27408 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27409 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27410 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27411 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27412 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27413 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27414 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27415 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27416 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27417 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27418 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27419 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27420 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27421 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27422 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27423 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27424 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27425 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27426 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27427 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27428 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27429 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27430 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27431 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27432 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27433 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27434 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27435 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27436 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27437 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27438 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27439 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27440 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27441 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27442 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27443 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27444 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27445 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27446 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27447 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27448 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27449 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27450 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27451 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27452 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27453 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27454 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27455 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27456 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27457 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27458 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27459 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27460 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27461 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27462 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27463 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27464 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27465 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27466 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27467 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27468 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27469 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27470 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27471 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27472 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27473 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27474 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27475 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27476 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27477 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27478 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27479 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27480 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27481 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27482 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27483 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27484 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27485 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27486 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27487 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27488 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27489 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27490 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27491 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27492 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27493 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27494 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27495 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27496 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27497 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27498 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27499 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27500 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27501 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27502 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27503 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27504 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27505 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27506 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27507 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27508 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27510 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27511 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27512 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27513 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27514 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27515 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27516 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27520 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27521 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27523 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27528 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27530 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27531 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27532 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27538 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27539 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27540 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27543 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27544 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27547 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27551 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27559 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27571 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27577 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27586 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27592 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27595 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27598 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27602 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27622 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27648 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27656 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27666 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27668 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27677 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27680 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27688 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27706 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27710 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27715 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27719 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27721 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27737 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27740 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27743 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27747 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27756 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27765 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27771 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27783 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27790 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27794 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction
) _wrap_PyWindow_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27821 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction
) _wrap_PyPanel_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27848 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction
) _wrap_PyScrolledWindow_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27875 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
27876 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
27905 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
27906 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
27939 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
27944 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
27945 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
27976 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
27982 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
27993 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28016 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28018 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28024 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28034 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28035 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28058 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28059 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28068 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28076 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28082 { NULL
, NULL
, 0, NULL
}
28086 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28088 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28089 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28091 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28092 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28094 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28095 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28097 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28098 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28100 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28101 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28103 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28104 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28106 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28107 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28109 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28110 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28112 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28113 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28115 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28116 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28118 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28119 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28121 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28122 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28124 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28125 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28127 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28128 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28130 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28131 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28133 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28134 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28136 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28137 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28139 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28140 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28142 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28143 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28145 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28146 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28148 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28149 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28151 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28152 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28154 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28155 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28157 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28158 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28160 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28161 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28163 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28164 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28166 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28167 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28169 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28170 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28172 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28173 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28175 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28176 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28178 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28179 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28181 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28182 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28184 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28185 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28187 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28188 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28190 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28191 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28193 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28194 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28196 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28197 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28199 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28200 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28202 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28203 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28205 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28206 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28208 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28209 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28211 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28212 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28214 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28215 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28217 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28218 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28220 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28221 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28223 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28224 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28226 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28227 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28229 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28230 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28232 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28233 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28235 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28236 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28238 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28239 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28241 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28242 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28244 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28245 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28247 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28248 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28250 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28251 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28253 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28254 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28256 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28257 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28259 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28262 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28263 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28265 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28266 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28268 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28269 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28271 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28272 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28274 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28275 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28277 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28278 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28280 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28283 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28284 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28286 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28287 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28289 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28290 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28292 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28293 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28295 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28296 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28298 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28299 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28301 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28304 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28305 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28307 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28308 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28310 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28311 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28313 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28314 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28316 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28317 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28319 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28320 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28322 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28325 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28326 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28328 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28329 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28331 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28332 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28334 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28335 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28337 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28338 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28340 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28343 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28346 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28349 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28350 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28352 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28353 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28355 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28356 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28358 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28361 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28364 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28365 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28367 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28370 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28371 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28373 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28374 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28376 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28377 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28379 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28380 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28382 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28383 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28385 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28386 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28388 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28389 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28391 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28392 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28394 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28395 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28397 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28398 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28400 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28401 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28403 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28404 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28406 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28409 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28410 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28412 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28413 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28415 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28416 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28418 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28419 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28421 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28422 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28424 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28425 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28427 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28428 return (void *)((wxObject
*) ((wxSizer
*) x
));
28430 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28431 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28433 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28434 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28436 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28439 static void *_p_wxEventTo_p_wxObject(void *x
) {
28440 return (void *)((wxObject
*) ((wxEvent
*) x
));
28442 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28443 return (void *)((wxObject
*) ((wxFontData
*) x
));
28445 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28446 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28448 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28449 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28451 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28452 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28454 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28455 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28457 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28458 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28460 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28461 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28463 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28464 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28466 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28467 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28469 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28470 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28472 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28473 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28475 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28476 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28478 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28479 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28481 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28482 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28484 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28487 static void *_p_wxControlTo_p_wxObject(void *x
) {
28488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28490 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28491 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28493 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28496 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28497 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28499 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28500 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28502 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28503 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28505 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28508 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28509 return (void *)((wxObject
*) ((wxColourData
*) x
));
28511 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28512 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28514 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28517 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28518 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28520 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28523 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28526 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28529 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28532 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28533 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28535 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28536 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28538 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28539 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28541 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28544 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28547 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28548 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28550 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28551 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28553 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28554 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28556 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28559 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28560 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28562 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28565 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28566 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28568 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28569 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28571 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28572 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28574 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28575 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28577 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28578 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28580 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28581 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28583 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28584 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28586 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28587 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28589 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28590 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28592 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28593 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28595 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28596 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28598 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28599 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28601 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28602 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28604 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28605 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28607 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28608 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28610 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
28611 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
28613 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28614 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28616 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28617 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28619 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28620 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28622 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28623 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28625 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28626 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28628 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28631 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28634 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28635 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28637 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28638 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28640 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28643 static void *_p_wxImageTo_p_wxObject(void *x
) {
28644 return (void *)((wxObject
*) ((wxImage
*) x
));
28646 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28649 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28650 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28652 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28653 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28655 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28656 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28658 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28661 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28664 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28665 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28667 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28668 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28670 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28671 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28673 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28674 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28676 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28677 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28679 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28680 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28682 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28683 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28685 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28686 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28688 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28689 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28691 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28694 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28697 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28700 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28703 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28706 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28707 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28709 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28710 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28712 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28713 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28715 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28716 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28718 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28719 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28721 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28722 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28724 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28725 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28727 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28728 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28730 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28733 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28736 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28739 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28742 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28743 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28745 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28746 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28748 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28749 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28751 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28754 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28755 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28757 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28758 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28760 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28761 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28763 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28764 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28766 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28767 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28769 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28772 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28773 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28775 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28778 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28781 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28782 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28784 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28785 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28787 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28790 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28793 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28794 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28796 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28797 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28799 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28802 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28803 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28805 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28806 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28808 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28809 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28811 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28812 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28814 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28815 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28817 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28818 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28820 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28821 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28823 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28824 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28826 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28827 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28829 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28830 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28832 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28833 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28835 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28836 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28838 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
28839 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
28841 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28842 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28844 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28845 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28847 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28848 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28850 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28851 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28853 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28854 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
28856 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28857 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28859 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28860 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28862 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
28863 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
28865 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
28866 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
28868 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
28869 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
28871 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28872 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
28874 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28875 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28877 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
28878 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28880 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
28881 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28883 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
28884 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
28886 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28887 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28889 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
28890 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28892 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
28893 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28895 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
28896 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28898 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
28899 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28901 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
28902 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28904 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
28905 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28907 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
28908 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28910 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
28911 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28913 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
28914 return (void *)((wxWindow
*) ((wxPanel
*) x
));
28916 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
28917 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
28919 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
28920 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28922 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
28923 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28925 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
28926 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28928 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
28929 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
28931 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
28932 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28934 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
28935 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
28937 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
28938 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
28940 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
28941 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
28943 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
28944 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
28946 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
28947 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
28949 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
28950 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
28952 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
28953 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28955 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28956 return (void *)((wxWindow
*) ((wxControl
*) x
));
28958 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
28959 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28961 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
28962 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28964 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
28965 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28967 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28968 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28970 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
28971 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
28973 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
28974 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28976 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
28977 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28979 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
28980 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28982 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
28983 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
28985 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
28986 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28988 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
28989 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
28991 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
28992 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28994 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
28995 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28997 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
28998 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29000 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29001 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29003 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29004 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29006 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29007 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29009 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29010 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29012 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29013 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29015 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29016 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29018 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29019 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29021 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29022 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29024 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29025 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29027 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29028 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29030 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29031 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29033 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29034 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29036 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29037 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29039 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29040 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29042 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29043 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29045 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29046 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29048 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29049 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29051 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29052 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29054 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29055 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29057 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29058 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29060 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29061 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29063 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29064 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29066 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29067 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29069 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29070 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29072 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29073 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29075 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29076 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29078 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29079 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29081 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29082 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29084 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29085 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29087 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29088 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29090 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29091 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29093 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29094 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29096 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29097 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29099 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29100 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29102 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29103 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29105 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29106 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29108 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29109 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29111 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
29112 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29113 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
29114 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29115 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29116 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29117 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29118 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29119 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29120 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
29121 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29122 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29123 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29124 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29125 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
29126 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29127 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
29128 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29129 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29130 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29131 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29132 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
29133 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29134 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29135 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29136 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29137 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
29138 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
29139 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
29140 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
29141 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29142 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29143 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
29144 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
29145 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29146 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29147 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
29148 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
29149 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
29150 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
29151 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
29152 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29153 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29154 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29155 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29156 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29157 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29158 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
29159 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
29160 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29161 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
29162 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29163 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
29164 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
29165 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
29166 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
29167 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
29168 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29169 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29170 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29171 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29172 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29173 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
29174 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29175 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29176 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29177 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29178 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29179 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29180 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29181 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29182 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29183 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29184 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29185 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29186 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29187 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29188 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29189 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
29190 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29191 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
29192 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
29193 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29194 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29195 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
29196 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
29197 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
29198 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
29199 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29200 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
29201 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
29202 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
29203 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
29204 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
29205 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
29206 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
29207 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
29208 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
29209 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
29210 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
29211 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
29212 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
29213 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
29214 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
29215 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
29216 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29217 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
29218 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29219 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29220 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29221 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29222 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29223 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29224 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29225 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29226 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29227 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29228 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29229 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29230 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29231 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29232 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29233 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29234 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29235 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29236 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29237 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29238 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29239 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29240 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29241 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29242 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29243 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29244 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29245 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29246 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29247 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
29248 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29249 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29250 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29251 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29252 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29253 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29254 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29255 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
29256 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29257 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29258 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29259 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29260 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29261 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29262 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
29263 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29264 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29265 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29266 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29267 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29268 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29269 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29270 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29271 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29272 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29273 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29275 static swig_type_info
*swig_type_initial
[] = {
29277 &_swigt__p_form_ops_t
,
29279 &_swigt__p_unsigned_char
,
29280 &_swigt__p_unsigned_int
,
29281 &_swigt__p_unsigned_long
,
29282 &_swigt__p_wxANIHandler
,
29283 &_swigt__p_wxAcceleratorTable
,
29284 &_swigt__p_wxActivateEvent
,
29285 &_swigt__p_wxArrayInt
,
29286 &_swigt__p_wxBMPHandler
,
29287 &_swigt__p_wxBitmap
,
29288 &_swigt__p_wxBoxSizer
,
29289 &_swigt__p_wxCURHandler
,
29290 &_swigt__p_wxCalculateLayoutEvent
,
29291 &_swigt__p_wxChildFocusEvent
,
29292 &_swigt__p_wxCloseEvent
,
29293 &_swigt__p_wxColour
,
29294 &_swigt__p_wxColourData
,
29295 &_swigt__p_wxColourDialog
,
29296 &_swigt__p_wxCommandEvent
,
29297 &_swigt__p_wxContextMenuEvent
,
29298 &_swigt__p_wxControl
,
29299 &_swigt__p_wxControlWithItems
,
29301 &_swigt__p_wxDateEvent
,
29302 &_swigt__p_wxDialog
,
29303 &_swigt__p_wxDirDialog
,
29304 &_swigt__p_wxDisplayChangedEvent
,
29305 &_swigt__p_wxDropFilesEvent
,
29306 &_swigt__p_wxDuplexMode
,
29307 &_swigt__p_wxEraseEvent
,
29308 &_swigt__p_wxEvent
,
29309 &_swigt__p_wxEvtHandler
,
29310 &_swigt__p_wxFSFile
,
29311 &_swigt__p_wxFileDialog
,
29312 &_swigt__p_wxFileSystem
,
29313 &_swigt__p_wxFindDialogEvent
,
29314 &_swigt__p_wxFindReplaceData
,
29315 &_swigt__p_wxFindReplaceDialog
,
29316 &_swigt__p_wxFlexGridSizer
,
29317 &_swigt__p_wxFocusEvent
,
29319 &_swigt__p_wxFontData
,
29320 &_swigt__p_wxFontDialog
,
29321 &_swigt__p_wxFrame
,
29322 &_swigt__p_wxGBSizerItem
,
29323 &_swigt__p_wxGIFHandler
,
29324 &_swigt__p_wxGridBagSizer
,
29325 &_swigt__p_wxGridSizer
,
29326 &_swigt__p_wxICOHandler
,
29328 &_swigt__p_wxIconBundle
,
29329 &_swigt__p_wxIconizeEvent
,
29330 &_swigt__p_wxIdleEvent
,
29331 &_swigt__p_wxImage
,
29332 &_swigt__p_wxImageHandler
,
29333 &_swigt__p_wxIndividualLayoutConstraint
,
29334 &_swigt__p_wxInitDialogEvent
,
29335 &_swigt__p_wxJPEGHandler
,
29336 &_swigt__p_wxKeyEvent
,
29337 &_swigt__p_wxLayoutAlgorithm
,
29338 &_swigt__p_wxLayoutConstraints
,
29339 &_swigt__p_wxMDIChildFrame
,
29340 &_swigt__p_wxMDIClientWindow
,
29341 &_swigt__p_wxMDIParentFrame
,
29342 &_swigt__p_wxMaximizeEvent
,
29344 &_swigt__p_wxMenuBar
,
29345 &_swigt__p_wxMenuEvent
,
29346 &_swigt__p_wxMenuItem
,
29347 &_swigt__p_wxMessageDialog
,
29348 &_swigt__p_wxMiniFrame
,
29349 &_swigt__p_wxMouseCaptureChangedEvent
,
29350 &_swigt__p_wxMouseEvent
,
29351 &_swigt__p_wxMoveEvent
,
29352 &_swigt__p_wxMultiChoiceDialog
,
29353 &_swigt__p_wxNavigationKeyEvent
,
29354 &_swigt__p_wxNcPaintEvent
,
29355 &_swigt__p_wxNotifyEvent
,
29356 &_swigt__p_wxObject
,
29357 &_swigt__p_wxPCXHandler
,
29358 &_swigt__p_wxPNGHandler
,
29359 &_swigt__p_wxPNMHandler
,
29360 &_swigt__p_wxPageSetupDialog
,
29361 &_swigt__p_wxPageSetupDialogData
,
29362 &_swigt__p_wxPaintEvent
,
29363 &_swigt__p_wxPaletteChangedEvent
,
29364 &_swigt__p_wxPanel
,
29365 &_swigt__p_wxPaperSize
,
29366 &_swigt__p_wxPasswordEntryDialog
,
29367 &_swigt__p_wxPoint
,
29368 &_swigt__p_wxPopupWindow
,
29369 &_swigt__p_wxPreviewCanvas
,
29370 &_swigt__p_wxPreviewControlBar
,
29371 &_swigt__p_wxPreviewFrame
,
29372 &_swigt__p_wxPrintData
,
29373 &_swigt__p_wxPrintDialog
,
29374 &_swigt__p_wxPrintDialogData
,
29375 &_swigt__p_wxPrintPreview
,
29376 &_swigt__p_wxPrinter
,
29377 &_swigt__p_wxProgressDialog
,
29378 &_swigt__p_wxPyApp
,
29379 &_swigt__p_wxPyCommandEvent
,
29380 &_swigt__p_wxPyEvent
,
29381 &_swigt__p_wxPyHtmlListBox
,
29382 &_swigt__p_wxPyImageHandler
,
29383 &_swigt__p_wxPyPanel
,
29384 &_swigt__p_wxPyPopupTransientWindow
,
29385 &_swigt__p_wxPyPreviewControlBar
,
29386 &_swigt__p_wxPyPreviewFrame
,
29387 &_swigt__p_wxPyPrintPreview
,
29388 &_swigt__p_wxPyPrintout
,
29389 &_swigt__p_wxPyScrolledWindow
,
29390 &_swigt__p_wxPySizer
,
29391 &_swigt__p_wxPyTaskBarIcon
,
29392 &_swigt__p_wxPyVListBox
,
29393 &_swigt__p_wxPyVScrolledWindow
,
29394 &_swigt__p_wxPyValidator
,
29395 &_swigt__p_wxPyWindow
,
29396 &_swigt__p_wxQueryLayoutInfoEvent
,
29397 &_swigt__p_wxQueryNewPaletteEvent
,
29399 &_swigt__p_wxRegion
,
29400 &_swigt__p_wxSashEvent
,
29401 &_swigt__p_wxSashLayoutWindow
,
29402 &_swigt__p_wxSashWindow
,
29403 &_swigt__p_wxScrollEvent
,
29404 &_swigt__p_wxScrollWinEvent
,
29405 &_swigt__p_wxScrolledWindow
,
29406 &_swigt__p_wxSetCursorEvent
,
29407 &_swigt__p_wxShowEvent
,
29408 &_swigt__p_wxSingleChoiceDialog
,
29410 &_swigt__p_wxSizeEvent
,
29411 &_swigt__p_wxSizer
,
29412 &_swigt__p_wxSizerItem
,
29413 &_swigt__p_wxSplashScreen
,
29414 &_swigt__p_wxSplashScreenWindow
,
29415 &_swigt__p_wxSplitterEvent
,
29416 &_swigt__p_wxSplitterWindow
,
29417 &_swigt__p_wxStaticBoxSizer
,
29418 &_swigt__p_wxStatusBar
,
29419 &_swigt__p_wxStdDialogButtonSizer
,
29420 &_swigt__p_wxString
,
29421 &_swigt__p_wxSysColourChangedEvent
,
29422 &_swigt__p_wxTIFFHandler
,
29423 &_swigt__p_wxTaskBarIcon
,
29424 &_swigt__p_wxTaskBarIconEvent
,
29425 &_swigt__p_wxTextEntryDialog
,
29426 &_swigt__p_wxTipWindow
,
29427 &_swigt__p_wxToolBar
,
29428 &_swigt__p_wxTopLevelWindow
,
29429 &_swigt__p_wxUpdateUIEvent
,
29430 &_swigt__p_wxValidator
,
29431 &_swigt__p_wxVisualAttributes
,
29432 &_swigt__p_wxWindow
,
29433 &_swigt__p_wxWindowCreateEvent
,
29434 &_swigt__p_wxWindowDestroyEvent
,
29435 &_swigt__p_wxXPMHandler
,
29436 &_swigt__ptrdiff_t
,
29437 &_swigt__std__ptrdiff_t
,
29438 &_swigt__unsigned_int
,
29441 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
29442 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
29443 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
29444 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
29445 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29446 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
29447 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
29448 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
29449 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
29450 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
29451 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
29452 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
29453 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29454 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
29455 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29456 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29457 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
29458 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29459 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29460 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29461 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}};
29462 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
29463 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}};
29464 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
29465 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
29466 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29467 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29468 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29469 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29470 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
29471 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29472 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29473 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
29474 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
29475 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29476 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29477 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29478 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29479 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
29480 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29481 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29482 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29483 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29484 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29485 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29486 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
29487 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29488 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
29489 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29490 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29491 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}};
29492 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
29493 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
29494 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
29495 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
29496 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
29497 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}};
29498 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
29499 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
29500 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29501 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
29502 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29503 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
29504 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
29505 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
29506 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}};
29507 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
29508 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
29509 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
29510 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
29511 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29512 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
29513 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
29514 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
29515 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
29516 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
29517 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29518 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}};
29519 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
29520 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29521 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29522 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
29523 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29524 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29525 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29526 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
29527 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29528 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29529 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
29530 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
29531 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
29532 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29533 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29534 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
29535 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
29536 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
29537 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
29538 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29539 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29540 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
29541 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29542 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29543 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29544 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29545 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
29546 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
29547 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}};
29548 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
29549 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29550 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}};
29551 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
29552 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
29553 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
29554 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}};
29555 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
29556 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}};
29557 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}};
29558 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
29559 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
29560 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29561 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}};
29562 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
29563 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
29564 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
29565 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
29566 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29567 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
29568 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
29569 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
29570 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
29571 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
29572 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29573 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}};
29574 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}};
29575 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
29576 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
29577 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
29578 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
29579 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
29580 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
29581 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}};
29582 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
29583 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}};
29584 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29585 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
29586 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
29587 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
29588 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
29589 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
29590 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
29591 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
29592 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
29593 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29594 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
29595 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}};
29596 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
29597 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
29598 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}};
29599 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
29600 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}};
29601 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29602 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29603 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29605 static swig_cast_info
*swig_cast_initial
[] = {
29607 _swigc__p_form_ops_t
,
29609 _swigc__p_unsigned_char
,
29610 _swigc__p_unsigned_int
,
29611 _swigc__p_unsigned_long
,
29612 _swigc__p_wxANIHandler
,
29613 _swigc__p_wxAcceleratorTable
,
29614 _swigc__p_wxActivateEvent
,
29615 _swigc__p_wxArrayInt
,
29616 _swigc__p_wxBMPHandler
,
29617 _swigc__p_wxBitmap
,
29618 _swigc__p_wxBoxSizer
,
29619 _swigc__p_wxCURHandler
,
29620 _swigc__p_wxCalculateLayoutEvent
,
29621 _swigc__p_wxChildFocusEvent
,
29622 _swigc__p_wxCloseEvent
,
29623 _swigc__p_wxColour
,
29624 _swigc__p_wxColourData
,
29625 _swigc__p_wxColourDialog
,
29626 _swigc__p_wxCommandEvent
,
29627 _swigc__p_wxContextMenuEvent
,
29628 _swigc__p_wxControl
,
29629 _swigc__p_wxControlWithItems
,
29631 _swigc__p_wxDateEvent
,
29632 _swigc__p_wxDialog
,
29633 _swigc__p_wxDirDialog
,
29634 _swigc__p_wxDisplayChangedEvent
,
29635 _swigc__p_wxDropFilesEvent
,
29636 _swigc__p_wxDuplexMode
,
29637 _swigc__p_wxEraseEvent
,
29639 _swigc__p_wxEvtHandler
,
29640 _swigc__p_wxFSFile
,
29641 _swigc__p_wxFileDialog
,
29642 _swigc__p_wxFileSystem
,
29643 _swigc__p_wxFindDialogEvent
,
29644 _swigc__p_wxFindReplaceData
,
29645 _swigc__p_wxFindReplaceDialog
,
29646 _swigc__p_wxFlexGridSizer
,
29647 _swigc__p_wxFocusEvent
,
29649 _swigc__p_wxFontData
,
29650 _swigc__p_wxFontDialog
,
29652 _swigc__p_wxGBSizerItem
,
29653 _swigc__p_wxGIFHandler
,
29654 _swigc__p_wxGridBagSizer
,
29655 _swigc__p_wxGridSizer
,
29656 _swigc__p_wxICOHandler
,
29658 _swigc__p_wxIconBundle
,
29659 _swigc__p_wxIconizeEvent
,
29660 _swigc__p_wxIdleEvent
,
29662 _swigc__p_wxImageHandler
,
29663 _swigc__p_wxIndividualLayoutConstraint
,
29664 _swigc__p_wxInitDialogEvent
,
29665 _swigc__p_wxJPEGHandler
,
29666 _swigc__p_wxKeyEvent
,
29667 _swigc__p_wxLayoutAlgorithm
,
29668 _swigc__p_wxLayoutConstraints
,
29669 _swigc__p_wxMDIChildFrame
,
29670 _swigc__p_wxMDIClientWindow
,
29671 _swigc__p_wxMDIParentFrame
,
29672 _swigc__p_wxMaximizeEvent
,
29674 _swigc__p_wxMenuBar
,
29675 _swigc__p_wxMenuEvent
,
29676 _swigc__p_wxMenuItem
,
29677 _swigc__p_wxMessageDialog
,
29678 _swigc__p_wxMiniFrame
,
29679 _swigc__p_wxMouseCaptureChangedEvent
,
29680 _swigc__p_wxMouseEvent
,
29681 _swigc__p_wxMoveEvent
,
29682 _swigc__p_wxMultiChoiceDialog
,
29683 _swigc__p_wxNavigationKeyEvent
,
29684 _swigc__p_wxNcPaintEvent
,
29685 _swigc__p_wxNotifyEvent
,
29686 _swigc__p_wxObject
,
29687 _swigc__p_wxPCXHandler
,
29688 _swigc__p_wxPNGHandler
,
29689 _swigc__p_wxPNMHandler
,
29690 _swigc__p_wxPageSetupDialog
,
29691 _swigc__p_wxPageSetupDialogData
,
29692 _swigc__p_wxPaintEvent
,
29693 _swigc__p_wxPaletteChangedEvent
,
29695 _swigc__p_wxPaperSize
,
29696 _swigc__p_wxPasswordEntryDialog
,
29698 _swigc__p_wxPopupWindow
,
29699 _swigc__p_wxPreviewCanvas
,
29700 _swigc__p_wxPreviewControlBar
,
29701 _swigc__p_wxPreviewFrame
,
29702 _swigc__p_wxPrintData
,
29703 _swigc__p_wxPrintDialog
,
29704 _swigc__p_wxPrintDialogData
,
29705 _swigc__p_wxPrintPreview
,
29706 _swigc__p_wxPrinter
,
29707 _swigc__p_wxProgressDialog
,
29709 _swigc__p_wxPyCommandEvent
,
29710 _swigc__p_wxPyEvent
,
29711 _swigc__p_wxPyHtmlListBox
,
29712 _swigc__p_wxPyImageHandler
,
29713 _swigc__p_wxPyPanel
,
29714 _swigc__p_wxPyPopupTransientWindow
,
29715 _swigc__p_wxPyPreviewControlBar
,
29716 _swigc__p_wxPyPreviewFrame
,
29717 _swigc__p_wxPyPrintPreview
,
29718 _swigc__p_wxPyPrintout
,
29719 _swigc__p_wxPyScrolledWindow
,
29720 _swigc__p_wxPySizer
,
29721 _swigc__p_wxPyTaskBarIcon
,
29722 _swigc__p_wxPyVListBox
,
29723 _swigc__p_wxPyVScrolledWindow
,
29724 _swigc__p_wxPyValidator
,
29725 _swigc__p_wxPyWindow
,
29726 _swigc__p_wxQueryLayoutInfoEvent
,
29727 _swigc__p_wxQueryNewPaletteEvent
,
29729 _swigc__p_wxRegion
,
29730 _swigc__p_wxSashEvent
,
29731 _swigc__p_wxSashLayoutWindow
,
29732 _swigc__p_wxSashWindow
,
29733 _swigc__p_wxScrollEvent
,
29734 _swigc__p_wxScrollWinEvent
,
29735 _swigc__p_wxScrolledWindow
,
29736 _swigc__p_wxSetCursorEvent
,
29737 _swigc__p_wxShowEvent
,
29738 _swigc__p_wxSingleChoiceDialog
,
29740 _swigc__p_wxSizeEvent
,
29742 _swigc__p_wxSizerItem
,
29743 _swigc__p_wxSplashScreen
,
29744 _swigc__p_wxSplashScreenWindow
,
29745 _swigc__p_wxSplitterEvent
,
29746 _swigc__p_wxSplitterWindow
,
29747 _swigc__p_wxStaticBoxSizer
,
29748 _swigc__p_wxStatusBar
,
29749 _swigc__p_wxStdDialogButtonSizer
,
29750 _swigc__p_wxString
,
29751 _swigc__p_wxSysColourChangedEvent
,
29752 _swigc__p_wxTIFFHandler
,
29753 _swigc__p_wxTaskBarIcon
,
29754 _swigc__p_wxTaskBarIconEvent
,
29755 _swigc__p_wxTextEntryDialog
,
29756 _swigc__p_wxTipWindow
,
29757 _swigc__p_wxToolBar
,
29758 _swigc__p_wxTopLevelWindow
,
29759 _swigc__p_wxUpdateUIEvent
,
29760 _swigc__p_wxValidator
,
29761 _swigc__p_wxVisualAttributes
,
29762 _swigc__p_wxWindow
,
29763 _swigc__p_wxWindowCreateEvent
,
29764 _swigc__p_wxWindowDestroyEvent
,
29765 _swigc__p_wxXPMHandler
,
29767 _swigc__std__ptrdiff_t
,
29768 _swigc__unsigned_int
,
29772 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29774 static swig_const_info swig_const_table
[] = {
29775 {0, 0, 0, 0.0, 0, 0}};
29780 /*************************************************************************
29781 * Type initialization:
29782 * This problem is tough by the requirement that no dynamic
29783 * memory is used. Also, since swig_type_info structures store pointers to
29784 * swig_cast_info structures and swig_cast_info structures store pointers back
29785 * to swig_type_info structures, we need some lookup code at initialization.
29786 * The idea is that swig generates all the structures that are needed.
29787 * The runtime then collects these partially filled structures.
29788 * The SWIG_InitializeModule function takes these initial arrays out of
29789 * swig_module, and does all the lookup, filling in the swig_module.types
29790 * array with the correct data and linking the correct swig_cast_info
29791 * structures together.
29793 * The generated swig_type_info structures are assigned staticly to an initial
29794 * array. We just loop though that array, and handle each type individually.
29795 * First we lookup if this type has been already loaded, and if so, use the
29796 * loaded structure instead of the generated one. Then we have to fill in the
29797 * cast linked list. The cast data is initially stored in something like a
29798 * two-dimensional array. Each row corresponds to a type (there are the same
29799 * number of rows as there are in the swig_type_initial array). Each entry in
29800 * a column is one of the swig_cast_info structures for that type.
29801 * The cast_initial array is actually an array of arrays, because each row has
29802 * a variable number of columns. So to actually build the cast linked list,
29803 * we find the array of casts associated with the type, and loop through it
29804 * adding the casts to the list. The one last trick we need to do is making
29805 * sure the type pointer in the swig_cast_info struct is correct.
29807 * First off, we lookup the cast->type name to see if it is already loaded.
29808 * There are three cases to handle:
29809 * 1) If the cast->type has already been loaded AND the type we are adding
29810 * casting info to has not been loaded (it is in this module), THEN we
29811 * replace the cast->type pointer with the type pointer that has already
29813 * 2) If BOTH types (the one we are adding casting info to, and the
29814 * cast->type) are loaded, THEN the cast info has already been loaded by
29815 * the previous module so we just ignore it.
29816 * 3) Finally, if cast->type has not already been loaded, then we add that
29817 * swig_cast_info to the linked list (because the cast->type) pointer will
29829 #define SWIGRUNTIME_DEBUG
29833 SWIG_InitializeModule(void *clientdata
) {
29835 swig_module_info
*module_head
;
29836 static int init_run
= 0;
29838 clientdata
= clientdata
;
29840 if (init_run
) return;
29843 /* Initialize the swig_module */
29844 swig_module
.type_initial
= swig_type_initial
;
29845 swig_module
.cast_initial
= swig_cast_initial
;
29847 /* Try and load any already created modules */
29848 module_head
= SWIG_GetModule(clientdata
);
29850 swig_module
.next
= module_head
->next
;
29851 module_head
->next
= &swig_module
;
29853 /* This is the first module loaded */
29854 swig_module
.next
= &swig_module
;
29855 SWIG_SetModule(clientdata
, &swig_module
);
29858 /* Now work on filling in swig_module.types */
29859 #ifdef SWIGRUNTIME_DEBUG
29860 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
29862 for (i
= 0; i
< swig_module
.size
; ++i
) {
29863 swig_type_info
*type
= 0;
29864 swig_type_info
*ret
;
29865 swig_cast_info
*cast
;
29867 #ifdef SWIGRUNTIME_DEBUG
29868 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
29871 /* if there is another module already loaded */
29872 if (swig_module
.next
!= &swig_module
) {
29873 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
29876 /* Overwrite clientdata field */
29877 #ifdef SWIGRUNTIME_DEBUG
29878 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
29880 if (swig_module
.type_initial
[i
]->clientdata
) {
29881 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
29882 #ifdef SWIGRUNTIME_DEBUG
29883 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
29887 type
= swig_module
.type_initial
[i
];
29890 /* Insert casting types */
29891 cast
= swig_module
.cast_initial
[i
];
29892 while (cast
->type
) {
29893 /* Don't need to add information already in the list */
29895 #ifdef SWIGRUNTIME_DEBUG
29896 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
29898 if (swig_module
.next
!= &swig_module
) {
29899 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
29900 #ifdef SWIGRUNTIME_DEBUG
29901 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
29905 if (type
== swig_module
.type_initial
[i
]) {
29906 #ifdef SWIGRUNTIME_DEBUG
29907 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
29912 /* Check for casting already in the list */
29913 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
29914 #ifdef SWIGRUNTIME_DEBUG
29915 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
29917 if (!ocast
) ret
= 0;
29922 #ifdef SWIGRUNTIME_DEBUG
29923 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
29926 type
->cast
->prev
= cast
;
29927 cast
->next
= type
->cast
;
29933 /* Set entry in modules->types array equal to the type */
29934 swig_module
.types
[i
] = type
;
29936 swig_module
.types
[i
] = 0;
29938 #ifdef SWIGRUNTIME_DEBUG
29939 printf("**** SWIG_InitializeModule: Cast List ******\n");
29940 for (i
= 0; i
< swig_module
.size
; ++i
) {
29942 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
29943 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
29944 while (cast
->type
) {
29945 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
29949 printf("---- Total casts: %d\n",j
);
29951 printf("**** SWIG_InitializeModule: Cast List ******\n");
29955 /* This function will propagate the clientdata field of type to
29956 * any new swig_type_info structures that have been added into the list
29957 * of equivalent types. It is like calling
29958 * SWIG_TypeClientData(type, clientdata) a second time.
29961 SWIG_PropagateClientData(void) {
29963 swig_cast_info
*equiv
;
29964 static int init_run
= 0;
29966 if (init_run
) return;
29969 for (i
= 0; i
< swig_module
.size
; i
++) {
29970 if (swig_module
.types
[i
]->clientdata
) {
29971 equiv
= swig_module
.types
[i
]->cast
;
29973 if (!equiv
->converter
) {
29974 if (equiv
->type
&& !equiv
->type
->clientdata
)
29975 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
29977 equiv
= equiv
->next
;
29997 /* Python-specific SWIG API */
29998 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29999 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30000 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30002 /* -----------------------------------------------------------------------------
30003 * global variable support code.
30004 * ----------------------------------------------------------------------------- */
30006 typedef struct swig_globalvar
{
30007 char *name
; /* Name of global variable */
30008 PyObject
*(*get_attr
)(void); /* Return the current value */
30009 int (*set_attr
)(PyObject
*); /* Set the value */
30010 struct swig_globalvar
*next
;
30013 typedef struct swig_varlinkobject
{
30015 swig_globalvar
*vars
;
30016 } swig_varlinkobject
;
30018 SWIGINTERN PyObject
*
30019 swig_varlink_repr(swig_varlinkobject
*v
) {
30021 return PyString_FromString("<Swig global variables>");
30025 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
30026 swig_globalvar
*var
;
30028 fprintf(fp
,"Swig global variables { ");
30029 for (var
= v
->vars
; var
; var
=var
->next
) {
30030 fprintf(fp
,"%s", var
->name
);
30031 if (var
->next
) fprintf(fp
,", ");
30033 fprintf(fp
," }\n");
30037 SWIGINTERN PyObject
*
30038 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30039 swig_globalvar
*var
= v
->vars
;
30041 if (strcmp(var
->name
,n
) == 0) {
30042 return (*var
->get_attr
)();
30046 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30051 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30052 swig_globalvar
*var
= v
->vars
;
30054 if (strcmp(var
->name
,n
) == 0) {
30055 return (*var
->set_attr
)(p
);
30059 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30063 SWIGINTERN PyTypeObject
*
30064 swig_varlink_type(void) {
30065 static char varlink__doc__
[] = "Swig var link object";
30066 static PyTypeObject varlink_type
30067 #if !defined(__cplusplus)
30069 static int type_init
= 0;
30074 PyObject_HEAD_INIT(&PyType_Type
)
30075 0, /* Number of items in variable part (ob_size) */
30076 (char *)"swigvarlink", /* Type name (tp_name) */
30077 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30078 0, /* Itemsize (tp_itemsize) */
30079 0, /* Deallocator (tp_dealloc) */
30080 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30081 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30082 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30083 0, /* tp_compare */
30084 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30085 0, /* tp_as_number */
30086 0, /* tp_as_sequence */
30087 0, /* tp_as_mapping */
30091 0, /* tp_getattro */
30092 0, /* tp_setattro */
30093 0, /* tp_as_buffer */
30095 varlink__doc__
, /* tp_doc */
30096 #if PY_VERSION_HEX >= 0x02000000
30097 0, /* tp_traverse */
30100 #if PY_VERSION_HEX >= 0x02010000
30101 0, /* tp_richcompare */
30102 0, /* tp_weaklistoffset */
30104 #if PY_VERSION_HEX >= 0x02020000
30105 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30107 #if PY_VERSION_HEX >= 0x02030000
30110 #ifdef COUNT_ALLOCS
30111 0,0,0,0 /* tp_alloc -> tp_next */
30114 #if !defined(__cplusplus)
30115 varlink_type
= tmp
;
30119 return &varlink_type
;
30122 /* Create a variable linking object for use later */
30123 SWIGINTERN PyObject
*
30124 SWIG_Python_newvarlink(void) {
30125 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
30129 return ((PyObject
*) result
);
30133 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
30134 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
30135 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
30137 size_t size
= strlen(name
)+1;
30138 gv
->name
= (char *)malloc(size
);
30140 strncpy(gv
->name
,name
,size
);
30141 gv
->get_attr
= get_attr
;
30142 gv
->set_attr
= set_attr
;
30143 gv
->next
= v
->vars
;
30149 /* -----------------------------------------------------------------------------
30150 * constants/methods manipulation
30151 * ----------------------------------------------------------------------------- */
30153 /* Install Constants */
30155 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30158 for (i
= 0; constants
[i
].type
; ++i
) {
30159 switch(constants
[i
].type
) {
30161 obj
= PyInt_FromLong(constants
[i
].lvalue
);
30163 case SWIG_PY_FLOAT
:
30164 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
30166 case SWIG_PY_STRING
:
30167 if (constants
[i
].pvalue
) {
30168 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
30170 Py_INCREF(Py_None
);
30174 case SWIG_PY_POINTER
:
30175 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30177 case SWIG_PY_BINARY
:
30178 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30185 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
30191 /* -----------------------------------------------------------------------------*/
30192 /* Fix SwigMethods to carry the callback ptrs when needed */
30193 /* -----------------------------------------------------------------------------*/
30196 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30197 swig_const_info
*const_table
,
30198 swig_type_info
**types
,
30199 swig_type_info
**types_initial
) {
30201 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30202 char *c
= methods
[i
].ml_doc
;
30203 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30205 swig_const_info
*ci
= 0;
30206 char *name
= c
+ 10;
30207 for (j
= 0; const_table
[j
].type
; ++j
) {
30208 if (strncmp(const_table
[j
].name
, name
,
30209 strlen(const_table
[j
].name
)) == 0) {
30210 ci
= &(const_table
[j
]);
30215 size_t shift
= (ci
->ptype
) - types
;
30216 swig_type_info
*ty
= types_initial
[shift
];
30217 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30218 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30219 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30222 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
30224 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30226 strncpy(buff
, "swig_ptr: ", 10);
30228 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30229 methods
[i
].ml_doc
= ndoc
;
30237 /* -----------------------------------------------------------------------------*
30238 * Initialize type list
30239 * -----------------------------------------------------------------------------*/
30245 /* -----------------------------------------------------------------------------*
30246 * Partial Init method
30247 * -----------------------------------------------------------------------------*/
30252 SWIGEXPORT
void SWIG_init(void) {
30253 static PyObject
*SWIG_globals
= 0;
30255 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30257 /* Fix SwigMethods to carry the callback ptrs when needed */
30258 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
30260 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30261 d
= PyModule_GetDict(m
);
30263 SWIG_InitializeModule(0);
30264 SWIG_InstallConstants(d
,swig_const_table
);
30266 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30267 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30268 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30269 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30270 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30272 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP
)));
30275 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE
)));
30278 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE
)));
30281 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE
)));
30284 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX
)));
30287 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME
)));
30290 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU
)));
30293 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX
)));
30296 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX
)));
30299 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ
)));
30302 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT
)));
30305 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX
)));
30308 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER
)));
30311 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT
)));
30314 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE
)));
30317 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE
)));
30320 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW
)));
30323 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT
)));
30326 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU
)));
30329 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR
)));
30332 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED
)));
30335 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER
)));
30338 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL
)));
30341 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL
)));
30344 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL
)));
30347 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS
)));
30350 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS
)));
30353 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D
)));
30356 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR
)));
30359 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR
)));
30362 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR
)));
30365 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER
)));
30368 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION
)));
30371 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL
)));
30374 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG
)));
30377 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO
)));
30380 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR
)));
30383 PyDict_SetItemString(d
,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags
)));
30386 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT
)));
30389 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN
)));
30392 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE
)));
30395 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT
)));
30398 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT
)));
30401 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL
)));
30404 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT
)));
30407 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED
)));
30409 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30411 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER
)));
30414 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH
)));
30417 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT
)));
30420 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE
)));
30423 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH
)));
30426 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER
)));
30429 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME
)));
30432 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER
)));
30435 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D
)));
30438 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL
)));
30441 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL
)));
30444 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE
)));
30447 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING
)));
30450 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN
)));
30452 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30453 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30454 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30455 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30456 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30457 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30459 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE
)));
30462 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING
)));
30465 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN
)));
30468 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER
)));
30471 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER
)));
30474 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH
)));
30477 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER
)));
30480 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D
)));
30483 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP
)));
30486 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT
)));
30489 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM
)));
30492 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT
)));
30495 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE
)));
30498 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK
)));
30501 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE
)));
30503 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30505 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL
)));
30508 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL
)));
30511 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE
)));
30514 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP
)));
30517 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT
)));
30520 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT
)));
30523 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM
)));
30526 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y
)));
30529 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X
)));
30532 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH
)));
30535 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY
)));
30537 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30538 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30539 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30541 // Map renamed classes back to their common name for OOR
30542 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30543 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30544 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30546 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30547 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30548 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30549 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30550 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30551 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30552 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30553 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30554 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30555 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30556 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30557 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30558 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30560 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE
)));
30563 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle
)));
30565 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30567 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN
)));
30570 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD
)));
30573 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE
)));
30576 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG
)));
30579 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN
)));
30582 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE
)));
30585 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD
)));
30587 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30588 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30589 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30590 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30591 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30593 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30596 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30599 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30602 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30605 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30608 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30611 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30614 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30617 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30619 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30620 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30622 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE
)));
30625 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW
)));
30628 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE
)));
30631 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER
)));
30634 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM
)));
30637 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT
)));
30640 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE
)));
30643 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER
)));
30646 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE
)));
30649 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL
)));
30652 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE
)));
30655 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL
)));
30658 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO
)));
30661 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR
)));
30664 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT
)));
30667 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT
)));
30670 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY
)));
30673 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE
)));
30676 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE
)));
30679 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER
)));
30682 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR
)));
30685 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED
)));
30688 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR
)));
30691 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT
)));
30694 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS
)));
30697 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT
)));
30700 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM
)));
30703 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST
)));
30706 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST
)));
30709 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO
)));
30712 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT
)));
30715 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE
)));
30718 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT
)));
30721 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS
)));
30724 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT
)));
30727 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM
)));
30730 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST
)));
30733 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST
)));
30736 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO
)));
30739 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");