1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_unsigned_char swig_types[3]
1439 #define SWIGTYPE_p_unsigned_int swig_types[4]
1440 #define SWIGTYPE_p_unsigned_long swig_types[5]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[6]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
1444 #define SWIGTYPE_p_wxArrayInt swig_types[9]
1445 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1446 #define SWIGTYPE_p_wxBitmap swig_types[11]
1447 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1448 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1449 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1450 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1451 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1452 #define SWIGTYPE_p_wxColour swig_types[17]
1453 #define SWIGTYPE_p_wxColourData swig_types[18]
1454 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1455 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1456 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1457 #define SWIGTYPE_p_wxControl swig_types[22]
1458 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1459 #define SWIGTYPE_p_wxDC swig_types[24]
1460 #define SWIGTYPE_p_wxDateEvent swig_types[25]
1461 #define SWIGTYPE_p_wxDialog swig_types[26]
1462 #define SWIGTYPE_p_wxDirDialog swig_types[27]
1463 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1465 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
1466 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
1467 #define SWIGTYPE_p_wxEvent swig_types[32]
1468 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
1469 #define SWIGTYPE_p_wxFSFile swig_types[34]
1470 #define SWIGTYPE_p_wxFileDialog swig_types[35]
1471 #define SWIGTYPE_p_wxFileSystem swig_types[36]
1472 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1473 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1474 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1475 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1476 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
1477 #define SWIGTYPE_p_wxFont swig_types[42]
1478 #define SWIGTYPE_p_wxFontData swig_types[43]
1479 #define SWIGTYPE_p_wxFontDialog swig_types[44]
1480 #define SWIGTYPE_p_wxFrame swig_types[45]
1481 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1482 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
1483 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
1484 #define SWIGTYPE_p_wxGridSizer swig_types[49]
1485 #define SWIGTYPE_p_wxICOHandler swig_types[50]
1486 #define SWIGTYPE_p_wxIcon swig_types[51]
1487 #define SWIGTYPE_p_wxIconBundle swig_types[52]
1488 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1489 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
1490 #define SWIGTYPE_p_wxImage swig_types[55]
1491 #define SWIGTYPE_p_wxImageHandler swig_types[56]
1492 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
1493 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
1494 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
1495 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
1496 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
1497 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
1498 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
1499 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
1500 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
1501 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
1502 #define SWIGTYPE_p_wxMenu swig_types[67]
1503 #define SWIGTYPE_p_wxMenuBar swig_types[68]
1504 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
1505 #define SWIGTYPE_p_wxMenuItem swig_types[70]
1506 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
1507 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
1508 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
1509 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
1510 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
1511 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
1512 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
1513 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
1514 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
1515 #define SWIGTYPE_p_wxObject swig_types[80]
1516 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
1517 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
1518 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
1519 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
1520 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
1521 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
1522 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1523 #define SWIGTYPE_p_wxPanel swig_types[88]
1524 #define SWIGTYPE_p_wxPaperSize swig_types[89]
1525 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
1526 #define SWIGTYPE_p_wxPoint swig_types[91]
1527 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
1528 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
1529 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
1530 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
1531 #define SWIGTYPE_p_wxPrintData swig_types[96]
1532 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
1533 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
1534 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
1535 #define SWIGTYPE_p_wxPrinter swig_types[100]
1536 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
1537 #define SWIGTYPE_p_wxPyApp swig_types[102]
1538 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
1539 #define SWIGTYPE_p_wxPyEvent swig_types[104]
1540 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
1541 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
1542 #define SWIGTYPE_p_wxPyPanel swig_types[107]
1543 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
1544 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
1545 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
1546 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
1547 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
1548 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
1549 #define SWIGTYPE_p_wxPySizer swig_types[114]
1550 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
1551 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
1552 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
1553 #define SWIGTYPE_p_wxPyValidator swig_types[118]
1554 #define SWIGTYPE_p_wxPyWindow swig_types[119]
1555 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
1556 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
1557 #define SWIGTYPE_p_wxRect swig_types[122]
1558 #define SWIGTYPE_p_wxRegion swig_types[123]
1559 #define SWIGTYPE_p_wxSashEvent swig_types[124]
1560 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
1561 #define SWIGTYPE_p_wxSashWindow swig_types[126]
1562 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
1563 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
1564 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
1565 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
1566 #define SWIGTYPE_p_wxShowEvent swig_types[131]
1567 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
1568 #define SWIGTYPE_p_wxSize swig_types[133]
1569 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
1570 #define SWIGTYPE_p_wxSizer swig_types[135]
1571 #define SWIGTYPE_p_wxSizerItem swig_types[136]
1572 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
1573 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
1574 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
1575 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
1576 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
1577 #define SWIGTYPE_p_wxStatusBar swig_types[142]
1578 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
1579 #define SWIGTYPE_p_wxString swig_types[144]
1580 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
1581 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
1582 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
1583 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
1584 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
1585 #define SWIGTYPE_p_wxTipWindow swig_types[150]
1586 #define SWIGTYPE_p_wxToolBar swig_types[151]
1587 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
1588 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
1589 #define SWIGTYPE_p_wxValidator swig_types[154]
1590 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
1591 #define SWIGTYPE_p_wxWindow swig_types[156]
1592 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
1593 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
1594 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
1595 #define SWIGTYPE_ptrdiff_t swig_types[160]
1596 #define SWIGTYPE_std__ptrdiff_t swig_types[161]
1597 #define SWIGTYPE_unsigned_int swig_types[162]
1598 static swig_type_info
*swig_types
[164];
1599 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
1600 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1601 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1603 /* -------- TYPES TABLE (END) -------- */
1606 /*-----------------------------------------------
1607 @(target):= _windows_.so
1608 ------------------------------------------------*/
1609 #define SWIG_init init_windows_
1611 #define SWIG_name "_windows_"
1613 #include "wx/wxPython/wxPython.h"
1614 #include "wx/wxPython/pyclasses.h"
1617 static const wxString
wxPyEmptyString(wxEmptyString
);
1618 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1626 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1629 if (value
< min_value
) {
1631 PyErr_Format(PyExc_OverflowError
,
1632 "value %ld is less than '%s' minimum %ld",
1633 value
, errmsg
, min_value
);
1636 } else if (value
> max_value
) {
1638 PyErr_Format(PyExc_OverflowError
,
1639 "value %ld is greater than '%s' maximum %ld",
1640 value
, errmsg
, max_value
);
1649 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1651 if (PyNumber_Check(obj
)) {
1652 if (val
) *val
= PyInt_AsLong(obj
);
1656 SWIG_Python_TypeError("number", obj
);
1662 #if INT_MAX != LONG_MAX
1664 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1666 const char* errmsg
= val
? "int" : (char*)0;
1668 if (SWIG_AsVal_long(obj
, &v
)) {
1669 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1670 if (val
) *val
= static_cast<int >(v
);
1679 SWIG_type_error(errmsg
, obj
);
1684 SWIGINTERNINLINE
int
1685 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1687 return SWIG_AsVal_long(obj
,(long*)val
);
1692 SWIGINTERNINLINE
int
1693 SWIG_As_int(PyObject
* obj
)
1696 if (!SWIG_AsVal_int(obj
, &v
)) {
1698 this is needed to make valgrind/purify happier.
1700 memset((void*)&v
, 0, sizeof(int));
1706 SWIGINTERNINLINE
long
1707 SWIG_As_long(PyObject
* obj
)
1710 if (!SWIG_AsVal_long(obj
, &v
)) {
1712 this is needed to make valgrind/purify happier.
1714 memset((void*)&v
, 0, sizeof(long));
1720 SWIGINTERNINLINE
int
1721 SWIG_Check_int(PyObject
* obj
)
1723 return SWIG_AsVal_int(obj
, (int*)0);
1727 SWIGINTERNINLINE
int
1728 SWIG_Check_long(PyObject
* obj
)
1730 return SWIG_AsVal_long(obj
, (long*)0);
1735 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1737 if (obj
== Py_True
) {
1738 if (val
) *val
= true;
1741 if (obj
== Py_False
) {
1742 if (val
) *val
= false;
1746 if (SWIG_AsVal_int(obj
, &res
)) {
1747 if (val
) *val
= res
? true : false;
1753 SWIG_type_error("bool", obj
);
1759 SWIGINTERNINLINE
bool
1760 SWIG_As_bool(PyObject
* obj
)
1763 if (!SWIG_AsVal_bool(obj
, &v
)) {
1765 this is needed to make valgrind/purify happier.
1767 memset((void*)&v
, 0, sizeof(bool));
1773 SWIGINTERNINLINE
int
1774 SWIG_Check_bool(PyObject
* obj
)
1776 return SWIG_AsVal_bool(obj
, (bool*)0);
1780 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1781 #define SWIG_From_int PyInt_FromLong
1785 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1791 } else if (result
== Py_None
) {
1795 if (!PyTuple_Check(result
)) {
1797 result
= PyTuple_New(1);
1798 PyTuple_SET_ITEM(result
, 0, o2
);
1800 o3
= PyTuple_New(1);
1801 PyTuple_SetItem(o3
, 0, obj
);
1803 result
= PySequence_Concat(o2
, o3
);
1813 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1815 if (PyNumber_Check(obj
)) {
1816 if (val
) *val
= PyFloat_AsDouble(obj
);
1820 SWIG_Python_TypeError("number", obj
);
1826 SWIGINTERNINLINE
double
1827 SWIG_As_double(PyObject
* obj
)
1830 if (!SWIG_AsVal_double(obj
, &v
)) {
1832 this is needed to make valgrind/purify happier.
1834 memset((void*)&v
, 0, sizeof(double));
1840 SWIGINTERNINLINE
int
1841 SWIG_Check_double(PyObject
* obj
)
1843 return SWIG_AsVal_double(obj
, (double*)0);
1847 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1848 #define SWIG_From_double PyFloat_FromDouble
1851 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1852 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1853 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1854 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1855 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1856 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1858 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1859 #define SWIG_From_long PyInt_FromLong
1864 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1866 self
->GetFieldRect(i
, r
);
1869 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1870 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1871 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1873 #include <wx/popupwin.h>
1876 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1879 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1880 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1881 : wxPopupTransientWindow(parent
, style
) {}
1883 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1884 DEC_PYCALLBACK__(OnDismiss
);
1885 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1890 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1891 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1892 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1895 #include <wx/tipwin.h>
1897 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1898 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1901 #include <wx/tipwin.h>
1904 #include <wx/vscroll.h>
1907 class wxPyVScrolledWindow
: public wxVScrolledWindow
1909 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
1911 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1913 wxPyVScrolledWindow(wxWindow
*parent
,
1914 wxWindowID id
= wxID_ANY
,
1915 const wxPoint
& pos
= wxDefaultPosition
,
1916 const wxSize
& size
= wxDefaultSize
,
1918 const wxString
& name
= wxPyPanelNameStr
)
1919 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1922 // Overridable virtuals
1924 // this function must be overridden in the derived class and it should
1925 // return the height of the given line in pixels
1926 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1929 // this function doesn't have to be overridden but it may be useful to do
1930 // it if calculating the lines heights is a relatively expensive operation
1931 // as it gives the user code a possibility to calculate several of them at
1934 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1935 // shouldn't rely on the latter being called for all lines in the interval
1936 // specified here. It is also possible that OnGetLineHeight() will be
1937 // called for the lines outside of this interval, so this is really just a
1938 // hint, not a promise.
1940 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1942 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1945 // when the number of lines changes, we try to estimate the total height
1946 // of all lines which is a rather expensive operation in terms of lines
1947 // access, so if the user code may estimate the average height
1948 // better/faster than we do, it should override this function to implement
1951 // this function should return the best guess for the total height it may
1953 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1956 // Also expose some other interesting protected methods
1959 // find the index of the line we need to show at the top of the window such
1960 // that the last (fully or partially) visible line is the given one
1961 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1962 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1964 // get the total height of the lines between lineMin (inclusive) and
1965 // lineMax (exclusive)
1966 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1967 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1973 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1975 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1976 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1977 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1981 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1984 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1985 SWIG_Python_TypeError("unsigned number", obj
);
1988 *val
= (unsigned long)v
;
1993 SWIGINTERNINLINE
unsigned long
1994 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1997 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1999 this is needed to make valgrind/purify happier.
2001 memset((void*)&v
, 0, sizeof(unsigned long));
2007 SWIGINTERNINLINE
int
2008 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2010 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2014 SWIGINTERNINLINE PyObject
*
2015 SWIG_From_unsigned_SS_long(unsigned long value
)
2017 return (value
> LONG_MAX
) ?
2018 PyLong_FromUnsignedLong(value
)
2019 : PyInt_FromLong(static_cast<long >(value
));
2023 #include <wx/vlbox.h>
2025 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2027 class wxPyVListBox
: public wxVListBox
2029 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2031 wxPyVListBox() : wxVListBox() {}
2033 wxPyVListBox(wxWindow
*parent
,
2034 wxWindowID id
= wxID_ANY
,
2035 const wxPoint
& pos
= wxDefaultPosition
,
2036 const wxSize
& size
= wxDefaultSize
,
2038 const wxString
& name
= wxPyVListBoxNameStr
)
2039 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2042 // Overridable virtuals
2044 // the derived class must implement this function to actually draw the item
2045 // with the given index on the provided DC
2046 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2047 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2050 // the derived class must implement this method to return the height of the
2052 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2053 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
2056 // this method may be used to draw separators between the lines; note that
2057 // the rectangle may be modified, typically to deflate it a bit before
2058 // passing to OnDrawItem()
2060 // the base class version doesn't do anything
2061 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2062 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
2065 // this method is used to draw the items background and, maybe, a border
2068 // the base class version implements a reasonable default behaviour which
2069 // consists in drawing the selected item with the standard background
2070 // colour and drawing a border around the item if it is either selected or
2072 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2073 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
2079 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
2081 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
2082 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
2083 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
2084 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
2087 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
2088 unsigned long cookie
= 0;
2089 int selected
= self
->GetFirstSelected(cookie
);
2090 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2091 PyObject
* tup
= PyTuple_New(2);
2092 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2093 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2094 wxPyEndBlockThreads(blocked
);
2097 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
2098 int selected
= self
->GetNextSelected(cookie
);
2099 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2100 PyObject
* tup
= PyTuple_New(2);
2101 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2102 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2103 wxPyEndBlockThreads(blocked
);
2107 #include <wx/htmllbox.h>
2110 class wxPyHtmlListBox
: public wxHtmlListBox
2112 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
2114 wxPyHtmlListBox() : wxHtmlListBox() {}
2116 wxPyHtmlListBox(wxWindow
*parent
,
2117 wxWindowID id
= wxID_ANY
,
2118 const wxPoint
& pos
= wxDefaultPosition
,
2119 const wxSize
& size
= wxDefaultSize
,
2121 const wxString
& name
= wxPyVListBoxNameStr
)
2122 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
2125 // Overridable virtuals
2127 // this method must be implemented in the derived class and should return
2128 // the body (i.e. without <html>) of the HTML for the given item
2129 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
2131 // this function may be overridden to decorate HTML returned by OnGetItem()
2132 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
2135 // // this method allows to customize the selection appearance: it may be used
2136 // // to specify the colour of the text which normally has the given colour
2137 // // colFg when it is inside the selection
2139 // // by default, the original colour is not used at all and all text has the
2140 // // same (default for this system) colour inside selection
2141 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2143 // // this is the same as GetSelectedTextColour() but allows to customize the
2144 // // background colour -- this is even more rarely used as you can change it
2145 // // globally using SetSelectionBackground()
2146 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2153 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
2155 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
2156 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2162 #ifndef wxHAS_TASK_BAR_ICON
2163 // implement dummy classes for platforms that don't have it
2165 class wxTaskBarIcon
: public wxEvtHandler
2168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2172 class wxTaskBarIconEvent
: public wxEvent
2175 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2176 { wxPyRaiseNotImplemented(); }
2177 virtual wxEvent
* Clone() const { return NULL
; }
2178 bool IsOk() const { return false; }
2179 bool IsIconInstalled() const { return false; }
2180 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2181 bool RemoveIcon() { return false; }
2182 bool PopupMenu(wxMenu
*menu
) { return false; }
2186 wxEVT_TASKBAR_MOVE
= 0,
2187 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2188 wxEVT_TASKBAR_LEFT_UP
= 0,
2189 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2190 wxEVT_TASKBAR_RIGHT_UP
= 0,
2191 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2192 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2197 // Otherwise make a class that can virtualize CreatePopupMenu
2198 class wxPyTaskBarIcon
: public wxTaskBarIcon
2200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
2202 wxPyTaskBarIcon() : wxTaskBarIcon()
2205 wxMenu
* CreatePopupMenu() {
2206 wxMenu
*rval
= NULL
;
2208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2209 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2212 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2214 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2219 wxPyEndBlockThreads(blocked
);
2221 rval
= wxTaskBarIcon::CreatePopupMenu();
2228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2232 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2236 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2237 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2238 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2239 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2240 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2241 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2242 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2244 self
->GetFilenames(arr
);
2245 return wxArrayString2PyList_helper(arr
);
2247 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2249 self
->GetPaths(arr
);
2250 return wxArrayString2PyList_helper(arr
);
2252 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2253 return wxArrayInt2PyList_helper(self
->GetSelections());
2255 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
2256 return new wxSingleChoiceDialog(parent
, message
, caption
,
2257 choices
, choices_array
, NULL
, style
, pos
);
2259 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2263 // C++ version of Python aware wxWindow
2264 class wxPyWindow
: public wxWindow
2266 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2268 wxPyWindow() : wxWindow() {}
2269 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2270 const wxPoint
& pos
= wxDefaultPosition
,
2271 const wxSize
& size
= wxDefaultSize
,
2273 const wxString
& name
= wxPyPanelNameStr
)
2274 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2276 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2278 bool DoEraseBackground(wxDC
* dc
) {
2280 return wxWindow::DoEraseBackground(dc
->GetHDC());
2282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2300 DEC_PYCALLBACK__(InitDialog
);
2301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2303 DEC_PYCALLBACK_BOOL_(Validate
);
2305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2336 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2348 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2353 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
2355 // C++ version of Python aware wxPanel
2356 class wxPyPanel
: public wxPanel
2358 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2360 wxPyPanel() : wxPanel() {}
2361 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2362 const wxPoint
& pos
= wxDefaultPosition
,
2363 const wxSize
& size
= wxDefaultSize
,
2365 const wxString
& name
= wxPyPanelNameStr
)
2366 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2368 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2369 bool DoEraseBackground(wxDC
* dc
) {
2371 return wxWindow::DoEraseBackground(dc
->GetHDC());
2373 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2381 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2392 DEC_PYCALLBACK__(InitDialog
);
2393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2395 DEC_PYCALLBACK_BOOL_(Validate
);
2397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2399 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2409 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2428 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2440 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2443 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2445 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
2447 // C++ version of Python aware wxScrolledWindow
2448 class wxPyScrolledWindow
: public wxScrolledWindow
2450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2452 wxPyScrolledWindow() : wxScrolledWindow() {}
2453 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2454 const wxPoint
& pos
= wxDefaultPosition
,
2455 const wxSize
& size
= wxDefaultSize
,
2457 const wxString
& name
= wxPyPanelNameStr
)
2458 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2460 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2461 bool DoEraseBackground(wxDC
* dc
) {
2463 return wxWindow::DoEraseBackground(dc
->GetHDC());
2465 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2472 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2483 DEC_PYCALLBACK__(InitDialog
);
2484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2486 DEC_PYCALLBACK_BOOL_(Validate
);
2488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2490 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2500 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2519 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
2539 #include "wx/wxPython/printfw.h"
2542 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2543 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2544 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2546 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2547 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2548 self
->GetPrivDataLen());
2549 wxPyEndBlockThreads(blocked
);
2552 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2553 if (! PyString_Check(data
)) {
2554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2555 "Expected string object"));
2559 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2560 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2561 wxPyEndBlockThreads(blocked
);
2565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2567 // Since this one would be tough and ugly to do with the Macros...
2568 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2569 bool hadErr
= false;
2572 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2573 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2574 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2575 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2578 val
= PyTuple_GetItem(result
, 0);
2579 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2582 val
= PyTuple_GetItem(result
, 1);
2583 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2586 val
= PyTuple_GetItem(result
, 2);
2587 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2590 val
= PyTuple_GetItem(result
, 3);
2591 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2598 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2603 wxPyEndBlockThreads(blocked
);
2605 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2610 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2615 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2616 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2622 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
2626 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2632 PyObject* win = wxPyMake_wxObject(a,false); \
2633 PyObject* dc = wxPyMake_wxObject(&b,false); \
2634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2638 wxPyEndBlockThreads(blocked); \
2640 rval = 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_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
= NULL
;
4067 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4069 PyObject
* obj0
= 0 ;
4070 PyObject
* obj1
= 0 ;
4072 (char *) "self",(char *) "dc", NULL
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
4076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4077 if (SWIG_arg_fail(1)) SWIG_fail
;
4079 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4080 if (SWIG_arg_fail(2)) SWIG_fail
;
4082 SWIG_null_ref("wxDC");
4084 if (SWIG_arg_fail(2)) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 (arg1
)->DoPrepareDC(*arg2
);
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 Py_INCREF(Py_None
); resultobj
= Py_None
;
4100 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
= NULL
;
4102 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4103 wxVisualAttributes result
;
4104 PyObject
* obj0
= 0 ;
4106 (char *) "variant", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4112 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4113 if (SWIG_arg_fail(1)) SWIG_fail
;
4117 if (!wxPyCheckForApp()) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4125 wxVisualAttributes
* resultptr
;
4126 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4135 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4138 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4140 return Py_BuildValue((char *)"");
4142 static int _wrap_FrameNameStr_set(PyObject
*) {
4143 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4148 static PyObject
*_wrap_FrameNameStr_get(void) {
4149 PyObject
*pyobj
= NULL
;
4153 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4155 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4162 static int _wrap_DialogNameStr_set(PyObject
*) {
4163 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4168 static PyObject
*_wrap_DialogNameStr_get(void) {
4169 PyObject
*pyobj
= NULL
;
4173 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4175 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4182 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4183 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4188 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4189 PyObject
*pyobj
= NULL
;
4193 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4195 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4202 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4203 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4208 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4209 PyObject
*pyobj
= NULL
;
4213 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4215 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4222 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
= NULL
;
4224 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4225 bool arg2
= (bool) true ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4229 (char *) "self",(char *) "maximize", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4234 if (SWIG_arg_fail(1)) SWIG_fail
;
4237 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4238 if (SWIG_arg_fail(2)) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 (arg1
)->Maximize(arg2
);
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 Py_INCREF(Py_None
); resultobj
= Py_None
;
4255 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
= NULL
;
4257 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4258 PyObject
* obj0
= 0 ;
4260 (char *) "self", NULL
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4265 if (SWIG_arg_fail(1)) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 wxPyEndAllowThreads(__tstate
);
4271 if (PyErr_Occurred()) SWIG_fail
;
4273 Py_INCREF(Py_None
); resultobj
= Py_None
;
4280 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
*resultobj
= NULL
;
4282 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4283 bool arg2
= (bool) true ;
4284 PyObject
* obj0
= 0 ;
4285 PyObject
* obj1
= 0 ;
4287 (char *) "self",(char *) "iconize", NULL
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4292 if (SWIG_arg_fail(1)) SWIG_fail
;
4295 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4296 if (SWIG_arg_fail(2)) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 (arg1
)->Iconize(arg2
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 Py_INCREF(Py_None
); resultobj
= Py_None
;
4313 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
= NULL
;
4315 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4317 PyObject
* obj0
= 0 ;
4319 (char *) "self", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4324 if (SWIG_arg_fail(1)) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4341 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= NULL
;
4343 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4345 PyObject
* obj0
= 0 ;
4347 (char *) "self", NULL
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4352 if (SWIG_arg_fail(1)) SWIG_fail
;
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4369 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
= NULL
;
4371 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4375 (char *) "self", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4380 if (SWIG_arg_fail(1)) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4390 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
4391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4399 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
= NULL
;
4401 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4406 (char *) "self",(char *) "icon", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4411 if (SWIG_arg_fail(1)) SWIG_fail
;
4413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4414 if (SWIG_arg_fail(2)) SWIG_fail
;
4416 SWIG_null_ref("wxIcon");
4418 if (SWIG_arg_fail(2)) SWIG_fail
;
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 Py_INCREF(Py_None
); resultobj
= Py_None
;
4434 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
= NULL
;
4436 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4437 wxIconBundle
*arg2
= 0 ;
4438 PyObject
* obj0
= 0 ;
4439 PyObject
* obj1
= 0 ;
4441 (char *) "self",(char *) "icons", NULL
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4446 if (SWIG_arg_fail(1)) SWIG_fail
;
4448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4449 if (SWIG_arg_fail(2)) SWIG_fail
;
4451 SWIG_null_ref("wxIconBundle");
4453 if (SWIG_arg_fail(2)) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 Py_INCREF(Py_None
); resultobj
= Py_None
;
4469 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
= NULL
;
4471 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4473 long arg3
= (long) wxFULLSCREEN_ALL
;
4475 PyObject
* obj0
= 0 ;
4476 PyObject
* obj1
= 0 ;
4477 PyObject
* obj2
= 0 ;
4479 (char *) "self",(char *) "show",(char *) "style", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4484 if (SWIG_arg_fail(1)) SWIG_fail
;
4486 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4487 if (SWIG_arg_fail(2)) SWIG_fail
;
4491 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4492 if (SWIG_arg_fail(3)) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4511 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
= NULL
;
4513 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4515 PyObject
* obj0
= 0 ;
4517 (char *) "self", NULL
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4522 if (SWIG_arg_fail(1)) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4539 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
= NULL
;
4541 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4542 wxString
*arg2
= 0 ;
4543 bool temp2
= false ;
4544 PyObject
* obj0
= 0 ;
4545 PyObject
* obj1
= 0 ;
4547 (char *) "self",(char *) "title", NULL
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4552 if (SWIG_arg_fail(1)) SWIG_fail
;
4554 arg2
= wxString_in_helper(obj1
);
4555 if (arg2
== NULL
) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 (arg1
)->SetTitle((wxString
const &)*arg2
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 Py_INCREF(Py_None
); resultobj
= Py_None
;
4580 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
= NULL
;
4582 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4586 (char *) "self", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4612 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
*resultobj
= NULL
;
4614 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4615 wxRegion
*arg2
= 0 ;
4617 PyObject
* obj0
= 0 ;
4618 PyObject
* obj1
= 0 ;
4620 (char *) "self",(char *) "region", NULL
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4625 if (SWIG_arg_fail(1)) SWIG_fail
;
4627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4628 if (SWIG_arg_fail(2)) SWIG_fail
;
4630 SWIG_null_ref("wxRegion");
4632 if (SWIG_arg_fail(2)) SWIG_fail
;
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4650 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
= NULL
;
4652 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4653 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4654 PyObject
* obj0
= 0 ;
4655 PyObject
* obj1
= 0 ;
4657 (char *) "self",(char *) "flags", NULL
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4662 if (SWIG_arg_fail(1)) SWIG_fail
;
4665 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4666 if (SWIG_arg_fail(2)) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 (arg1
)->RequestUserAttention(arg2
);
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 Py_INCREF(Py_None
); resultobj
= Py_None
;
4683 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
= NULL
;
4685 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4689 (char *) "self", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4694 if (SWIG_arg_fail(1)) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 result
= (bool)(arg1
)->IsActive();
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4711 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
*resultobj
= NULL
;
4713 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4718 (char *) "self",(char *) "on", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4723 if (SWIG_arg_fail(1)) SWIG_fail
;
4725 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4726 if (SWIG_arg_fail(2)) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4735 Py_INCREF(Py_None
); resultobj
= Py_None
;
4742 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
= NULL
;
4744 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4746 PyObject
* obj0
= 0 ;
4748 (char *) "self", NULL
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4753 if (SWIG_arg_fail(1)) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4770 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4773 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4775 return Py_BuildValue((char *)"");
4777 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
= NULL
;
4779 wxWindow
*arg1
= (wxWindow
*) 0 ;
4780 int arg2
= (int) (int)-1 ;
4781 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4782 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4783 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4784 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4785 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4786 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4787 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4788 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4789 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4791 bool temp3
= false ;
4794 bool temp7
= false ;
4795 PyObject
* obj0
= 0 ;
4796 PyObject
* obj1
= 0 ;
4797 PyObject
* obj2
= 0 ;
4798 PyObject
* obj3
= 0 ;
4799 PyObject
* obj4
= 0 ;
4800 PyObject
* obj5
= 0 ;
4801 PyObject
* obj6
= 0 ;
4803 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4808 if (SWIG_arg_fail(1)) SWIG_fail
;
4811 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
4812 if (SWIG_arg_fail(2)) SWIG_fail
;
4817 arg3
= wxString_in_helper(obj2
);
4818 if (arg3
== NULL
) SWIG_fail
;
4825 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4831 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4836 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4837 if (SWIG_arg_fail(6)) SWIG_fail
;
4842 arg7
= wxString_in_helper(obj6
);
4843 if (arg7
== NULL
) SWIG_fail
;
4848 if (!wxPyCheckForApp()) SWIG_fail
;
4849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4878 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
= NULL
;
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4887 if (!wxPyCheckForApp()) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (wxFrame
*)new wxFrame();
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4901 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
= NULL
;
4903 wxFrame
*arg1
= (wxFrame
*) 0 ;
4904 wxWindow
*arg2
= (wxWindow
*) 0 ;
4905 int arg3
= (int) (int)-1 ;
4906 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4907 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4908 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4909 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4910 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4911 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4912 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4913 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4914 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4916 bool temp4
= false ;
4919 bool temp8
= false ;
4920 PyObject
* obj0
= 0 ;
4921 PyObject
* obj1
= 0 ;
4922 PyObject
* obj2
= 0 ;
4923 PyObject
* obj3
= 0 ;
4924 PyObject
* obj4
= 0 ;
4925 PyObject
* obj5
= 0 ;
4926 PyObject
* obj6
= 0 ;
4927 PyObject
* obj7
= 0 ;
4929 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4934 if (SWIG_arg_fail(1)) SWIG_fail
;
4935 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4936 if (SWIG_arg_fail(2)) SWIG_fail
;
4939 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
4940 if (SWIG_arg_fail(3)) SWIG_fail
;
4945 arg4
= wxString_in_helper(obj3
);
4946 if (arg4
== NULL
) SWIG_fail
;
4953 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4959 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4964 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4965 if (SWIG_arg_fail(7)) SWIG_fail
;
4970 arg8
= wxString_in_helper(obj7
);
4971 if (arg8
== NULL
) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5007 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
= NULL
;
5009 wxFrame
*arg1
= (wxFrame
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5013 (char *) "self", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
5017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5027 wxPoint
* resultptr
;
5028 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5037 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
= NULL
;
5039 wxFrame
*arg1
= (wxFrame
*) 0 ;
5040 PyObject
* obj0
= 0 ;
5042 (char *) "self", NULL
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
5046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5047 if (SWIG_arg_fail(1)) SWIG_fail
;
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 (arg1
)->SendSizeEvent();
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 Py_INCREF(Py_None
); resultobj
= Py_None
;
5062 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= NULL
;
5064 wxFrame
*arg1
= (wxFrame
*) 0 ;
5065 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
5066 PyObject
* obj0
= 0 ;
5067 PyObject
* obj1
= 0 ;
5069 (char *) "self",(char *) "menubar", NULL
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5074 if (SWIG_arg_fail(1)) SWIG_fail
;
5075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
5076 if (SWIG_arg_fail(2)) SWIG_fail
;
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 (arg1
)->SetMenuBar(arg2
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 Py_INCREF(Py_None
); resultobj
= Py_None
;
5091 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
*resultobj
= NULL
;
5093 wxFrame
*arg1
= (wxFrame
*) 0 ;
5095 PyObject
* obj0
= 0 ;
5097 (char *) "self", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
5101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= wxPyMake_wxObject(result
, 0);
5119 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
*resultobj
= NULL
;
5121 wxFrame
*arg1
= (wxFrame
*) 0 ;
5124 PyObject
* obj0
= 0 ;
5125 PyObject
* obj1
= 0 ;
5127 (char *) "self",(char *) "winid", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5132 if (SWIG_arg_fail(1)) SWIG_fail
;
5134 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5135 if (SWIG_arg_fail(2)) SWIG_fail
;
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5153 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
= NULL
;
5155 wxFrame
*arg1
= (wxFrame
*) 0 ;
5156 int arg2
= (int) 1 ;
5157 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5158 int arg4
= (int) 0 ;
5159 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5160 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5161 wxStatusBar
*result
;
5162 bool temp5
= false ;
5163 PyObject
* obj0
= 0 ;
5164 PyObject
* obj1
= 0 ;
5165 PyObject
* obj2
= 0 ;
5166 PyObject
* obj3
= 0 ;
5167 PyObject
* obj4
= 0 ;
5169 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5174 if (SWIG_arg_fail(1)) SWIG_fail
;
5177 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5178 if (SWIG_arg_fail(2)) SWIG_fail
;
5183 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5184 if (SWIG_arg_fail(3)) SWIG_fail
;
5189 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5190 if (SWIG_arg_fail(4)) SWIG_fail
;
5195 arg5
= wxString_in_helper(obj4
);
5196 if (arg5
== NULL
) SWIG_fail
;
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5224 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
= NULL
;
5226 wxFrame
*arg1
= (wxFrame
*) 0 ;
5227 wxStatusBar
*result
;
5228 PyObject
* obj0
= 0 ;
5230 (char *) "self", NULL
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5235 if (SWIG_arg_fail(1)) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5252 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
= NULL
;
5254 wxFrame
*arg1
= (wxFrame
*) 0 ;
5255 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5256 PyObject
* obj0
= 0 ;
5257 PyObject
* obj1
= 0 ;
5259 (char *) "self",(char *) "statBar", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5264 if (SWIG_arg_fail(1)) SWIG_fail
;
5265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5266 if (SWIG_arg_fail(2)) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 (arg1
)->SetStatusBar(arg2
);
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 Py_INCREF(Py_None
); resultobj
= Py_None
;
5281 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
= NULL
;
5283 wxFrame
*arg1
= (wxFrame
*) 0 ;
5284 wxString
*arg2
= 0 ;
5285 int arg3
= (int) 0 ;
5286 bool temp2
= false ;
5287 PyObject
* obj0
= 0 ;
5288 PyObject
* obj1
= 0 ;
5289 PyObject
* obj2
= 0 ;
5291 (char *) "self",(char *) "text",(char *) "number", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5296 if (SWIG_arg_fail(1)) SWIG_fail
;
5298 arg2
= wxString_in_helper(obj1
);
5299 if (arg2
== NULL
) SWIG_fail
;
5304 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5305 if (SWIG_arg_fail(3)) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5315 Py_INCREF(Py_None
); resultobj
= Py_None
;
5330 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
= NULL
;
5332 wxFrame
*arg1
= (wxFrame
*) 0 ;
5334 int *arg3
= (int *) 0 ;
5335 PyObject
* obj0
= 0 ;
5336 PyObject
* obj1
= 0 ;
5338 (char *) "self",(char *) "widths", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5343 if (SWIG_arg_fail(1)) SWIG_fail
;
5345 arg2
= PyList_Size(obj1
);
5346 arg3
= int_LIST_helper(obj1
);
5347 if (arg3
== NULL
) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5353 wxPyEndAllowThreads(__tstate
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5356 Py_INCREF(Py_None
); resultobj
= Py_None
;
5358 if (arg3
) delete [] arg3
;
5363 if (arg3
) delete [] arg3
;
5369 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
= NULL
;
5371 wxFrame
*arg1
= (wxFrame
*) 0 ;
5372 wxString
*arg2
= 0 ;
5373 int arg3
= (int) 0 ;
5374 bool temp2
= false ;
5375 PyObject
* obj0
= 0 ;
5376 PyObject
* obj1
= 0 ;
5377 PyObject
* obj2
= 0 ;
5379 (char *) "self",(char *) "text",(char *) "number", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5384 if (SWIG_arg_fail(1)) SWIG_fail
;
5386 arg2
= wxString_in_helper(obj1
);
5387 if (arg2
== NULL
) SWIG_fail
;
5392 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5393 if (SWIG_arg_fail(3)) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 Py_INCREF(Py_None
); resultobj
= Py_None
;
5418 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
= NULL
;
5420 wxFrame
*arg1
= (wxFrame
*) 0 ;
5421 int arg2
= (int) 0 ;
5422 PyObject
* obj0
= 0 ;
5423 PyObject
* obj1
= 0 ;
5425 (char *) "self",(char *) "number", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5430 if (SWIG_arg_fail(1)) SWIG_fail
;
5433 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5434 if (SWIG_arg_fail(2)) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 (arg1
)->PopStatusText(arg2
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5444 Py_INCREF(Py_None
); resultobj
= Py_None
;
5451 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
= NULL
;
5453 wxFrame
*arg1
= (wxFrame
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5458 (char *) "self",(char *) "n", NULL
5461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5463 if (SWIG_arg_fail(1)) SWIG_fail
;
5465 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5466 if (SWIG_arg_fail(2)) SWIG_fail
;
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 (arg1
)->SetStatusBarPane(arg2
);
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5475 Py_INCREF(Py_None
); resultobj
= Py_None
;
5482 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
= NULL
;
5484 wxFrame
*arg1
= (wxFrame
*) 0 ;
5486 PyObject
* obj0
= 0 ;
5488 (char *) "self", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5493 if (SWIG_arg_fail(1)) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= SWIG_From_int(static_cast<int >(result
));
5510 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
= NULL
;
5512 wxFrame
*arg1
= (wxFrame
*) 0 ;
5513 long arg2
= (long) -1 ;
5514 int arg3
= (int) -1 ;
5515 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5516 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5518 bool temp4
= false ;
5519 PyObject
* obj0
= 0 ;
5520 PyObject
* obj1
= 0 ;
5521 PyObject
* obj2
= 0 ;
5522 PyObject
* obj3
= 0 ;
5524 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5529 if (SWIG_arg_fail(1)) SWIG_fail
;
5532 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5533 if (SWIG_arg_fail(2)) SWIG_fail
;
5538 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5539 if (SWIG_arg_fail(3)) SWIG_fail
;
5544 arg4
= wxString_in_helper(obj3
);
5545 if (arg4
== NULL
) SWIG_fail
;
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5557 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5573 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
= NULL
;
5575 wxFrame
*arg1
= (wxFrame
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5579 (char *) "self", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5584 if (SWIG_arg_fail(1)) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5601 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
= NULL
;
5603 wxFrame
*arg1
= (wxFrame
*) 0 ;
5604 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5608 (char *) "self",(char *) "toolbar", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5613 if (SWIG_arg_fail(1)) SWIG_fail
;
5614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5615 if (SWIG_arg_fail(2)) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 (arg1
)->SetToolBar(arg2
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 Py_INCREF(Py_None
); resultobj
= Py_None
;
5630 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
= NULL
;
5632 wxFrame
*arg1
= (wxFrame
*) 0 ;
5633 wxString
*arg2
= 0 ;
5635 bool temp2
= false ;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj1
= 0 ;
5638 PyObject
* obj2
= 0 ;
5640 (char *) "self",(char *) "text",(char *) "show", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail
;
5647 arg2
= wxString_in_helper(obj1
);
5648 if (arg2
== NULL
) SWIG_fail
;
5652 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
5653 if (SWIG_arg_fail(3)) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 Py_INCREF(Py_None
); resultobj
= Py_None
;
5677 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
= NULL
;
5679 wxFrame
*arg1
= (wxFrame
*) 0 ;
5680 wxMenu
*arg2
= (wxMenu
*) NULL
;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5684 (char *) "self",(char *) "menu", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5689 if (SWIG_arg_fail(1)) SWIG_fail
;
5691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5692 if (SWIG_arg_fail(2)) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 (arg1
)->DoMenuUpdates(arg2
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 Py_INCREF(Py_None
); resultobj
= Py_None
;
5708 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
= NULL
;
5710 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5711 wxVisualAttributes result
;
5712 PyObject
* obj0
= 0 ;
5714 (char *) "variant", NULL
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5720 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5721 if (SWIG_arg_fail(1)) SWIG_fail
;
5725 if (!wxPyCheckForApp()) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= wxFrame::GetClassDefaultAttributes(arg1
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5733 wxVisualAttributes
* resultptr
;
5734 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5743 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5746 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5748 return Py_BuildValue((char *)"");
5750 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
= NULL
;
5752 wxWindow
*arg1
= (wxWindow
*) 0 ;
5753 int arg2
= (int) (int)-1 ;
5754 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5755 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5756 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5757 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5758 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5759 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5760 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5761 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5762 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5764 bool temp3
= false ;
5767 bool temp7
= false ;
5768 PyObject
* obj0
= 0 ;
5769 PyObject
* obj1
= 0 ;
5770 PyObject
* obj2
= 0 ;
5771 PyObject
* obj3
= 0 ;
5772 PyObject
* obj4
= 0 ;
5773 PyObject
* obj5
= 0 ;
5774 PyObject
* obj6
= 0 ;
5776 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5781 if (SWIG_arg_fail(1)) SWIG_fail
;
5784 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
5785 if (SWIG_arg_fail(2)) SWIG_fail
;
5790 arg3
= wxString_in_helper(obj2
);
5791 if (arg3
== NULL
) SWIG_fail
;
5798 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5804 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5809 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5810 if (SWIG_arg_fail(6)) SWIG_fail
;
5815 arg7
= wxString_in_helper(obj6
);
5816 if (arg7
== NULL
) SWIG_fail
;
5821 if (!wxPyCheckForApp()) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5851 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
= NULL
;
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5860 if (!wxPyCheckForApp()) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (wxDialog
*)new wxDialog();
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5874 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
= NULL
;
5876 wxDialog
*arg1
= (wxDialog
*) 0 ;
5877 wxWindow
*arg2
= (wxWindow
*) 0 ;
5878 int arg3
= (int) (int)-1 ;
5879 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5880 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5881 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5882 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5883 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5884 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5885 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5886 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5887 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5889 bool temp4
= false ;
5892 bool temp8
= false ;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5895 PyObject
* obj2
= 0 ;
5896 PyObject
* obj3
= 0 ;
5897 PyObject
* obj4
= 0 ;
5898 PyObject
* obj5
= 0 ;
5899 PyObject
* obj6
= 0 ;
5900 PyObject
* obj7
= 0 ;
5902 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5907 if (SWIG_arg_fail(1)) SWIG_fail
;
5908 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5909 if (SWIG_arg_fail(2)) SWIG_fail
;
5912 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5913 if (SWIG_arg_fail(3)) SWIG_fail
;
5918 arg4
= wxString_in_helper(obj3
);
5919 if (arg4
== NULL
) SWIG_fail
;
5926 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5932 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5937 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5938 if (SWIG_arg_fail(7)) SWIG_fail
;
5943 arg8
= wxString_in_helper(obj7
);
5944 if (arg8
== NULL
) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5980 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
= NULL
;
5982 wxDialog
*arg1
= (wxDialog
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5985 PyObject
* obj1
= 0 ;
5987 (char *) "self",(char *) "returnCode", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5992 if (SWIG_arg_fail(1)) SWIG_fail
;
5994 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5995 if (SWIG_arg_fail(2)) SWIG_fail
;
5998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5999 (arg1
)->SetReturnCode(arg2
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 Py_INCREF(Py_None
); resultobj
= Py_None
;
6011 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
= NULL
;
6013 wxDialog
*arg1
= (wxDialog
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6017 (char *) "self", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
6021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6022 if (SWIG_arg_fail(1)) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_From_int(static_cast<int >(result
));
6039 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
= NULL
;
6041 wxDialog
*arg1
= (wxDialog
*) 0 ;
6042 wxString
*arg2
= 0 ;
6044 bool temp2
= false ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6048 (char *) "self",(char *) "message", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6053 if (SWIG_arg_fail(1)) SWIG_fail
;
6055 arg2
= wxString_in_helper(obj1
);
6056 if (arg2
== NULL
) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6083 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
= NULL
;
6085 wxDialog
*arg1
= (wxDialog
*) 0 ;
6087 bool arg3
= (bool) false ;
6088 int arg4
= (int) 0 ;
6090 PyObject
* obj0
= 0 ;
6091 PyObject
* obj1
= 0 ;
6092 PyObject
* obj2
= 0 ;
6093 PyObject
* obj3
= 0 ;
6095 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6100 if (SWIG_arg_fail(1)) SWIG_fail
;
6102 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6103 if (SWIG_arg_fail(2)) SWIG_fail
;
6107 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
6108 if (SWIG_arg_fail(3)) SWIG_fail
;
6113 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6114 if (SWIG_arg_fail(4)) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6133 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
= NULL
;
6135 wxDialog
*arg1
= (wxDialog
*) 0 ;
6137 wxStdDialogButtonSizer
*result
;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6141 (char *) "self",(char *) "flags", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6146 if (SWIG_arg_fail(1)) SWIG_fail
;
6148 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6149 if (SWIG_arg_fail(2)) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6165 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
= NULL
;
6167 wxDialog
*arg1
= (wxDialog
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6171 (char *) "self", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6176 if (SWIG_arg_fail(1)) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6193 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
= NULL
;
6195 wxDialog
*arg1
= (wxDialog
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6199 (char *) "self", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6204 if (SWIG_arg_fail(1)) SWIG_fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (int)(arg1
)->ShowModal();
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_From_int(static_cast<int >(result
));
6221 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
= NULL
;
6223 wxDialog
*arg1
= (wxDialog
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "self",(char *) "retCode", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6233 if (SWIG_arg_fail(1)) SWIG_fail
;
6235 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6236 if (SWIG_arg_fail(2)) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 (arg1
)->EndModal(arg2
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 Py_INCREF(Py_None
); resultobj
= Py_None
;
6252 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
= NULL
;
6254 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6255 wxVisualAttributes result
;
6256 PyObject
* obj0
= 0 ;
6258 (char *) "variant", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6264 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6265 if (SWIG_arg_fail(1)) SWIG_fail
;
6269 if (!wxPyCheckForApp()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= wxDialog::GetClassDefaultAttributes(arg1
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6277 wxVisualAttributes
* resultptr
;
6278 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6287 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6290 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6292 return Py_BuildValue((char *)"");
6294 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
= NULL
;
6296 wxWindow
*arg1
= (wxWindow
*) 0 ;
6297 int arg2
= (int) (int)-1 ;
6298 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6299 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6300 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6301 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6302 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6303 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6304 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6305 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6306 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6307 wxMiniFrame
*result
;
6308 bool temp3
= false ;
6311 bool temp7
= false ;
6312 PyObject
* obj0
= 0 ;
6313 PyObject
* obj1
= 0 ;
6314 PyObject
* obj2
= 0 ;
6315 PyObject
* obj3
= 0 ;
6316 PyObject
* obj4
= 0 ;
6317 PyObject
* obj5
= 0 ;
6318 PyObject
* obj6
= 0 ;
6320 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6325 if (SWIG_arg_fail(1)) SWIG_fail
;
6328 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
6329 if (SWIG_arg_fail(2)) SWIG_fail
;
6334 arg3
= wxString_in_helper(obj2
);
6335 if (arg3
== NULL
) SWIG_fail
;
6342 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6348 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6353 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6354 if (SWIG_arg_fail(6)) SWIG_fail
;
6359 arg7
= wxString_in_helper(obj6
);
6360 if (arg7
== NULL
) SWIG_fail
;
6365 if (!wxPyCheckForApp()) SWIG_fail
;
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6395 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
= NULL
;
6397 wxMiniFrame
*result
;
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6404 if (!wxPyCheckForApp()) SWIG_fail
;
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 result
= (wxMiniFrame
*)new wxMiniFrame();
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6418 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
= NULL
;
6420 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6421 wxWindow
*arg2
= (wxWindow
*) 0 ;
6422 int arg3
= (int) (int)-1 ;
6423 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6424 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6425 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6426 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6427 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6428 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6429 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6430 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6431 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6433 bool temp4
= false ;
6436 bool temp8
= false ;
6437 PyObject
* obj0
= 0 ;
6438 PyObject
* obj1
= 0 ;
6439 PyObject
* obj2
= 0 ;
6440 PyObject
* obj3
= 0 ;
6441 PyObject
* obj4
= 0 ;
6442 PyObject
* obj5
= 0 ;
6443 PyObject
* obj6
= 0 ;
6444 PyObject
* obj7
= 0 ;
6446 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6451 if (SWIG_arg_fail(1)) SWIG_fail
;
6452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6453 if (SWIG_arg_fail(2)) SWIG_fail
;
6456 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
6457 if (SWIG_arg_fail(3)) SWIG_fail
;
6462 arg4
= wxString_in_helper(obj3
);
6463 if (arg4
== NULL
) SWIG_fail
;
6470 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6476 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6481 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6482 if (SWIG_arg_fail(7)) SWIG_fail
;
6487 arg8
= wxString_in_helper(obj7
);
6488 if (arg8
== NULL
) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6524 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6527 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6529 return Py_BuildValue((char *)"");
6531 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
= NULL
;
6533 wxBitmap
*arg1
= 0 ;
6534 wxWindow
*arg2
= (wxWindow
*) 0 ;
6536 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6537 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6538 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6539 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6540 long arg6
= (long) wxNO_BORDER
;
6541 wxSplashScreenWindow
*result
;
6544 PyObject
* obj0
= 0 ;
6545 PyObject
* obj1
= 0 ;
6546 PyObject
* obj2
= 0 ;
6547 PyObject
* obj3
= 0 ;
6548 PyObject
* obj4
= 0 ;
6549 PyObject
* obj5
= 0 ;
6551 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6557 if (SWIG_arg_fail(1)) SWIG_fail
;
6559 SWIG_null_ref("wxBitmap");
6561 if (SWIG_arg_fail(1)) SWIG_fail
;
6563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6564 if (SWIG_arg_fail(2)) SWIG_fail
;
6566 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6567 if (SWIG_arg_fail(3)) SWIG_fail
;
6572 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6578 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6583 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6584 if (SWIG_arg_fail(6)) SWIG_fail
;
6588 if (!wxPyCheckForApp()) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6602 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
= NULL
;
6604 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6605 wxBitmap
*arg2
= 0 ;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6609 (char *) "self",(char *) "bitmap", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6614 if (SWIG_arg_fail(1)) SWIG_fail
;
6616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(2)) SWIG_fail
;
6619 SWIG_null_ref("wxBitmap");
6621 if (SWIG_arg_fail(2)) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
= NULL
;
6639 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "self", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6648 if (SWIG_arg_fail(1)) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6653 result
= (wxBitmap
*) &_result_ref
;
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 wxBitmap
* resultptr
= new wxBitmap(*result
);
6661 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6669 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6672 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6674 return Py_BuildValue((char *)"");
6676 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= NULL
;
6678 wxBitmap
*arg1
= 0 ;
6681 wxWindow
*arg4
= (wxWindow
*) 0 ;
6682 int arg5
= (int) -1 ;
6683 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6684 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6685 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6686 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6687 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6688 wxSplashScreen
*result
;
6691 PyObject
* obj0
= 0 ;
6692 PyObject
* obj1
= 0 ;
6693 PyObject
* obj2
= 0 ;
6694 PyObject
* obj3
= 0 ;
6695 PyObject
* obj4
= 0 ;
6696 PyObject
* obj5
= 0 ;
6697 PyObject
* obj6
= 0 ;
6698 PyObject
* obj7
= 0 ;
6700 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6706 if (SWIG_arg_fail(1)) SWIG_fail
;
6708 SWIG_null_ref("wxBitmap");
6710 if (SWIG_arg_fail(1)) SWIG_fail
;
6713 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6714 if (SWIG_arg_fail(2)) SWIG_fail
;
6717 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6718 if (SWIG_arg_fail(3)) SWIG_fail
;
6720 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6721 if (SWIG_arg_fail(4)) SWIG_fail
;
6724 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6725 if (SWIG_arg_fail(5)) SWIG_fail
;
6731 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6737 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6742 arg8
= static_cast<long >(SWIG_As_long(obj7
));
6743 if (SWIG_arg_fail(8)) SWIG_fail
;
6747 if (!wxPyCheckForApp()) SWIG_fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6761 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
*resultobj
= NULL
;
6763 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6765 PyObject
* obj0
= 0 ;
6767 (char *) "self", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6772 if (SWIG_arg_fail(1)) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= SWIG_From_long(static_cast<long >(result
));
6789 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
= NULL
;
6791 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6792 wxSplashScreenWindow
*result
;
6793 PyObject
* obj0
= 0 ;
6795 (char *) "self", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6800 if (SWIG_arg_fail(1)) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6815 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
= NULL
;
6817 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6819 PyObject
* obj0
= 0 ;
6821 (char *) "self", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6826 if (SWIG_arg_fail(1)) SWIG_fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_From_int(static_cast<int >(result
));
6843 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6846 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6848 return Py_BuildValue((char *)"");
6850 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
= NULL
;
6852 wxWindow
*arg1
= (wxWindow
*) 0 ;
6853 int arg2
= (int) -1 ;
6854 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6855 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6856 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6857 wxStatusBar
*result
;
6858 bool temp4
= false ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6861 PyObject
* obj2
= 0 ;
6862 PyObject
* obj3
= 0 ;
6864 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6869 if (SWIG_arg_fail(1)) SWIG_fail
;
6872 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6873 if (SWIG_arg_fail(2)) SWIG_fail
;
6878 arg3
= static_cast<long >(SWIG_As_long(obj2
));
6879 if (SWIG_arg_fail(3)) SWIG_fail
;
6884 arg4
= wxString_in_helper(obj3
);
6885 if (arg4
== NULL
) SWIG_fail
;
6890 if (!wxPyCheckForApp()) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6912 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
= NULL
;
6914 wxStatusBar
*result
;
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6921 if (!wxPyCheckForApp()) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (wxStatusBar
*)new wxStatusBar();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6935 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
= NULL
;
6937 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6938 wxWindow
*arg2
= (wxWindow
*) 0 ;
6939 int arg3
= (int) -1 ;
6940 long arg4
= (long) wxST_SIZEGRIP
;
6941 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6942 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6944 bool temp5
= false ;
6945 PyObject
* obj0
= 0 ;
6946 PyObject
* obj1
= 0 ;
6947 PyObject
* obj2
= 0 ;
6948 PyObject
* obj3
= 0 ;
6949 PyObject
* obj4
= 0 ;
6951 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6956 if (SWIG_arg_fail(1)) SWIG_fail
;
6957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6958 if (SWIG_arg_fail(2)) SWIG_fail
;
6961 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6962 if (SWIG_arg_fail(3)) SWIG_fail
;
6967 arg4
= static_cast<long >(SWIG_As_long(obj3
));
6968 if (SWIG_arg_fail(4)) SWIG_fail
;
6973 arg5
= wxString_in_helper(obj4
);
6974 if (arg5
== NULL
) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7002 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
= NULL
;
7004 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7005 int arg2
= (int) 1 ;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7009 (char *) "self",(char *) "number", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7014 if (SWIG_arg_fail(1)) SWIG_fail
;
7017 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7018 if (SWIG_arg_fail(2)) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 (arg1
)->SetFieldsCount(arg2
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 Py_INCREF(Py_None
); resultobj
= Py_None
;
7035 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
= NULL
;
7037 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7039 PyObject
* obj0
= 0 ;
7041 (char *) "self", NULL
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
7045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7046 if (SWIG_arg_fail(1)) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= SWIG_From_int(static_cast<int >(result
));
7063 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
= NULL
;
7065 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7066 wxString
*arg2
= 0 ;
7067 int arg3
= (int) 0 ;
7068 bool temp2
= false ;
7069 PyObject
* obj0
= 0 ;
7070 PyObject
* obj1
= 0 ;
7071 PyObject
* obj2
= 0 ;
7073 (char *) "self",(char *) "text",(char *) "number", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7078 if (SWIG_arg_fail(1)) SWIG_fail
;
7080 arg2
= wxString_in_helper(obj1
);
7081 if (arg2
== NULL
) SWIG_fail
;
7086 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7087 if (SWIG_arg_fail(3)) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 Py_INCREF(Py_None
); resultobj
= Py_None
;
7112 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
= NULL
;
7114 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7115 int arg2
= (int) 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7120 (char *) "self",(char *) "number", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7125 if (SWIG_arg_fail(1)) SWIG_fail
;
7128 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7129 if (SWIG_arg_fail(2)) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7152 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
= NULL
;
7154 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7155 wxString
*arg2
= 0 ;
7156 int arg3
= (int) 0 ;
7157 bool temp2
= false ;
7158 PyObject
* obj0
= 0 ;
7159 PyObject
* obj1
= 0 ;
7160 PyObject
* obj2
= 0 ;
7162 (char *) "self",(char *) "text",(char *) "number", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7167 if (SWIG_arg_fail(1)) SWIG_fail
;
7169 arg2
= wxString_in_helper(obj1
);
7170 if (arg2
== NULL
) SWIG_fail
;
7175 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7176 if (SWIG_arg_fail(3)) SWIG_fail
;
7180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7181 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 Py_INCREF(Py_None
); resultobj
= Py_None
;
7201 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
*resultobj
= NULL
;
7203 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7204 int arg2
= (int) 0 ;
7205 PyObject
* obj0
= 0 ;
7206 PyObject
* obj1
= 0 ;
7208 (char *) "self",(char *) "number", NULL
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7213 if (SWIG_arg_fail(1)) SWIG_fail
;
7216 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7217 if (SWIG_arg_fail(2)) SWIG_fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 (arg1
)->PopStatusText(arg2
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 Py_INCREF(Py_None
); resultobj
= Py_None
;
7234 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
= NULL
;
7236 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7238 int *arg3
= (int *) 0 ;
7239 PyObject
* obj0
= 0 ;
7240 PyObject
* obj1
= 0 ;
7242 (char *) "self",(char *) "widths", NULL
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7247 if (SWIG_arg_fail(1)) SWIG_fail
;
7249 arg2
= PyList_Size(obj1
);
7250 arg3
= int_LIST_helper(obj1
);
7251 if (arg3
== NULL
) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 Py_INCREF(Py_None
); resultobj
= Py_None
;
7262 if (arg3
) delete [] arg3
;
7267 if (arg3
) delete [] arg3
;
7273 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
= NULL
;
7275 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7277 int *arg3
= (int *) 0 ;
7278 PyObject
* obj0
= 0 ;
7279 PyObject
* obj1
= 0 ;
7281 (char *) "self",(char *) "styles", NULL
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7286 if (SWIG_arg_fail(1)) SWIG_fail
;
7288 arg2
= PyList_Size(obj1
);
7289 arg3
= int_LIST_helper(obj1
);
7290 if (arg3
== NULL
) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 Py_INCREF(Py_None
); resultobj
= Py_None
;
7301 if (arg3
) delete [] arg3
;
7306 if (arg3
) delete [] arg3
;
7312 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
= NULL
;
7314 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7320 (char *) "self",(char *) "i", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7325 if (SWIG_arg_fail(1)) SWIG_fail
;
7327 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7328 if (SWIG_arg_fail(2)) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7339 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7340 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7348 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
= NULL
;
7350 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7353 PyObject
* obj1
= 0 ;
7355 (char *) "self",(char *) "height", NULL
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7360 if (SWIG_arg_fail(1)) SWIG_fail
;
7362 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7363 if (SWIG_arg_fail(2)) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 (arg1
)->SetMinHeight(arg2
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 Py_INCREF(Py_None
); resultobj
= Py_None
;
7379 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
= NULL
;
7381 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7383 PyObject
* obj0
= 0 ;
7385 (char *) "self", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7390 if (SWIG_arg_fail(1)) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7399 resultobj
= SWIG_From_int(static_cast<int >(result
));
7407 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
= NULL
;
7409 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7411 PyObject
* obj0
= 0 ;
7413 (char *) "self", NULL
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7418 if (SWIG_arg_fail(1)) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_From_int(static_cast<int >(result
));
7435 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
= NULL
;
7437 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7438 wxVisualAttributes result
;
7439 PyObject
* obj0
= 0 ;
7441 (char *) "variant", NULL
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7447 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7448 if (SWIG_arg_fail(1)) SWIG_fail
;
7452 if (!wxPyCheckForApp()) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7460 wxVisualAttributes
* resultptr
;
7461 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7470 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7473 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7475 return Py_BuildValue((char *)"");
7477 static int _wrap_SplitterNameStr_set(PyObject
*) {
7478 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7483 static PyObject
*_wrap_SplitterNameStr_get(void) {
7484 PyObject
*pyobj
= NULL
;
7488 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7490 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7497 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
= NULL
;
7499 wxWindow
*arg1
= (wxWindow
*) 0 ;
7500 int arg2
= (int) -1 ;
7501 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7502 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7503 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7504 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7505 long arg5
= (long) wxSP_3D
;
7506 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7507 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7508 wxSplitterWindow
*result
;
7511 bool temp6
= false ;
7512 PyObject
* obj0
= 0 ;
7513 PyObject
* obj1
= 0 ;
7514 PyObject
* obj2
= 0 ;
7515 PyObject
* obj3
= 0 ;
7516 PyObject
* obj4
= 0 ;
7517 PyObject
* obj5
= 0 ;
7519 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7524 if (SWIG_arg_fail(1)) SWIG_fail
;
7527 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7528 if (SWIG_arg_fail(2)) SWIG_fail
;
7534 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7540 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7545 arg5
= static_cast<long >(SWIG_As_long(obj4
));
7546 if (SWIG_arg_fail(5)) SWIG_fail
;
7551 arg6
= wxString_in_helper(obj5
);
7552 if (arg6
== NULL
) SWIG_fail
;
7557 if (!wxPyCheckForApp()) SWIG_fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7579 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
= NULL
;
7581 wxSplitterWindow
*result
;
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7588 if (!wxPyCheckForApp()) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7602 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
*resultobj
= NULL
;
7604 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7605 wxWindow
*arg2
= (wxWindow
*) 0 ;
7606 int arg3
= (int) -1 ;
7607 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7608 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7609 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7610 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7611 long arg6
= (long) wxSP_3D
;
7612 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7613 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7617 bool temp7
= false ;
7618 PyObject
* obj0
= 0 ;
7619 PyObject
* obj1
= 0 ;
7620 PyObject
* obj2
= 0 ;
7621 PyObject
* obj3
= 0 ;
7622 PyObject
* obj4
= 0 ;
7623 PyObject
* obj5
= 0 ;
7624 PyObject
* obj6
= 0 ;
7626 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7631 if (SWIG_arg_fail(1)) SWIG_fail
;
7632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7633 if (SWIG_arg_fail(2)) SWIG_fail
;
7636 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7637 if (SWIG_arg_fail(3)) SWIG_fail
;
7643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7654 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7655 if (SWIG_arg_fail(6)) SWIG_fail
;
7660 arg7
= wxString_in_helper(obj6
);
7661 if (arg7
== NULL
) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7689 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
= NULL
;
7691 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7695 (char *) "self", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7700 if (SWIG_arg_fail(1)) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= wxPyMake_wxObject(result
, 0);
7717 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7718 PyObject
*resultobj
= NULL
;
7719 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7731 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= wxPyMake_wxObject(result
, 0);
7745 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
*resultobj
= NULL
;
7747 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7749 PyObject
* obj0
= 0 ;
7750 PyObject
* obj1
= 0 ;
7752 (char *) "self",(char *) "mode", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7757 if (SWIG_arg_fail(1)) SWIG_fail
;
7759 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7760 if (SWIG_arg_fail(2)) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 (arg1
)->SetSplitMode(arg2
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 Py_INCREF(Py_None
); resultobj
= Py_None
;
7776 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
= NULL
;
7778 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7780 PyObject
* obj0
= 0 ;
7782 (char *) "self", NULL
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7787 if (SWIG_arg_fail(1)) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_From_int((result
));
7802 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
= NULL
;
7804 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7805 wxWindow
*arg2
= (wxWindow
*) 0 ;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "window", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7814 if (SWIG_arg_fail(1)) SWIG_fail
;
7815 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7816 if (SWIG_arg_fail(2)) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 (arg1
)->Initialize(arg2
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7824 Py_INCREF(Py_None
); resultobj
= Py_None
;
7831 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7832 PyObject
*resultobj
= NULL
;
7833 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7834 wxWindow
*arg2
= (wxWindow
*) 0 ;
7835 wxWindow
*arg3
= (wxWindow
*) 0 ;
7836 int arg4
= (int) 0 ;
7838 PyObject
* obj0
= 0 ;
7839 PyObject
* obj1
= 0 ;
7840 PyObject
* obj2
= 0 ;
7841 PyObject
* obj3
= 0 ;
7843 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail
;
7849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7850 if (SWIG_arg_fail(2)) SWIG_fail
;
7851 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7852 if (SWIG_arg_fail(3)) SWIG_fail
;
7855 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7856 if (SWIG_arg_fail(4)) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7875 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
= NULL
;
7877 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7878 wxWindow
*arg2
= (wxWindow
*) 0 ;
7879 wxWindow
*arg3
= (wxWindow
*) 0 ;
7880 int arg4
= (int) 0 ;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7884 PyObject
* obj2
= 0 ;
7885 PyObject
* obj3
= 0 ;
7887 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7892 if (SWIG_arg_fail(1)) SWIG_fail
;
7893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7894 if (SWIG_arg_fail(2)) SWIG_fail
;
7895 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7896 if (SWIG_arg_fail(3)) SWIG_fail
;
7899 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7900 if (SWIG_arg_fail(4)) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7919 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
= NULL
;
7921 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7922 wxWindow
*arg2
= (wxWindow
*) NULL
;
7924 PyObject
* obj0
= 0 ;
7925 PyObject
* obj1
= 0 ;
7927 (char *) "self",(char *) "toRemove", NULL
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7932 if (SWIG_arg_fail(1)) SWIG_fail
;
7934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7935 if (SWIG_arg_fail(2)) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= (bool)(arg1
)->Unsplit(arg2
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7953 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
= NULL
;
7955 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7956 wxWindow
*arg2
= (wxWindow
*) 0 ;
7957 wxWindow
*arg3
= (wxWindow
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj1
= 0 ;
7961 PyObject
* obj2
= 0 ;
7963 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7968 if (SWIG_arg_fail(1)) SWIG_fail
;
7969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7970 if (SWIG_arg_fail(2)) SWIG_fail
;
7971 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7972 if (SWIG_arg_fail(3)) SWIG_fail
;
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7989 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
= NULL
;
7991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7994 (char *) "self", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7999 if (SWIG_arg_fail(1)) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 (arg1
)->UpdateSize();
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 Py_INCREF(Py_None
); resultobj
= Py_None
;
8014 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
= NULL
;
8016 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8018 PyObject
* obj0
= 0 ;
8020 (char *) "self", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
8024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8025 if (SWIG_arg_fail(1)) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8042 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
= NULL
;
8044 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8046 PyObject
* obj0
= 0 ;
8047 PyObject
* obj1
= 0 ;
8049 (char *) "self",(char *) "width", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail
;
8056 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8057 if (SWIG_arg_fail(2)) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 (arg1
)->SetSashSize(arg2
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 Py_INCREF(Py_None
); resultobj
= Py_None
;
8073 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
= NULL
;
8075 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8078 PyObject
* obj1
= 0 ;
8080 (char *) "self",(char *) "width", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8085 if (SWIG_arg_fail(1)) SWIG_fail
;
8087 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8088 if (SWIG_arg_fail(2)) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 (arg1
)->SetBorderSize(arg2
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 Py_INCREF(Py_None
); resultobj
= Py_None
;
8104 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
= NULL
;
8106 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8110 (char *) "self", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
8114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8115 if (SWIG_arg_fail(1)) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= SWIG_From_int(static_cast<int >(result
));
8132 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
= NULL
;
8134 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8143 if (SWIG_arg_fail(1)) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_From_int(static_cast<int >(result
));
8160 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
= NULL
;
8162 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8164 bool arg3
= (bool) true ;
8165 PyObject
* obj0
= 0 ;
8166 PyObject
* obj1
= 0 ;
8167 PyObject
* obj2
= 0 ;
8169 (char *) "self",(char *) "position",(char *) "redraw", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8174 if (SWIG_arg_fail(1)) SWIG_fail
;
8176 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8177 if (SWIG_arg_fail(2)) SWIG_fail
;
8181 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8182 if (SWIG_arg_fail(3)) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 (arg1
)->SetSashPosition(arg2
,arg3
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8192 Py_INCREF(Py_None
); resultobj
= Py_None
;
8199 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
= NULL
;
8201 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8203 PyObject
* obj0
= 0 ;
8205 (char *) "self", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8210 if (SWIG_arg_fail(1)) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8219 resultobj
= SWIG_From_int(static_cast<int >(result
));
8227 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
= NULL
;
8229 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8231 PyObject
* obj0
= 0 ;
8232 PyObject
* obj1
= 0 ;
8234 (char *) "self",(char *) "gravity", NULL
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8239 if (SWIG_arg_fail(1)) SWIG_fail
;
8241 arg2
= static_cast<double >(SWIG_As_double(obj1
));
8242 if (SWIG_arg_fail(2)) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 (arg1
)->SetSashGravity(arg2
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 Py_INCREF(Py_None
); resultobj
= Py_None
;
8258 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
= NULL
;
8260 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8262 PyObject
* obj0
= 0 ;
8264 (char *) "self", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8269 if (SWIG_arg_fail(1)) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= SWIG_From_double(static_cast<double >(result
));
8286 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
= NULL
;
8288 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8293 (char *) "self",(char *) "min", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8298 if (SWIG_arg_fail(1)) SWIG_fail
;
8300 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8301 if (SWIG_arg_fail(2)) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 (arg1
)->SetMinimumPaneSize(arg2
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 Py_INCREF(Py_None
); resultobj
= Py_None
;
8317 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
= NULL
;
8319 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8321 PyObject
* obj0
= 0 ;
8323 (char *) "self", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8328 if (SWIG_arg_fail(1)) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_From_int(static_cast<int >(result
));
8345 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
= NULL
;
8347 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8350 int arg4
= (int) 5 ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8354 PyObject
* obj2
= 0 ;
8355 PyObject
* obj3
= 0 ;
8357 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8362 if (SWIG_arg_fail(1)) SWIG_fail
;
8364 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8365 if (SWIG_arg_fail(2)) SWIG_fail
;
8368 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8369 if (SWIG_arg_fail(3)) SWIG_fail
;
8373 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8374 if (SWIG_arg_fail(4)) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8393 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
= NULL
;
8395 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8396 PyObject
* obj0
= 0 ;
8398 (char *) "self", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8403 if (SWIG_arg_fail(1)) SWIG_fail
;
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 (arg1
)->SizeWindows();
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 Py_INCREF(Py_None
); resultobj
= Py_None
;
8418 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
= NULL
;
8420 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8422 PyObject
* obj0
= 0 ;
8423 PyObject
* obj1
= 0 ;
8425 (char *) "self",(char *) "needUpdating", NULL
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8430 if (SWIG_arg_fail(1)) SWIG_fail
;
8432 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8433 if (SWIG_arg_fail(2)) SWIG_fail
;
8436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 (arg1
)->SetNeedUpdating(arg2
);
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 Py_INCREF(Py_None
); resultobj
= Py_None
;
8449 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
= NULL
;
8451 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8455 (char *) "self", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8460 if (SWIG_arg_fail(1)) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8477 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
= NULL
;
8479 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8480 wxVisualAttributes result
;
8481 PyObject
* obj0
= 0 ;
8483 (char *) "variant", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8489 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8490 if (SWIG_arg_fail(1)) SWIG_fail
;
8494 if (!wxPyCheckForApp()) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 wxVisualAttributes
* resultptr
;
8503 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8512 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8515 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8517 return Py_BuildValue((char *)"");
8519 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
= NULL
;
8521 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8522 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8523 wxSplitterEvent
*result
;
8524 PyObject
* obj0
= 0 ;
8525 PyObject
* obj1
= 0 ;
8527 (char *) "type",(char *) "splitter", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8533 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
8534 if (SWIG_arg_fail(1)) SWIG_fail
;
8538 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8539 if (SWIG_arg_fail(2)) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8555 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
= NULL
;
8557 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8559 PyObject
* obj0
= 0 ;
8560 PyObject
* obj1
= 0 ;
8562 (char *) "self",(char *) "pos", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8567 if (SWIG_arg_fail(1)) SWIG_fail
;
8569 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8570 if (SWIG_arg_fail(2)) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 (arg1
)->SetSashPosition(arg2
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 Py_INCREF(Py_None
); resultobj
= Py_None
;
8586 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
= NULL
;
8588 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8590 PyObject
* obj0
= 0 ;
8592 (char *) "self", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8597 if (SWIG_arg_fail(1)) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= SWIG_From_int(static_cast<int >(result
));
8614 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
= NULL
;
8616 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8618 PyObject
* obj0
= 0 ;
8620 (char *) "self", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8625 if (SWIG_arg_fail(1)) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= wxPyMake_wxObject(result
, 0);
8642 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
*resultobj
= NULL
;
8644 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8646 PyObject
* obj0
= 0 ;
8648 (char *) "self", NULL
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8653 if (SWIG_arg_fail(1)) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= SWIG_From_int(static_cast<int >(result
));
8670 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
= NULL
;
8672 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8674 PyObject
* obj0
= 0 ;
8676 (char *) "self", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8681 if (SWIG_arg_fail(1)) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= SWIG_From_int(static_cast<int >(result
));
8698 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8701 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8703 return Py_BuildValue((char *)"");
8705 static int _wrap_SashNameStr_set(PyObject
*) {
8706 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8711 static PyObject
*_wrap_SashNameStr_get(void) {
8712 PyObject
*pyobj
= NULL
;
8716 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8718 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8725 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8726 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8731 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8732 PyObject
*pyobj
= NULL
;
8736 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8738 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8745 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
*resultobj
= NULL
;
8747 wxWindow
*arg1
= (wxWindow
*) 0 ;
8748 int arg2
= (int) -1 ;
8749 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8750 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8751 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8752 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8753 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8754 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8755 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8756 wxSashWindow
*result
;
8759 bool temp6
= false ;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8762 PyObject
* obj2
= 0 ;
8763 PyObject
* obj3
= 0 ;
8764 PyObject
* obj4
= 0 ;
8765 PyObject
* obj5
= 0 ;
8767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8772 if (SWIG_arg_fail(1)) SWIG_fail
;
8775 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8776 if (SWIG_arg_fail(2)) SWIG_fail
;
8782 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8788 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8793 arg5
= static_cast<long >(SWIG_As_long(obj4
));
8794 if (SWIG_arg_fail(5)) SWIG_fail
;
8799 arg6
= wxString_in_helper(obj5
);
8800 if (arg6
== NULL
) SWIG_fail
;
8805 if (!wxPyCheckForApp()) SWIG_fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8827 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
= NULL
;
8829 wxSashWindow
*result
;
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8836 if (!wxPyCheckForApp()) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= (wxSashWindow
*)new wxSashWindow();
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8850 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
= NULL
;
8852 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8853 wxWindow
*arg2
= (wxWindow
*) 0 ;
8854 int arg3
= (int) -1 ;
8855 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8856 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8857 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8858 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8859 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8860 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8861 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8865 bool temp7
= false ;
8866 PyObject
* obj0
= 0 ;
8867 PyObject
* obj1
= 0 ;
8868 PyObject
* obj2
= 0 ;
8869 PyObject
* obj3
= 0 ;
8870 PyObject
* obj4
= 0 ;
8871 PyObject
* obj5
= 0 ;
8872 PyObject
* obj6
= 0 ;
8874 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8879 if (SWIG_arg_fail(1)) SWIG_fail
;
8880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8881 if (SWIG_arg_fail(2)) SWIG_fail
;
8884 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8885 if (SWIG_arg_fail(3)) SWIG_fail
;
8891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8897 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8902 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8903 if (SWIG_arg_fail(6)) SWIG_fail
;
8908 arg7
= wxString_in_helper(obj6
);
8909 if (arg7
== NULL
) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8937 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
= NULL
;
8939 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8940 wxSashEdgePosition arg2
;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8944 PyObject
* obj2
= 0 ;
8946 (char *) "self",(char *) "edge",(char *) "sash", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8951 if (SWIG_arg_fail(1)) SWIG_fail
;
8953 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
8954 if (SWIG_arg_fail(2)) SWIG_fail
;
8957 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8958 if (SWIG_arg_fail(3)) SWIG_fail
;
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 (arg1
)->SetSashVisible(arg2
,arg3
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 Py_INCREF(Py_None
); resultobj
= Py_None
;
8974 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
= NULL
;
8976 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8977 wxSashEdgePosition arg2
;
8979 PyObject
* obj0
= 0 ;
8980 PyObject
* obj1
= 0 ;
8982 (char *) "self",(char *) "edge", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8987 if (SWIG_arg_fail(1)) SWIG_fail
;
8989 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
8990 if (SWIG_arg_fail(2)) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9008 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
= NULL
;
9010 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9011 wxSashEdgePosition arg2
;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9015 PyObject
* obj2
= 0 ;
9017 (char *) "self",(char *) "edge",(char *) "border", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail
;
9024 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9025 if (SWIG_arg_fail(2)) SWIG_fail
;
9028 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9029 if (SWIG_arg_fail(3)) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 (arg1
)->SetSashBorder(arg2
,arg3
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 Py_INCREF(Py_None
); resultobj
= Py_None
;
9045 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
= NULL
;
9047 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9048 wxSashEdgePosition arg2
;
9050 PyObject
* obj0
= 0 ;
9051 PyObject
* obj1
= 0 ;
9053 (char *) "self",(char *) "edge", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
9057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9058 if (SWIG_arg_fail(1)) SWIG_fail
;
9060 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9061 if (SWIG_arg_fail(2)) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9079 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
= NULL
;
9081 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9082 wxSashEdgePosition arg2
;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9087 (char *) "self",(char *) "edge", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
9091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9092 if (SWIG_arg_fail(1)) SWIG_fail
;
9094 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9095 if (SWIG_arg_fail(2)) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= SWIG_From_int(static_cast<int >(result
));
9113 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
= NULL
;
9115 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9118 PyObject
* obj1
= 0 ;
9120 (char *) "self",(char *) "width", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9125 if (SWIG_arg_fail(1)) SWIG_fail
;
9127 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9128 if (SWIG_arg_fail(2)) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 (arg1
)->SetDefaultBorderSize(arg2
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 Py_INCREF(Py_None
); resultobj
= Py_None
;
9144 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
= NULL
;
9146 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9150 (char *) "self", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9155 if (SWIG_arg_fail(1)) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= SWIG_From_int(static_cast<int >(result
));
9172 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
= NULL
;
9174 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9179 (char *) "self",(char *) "width", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail
;
9186 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9187 if (SWIG_arg_fail(2)) SWIG_fail
;
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 (arg1
)->SetExtraBorderSize(arg2
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 Py_INCREF(Py_None
); resultobj
= Py_None
;
9203 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
= NULL
;
9205 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9207 PyObject
* obj0
= 0 ;
9209 (char *) "self", NULL
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9214 if (SWIG_arg_fail(1)) SWIG_fail
;
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_From_int(static_cast<int >(result
));
9231 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
= NULL
;
9233 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9235 PyObject
* obj0
= 0 ;
9236 PyObject
* obj1
= 0 ;
9238 (char *) "self",(char *) "min", NULL
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9243 if (SWIG_arg_fail(1)) SWIG_fail
;
9245 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9246 if (SWIG_arg_fail(2)) SWIG_fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 (arg1
)->SetMinimumSizeX(arg2
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 Py_INCREF(Py_None
); resultobj
= Py_None
;
9262 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
= NULL
;
9264 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9267 PyObject
* obj1
= 0 ;
9269 (char *) "self",(char *) "min", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9274 if (SWIG_arg_fail(1)) SWIG_fail
;
9276 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9277 if (SWIG_arg_fail(2)) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 (arg1
)->SetMinimumSizeY(arg2
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9286 Py_INCREF(Py_None
); resultobj
= Py_None
;
9293 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
= NULL
;
9295 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9299 (char *) "self", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9304 if (SWIG_arg_fail(1)) SWIG_fail
;
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= SWIG_From_int(static_cast<int >(result
));
9321 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
= NULL
;
9323 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9325 PyObject
* obj0
= 0 ;
9327 (char *) "self", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9332 if (SWIG_arg_fail(1)) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_From_int(static_cast<int >(result
));
9349 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
*resultobj
= NULL
;
9351 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9354 PyObject
* obj1
= 0 ;
9356 (char *) "self",(char *) "max", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9361 if (SWIG_arg_fail(1)) SWIG_fail
;
9363 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9364 if (SWIG_arg_fail(2)) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 (arg1
)->SetMaximumSizeX(arg2
);
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 Py_INCREF(Py_None
); resultobj
= Py_None
;
9380 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
= NULL
;
9382 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9385 PyObject
* obj1
= 0 ;
9387 (char *) "self",(char *) "max", NULL
9390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9392 if (SWIG_arg_fail(1)) SWIG_fail
;
9394 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9395 if (SWIG_arg_fail(2)) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 (arg1
)->SetMaximumSizeY(arg2
);
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 Py_INCREF(Py_None
); resultobj
= Py_None
;
9411 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
= NULL
;
9413 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9417 (char *) "self", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9422 if (SWIG_arg_fail(1)) SWIG_fail
;
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_From_int(static_cast<int >(result
));
9439 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
= NULL
;
9441 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "self", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9450 if (SWIG_arg_fail(1)) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= SWIG_From_int(static_cast<int >(result
));
9467 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
= NULL
;
9469 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9472 int arg4
= (int) 2 ;
9473 wxSashEdgePosition result
;
9474 PyObject
* obj0
= 0 ;
9475 PyObject
* obj1
= 0 ;
9476 PyObject
* obj2
= 0 ;
9477 PyObject
* obj3
= 0 ;
9479 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9487 if (SWIG_arg_fail(2)) SWIG_fail
;
9490 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9491 if (SWIG_arg_fail(3)) SWIG_fail
;
9495 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9496 if (SWIG_arg_fail(4)) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_From_int((result
));
9513 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
= NULL
;
9515 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9523 if (SWIG_arg_fail(1)) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 (arg1
)->SizeWindows();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 Py_INCREF(Py_None
); resultobj
= Py_None
;
9538 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9541 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9543 return Py_BuildValue((char *)"");
9545 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
= NULL
;
9547 int arg1
= (int) 0 ;
9548 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9549 wxSashEvent
*result
;
9550 PyObject
* obj0
= 0 ;
9551 PyObject
* obj1
= 0 ;
9553 (char *) "id",(char *) "edge", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9559 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9560 if (SWIG_arg_fail(1)) SWIG_fail
;
9565 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9566 if (SWIG_arg_fail(2)) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9583 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
= NULL
;
9585 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9586 wxSashEdgePosition arg2
;
9587 PyObject
* obj0
= 0 ;
9588 PyObject
* obj1
= 0 ;
9590 (char *) "self",(char *) "edge", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9595 if (SWIG_arg_fail(1)) SWIG_fail
;
9597 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9598 if (SWIG_arg_fail(2)) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 (arg1
)->SetEdge(arg2
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 Py_INCREF(Py_None
); resultobj
= Py_None
;
9614 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
= NULL
;
9616 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9617 wxSashEdgePosition result
;
9618 PyObject
* obj0
= 0 ;
9620 (char *) "self", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9625 if (SWIG_arg_fail(1)) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= SWIG_From_int((result
));
9640 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
= NULL
;
9642 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9646 PyObject
* obj1
= 0 ;
9648 (char *) "self",(char *) "rect", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9653 if (SWIG_arg_fail(1)) SWIG_fail
;
9656 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 Py_INCREF(Py_None
); resultobj
= Py_None
;
9672 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
= NULL
;
9674 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9678 (char *) "self", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9683 if (SWIG_arg_fail(1)) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9693 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
9694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9702 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
= NULL
;
9704 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9705 wxSashDragStatus arg2
;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9709 (char *) "self",(char *) "status", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9714 if (SWIG_arg_fail(1)) SWIG_fail
;
9716 arg2
= static_cast<wxSashDragStatus
>(SWIG_As_int(obj1
));
9717 if (SWIG_arg_fail(2)) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 (arg1
)->SetDragStatus(arg2
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 Py_INCREF(Py_None
); resultobj
= Py_None
;
9733 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
= NULL
;
9735 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9736 wxSashDragStatus result
;
9737 PyObject
* obj0
= 0 ;
9739 (char *) "self", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9744 if (SWIG_arg_fail(1)) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= SWIG_From_int((result
));
9759 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9762 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9764 return Py_BuildValue((char *)"");
9766 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
= NULL
;
9768 int arg1
= (int) 0 ;
9769 wxQueryLayoutInfoEvent
*result
;
9770 PyObject
* obj0
= 0 ;
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9778 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9779 if (SWIG_arg_fail(1)) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9796 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
= NULL
;
9798 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9803 (char *) "self",(char *) "length", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9810 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9811 if (SWIG_arg_fail(2)) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 (arg1
)->SetRequestedLength(arg2
);
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9820 Py_INCREF(Py_None
); resultobj
= Py_None
;
9827 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9828 PyObject
*resultobj
= NULL
;
9829 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9831 PyObject
* obj0
= 0 ;
9833 (char *) "self", NULL
9836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail
;
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= SWIG_From_int(static_cast<int >(result
));
9855 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
= NULL
;
9857 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9859 PyObject
* obj0
= 0 ;
9860 PyObject
* obj1
= 0 ;
9862 (char *) "self",(char *) "flags", NULL
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9867 if (SWIG_arg_fail(1)) SWIG_fail
;
9869 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9870 if (SWIG_arg_fail(2)) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 (arg1
)->SetFlags(arg2
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 Py_INCREF(Py_None
); resultobj
= Py_None
;
9886 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
= NULL
;
9888 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9890 PyObject
* obj0
= 0 ;
9892 (char *) "self", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9897 if (SWIG_arg_fail(1)) SWIG_fail
;
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_From_int(static_cast<int >(result
));
9914 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
= NULL
;
9916 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9922 (char *) "self",(char *) "size", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9927 if (SWIG_arg_fail(1)) SWIG_fail
;
9930 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 (arg1
)->SetSize((wxSize
const &)*arg2
);
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 Py_INCREF(Py_None
); resultobj
= Py_None
;
9946 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
= NULL
;
9948 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9952 (char *) "self", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9957 if (SWIG_arg_fail(1)) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9967 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
9968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9976 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
= NULL
;
9978 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9979 wxLayoutOrientation arg2
;
9980 PyObject
* obj0
= 0 ;
9981 PyObject
* obj1
= 0 ;
9983 (char *) "self",(char *) "orient", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9988 if (SWIG_arg_fail(1)) SWIG_fail
;
9990 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
9991 if (SWIG_arg_fail(2)) SWIG_fail
;
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 (arg1
)->SetOrientation(arg2
);
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 Py_INCREF(Py_None
); resultobj
= Py_None
;
10007 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
= NULL
;
10009 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10010 wxLayoutOrientation result
;
10011 PyObject
* obj0
= 0 ;
10012 char *kwnames
[] = {
10013 (char *) "self", NULL
10016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
10017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail
;
10020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10021 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
10023 wxPyEndAllowThreads(__tstate
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= SWIG_From_int((result
));
10033 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
= NULL
;
10035 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10036 wxLayoutAlignment arg2
;
10037 PyObject
* obj0
= 0 ;
10038 PyObject
* obj1
= 0 ;
10039 char *kwnames
[] = {
10040 (char *) "self",(char *) "align", NULL
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10045 if (SWIG_arg_fail(1)) SWIG_fail
;
10047 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10048 if (SWIG_arg_fail(2)) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 (arg1
)->SetAlignment(arg2
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 Py_INCREF(Py_None
); resultobj
= Py_None
;
10064 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
= NULL
;
10066 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10067 wxLayoutAlignment result
;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
10074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10075 if (SWIG_arg_fail(1)) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_From_int((result
));
10090 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
10092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10093 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
10095 return Py_BuildValue((char *)"");
10097 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
= NULL
;
10099 int arg1
= (int) 0 ;
10100 wxCalculateLayoutEvent
*result
;
10101 PyObject
* obj0
= 0 ;
10102 char *kwnames
[] = {
10103 (char *) "id", NULL
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
10109 arg1
= static_cast<int >(SWIG_As_int(obj0
));
10110 if (SWIG_arg_fail(1)) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10127 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
= NULL
;
10129 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self",(char *) "flags", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10139 if (SWIG_arg_fail(1)) SWIG_fail
;
10141 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10142 if (SWIG_arg_fail(2)) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 (arg1
)->SetFlags(arg2
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 Py_INCREF(Py_None
); resultobj
= Py_None
;
10158 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
= NULL
;
10160 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10169 if (SWIG_arg_fail(1)) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= SWIG_From_int(static_cast<int >(result
));
10186 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
= NULL
;
10188 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self",(char *) "rect", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10199 if (SWIG_arg_fail(1)) SWIG_fail
;
10202 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 (arg1
)->SetRect((wxRect
const &)*arg2
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 Py_INCREF(Py_None
); resultobj
= Py_None
;
10218 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
= NULL
;
10220 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10229 if (SWIG_arg_fail(1)) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10238 wxRect
* resultptr
;
10239 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
10240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10248 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10251 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10253 return Py_BuildValue((char *)"");
10255 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
= NULL
;
10257 wxWindow
*arg1
= (wxWindow
*) 0 ;
10258 int arg2
= (int) -1 ;
10259 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10260 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10261 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10262 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10263 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10264 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10265 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10266 wxSashLayoutWindow
*result
;
10269 bool temp6
= false ;
10270 PyObject
* obj0
= 0 ;
10271 PyObject
* obj1
= 0 ;
10272 PyObject
* obj2
= 0 ;
10273 PyObject
* obj3
= 0 ;
10274 PyObject
* obj4
= 0 ;
10275 PyObject
* obj5
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10282 if (SWIG_arg_fail(1)) SWIG_fail
;
10285 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10286 if (SWIG_arg_fail(2)) SWIG_fail
;
10292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10298 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10303 arg5
= static_cast<long >(SWIG_As_long(obj4
));
10304 if (SWIG_arg_fail(5)) SWIG_fail
;
10309 arg6
= wxString_in_helper(obj5
);
10310 if (arg6
== NULL
) SWIG_fail
;
10315 if (!wxPyCheckForApp()) SWIG_fail
;
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10337 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
= NULL
;
10339 wxSashLayoutWindow
*result
;
10340 char *kwnames
[] = {
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10346 if (!wxPyCheckForApp()) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10360 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
= NULL
;
10362 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10363 wxWindow
*arg2
= (wxWindow
*) 0 ;
10364 int arg3
= (int) -1 ;
10365 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10366 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10367 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10368 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10369 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10370 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10371 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10375 bool temp7
= false ;
10376 PyObject
* obj0
= 0 ;
10377 PyObject
* obj1
= 0 ;
10378 PyObject
* obj2
= 0 ;
10379 PyObject
* obj3
= 0 ;
10380 PyObject
* obj4
= 0 ;
10381 PyObject
* obj5
= 0 ;
10382 PyObject
* obj6
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10389 if (SWIG_arg_fail(1)) SWIG_fail
;
10390 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10391 if (SWIG_arg_fail(2)) SWIG_fail
;
10394 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10395 if (SWIG_arg_fail(3)) SWIG_fail
;
10401 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10407 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10412 arg6
= static_cast<long >(SWIG_As_long(obj5
));
10413 if (SWIG_arg_fail(6)) SWIG_fail
;
10418 arg7
= wxString_in_helper(obj6
);
10419 if (arg7
== NULL
) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10447 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
= NULL
;
10449 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10450 wxLayoutAlignment result
;
10451 PyObject
* obj0
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10458 if (SWIG_arg_fail(1)) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= SWIG_From_int((result
));
10473 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
= NULL
;
10475 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10476 wxLayoutOrientation result
;
10477 PyObject
* obj0
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10484 if (SWIG_arg_fail(1)) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10492 resultobj
= SWIG_From_int((result
));
10499 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
= NULL
;
10501 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10502 wxLayoutAlignment arg2
;
10503 PyObject
* obj0
= 0 ;
10504 PyObject
* obj1
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self",(char *) "alignment", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10511 if (SWIG_arg_fail(1)) SWIG_fail
;
10513 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10514 if (SWIG_arg_fail(2)) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 (arg1
)->SetAlignment(arg2
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 Py_INCREF(Py_None
); resultobj
= Py_None
;
10530 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
= NULL
;
10532 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self",(char *) "size", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10543 if (SWIG_arg_fail(1)) SWIG_fail
;
10546 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 Py_INCREF(Py_None
); resultobj
= Py_None
;
10562 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
= NULL
;
10564 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10565 wxLayoutOrientation arg2
;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "orientation", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10574 if (SWIG_arg_fail(1)) SWIG_fail
;
10576 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10577 if (SWIG_arg_fail(2)) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 (arg1
)->SetOrientation(arg2
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 Py_INCREF(Py_None
); resultobj
= Py_None
;
10593 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10596 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10598 return Py_BuildValue((char *)"");
10600 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
= NULL
;
10602 wxLayoutAlgorithm
*result
;
10603 char *kwnames
[] = {
10607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10622 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
= NULL
;
10624 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10625 PyObject
* obj0
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "self", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10632 if (SWIG_arg_fail(1)) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 Py_INCREF(Py_None
); resultobj
= Py_None
;
10647 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
= NULL
;
10649 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10650 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10651 wxRect
*arg3
= (wxRect
*) NULL
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 PyObject
* obj2
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self",(char *) "frame",(char *) "rect", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10662 if (SWIG_arg_fail(1)) SWIG_fail
;
10663 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10664 if (SWIG_arg_fail(2)) SWIG_fail
;
10666 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10667 if (SWIG_arg_fail(3)) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10685 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
= NULL
;
10687 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10688 wxFrame
*arg2
= (wxFrame
*) 0 ;
10689 wxWindow
*arg3
= (wxWindow
*) NULL
;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 PyObject
* obj2
= 0 ;
10694 char *kwnames
[] = {
10695 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10700 if (SWIG_arg_fail(1)) SWIG_fail
;
10701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10702 if (SWIG_arg_fail(2)) SWIG_fail
;
10704 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10705 if (SWIG_arg_fail(3)) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10723 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
= NULL
;
10725 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10726 wxWindow
*arg2
= (wxWindow
*) 0 ;
10727 wxWindow
*arg3
= (wxWindow
*) NULL
;
10729 PyObject
* obj0
= 0 ;
10730 PyObject
* obj1
= 0 ;
10731 PyObject
* obj2
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10738 if (SWIG_arg_fail(1)) SWIG_fail
;
10739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10740 if (SWIG_arg_fail(2)) SWIG_fail
;
10742 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10743 if (SWIG_arg_fail(3)) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10761 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10764 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10766 return Py_BuildValue((char *)"");
10768 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
= NULL
;
10770 wxWindow
*arg1
= (wxWindow
*) 0 ;
10771 int arg2
= (int) wxBORDER_NONE
;
10772 wxPopupWindow
*result
;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "parent",(char *) "flags", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10781 if (SWIG_arg_fail(1)) SWIG_fail
;
10784 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10785 if (SWIG_arg_fail(2)) SWIG_fail
;
10789 if (!wxPyCheckForApp()) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10803 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
= NULL
;
10805 wxPopupWindow
*result
;
10806 char *kwnames
[] = {
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10812 if (!wxPyCheckForApp()) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= (wxPopupWindow
*)new wxPopupWindow();
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10826 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
= NULL
;
10828 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10829 wxWindow
*arg2
= (wxWindow
*) 0 ;
10830 int arg3
= (int) wxBORDER_NONE
;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 PyObject
* obj2
= 0 ;
10835 char *kwnames
[] = {
10836 (char *) "self",(char *) "parent",(char *) "flags", NULL
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10841 if (SWIG_arg_fail(1)) SWIG_fail
;
10842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10843 if (SWIG_arg_fail(2)) SWIG_fail
;
10846 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10847 if (SWIG_arg_fail(3)) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10866 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
= NULL
;
10868 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10869 wxPoint
*arg2
= 0 ;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 PyObject
* obj2
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10882 if (SWIG_arg_fail(1)) SWIG_fail
;
10885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10889 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 Py_INCREF(Py_None
); resultobj
= Py_None
;
10905 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10908 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10910 return Py_BuildValue((char *)"");
10912 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
= NULL
;
10914 wxWindow
*arg1
= (wxWindow
*) 0 ;
10915 int arg2
= (int) wxBORDER_NONE
;
10916 wxPyPopupTransientWindow
*result
;
10917 PyObject
* obj0
= 0 ;
10918 PyObject
* obj1
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "parent",(char *) "style", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10925 if (SWIG_arg_fail(1)) SWIG_fail
;
10928 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10929 if (SWIG_arg_fail(2)) SWIG_fail
;
10933 if (!wxPyCheckForApp()) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10947 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
= NULL
;
10949 wxPyPopupTransientWindow
*result
;
10950 char *kwnames
[] = {
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10956 if (!wxPyCheckForApp()) SWIG_fail
;
10957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10960 wxPyEndAllowThreads(__tstate
);
10961 if (PyErr_Occurred()) SWIG_fail
;
10963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10970 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
= NULL
;
10972 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10973 PyObject
*arg2
= (PyObject
*) 0 ;
10974 PyObject
*arg3
= (PyObject
*) 0 ;
10975 PyObject
* obj0
= 0 ;
10976 PyObject
* obj1
= 0 ;
10977 PyObject
* obj2
= 0 ;
10978 char *kwnames
[] = {
10979 (char *) "self",(char *) "self",(char *) "_class", NULL
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10984 if (SWIG_arg_fail(1)) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 Py_INCREF(Py_None
); resultobj
= Py_None
;
11001 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
= NULL
;
11003 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11004 wxWindow
*arg2
= (wxWindow
*) NULL
;
11005 PyObject
* obj0
= 0 ;
11006 PyObject
* obj1
= 0 ;
11007 char *kwnames
[] = {
11008 (char *) "self",(char *) "focus", NULL
11011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
11012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11013 if (SWIG_arg_fail(1)) SWIG_fail
;
11015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11016 if (SWIG_arg_fail(2)) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->Popup(arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
= NULL
;
11034 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11035 PyObject
* obj0
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
11041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11042 if (SWIG_arg_fail(1)) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 Py_INCREF(Py_None
); resultobj
= Py_None
;
11057 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
11059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11060 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
11062 return Py_BuildValue((char *)"");
11064 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
= NULL
;
11066 wxWindow
*arg1
= (wxWindow
*) 0 ;
11067 wxString
*arg2
= 0 ;
11068 int arg3
= (int) 100 ;
11069 wxRect
*arg4
= (wxRect
*) NULL
;
11070 wxTipWindow
*result
;
11071 bool temp2
= false ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 PyObject
* obj2
= 0 ;
11075 PyObject
* obj3
= 0 ;
11076 char *kwnames
[] = {
11077 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11082 if (SWIG_arg_fail(1)) SWIG_fail
;
11084 arg2
= wxString_in_helper(obj1
);
11085 if (arg2
== NULL
) SWIG_fail
;
11090 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11091 if (SWIG_arg_fail(3)) SWIG_fail
;
11095 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
11096 if (SWIG_arg_fail(4)) SWIG_fail
;
11099 if (!wxPyCheckForApp()) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
11121 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
= NULL
;
11123 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11126 PyObject
* obj0
= 0 ;
11127 PyObject
* obj1
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self",(char *) "rectBound", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11134 if (SWIG_arg_fail(1)) SWIG_fail
;
11137 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 Py_INCREF(Py_None
); resultobj
= Py_None
;
11153 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
= NULL
;
11155 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11163 if (SWIG_arg_fail(1)) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 Py_INCREF(Py_None
); resultobj
= Py_None
;
11178 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11181 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11183 return Py_BuildValue((char *)"");
11185 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
= NULL
;
11187 wxWindow
*arg1
= (wxWindow
*) 0 ;
11188 int arg2
= (int) wxID_ANY
;
11189 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11190 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11191 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11192 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11193 long arg5
= (long) 0 ;
11194 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11195 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11196 wxPyVScrolledWindow
*result
;
11199 bool temp6
= false ;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 PyObject
* obj2
= 0 ;
11203 PyObject
* obj3
= 0 ;
11204 PyObject
* obj4
= 0 ;
11205 PyObject
* obj5
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11212 if (SWIG_arg_fail(1)) SWIG_fail
;
11215 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11216 if (SWIG_arg_fail(2)) SWIG_fail
;
11222 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11228 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11233 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11234 if (SWIG_arg_fail(5)) SWIG_fail
;
11239 arg6
= wxString_in_helper(obj5
);
11240 if (arg6
== NULL
) SWIG_fail
;
11245 if (!wxPyCheckForApp()) SWIG_fail
;
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11267 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
= NULL
;
11269 wxPyVScrolledWindow
*result
;
11270 char *kwnames
[] = {
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11276 if (!wxPyCheckForApp()) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11290 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
= NULL
;
11292 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11293 PyObject
*arg2
= (PyObject
*) 0 ;
11294 PyObject
*arg3
= (PyObject
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 PyObject
* obj2
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "self",(char *) "_class", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 Py_INCREF(Py_None
); resultobj
= Py_None
;
11321 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
= NULL
;
11323 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11324 wxWindow
*arg2
= (wxWindow
*) 0 ;
11325 int arg3
= (int) wxID_ANY
;
11326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11330 long arg6
= (long) 0 ;
11331 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11332 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11336 bool temp7
= false ;
11337 PyObject
* obj0
= 0 ;
11338 PyObject
* obj1
= 0 ;
11339 PyObject
* obj2
= 0 ;
11340 PyObject
* obj3
= 0 ;
11341 PyObject
* obj4
= 0 ;
11342 PyObject
* obj5
= 0 ;
11343 PyObject
* obj6
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11350 if (SWIG_arg_fail(1)) SWIG_fail
;
11351 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11352 if (SWIG_arg_fail(2)) SWIG_fail
;
11355 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11356 if (SWIG_arg_fail(3)) SWIG_fail
;
11362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11373 arg6
= static_cast<long >(SWIG_As_long(obj5
));
11374 if (SWIG_arg_fail(6)) SWIG_fail
;
11379 arg7
= wxString_in_helper(obj6
);
11380 if (arg7
== NULL
) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11408 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
= NULL
;
11410 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self",(char *) "count", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11420 if (SWIG_arg_fail(1)) SWIG_fail
;
11422 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11423 if (SWIG_arg_fail(2)) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 (arg1
)->SetLineCount(arg2
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 Py_INCREF(Py_None
); resultobj
= Py_None
;
11439 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
= NULL
;
11441 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self",(char *) "line", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11452 if (SWIG_arg_fail(1)) SWIG_fail
;
11454 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11455 if (SWIG_arg_fail(2)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11473 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
= NULL
;
11475 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11478 PyObject
* obj0
= 0 ;
11479 PyObject
* obj1
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self",(char *) "lines", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11486 if (SWIG_arg_fail(1)) SWIG_fail
;
11488 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11489 if (SWIG_arg_fail(2)) SWIG_fail
;
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= (bool)(arg1
)->ScrollLines(arg2
);
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11507 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
= NULL
;
11509 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11512 PyObject
* obj0
= 0 ;
11513 PyObject
* obj1
= 0 ;
11514 char *kwnames
[] = {
11515 (char *) "self",(char *) "pages", NULL
11518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11520 if (SWIG_arg_fail(1)) SWIG_fail
;
11522 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11523 if (SWIG_arg_fail(2)) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (bool)(arg1
)->ScrollPages(arg2
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11541 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
= NULL
;
11543 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11545 PyObject
* obj0
= 0 ;
11546 PyObject
* obj1
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self",(char *) "line", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11553 if (SWIG_arg_fail(1)) SWIG_fail
;
11555 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11556 if (SWIG_arg_fail(2)) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 (arg1
)->RefreshLine(arg2
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 Py_INCREF(Py_None
); resultobj
= Py_None
;
11572 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
= NULL
;
11574 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 PyObject
* obj2
= 0 ;
11580 char *kwnames
[] = {
11581 (char *) "self",(char *) "from",(char *) "to", NULL
11584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11589 if (SWIG_arg_fail(2)) SWIG_fail
;
11592 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
11593 if (SWIG_arg_fail(3)) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 (arg1
)->RefreshLines(arg2
,arg3
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 Py_INCREF(Py_None
); resultobj
= Py_None
;
11609 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
= NULL
;
11611 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 PyObject
* obj1
= 0 ;
11617 PyObject
* obj2
= 0 ;
11618 char *kwnames
[] = {
11619 (char *) "self",(char *) "x",(char *) "y", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11624 if (SWIG_arg_fail(1)) SWIG_fail
;
11626 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11627 if (SWIG_arg_fail(2)) SWIG_fail
;
11630 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11631 if (SWIG_arg_fail(3)) SWIG_fail
;
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11635 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= SWIG_From_int(static_cast<int >(result
));
11649 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
= NULL
;
11651 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11652 wxPoint
*arg2
= 0 ;
11655 PyObject
* obj0
= 0 ;
11656 PyObject
* obj1
= 0 ;
11657 char *kwnames
[] = {
11658 (char *) "self",(char *) "pt", NULL
11661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11663 if (SWIG_arg_fail(1)) SWIG_fail
;
11666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_From_int(static_cast<int >(result
));
11684 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
= NULL
;
11686 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11694 if (SWIG_arg_fail(1)) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 (arg1
)->RefreshAll();
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 Py_INCREF(Py_None
); resultobj
= Py_None
;
11709 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11710 PyObject
*resultobj
= NULL
;
11711 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11713 PyObject
* obj0
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "self", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11720 if (SWIG_arg_fail(1)) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11737 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11738 PyObject
*resultobj
= NULL
;
11739 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11741 PyObject
* obj0
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "self", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11748 if (SWIG_arg_fail(1)) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11765 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11766 PyObject
*resultobj
= NULL
;
11767 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11769 PyObject
* obj0
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "self", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11776 if (SWIG_arg_fail(1)) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11793 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
= NULL
;
11795 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 char *kwnames
[] = {
11801 (char *) "self",(char *) "line", NULL
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11806 if (SWIG_arg_fail(1)) SWIG_fail
;
11808 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11809 if (SWIG_arg_fail(2)) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11827 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
= NULL
;
11829 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11831 PyObject
* obj0
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11838 if (SWIG_arg_fail(1)) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11855 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
= NULL
;
11857 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11866 if (SWIG_arg_fail(1)) SWIG_fail
;
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11883 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11886 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11888 return Py_BuildValue((char *)"");
11890 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11891 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11896 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11897 PyObject
*pyobj
= NULL
;
11901 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11903 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11910 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
= NULL
;
11912 wxWindow
*arg1
= (wxWindow
*) 0 ;
11913 int arg2
= (int) wxID_ANY
;
11914 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11915 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11916 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11917 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11918 long arg5
= (long) 0 ;
11919 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11920 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11921 wxPyVListBox
*result
;
11924 bool temp6
= false ;
11925 PyObject
* obj0
= 0 ;
11926 PyObject
* obj1
= 0 ;
11927 PyObject
* obj2
= 0 ;
11928 PyObject
* obj3
= 0 ;
11929 PyObject
* obj4
= 0 ;
11930 PyObject
* obj5
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11937 if (SWIG_arg_fail(1)) SWIG_fail
;
11940 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11941 if (SWIG_arg_fail(2)) SWIG_fail
;
11947 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11953 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11958 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11959 if (SWIG_arg_fail(5)) SWIG_fail
;
11964 arg6
= wxString_in_helper(obj5
);
11965 if (arg6
== NULL
) SWIG_fail
;
11970 if (!wxPyCheckForApp()) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11992 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
= NULL
;
11994 wxPyVListBox
*result
;
11995 char *kwnames
[] = {
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
12001 if (!wxPyCheckForApp()) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (wxPyVListBox
*)new wxPyVListBox();
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12015 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
= NULL
;
12017 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12018 PyObject
*arg2
= (PyObject
*) 0 ;
12019 PyObject
*arg3
= (PyObject
*) 0 ;
12020 PyObject
* obj0
= 0 ;
12021 PyObject
* obj1
= 0 ;
12022 PyObject
* obj2
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self",(char *) "self",(char *) "_class", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12029 if (SWIG_arg_fail(1)) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 Py_INCREF(Py_None
); resultobj
= Py_None
;
12046 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
= NULL
;
12048 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12049 wxWindow
*arg2
= (wxWindow
*) 0 ;
12050 int arg3
= (int) wxID_ANY
;
12051 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12052 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12053 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12054 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12055 long arg6
= (long) 0 ;
12056 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12057 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12061 bool temp7
= false ;
12062 PyObject
* obj0
= 0 ;
12063 PyObject
* obj1
= 0 ;
12064 PyObject
* obj2
= 0 ;
12065 PyObject
* obj3
= 0 ;
12066 PyObject
* obj4
= 0 ;
12067 PyObject
* obj5
= 0 ;
12068 PyObject
* obj6
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12075 if (SWIG_arg_fail(1)) SWIG_fail
;
12076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12077 if (SWIG_arg_fail(2)) SWIG_fail
;
12080 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12081 if (SWIG_arg_fail(3)) SWIG_fail
;
12087 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12093 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12098 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12099 if (SWIG_arg_fail(6)) SWIG_fail
;
12104 arg7
= wxString_in_helper(obj6
);
12105 if (arg7
== NULL
) SWIG_fail
;
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12133 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= NULL
;
12135 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
12143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12153 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12161 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
= NULL
;
12163 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
12171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12172 if (SWIG_arg_fail(1)) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12189 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
= NULL
;
12191 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12193 PyObject
* obj0
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12200 if (SWIG_arg_fail(1)) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= SWIG_From_int(static_cast<int >(result
));
12217 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
= NULL
;
12219 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12222 PyObject
* obj0
= 0 ;
12223 PyObject
* obj1
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self",(char *) "item", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail
;
12232 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12233 if (SWIG_arg_fail(2)) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12251 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
= NULL
;
12253 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12256 PyObject
* obj0
= 0 ;
12257 PyObject
* obj1
= 0 ;
12258 char *kwnames
[] = {
12259 (char *) "self",(char *) "item", NULL
12262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12264 if (SWIG_arg_fail(1)) SWIG_fail
;
12266 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12267 if (SWIG_arg_fail(2)) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12285 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
= NULL
;
12287 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12289 PyObject
* obj0
= 0 ;
12290 char *kwnames
[] = {
12291 (char *) "self", NULL
12294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12296 if (SWIG_arg_fail(1)) SWIG_fail
;
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12313 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
= NULL
;
12315 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12317 PyObject
* obj0
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "self", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12324 if (SWIG_arg_fail(1)) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= result
;
12339 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
= NULL
;
12341 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12342 unsigned long arg2
;
12344 PyObject
* obj0
= 0 ;
12345 PyObject
* obj1
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self",(char *) "cookie", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12352 if (SWIG_arg_fail(1)) SWIG_fail
;
12354 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
12355 if (SWIG_arg_fail(2)) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= result
;
12371 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12372 PyObject
*resultobj
= NULL
;
12373 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 char *kwnames
[] = {
12377 (char *) "self", NULL
12380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12382 if (SWIG_arg_fail(1)) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12391 wxPoint
* resultptr
;
12392 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12401 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
= NULL
;
12403 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12405 PyObject
* obj0
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "self", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12412 if (SWIG_arg_fail(1)) SWIG_fail
;
12414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12416 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12417 result
= (wxColour
*) &_result_ref
;
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12430 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
= NULL
;
12432 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 PyObject
* obj1
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self",(char *) "count", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12442 if (SWIG_arg_fail(1)) SWIG_fail
;
12444 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12445 if (SWIG_arg_fail(2)) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 (arg1
)->SetItemCount(arg2
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 Py_INCREF(Py_None
); resultobj
= Py_None
;
12461 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
= NULL
;
12463 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12464 PyObject
* obj0
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12471 if (SWIG_arg_fail(1)) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 Py_INCREF(Py_None
); resultobj
= Py_None
;
12486 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
= NULL
;
12488 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 PyObject
* obj1
= 0 ;
12492 char *kwnames
[] = {
12493 (char *) "self",(char *) "selection", NULL
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12498 if (SWIG_arg_fail(1)) SWIG_fail
;
12500 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12501 if (SWIG_arg_fail(2)) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 (arg1
)->SetSelection(arg2
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 Py_INCREF(Py_None
); resultobj
= Py_None
;
12517 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
= NULL
;
12519 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12521 bool arg3
= (bool) true ;
12523 PyObject
* obj0
= 0 ;
12524 PyObject
* obj1
= 0 ;
12525 PyObject
* obj2
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self",(char *) "item",(char *) "select", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12532 if (SWIG_arg_fail(1)) SWIG_fail
;
12534 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12535 if (SWIG_arg_fail(2)) SWIG_fail
;
12539 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
12540 if (SWIG_arg_fail(3)) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12559 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
= NULL
;
12561 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12565 PyObject
* obj0
= 0 ;
12566 PyObject
* obj1
= 0 ;
12567 PyObject
* obj2
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self",(char *) "from",(char *) "to", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12574 if (SWIG_arg_fail(1)) SWIG_fail
;
12576 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12577 if (SWIG_arg_fail(2)) SWIG_fail
;
12580 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12581 if (SWIG_arg_fail(3)) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12599 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
= NULL
;
12601 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12603 PyObject
* obj0
= 0 ;
12604 PyObject
* obj1
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self",(char *) "item", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12611 if (SWIG_arg_fail(1)) SWIG_fail
;
12613 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12614 if (SWIG_arg_fail(2)) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 (arg1
)->Toggle(arg2
);
12620 wxPyEndAllowThreads(__tstate
);
12621 if (PyErr_Occurred()) SWIG_fail
;
12623 Py_INCREF(Py_None
); resultobj
= Py_None
;
12630 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
= NULL
;
12632 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12634 PyObject
* obj0
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12641 if (SWIG_arg_fail(1)) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= (bool)(arg1
)->SelectAll();
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12658 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
= NULL
;
12660 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12662 PyObject
* obj0
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12669 if (SWIG_arg_fail(1)) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 result
= (bool)(arg1
)->DeselectAll();
12674 wxPyEndAllowThreads(__tstate
);
12675 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12686 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
= NULL
;
12688 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12689 wxPoint
*arg2
= 0 ;
12691 PyObject
* obj0
= 0 ;
12692 PyObject
* obj1
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self",(char *) "pt", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12699 if (SWIG_arg_fail(1)) SWIG_fail
;
12702 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 Py_INCREF(Py_None
); resultobj
= Py_None
;
12718 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
= NULL
;
12720 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12723 PyObject
* obj0
= 0 ;
12724 PyObject
* obj1
= 0 ;
12725 PyObject
* obj2
= 0 ;
12726 char *kwnames
[] = {
12727 (char *) "self",(char *) "x",(char *) "y", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12732 if (SWIG_arg_fail(1)) SWIG_fail
;
12734 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12735 if (SWIG_arg_fail(2)) SWIG_fail
;
12738 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12739 if (SWIG_arg_fail(3)) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 (arg1
)->SetMargins(arg2
,arg3
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 Py_INCREF(Py_None
); resultobj
= Py_None
;
12755 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
= NULL
;
12757 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12758 wxColour
*arg2
= 0 ;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self",(char *) "col", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12768 if (SWIG_arg_fail(1)) SWIG_fail
;
12771 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 Py_INCREF(Py_None
); resultobj
= Py_None
;
12787 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12790 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12792 return Py_BuildValue((char *)"");
12794 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
= NULL
;
12796 wxWindow
*arg1
= (wxWindow
*) 0 ;
12797 int arg2
= (int) wxID_ANY
;
12798 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12799 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12800 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12801 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12802 long arg5
= (long) 0 ;
12803 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12804 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12805 wxPyHtmlListBox
*result
;
12808 bool temp6
= false ;
12809 PyObject
* obj0
= 0 ;
12810 PyObject
* obj1
= 0 ;
12811 PyObject
* obj2
= 0 ;
12812 PyObject
* obj3
= 0 ;
12813 PyObject
* obj4
= 0 ;
12814 PyObject
* obj5
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12821 if (SWIG_arg_fail(1)) SWIG_fail
;
12824 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12825 if (SWIG_arg_fail(2)) SWIG_fail
;
12831 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12837 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12842 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12843 if (SWIG_arg_fail(5)) SWIG_fail
;
12848 arg6
= wxString_in_helper(obj5
);
12849 if (arg6
== NULL
) SWIG_fail
;
12854 if (!wxPyCheckForApp()) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12876 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12877 PyObject
*resultobj
= NULL
;
12878 wxPyHtmlListBox
*result
;
12879 char *kwnames
[] = {
12883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12885 if (!wxPyCheckForApp()) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12899 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
= NULL
;
12901 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12902 PyObject
*arg2
= (PyObject
*) 0 ;
12903 PyObject
*arg3
= (PyObject
*) 0 ;
12904 PyObject
* obj0
= 0 ;
12905 PyObject
* obj1
= 0 ;
12906 PyObject
* obj2
= 0 ;
12907 char *kwnames
[] = {
12908 (char *) "self",(char *) "self",(char *) "_class", NULL
12911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12913 if (SWIG_arg_fail(1)) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 Py_INCREF(Py_None
); resultobj
= Py_None
;
12930 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
= NULL
;
12932 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12933 wxWindow
*arg2
= (wxWindow
*) 0 ;
12934 int arg3
= (int) wxID_ANY
;
12935 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12936 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12937 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12938 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12939 long arg6
= (long) 0 ;
12940 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12941 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12945 bool temp7
= false ;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 PyObject
* obj2
= 0 ;
12949 PyObject
* obj3
= 0 ;
12950 PyObject
* obj4
= 0 ;
12951 PyObject
* obj5
= 0 ;
12952 PyObject
* obj6
= 0 ;
12953 char *kwnames
[] = {
12954 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12959 if (SWIG_arg_fail(1)) SWIG_fail
;
12960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12961 if (SWIG_arg_fail(2)) SWIG_fail
;
12964 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12965 if (SWIG_arg_fail(3)) SWIG_fail
;
12971 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12977 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12982 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12983 if (SWIG_arg_fail(6)) SWIG_fail
;
12988 arg7
= wxString_in_helper(obj6
);
12989 if (arg7
== NULL
) SWIG_fail
;
12994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12997 wxPyEndAllowThreads(__tstate
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13017 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
= NULL
;
13019 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
13026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13027 if (SWIG_arg_fail(1)) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 (arg1
)->RefreshAll();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13042 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
= NULL
;
13044 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self",(char *) "count", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
13053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13054 if (SWIG_arg_fail(1)) SWIG_fail
;
13056 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
13057 if (SWIG_arg_fail(2)) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 (arg1
)->SetItemCount(arg2
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 Py_INCREF(Py_None
); resultobj
= Py_None
;
13073 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
= NULL
;
13075 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13076 wxFileSystem
*result
;
13077 PyObject
* obj0
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
13083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13084 if (SWIG_arg_fail(1)) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
13089 result
= (wxFileSystem
*) &_result_ref
;
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
13102 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
13104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13105 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
13107 return Py_BuildValue((char *)"");
13109 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
= NULL
;
13111 wxPyTaskBarIcon
*result
;
13112 char *kwnames
[] = {
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
13118 if (!wxPyCheckForApp()) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
13132 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
= NULL
;
13134 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13135 PyObject
* obj0
= 0 ;
13136 char *kwnames
[] = {
13137 (char *) "self", NULL
13140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
13141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13142 if (SWIG_arg_fail(1)) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 Py_INCREF(Py_None
); resultobj
= Py_None
;
13157 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
= NULL
;
13159 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13160 PyObject
*arg2
= (PyObject
*) 0 ;
13161 PyObject
*arg3
= (PyObject
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 PyObject
* obj1
= 0 ;
13165 PyObject
* obj2
= 0 ;
13166 PyObject
* obj3
= 0 ;
13167 char *kwnames
[] = {
13168 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13173 if (SWIG_arg_fail(1)) SWIG_fail
;
13177 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13178 if (SWIG_arg_fail(4)) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 Py_INCREF(Py_None
); resultobj
= Py_None
;
13194 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
= NULL
;
13196 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
13203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13204 if (SWIG_arg_fail(1)) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 wxPyTaskBarIcon_Destroy(arg1
);
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 Py_INCREF(Py_None
); resultobj
= Py_None
;
13219 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
= NULL
;
13221 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13230 if (SWIG_arg_fail(1)) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13247 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
= NULL
;
13249 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13251 PyObject
* obj0
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13258 if (SWIG_arg_fail(1)) SWIG_fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13275 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
= NULL
;
13277 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13279 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13280 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13282 bool temp3
= false ;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 PyObject
* obj2
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13292 if (SWIG_arg_fail(1)) SWIG_fail
;
13294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13295 if (SWIG_arg_fail(2)) SWIG_fail
;
13296 if (arg2
== NULL
) {
13297 SWIG_null_ref("wxIcon");
13299 if (SWIG_arg_fail(2)) SWIG_fail
;
13303 arg3
= wxString_in_helper(obj2
);
13304 if (arg3
== NULL
) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13332 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
= NULL
;
13334 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13336 PyObject
* obj0
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13343 if (SWIG_arg_fail(1)) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 result
= (bool)(arg1
)->RemoveIcon();
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13360 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
= NULL
;
13362 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13363 wxMenu
*arg2
= (wxMenu
*) 0 ;
13365 PyObject
* obj0
= 0 ;
13366 PyObject
* obj1
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self",(char *) "menu", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13373 if (SWIG_arg_fail(1)) SWIG_fail
;
13374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13375 if (SWIG_arg_fail(2)) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (bool)(arg1
)->PopupMenu(arg2
);
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13392 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13395 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13397 return Py_BuildValue((char *)"");
13399 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
= NULL
;
13402 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13403 wxTaskBarIconEvent
*result
;
13404 PyObject
* obj0
= 0 ;
13405 PyObject
* obj1
= 0 ;
13406 char *kwnames
[] = {
13407 (char *) "evtType",(char *) "tbIcon", NULL
13410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13412 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13413 if (SWIG_arg_fail(1)) SWIG_fail
;
13415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13416 if (SWIG_arg_fail(2)) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13431 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13434 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13436 return Py_BuildValue((char *)"");
13438 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13439 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13444 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13445 PyObject
*pyobj
= NULL
;
13449 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13451 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13458 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13459 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13464 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13465 PyObject
*pyobj
= NULL
;
13469 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13471 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13478 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13479 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13484 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13485 PyObject
*pyobj
= NULL
;
13489 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13491 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13498 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13499 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13504 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13505 PyObject
*pyobj
= NULL
;
13509 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13511 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13518 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13519 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13524 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13525 PyObject
*pyobj
= NULL
;
13529 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13531 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13538 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13539 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13544 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13545 PyObject
*pyobj
= NULL
;
13549 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13551 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13558 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
= NULL
;
13560 wxColourData
*result
;
13561 char *kwnames
[] = {
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (wxColourData
*)new wxColourData();
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13580 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
= NULL
;
13582 wxColourData
*arg1
= (wxColourData
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13590 if (SWIG_arg_fail(1)) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 Py_INCREF(Py_None
); resultobj
= Py_None
;
13605 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
= NULL
;
13607 wxColourData
*arg1
= (wxColourData
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13616 if (SWIG_arg_fail(1)) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= (bool)(arg1
)->GetChooseFull();
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13633 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
= NULL
;
13635 wxColourData
*arg1
= (wxColourData
*) 0 ;
13637 PyObject
* obj0
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13644 if (SWIG_arg_fail(1)) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= (arg1
)->GetColour();
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13653 wxColour
* resultptr
;
13654 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13663 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13664 PyObject
*resultobj
= NULL
;
13665 wxColourData
*arg1
= (wxColourData
*) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 PyObject
* obj1
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "self",(char *) "i", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13676 if (SWIG_arg_fail(1)) SWIG_fail
;
13678 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13679 if (SWIG_arg_fail(2)) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (arg1
)->GetCustomColour(arg2
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13689 wxColour
* resultptr
;
13690 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13699 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
= NULL
;
13701 wxColourData
*arg1
= (wxColourData
*) 0 ;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self",(char *) "flag", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13711 if (SWIG_arg_fail(1)) SWIG_fail
;
13713 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13714 if (SWIG_arg_fail(2)) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 (arg1
)->SetChooseFull(arg2
);
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 Py_INCREF(Py_None
); resultobj
= Py_None
;
13730 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
= NULL
;
13732 wxColourData
*arg1
= (wxColourData
*) 0 ;
13733 wxColour
*arg2
= 0 ;
13735 PyObject
* obj0
= 0 ;
13736 PyObject
* obj1
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "self",(char *) "colour", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13743 if (SWIG_arg_fail(1)) SWIG_fail
;
13746 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 (arg1
)->SetColour((wxColour
const &)*arg2
);
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 Py_INCREF(Py_None
); resultobj
= Py_None
;
13762 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
= NULL
;
13764 wxColourData
*arg1
= (wxColourData
*) 0 ;
13766 wxColour
*arg3
= 0 ;
13768 PyObject
* obj0
= 0 ;
13769 PyObject
* obj1
= 0 ;
13770 PyObject
* obj2
= 0 ;
13771 char *kwnames
[] = {
13772 (char *) "self",(char *) "i",(char *) "colour", NULL
13775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13777 if (SWIG_arg_fail(1)) SWIG_fail
;
13779 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13780 if (SWIG_arg_fail(2)) SWIG_fail
;
13784 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 Py_INCREF(Py_None
); resultobj
= Py_None
;
13800 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13803 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13805 return Py_BuildValue((char *)"");
13807 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13808 PyObject
*resultobj
= NULL
;
13809 wxWindow
*arg1
= (wxWindow
*) 0 ;
13810 wxColourData
*arg2
= (wxColourData
*) NULL
;
13811 wxColourDialog
*result
;
13812 PyObject
* obj0
= 0 ;
13813 PyObject
* obj1
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "parent",(char *) "data", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13820 if (SWIG_arg_fail(1)) SWIG_fail
;
13822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13823 if (SWIG_arg_fail(2)) SWIG_fail
;
13826 if (!wxPyCheckForApp()) SWIG_fail
;
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13840 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
= NULL
;
13842 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13843 wxColourData
*result
;
13844 PyObject
* obj0
= 0 ;
13845 char *kwnames
[] = {
13846 (char *) "self", NULL
13849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13851 if (SWIG_arg_fail(1)) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13856 result
= (wxColourData
*) &_result_ref
;
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13869 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13872 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13874 return Py_BuildValue((char *)"");
13876 static PyObject
*_wrap_GetColourFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
= NULL
;
13878 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
13879 wxColour
const &arg2_defvalue
= wxNullColour
;
13880 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
13881 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13882 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13885 bool temp3
= false ;
13886 PyObject
* obj0
= 0 ;
13887 PyObject
* obj1
= 0 ;
13888 PyObject
* obj2
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13896 if (SWIG_arg_fail(1)) SWIG_fail
;
13901 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13906 arg3
= wxString_in_helper(obj2
);
13907 if (arg3
== NULL
) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13919 wxColour
* resultptr
;
13920 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13937 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
= NULL
;
13939 wxWindow
*arg1
= (wxWindow
*) 0 ;
13940 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13941 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13942 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13943 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13944 long arg4
= (long) 0 ;
13945 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13946 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13947 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13948 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13949 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13950 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13951 wxDirDialog
*result
;
13952 bool temp2
= false ;
13953 bool temp3
= false ;
13956 bool temp7
= false ;
13957 PyObject
* obj0
= 0 ;
13958 PyObject
* obj1
= 0 ;
13959 PyObject
* obj2
= 0 ;
13960 PyObject
* obj3
= 0 ;
13961 PyObject
* obj4
= 0 ;
13962 PyObject
* obj5
= 0 ;
13963 PyObject
* obj6
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13970 if (SWIG_arg_fail(1)) SWIG_fail
;
13973 arg2
= wxString_in_helper(obj1
);
13974 if (arg2
== NULL
) SWIG_fail
;
13980 arg3
= wxString_in_helper(obj2
);
13981 if (arg3
== NULL
) SWIG_fail
;
13987 arg4
= static_cast<long >(SWIG_As_long(obj3
));
13988 if (SWIG_arg_fail(4)) SWIG_fail
;
13994 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14000 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14005 arg7
= wxString_in_helper(obj6
);
14006 if (arg7
== NULL
) SWIG_fail
;
14011 if (!wxPyCheckForApp()) SWIG_fail
;
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
14049 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
= NULL
;
14051 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14053 PyObject
* obj0
= 0 ;
14054 char *kwnames
[] = {
14055 (char *) "self", NULL
14058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14060 if (SWIG_arg_fail(1)) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= (arg1
)->GetPath();
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14081 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14082 PyObject
*resultobj
= NULL
;
14083 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14085 PyObject
* obj0
= 0 ;
14086 char *kwnames
[] = {
14087 (char *) "self", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14092 if (SWIG_arg_fail(1)) SWIG_fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (arg1
)->GetMessage();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14113 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14114 PyObject
*resultobj
= NULL
;
14115 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14117 PyObject
* obj0
= 0 ;
14118 char *kwnames
[] = {
14119 (char *) "self", NULL
14122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14124 if (SWIG_arg_fail(1)) SWIG_fail
;
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 result
= (long)(arg1
)->GetStyle();
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= SWIG_From_long(static_cast<long >(result
));
14141 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
= NULL
;
14143 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14144 wxString
*arg2
= 0 ;
14145 bool temp2
= false ;
14146 PyObject
* obj0
= 0 ;
14147 PyObject
* obj1
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "self",(char *) "message", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14154 if (SWIG_arg_fail(1)) SWIG_fail
;
14156 arg2
= wxString_in_helper(obj1
);
14157 if (arg2
== NULL
) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 (arg1
)->SetMessage((wxString
const &)*arg2
);
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 Py_INCREF(Py_None
); resultobj
= Py_None
;
14182 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
= NULL
;
14184 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14185 wxString
*arg2
= 0 ;
14186 bool temp2
= false ;
14187 PyObject
* obj0
= 0 ;
14188 PyObject
* obj1
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self",(char *) "path", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14195 if (SWIG_arg_fail(1)) SWIG_fail
;
14197 arg2
= wxString_in_helper(obj1
);
14198 if (arg2
== NULL
) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 (arg1
)->SetPath((wxString
const &)*arg2
);
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 Py_INCREF(Py_None
); resultobj
= Py_None
;
14223 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
14225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14226 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
14228 return Py_BuildValue((char *)"");
14230 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
= NULL
;
14232 wxWindow
*arg1
= (wxWindow
*) 0 ;
14233 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
14234 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14235 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14236 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14237 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14238 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14239 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14240 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14241 long arg6
= (long) 0 ;
14242 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14243 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14244 wxFileDialog
*result
;
14245 bool temp2
= false ;
14246 bool temp3
= false ;
14247 bool temp4
= false ;
14248 bool temp5
= false ;
14250 PyObject
* obj0
= 0 ;
14251 PyObject
* obj1
= 0 ;
14252 PyObject
* obj2
= 0 ;
14253 PyObject
* obj3
= 0 ;
14254 PyObject
* obj4
= 0 ;
14255 PyObject
* obj5
= 0 ;
14256 PyObject
* obj6
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail
;
14266 arg2
= wxString_in_helper(obj1
);
14267 if (arg2
== NULL
) SWIG_fail
;
14273 arg3
= wxString_in_helper(obj2
);
14274 if (arg3
== NULL
) SWIG_fail
;
14280 arg4
= wxString_in_helper(obj3
);
14281 if (arg4
== NULL
) SWIG_fail
;
14287 arg5
= wxString_in_helper(obj4
);
14288 if (arg5
== NULL
) SWIG_fail
;
14294 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14295 if (SWIG_arg_fail(6)) SWIG_fail
;
14301 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14305 if (!wxPyCheckForApp()) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14351 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
= NULL
;
14353 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14354 wxString
*arg2
= 0 ;
14355 bool temp2
= false ;
14356 PyObject
* obj0
= 0 ;
14357 PyObject
* obj1
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self",(char *) "message", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14364 if (SWIG_arg_fail(1)) SWIG_fail
;
14366 arg2
= wxString_in_helper(obj1
);
14367 if (arg2
== NULL
) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 (arg1
)->SetMessage((wxString
const &)*arg2
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14377 Py_INCREF(Py_None
); resultobj
= Py_None
;
14392 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
= NULL
;
14394 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14395 wxString
*arg2
= 0 ;
14396 bool temp2
= false ;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj1
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self",(char *) "path", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14405 if (SWIG_arg_fail(1)) SWIG_fail
;
14407 arg2
= wxString_in_helper(obj1
);
14408 if (arg2
== NULL
) SWIG_fail
;
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 (arg1
)->SetPath((wxString
const &)*arg2
);
14415 wxPyEndAllowThreads(__tstate
);
14416 if (PyErr_Occurred()) SWIG_fail
;
14418 Py_INCREF(Py_None
); resultobj
= Py_None
;
14433 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
= NULL
;
14435 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14436 wxString
*arg2
= 0 ;
14437 bool temp2
= false ;
14438 PyObject
* obj0
= 0 ;
14439 PyObject
* obj1
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self",(char *) "dir", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14446 if (SWIG_arg_fail(1)) SWIG_fail
;
14448 arg2
= wxString_in_helper(obj1
);
14449 if (arg2
== NULL
) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 Py_INCREF(Py_None
); resultobj
= Py_None
;
14474 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
= NULL
;
14476 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14477 wxString
*arg2
= 0 ;
14478 bool temp2
= false ;
14479 PyObject
* obj0
= 0 ;
14480 PyObject
* obj1
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self",(char *) "name", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14487 if (SWIG_arg_fail(1)) SWIG_fail
;
14489 arg2
= wxString_in_helper(obj1
);
14490 if (arg2
== NULL
) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 (arg1
)->SetFilename((wxString
const &)*arg2
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 Py_INCREF(Py_None
); resultobj
= Py_None
;
14515 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
= NULL
;
14517 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14518 wxString
*arg2
= 0 ;
14519 bool temp2
= false ;
14520 PyObject
* obj0
= 0 ;
14521 PyObject
* obj1
= 0 ;
14522 char *kwnames
[] = {
14523 (char *) "self",(char *) "wildCard", NULL
14526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14528 if (SWIG_arg_fail(1)) SWIG_fail
;
14530 arg2
= wxString_in_helper(obj1
);
14531 if (arg2
== NULL
) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 Py_INCREF(Py_None
); resultobj
= Py_None
;
14556 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
= NULL
;
14558 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14560 PyObject
* obj0
= 0 ;
14561 PyObject
* obj1
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self",(char *) "style", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14568 if (SWIG_arg_fail(1)) SWIG_fail
;
14570 arg2
= static_cast<long >(SWIG_As_long(obj1
));
14571 if (SWIG_arg_fail(2)) SWIG_fail
;
14574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14575 (arg1
)->SetStyle(arg2
);
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 Py_INCREF(Py_None
); resultobj
= Py_None
;
14587 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
= NULL
;
14589 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 PyObject
* obj1
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self",(char *) "filterIndex", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14599 if (SWIG_arg_fail(1)) SWIG_fail
;
14601 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14602 if (SWIG_arg_fail(2)) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 (arg1
)->SetFilterIndex(arg2
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 Py_INCREF(Py_None
); resultobj
= Py_None
;
14618 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
= NULL
;
14620 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14622 PyObject
* obj0
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14629 if (SWIG_arg_fail(1)) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14650 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
= NULL
;
14652 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14654 PyObject
* obj0
= 0 ;
14655 char *kwnames
[] = {
14656 (char *) "self", NULL
14659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14661 if (SWIG_arg_fail(1)) SWIG_fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14682 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
= NULL
;
14684 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14693 if (SWIG_arg_fail(1)) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14714 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
= NULL
;
14716 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14718 PyObject
* obj0
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14725 if (SWIG_arg_fail(1)) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14746 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
= NULL
;
14748 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "self", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14757 if (SWIG_arg_fail(1)) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14778 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
= NULL
;
14780 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14789 if (SWIG_arg_fail(1)) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_From_long(static_cast<long >(result
));
14806 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
= NULL
;
14808 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14810 PyObject
* obj0
= 0 ;
14811 char *kwnames
[] = {
14812 (char *) "self", NULL
14815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14817 if (SWIG_arg_fail(1)) SWIG_fail
;
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_From_int(static_cast<int >(result
));
14834 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
= NULL
;
14836 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14845 if (SWIG_arg_fail(1)) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= result
;
14860 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
= NULL
;
14862 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14864 PyObject
* obj0
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14871 if (SWIG_arg_fail(1)) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= result
;
14886 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14889 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14891 return Py_BuildValue((char *)"");
14893 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
= NULL
;
14895 wxWindow
*arg1
= (wxWindow
*) 0 ;
14896 wxString
*arg2
= 0 ;
14897 wxString
*arg3
= 0 ;
14898 int arg4
= (int) 0 ;
14899 wxString
*arg5
= (wxString
*) NULL
;
14900 long arg6
= (long) wxCHOICEDLG_STYLE
;
14901 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14902 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14903 wxMultiChoiceDialog
*result
;
14904 bool temp2
= false ;
14905 bool temp3
= false ;
14907 PyObject
* obj0
= 0 ;
14908 PyObject
* obj1
= 0 ;
14909 PyObject
* obj2
= 0 ;
14910 PyObject
* obj3
= 0 ;
14911 PyObject
* obj4
= 0 ;
14912 PyObject
* obj5
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14919 if (SWIG_arg_fail(1)) SWIG_fail
;
14921 arg2
= wxString_in_helper(obj1
);
14922 if (arg2
== NULL
) SWIG_fail
;
14926 arg3
= wxString_in_helper(obj2
);
14927 if (arg3
== NULL
) SWIG_fail
;
14932 arg4
= PyList_Size(obj3
);
14933 arg5
= wxString_LIST_helper(obj3
);
14934 if (arg5
== NULL
) SWIG_fail
;
14939 arg6
= static_cast<long >(SWIG_As_long(obj4
));
14940 if (SWIG_arg_fail(6)) SWIG_fail
;
14946 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14950 if (!wxPyCheckForApp()) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14967 if (arg5
) delete [] arg5
;
14980 if (arg5
) delete [] arg5
;
14986 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
= NULL
;
14988 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14989 wxArrayInt
*arg2
= 0 ;
14990 bool temp2
= false ;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self",(char *) "selections", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14999 if (SWIG_arg_fail(1)) SWIG_fail
;
15001 if (! PySequence_Check(obj1
)) {
15002 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
15005 arg2
= new wxArrayInt
;
15007 int i
, len
=PySequence_Length(obj1
);
15008 for (i
=0; i
<len
; i
++) {
15009 PyObject
* item
= PySequence_GetItem(obj1
, i
);
15010 PyObject
* number
= PyNumber_Int(item
);
15011 arg2
->Add(PyInt_AS_LONG(number
));
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 Py_INCREF(Py_None
); resultobj
= Py_None
;
15025 if (temp2
) delete arg2
;
15030 if (temp2
) delete arg2
;
15036 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
= NULL
;
15038 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15040 PyObject
* obj0
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "self", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
15046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15047 if (SWIG_arg_fail(1)) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= result
;
15062 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15065 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
15067 return Py_BuildValue((char *)"");
15069 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
= NULL
;
15071 wxWindow
*arg1
= (wxWindow
*) 0 ;
15072 wxString
*arg2
= 0 ;
15073 wxString
*arg3
= 0 ;
15075 wxString
*arg5
= (wxString
*) 0 ;
15076 long arg6
= (long) wxCHOICEDLG_STYLE
;
15077 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15078 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15079 wxSingleChoiceDialog
*result
;
15080 bool temp2
= false ;
15081 bool temp3
= false ;
15083 PyObject
* obj0
= 0 ;
15084 PyObject
* obj1
= 0 ;
15085 PyObject
* obj2
= 0 ;
15086 PyObject
* obj3
= 0 ;
15087 PyObject
* obj4
= 0 ;
15088 PyObject
* obj5
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15095 if (SWIG_arg_fail(1)) SWIG_fail
;
15097 arg2
= wxString_in_helper(obj1
);
15098 if (arg2
== NULL
) SWIG_fail
;
15102 arg3
= wxString_in_helper(obj2
);
15103 if (arg3
== NULL
) SWIG_fail
;
15107 arg4
= PyList_Size(obj3
);
15108 arg5
= wxString_LIST_helper(obj3
);
15109 if (arg5
== NULL
) SWIG_fail
;
15113 arg6
= static_cast<long >(SWIG_As_long(obj4
));
15114 if (SWIG_arg_fail(6)) SWIG_fail
;
15120 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15124 if (!wxPyCheckForApp()) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
15141 if (arg5
) delete [] arg5
;
15154 if (arg5
) delete [] arg5
;
15160 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
= NULL
;
15162 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15164 PyObject
* obj0
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
15170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15171 if (SWIG_arg_fail(1)) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= (int)(arg1
)->GetSelection();
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15180 resultobj
= SWIG_From_int(static_cast<int >(result
));
15188 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
= NULL
;
15190 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
15198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15199 if (SWIG_arg_fail(1)) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= (arg1
)->GetStringSelection();
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15220 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
= NULL
;
15222 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15224 PyObject
* obj0
= 0 ;
15225 PyObject
* obj1
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "self",(char *) "sel", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15232 if (SWIG_arg_fail(1)) SWIG_fail
;
15234 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15235 if (SWIG_arg_fail(2)) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 (arg1
)->SetSelection(arg2
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 Py_INCREF(Py_None
); resultobj
= Py_None
;
15251 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15254 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15256 return Py_BuildValue((char *)"");
15258 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
= NULL
;
15260 wxWindow
*arg1
= (wxWindow
*) 0 ;
15261 wxString
*arg2
= 0 ;
15262 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15263 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15264 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15265 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15266 long arg5
= (long) wxTextEntryDialogStyle
;
15267 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15268 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15269 wxTextEntryDialog
*result
;
15270 bool temp2
= false ;
15271 bool temp3
= false ;
15272 bool temp4
= false ;
15274 PyObject
* obj0
= 0 ;
15275 PyObject
* obj1
= 0 ;
15276 PyObject
* obj2
= 0 ;
15277 PyObject
* obj3
= 0 ;
15278 PyObject
* obj4
= 0 ;
15279 PyObject
* obj5
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15286 if (SWIG_arg_fail(1)) SWIG_fail
;
15288 arg2
= wxString_in_helper(obj1
);
15289 if (arg2
== NULL
) SWIG_fail
;
15294 arg3
= wxString_in_helper(obj2
);
15295 if (arg3
== NULL
) SWIG_fail
;
15301 arg4
= wxString_in_helper(obj3
);
15302 if (arg4
== NULL
) SWIG_fail
;
15308 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15309 if (SWIG_arg_fail(5)) SWIG_fail
;
15315 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15319 if (!wxPyCheckForApp()) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15357 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
= NULL
;
15359 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15368 if (SWIG_arg_fail(1)) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (arg1
)->GetValue();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15389 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
= NULL
;
15391 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15392 wxString
*arg2
= 0 ;
15393 bool temp2
= false ;
15394 PyObject
* obj0
= 0 ;
15395 PyObject
* obj1
= 0 ;
15396 char *kwnames
[] = {
15397 (char *) "self",(char *) "value", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15402 if (SWIG_arg_fail(1)) SWIG_fail
;
15404 arg2
= wxString_in_helper(obj1
);
15405 if (arg2
== NULL
) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 (arg1
)->SetValue((wxString
const &)*arg2
);
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 Py_INCREF(Py_None
); resultobj
= Py_None
;
15430 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15433 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15435 return Py_BuildValue((char *)"");
15437 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15438 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15443 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15444 PyObject
*pyobj
= NULL
;
15448 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15450 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15457 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
= NULL
;
15459 wxWindow
*arg1
= (wxWindow
*) 0 ;
15460 wxString
*arg2
= 0 ;
15461 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15462 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15463 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15464 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15465 long arg5
= (long) wxTextEntryDialogStyle
;
15466 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15467 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15468 wxPasswordEntryDialog
*result
;
15469 bool temp2
= false ;
15470 bool temp3
= false ;
15471 bool temp4
= false ;
15473 PyObject
* obj0
= 0 ;
15474 PyObject
* obj1
= 0 ;
15475 PyObject
* obj2
= 0 ;
15476 PyObject
* obj3
= 0 ;
15477 PyObject
* obj4
= 0 ;
15478 PyObject
* obj5
= 0 ;
15479 char *kwnames
[] = {
15480 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15485 if (SWIG_arg_fail(1)) SWIG_fail
;
15487 arg2
= wxString_in_helper(obj1
);
15488 if (arg2
== NULL
) SWIG_fail
;
15493 arg3
= wxString_in_helper(obj2
);
15494 if (arg3
== NULL
) SWIG_fail
;
15500 arg4
= wxString_in_helper(obj3
);
15501 if (arg4
== NULL
) SWIG_fail
;
15507 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15508 if (SWIG_arg_fail(5)) SWIG_fail
;
15514 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15555 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15558 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15560 return Py_BuildValue((char *)"");
15562 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
= NULL
;
15564 wxFontData
*result
;
15565 char *kwnames
[] = {
15569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 result
= (wxFontData
*)new wxFontData();
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15584 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15585 PyObject
*resultobj
= NULL
;
15586 wxFontData
*arg1
= (wxFontData
*) 0 ;
15587 PyObject
* obj0
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "self", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15594 if (SWIG_arg_fail(1)) SWIG_fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 Py_INCREF(Py_None
); resultobj
= Py_None
;
15609 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
= NULL
;
15611 wxFontData
*arg1
= (wxFontData
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self",(char *) "enable", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15621 if (SWIG_arg_fail(1)) SWIG_fail
;
15623 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15624 if (SWIG_arg_fail(2)) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 (arg1
)->EnableEffects(arg2
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 Py_INCREF(Py_None
); resultobj
= Py_None
;
15640 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
= NULL
;
15642 wxFontData
*arg1
= (wxFontData
*) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "self", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15651 if (SWIG_arg_fail(1)) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 result
= (bool)(arg1
)->GetAllowSymbols();
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15668 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
= NULL
;
15670 wxFontData
*arg1
= (wxFontData
*) 0 ;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15679 if (SWIG_arg_fail(1)) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (arg1
)->GetColour();
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15688 wxColour
* resultptr
;
15689 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
15690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15698 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
= NULL
;
15700 wxFontData
*arg1
= (wxFontData
*) 0 ;
15702 PyObject
* obj0
= 0 ;
15703 char *kwnames
[] = {
15704 (char *) "self", NULL
15707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15709 if (SWIG_arg_fail(1)) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (arg1
)->GetChosenFont();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15718 wxFont
* resultptr
;
15719 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15728 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
= NULL
;
15730 wxFontData
*arg1
= (wxFontData
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15739 if (SWIG_arg_fail(1)) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (bool)(arg1
)->GetEnableEffects();
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15756 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
= NULL
;
15758 wxFontData
*arg1
= (wxFontData
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15767 if (SWIG_arg_fail(1)) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (arg1
)->GetInitialFont();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 wxFont
* resultptr
;
15777 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15786 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
= NULL
;
15788 wxFontData
*arg1
= (wxFontData
*) 0 ;
15790 PyObject
* obj0
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15797 if (SWIG_arg_fail(1)) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 result
= (bool)(arg1
)->GetShowHelp();
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15814 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
= NULL
;
15816 wxFontData
*arg1
= (wxFontData
*) 0 ;
15818 PyObject
* obj0
= 0 ;
15819 PyObject
* obj1
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self",(char *) "allowSymbols", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15826 if (SWIG_arg_fail(1)) SWIG_fail
;
15828 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15829 if (SWIG_arg_fail(2)) SWIG_fail
;
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 (arg1
)->SetAllowSymbols(arg2
);
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15838 Py_INCREF(Py_None
); resultobj
= Py_None
;
15845 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
= NULL
;
15847 wxFontData
*arg1
= (wxFontData
*) 0 ;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self",(char *) "font", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15857 if (SWIG_arg_fail(1)) SWIG_fail
;
15859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15860 if (SWIG_arg_fail(2)) SWIG_fail
;
15861 if (arg2
== NULL
) {
15862 SWIG_null_ref("wxFont");
15864 if (SWIG_arg_fail(2)) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 Py_INCREF(Py_None
); resultobj
= Py_None
;
15880 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
= NULL
;
15882 wxFontData
*arg1
= (wxFontData
*) 0 ;
15883 wxColour
*arg2
= 0 ;
15885 PyObject
* obj0
= 0 ;
15886 PyObject
* obj1
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self",(char *) "colour", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15893 if (SWIG_arg_fail(1)) SWIG_fail
;
15896 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 (arg1
)->SetColour((wxColour
const &)*arg2
);
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 Py_INCREF(Py_None
); resultobj
= Py_None
;
15912 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
= NULL
;
15914 wxFontData
*arg1
= (wxFontData
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 PyObject
* obj1
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "font", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15924 if (SWIG_arg_fail(1)) SWIG_fail
;
15926 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15927 if (SWIG_arg_fail(2)) SWIG_fail
;
15928 if (arg2
== NULL
) {
15929 SWIG_null_ref("wxFont");
15931 if (SWIG_arg_fail(2)) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 Py_INCREF(Py_None
); resultobj
= Py_None
;
15947 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
= NULL
;
15949 wxFontData
*arg1
= (wxFontData
*) 0 ;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 PyObject
* obj2
= 0 ;
15955 char *kwnames
[] = {
15956 (char *) "self",(char *) "min",(char *) "max", NULL
15959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15961 if (SWIG_arg_fail(1)) SWIG_fail
;
15963 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15964 if (SWIG_arg_fail(2)) SWIG_fail
;
15967 arg3
= static_cast<int >(SWIG_As_int(obj2
));
15968 if (SWIG_arg_fail(3)) SWIG_fail
;
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 (arg1
)->SetRange(arg2
,arg3
);
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 Py_INCREF(Py_None
); resultobj
= Py_None
;
15984 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
= NULL
;
15986 wxFontData
*arg1
= (wxFontData
*) 0 ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "self",(char *) "showHelp", NULL
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15996 if (SWIG_arg_fail(1)) SWIG_fail
;
15998 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15999 if (SWIG_arg_fail(2)) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 (arg1
)->SetShowHelp(arg2
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 Py_INCREF(Py_None
); resultobj
= Py_None
;
16015 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
16017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16018 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
16020 return Py_BuildValue((char *)"");
16022 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
= NULL
;
16024 wxWindow
*arg1
= (wxWindow
*) 0 ;
16025 wxFontData
*arg2
= 0 ;
16026 wxFontDialog
*result
;
16027 PyObject
* obj0
= 0 ;
16028 PyObject
* obj1
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "parent",(char *) "data", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16035 if (SWIG_arg_fail(1)) SWIG_fail
;
16037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16038 if (SWIG_arg_fail(2)) SWIG_fail
;
16039 if (arg2
== NULL
) {
16040 SWIG_null_ref("wxFontData");
16042 if (SWIG_arg_fail(2)) SWIG_fail
;
16045 if (!wxPyCheckForApp()) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
16059 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
= NULL
;
16061 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
16062 wxFontData
*result
;
16063 PyObject
* obj0
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
16069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
16070 if (SWIG_arg_fail(1)) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 wxFontData
&_result_ref
= (arg1
)->GetFontData();
16075 result
= (wxFontData
*) &_result_ref
;
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
16088 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
16090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16091 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
16093 return Py_BuildValue((char *)"");
16095 static PyObject
*_wrap_GetFontFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
= NULL
;
16097 wxWindow
*arg1
= (wxWindow
*) NULL
;
16098 wxFont
const &arg2_defvalue
= wxNullFont
;
16099 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
16100 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16101 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16103 bool temp3
= false ;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 PyObject
* obj2
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16114 if (SWIG_arg_fail(1)) SWIG_fail
;
16118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16119 if (SWIG_arg_fail(2)) SWIG_fail
;
16120 if (arg2
== NULL
) {
16121 SWIG_null_ref("wxFont");
16123 if (SWIG_arg_fail(2)) SWIG_fail
;
16128 arg3
= wxString_in_helper(obj2
);
16129 if (arg3
== NULL
) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16141 wxFont
* resultptr
;
16142 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
16143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16159 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
= NULL
;
16161 wxWindow
*arg1
= (wxWindow
*) 0 ;
16162 wxString
*arg2
= 0 ;
16163 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
16164 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16165 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
16166 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16167 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16168 wxMessageDialog
*result
;
16169 bool temp2
= false ;
16170 bool temp3
= false ;
16172 PyObject
* obj0
= 0 ;
16173 PyObject
* obj1
= 0 ;
16174 PyObject
* obj2
= 0 ;
16175 PyObject
* obj3
= 0 ;
16176 PyObject
* obj4
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16183 if (SWIG_arg_fail(1)) SWIG_fail
;
16185 arg2
= wxString_in_helper(obj1
);
16186 if (arg2
== NULL
) SWIG_fail
;
16191 arg3
= wxString_in_helper(obj2
);
16192 if (arg3
== NULL
) SWIG_fail
;
16198 arg4
= static_cast<long >(SWIG_As_long(obj3
));
16199 if (SWIG_arg_fail(4)) SWIG_fail
;
16205 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16209 if (!wxPyCheckForApp()) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
16239 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
16241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16242 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
16244 return Py_BuildValue((char *)"");
16246 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
= NULL
;
16248 wxString
*arg1
= 0 ;
16249 wxString
*arg2
= 0 ;
16250 int arg3
= (int) 100 ;
16251 wxWindow
*arg4
= (wxWindow
*) NULL
;
16252 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
16253 wxProgressDialog
*result
;
16254 bool temp1
= false ;
16255 bool temp2
= false ;
16256 PyObject
* obj0
= 0 ;
16257 PyObject
* obj1
= 0 ;
16258 PyObject
* obj2
= 0 ;
16259 PyObject
* obj3
= 0 ;
16260 PyObject
* obj4
= 0 ;
16261 char *kwnames
[] = {
16262 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16267 arg1
= wxString_in_helper(obj0
);
16268 if (arg1
== NULL
) SWIG_fail
;
16272 arg2
= wxString_in_helper(obj1
);
16273 if (arg2
== NULL
) SWIG_fail
;
16278 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16279 if (SWIG_arg_fail(3)) SWIG_fail
;
16283 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16284 if (SWIG_arg_fail(4)) SWIG_fail
;
16288 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16289 if (SWIG_arg_fail(5)) SWIG_fail
;
16293 if (!wxPyCheckForApp()) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16323 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
= NULL
;
16325 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16327 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16328 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16330 bool temp3
= false ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 PyObject
* obj2
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16340 if (SWIG_arg_fail(1)) SWIG_fail
;
16342 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16343 if (SWIG_arg_fail(2)) SWIG_fail
;
16347 arg3
= wxString_in_helper(obj2
);
16348 if (arg3
== NULL
) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16376 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
= NULL
;
16378 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16379 PyObject
* obj0
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16386 if (SWIG_arg_fail(1)) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 Py_INCREF(Py_None
); resultobj
= Py_None
;
16401 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16404 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16406 return Py_BuildValue((char *)"");
16408 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
= NULL
;
16410 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16411 int arg2
= (int) 0 ;
16412 wxFindDialogEvent
*result
;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "commandType",(char *) "id", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16422 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
16423 if (SWIG_arg_fail(1)) SWIG_fail
;
16428 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16429 if (SWIG_arg_fail(2)) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16446 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
= NULL
;
16448 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16450 PyObject
* obj0
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16457 if (SWIG_arg_fail(1)) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (int)(arg1
)->GetFlags();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= SWIG_From_int(static_cast<int >(result
));
16474 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16475 PyObject
*resultobj
= NULL
;
16476 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16478 PyObject
* obj0
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "self", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16485 if (SWIG_arg_fail(1)) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 wxString
const &_result_ref
= (arg1
)->GetFindString();
16490 result
= (wxString
*) &_result_ref
;
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16500 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16509 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
= NULL
;
16511 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "self", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16520 if (SWIG_arg_fail(1)) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16525 result
= (wxString
*) &_result_ref
;
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16535 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16544 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
= NULL
;
16546 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16547 wxFindReplaceDialog
*result
;
16548 PyObject
* obj0
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16570 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
= NULL
;
16572 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 PyObject
* obj1
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self",(char *) "flags", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16582 if (SWIG_arg_fail(1)) SWIG_fail
;
16584 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16585 if (SWIG_arg_fail(2)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 (arg1
)->SetFlags(arg2
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 Py_INCREF(Py_None
); resultobj
= Py_None
;
16601 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
= NULL
;
16603 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16604 wxString
*arg2
= 0 ;
16605 bool temp2
= false ;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self",(char *) "str", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16614 if (SWIG_arg_fail(1)) SWIG_fail
;
16616 arg2
= wxString_in_helper(obj1
);
16617 if (arg2
== NULL
) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 (arg1
)->SetFindString((wxString
const &)*arg2
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 Py_INCREF(Py_None
); resultobj
= Py_None
;
16642 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
= NULL
;
16644 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16645 wxString
*arg2
= 0 ;
16646 bool temp2
= false ;
16647 PyObject
* obj0
= 0 ;
16648 PyObject
* obj1
= 0 ;
16649 char *kwnames
[] = {
16650 (char *) "self",(char *) "str", NULL
16653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16655 if (SWIG_arg_fail(1)) SWIG_fail
;
16657 arg2
= wxString_in_helper(obj1
);
16658 if (arg2
== NULL
) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 Py_INCREF(Py_None
); resultobj
= Py_None
;
16683 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16686 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16688 return Py_BuildValue((char *)"");
16690 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
= NULL
;
16692 int arg1
= (int) 0 ;
16693 wxFindReplaceData
*result
;
16694 PyObject
* obj0
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "flags", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16702 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16703 if (SWIG_arg_fail(1)) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16720 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
= NULL
;
16722 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16730 if (SWIG_arg_fail(1)) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 Py_INCREF(Py_None
); resultobj
= Py_None
;
16745 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
= NULL
;
16747 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16749 PyObject
* obj0
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16756 if (SWIG_arg_fail(1)) SWIG_fail
;
16758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16760 wxString
const &_result_ref
= (arg1
)->GetFindString();
16761 result
= (wxString
*) &_result_ref
;
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16769 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16771 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16780 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
= NULL
;
16782 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16796 result
= (wxString
*) &_result_ref
;
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16806 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16815 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
= NULL
;
16817 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16826 if (SWIG_arg_fail(1)) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (int)(arg1
)->GetFlags();
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16835 resultobj
= SWIG_From_int(static_cast<int >(result
));
16843 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
= NULL
;
16845 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16847 PyObject
* obj0
= 0 ;
16848 PyObject
* obj1
= 0 ;
16849 char *kwnames
[] = {
16850 (char *) "self",(char *) "flags", NULL
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16855 if (SWIG_arg_fail(1)) SWIG_fail
;
16857 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16858 if (SWIG_arg_fail(2)) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 (arg1
)->SetFlags(arg2
);
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16867 Py_INCREF(Py_None
); resultobj
= Py_None
;
16874 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
= NULL
;
16876 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16877 wxString
*arg2
= 0 ;
16878 bool temp2
= false ;
16879 PyObject
* obj0
= 0 ;
16880 PyObject
* obj1
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self",(char *) "str", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16887 if (SWIG_arg_fail(1)) SWIG_fail
;
16889 arg2
= wxString_in_helper(obj1
);
16890 if (arg2
== NULL
) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 (arg1
)->SetFindString((wxString
const &)*arg2
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 Py_INCREF(Py_None
); resultobj
= Py_None
;
16915 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
= NULL
;
16917 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16918 wxString
*arg2
= 0 ;
16919 bool temp2
= false ;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self",(char *) "str", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail
;
16930 arg2
= wxString_in_helper(obj1
);
16931 if (arg2
== NULL
) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 Py_INCREF(Py_None
); resultobj
= Py_None
;
16956 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16959 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16961 return Py_BuildValue((char *)"");
16963 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
= NULL
;
16965 wxWindow
*arg1
= (wxWindow
*) 0 ;
16966 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16967 wxString
*arg3
= 0 ;
16968 int arg4
= (int) 0 ;
16969 wxFindReplaceDialog
*result
;
16970 bool temp3
= false ;
16971 PyObject
* obj0
= 0 ;
16972 PyObject
* obj1
= 0 ;
16973 PyObject
* obj2
= 0 ;
16974 PyObject
* obj3
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16981 if (SWIG_arg_fail(1)) SWIG_fail
;
16982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16983 if (SWIG_arg_fail(2)) SWIG_fail
;
16985 arg3
= wxString_in_helper(obj2
);
16986 if (arg3
== NULL
) SWIG_fail
;
16991 arg4
= static_cast<int >(SWIG_As_int(obj3
));
16992 if (SWIG_arg_fail(4)) SWIG_fail
;
16996 if (!wxPyCheckForApp()) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17018 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
= NULL
;
17020 wxFindReplaceDialog
*result
;
17021 char *kwnames
[] = {
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
17027 if (!wxPyCheckForApp()) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
17031 wxPyEndAllowThreads(__tstate
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17041 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
= NULL
;
17043 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17044 wxWindow
*arg2
= (wxWindow
*) 0 ;
17045 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
17046 wxString
*arg4
= 0 ;
17047 int arg5
= (int) 0 ;
17049 bool temp4
= false ;
17050 PyObject
* obj0
= 0 ;
17051 PyObject
* obj1
= 0 ;
17052 PyObject
* obj2
= 0 ;
17053 PyObject
* obj3
= 0 ;
17054 PyObject
* obj4
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17061 if (SWIG_arg_fail(1)) SWIG_fail
;
17062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17063 if (SWIG_arg_fail(2)) SWIG_fail
;
17064 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17065 if (SWIG_arg_fail(3)) SWIG_fail
;
17067 arg4
= wxString_in_helper(obj3
);
17068 if (arg4
== NULL
) SWIG_fail
;
17073 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17074 if (SWIG_arg_fail(5)) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17101 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
= NULL
;
17103 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17104 wxFindReplaceData
*result
;
17105 PyObject
* obj0
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "self", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
17111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17112 if (SWIG_arg_fail(1)) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 result
= (wxFindReplaceData
*)(arg1
)->GetData();
17117 wxPyEndAllowThreads(__tstate
);
17118 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
17127 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
= NULL
;
17129 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17130 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17131 PyObject
* obj0
= 0 ;
17132 PyObject
* obj1
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self",(char *) "data", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17139 if (SWIG_arg_fail(1)) SWIG_fail
;
17140 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17141 if (SWIG_arg_fail(2)) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 (arg1
)->SetData(arg2
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17149 Py_INCREF(Py_None
); resultobj
= Py_None
;
17156 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
17158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17159 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
17161 return Py_BuildValue((char *)"");
17163 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
= NULL
;
17165 wxWindow
*arg1
= (wxWindow
*) 0 ;
17166 int arg2
= (int) (int)-1 ;
17167 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17168 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17169 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17170 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17171 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17172 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17173 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17174 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17175 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17176 wxMDIParentFrame
*result
;
17177 bool temp3
= false ;
17180 bool temp7
= false ;
17181 PyObject
* obj0
= 0 ;
17182 PyObject
* obj1
= 0 ;
17183 PyObject
* obj2
= 0 ;
17184 PyObject
* obj3
= 0 ;
17185 PyObject
* obj4
= 0 ;
17186 PyObject
* obj5
= 0 ;
17187 PyObject
* obj6
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17194 if (SWIG_arg_fail(1)) SWIG_fail
;
17197 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17198 if (SWIG_arg_fail(2)) SWIG_fail
;
17203 arg3
= wxString_in_helper(obj2
);
17204 if (arg3
== NULL
) SWIG_fail
;
17211 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17217 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17222 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17223 if (SWIG_arg_fail(6)) SWIG_fail
;
17228 arg7
= wxString_in_helper(obj6
);
17229 if (arg7
== NULL
) SWIG_fail
;
17234 if (!wxPyCheckForApp()) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17264 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
= NULL
;
17266 wxMDIParentFrame
*result
;
17267 char *kwnames
[] = {
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
17273 if (!wxPyCheckForApp()) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17287 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
= NULL
;
17289 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17290 wxWindow
*arg2
= (wxWindow
*) 0 ;
17291 int arg3
= (int) (int)-1 ;
17292 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17293 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17294 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17295 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17296 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17297 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17298 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17299 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17300 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17302 bool temp4
= false ;
17305 bool temp8
= false ;
17306 PyObject
* obj0
= 0 ;
17307 PyObject
* obj1
= 0 ;
17308 PyObject
* obj2
= 0 ;
17309 PyObject
* obj3
= 0 ;
17310 PyObject
* obj4
= 0 ;
17311 PyObject
* obj5
= 0 ;
17312 PyObject
* obj6
= 0 ;
17313 PyObject
* obj7
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17320 if (SWIG_arg_fail(1)) SWIG_fail
;
17321 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17322 if (SWIG_arg_fail(2)) SWIG_fail
;
17325 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17326 if (SWIG_arg_fail(3)) SWIG_fail
;
17331 arg4
= wxString_in_helper(obj3
);
17332 if (arg4
== NULL
) SWIG_fail
;
17339 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17345 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17350 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17351 if (SWIG_arg_fail(7)) SWIG_fail
;
17356 arg8
= wxString_in_helper(obj7
);
17357 if (arg8
== NULL
) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17393 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
= NULL
;
17395 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17396 PyObject
* obj0
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17403 if (SWIG_arg_fail(1)) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 (arg1
)->ActivateNext();
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 Py_INCREF(Py_None
); resultobj
= Py_None
;
17418 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
= NULL
;
17420 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17421 PyObject
* obj0
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17428 if (SWIG_arg_fail(1)) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 (arg1
)->ActivatePrevious();
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17436 Py_INCREF(Py_None
); resultobj
= Py_None
;
17443 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
= NULL
;
17445 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17446 PyObject
* obj0
= 0 ;
17447 char *kwnames
[] = {
17448 (char *) "self", NULL
17451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17453 if (SWIG_arg_fail(1)) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 (arg1
)->ArrangeIcons();
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17461 Py_INCREF(Py_None
); resultobj
= Py_None
;
17468 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
= NULL
;
17470 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17471 PyObject
* obj0
= 0 ;
17472 char *kwnames
[] = {
17473 (char *) "self", NULL
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17478 if (SWIG_arg_fail(1)) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 Py_INCREF(Py_None
); resultobj
= Py_None
;
17493 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
= NULL
;
17495 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17496 wxMDIChildFrame
*result
;
17497 PyObject
* obj0
= 0 ;
17498 char *kwnames
[] = {
17499 (char *) "self", NULL
17502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17504 if (SWIG_arg_fail(1)) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17521 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
= NULL
;
17523 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17524 wxMDIClientWindow
*result
;
17525 PyObject
* obj0
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17532 if (SWIG_arg_fail(1)) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17549 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
= NULL
;
17551 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17553 PyObject
* obj0
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17560 if (SWIG_arg_fail(1)) SWIG_fail
;
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= (wxWindow
*)(arg1
)->GetToolBar();
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17569 resultobj
= wxPyMake_wxObject(result
, 0);
17577 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
= NULL
;
17579 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17580 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self",(char *) "orient", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17589 if (SWIG_arg_fail(1)) SWIG_fail
;
17592 arg2
= static_cast<wxOrientation
>(SWIG_As_int(obj1
));
17593 if (SWIG_arg_fail(2)) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 (arg1
)->Tile(arg2
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 Py_INCREF(Py_None
); resultobj
= Py_None
;
17610 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17613 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17615 return Py_BuildValue((char *)"");
17617 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
= NULL
;
17619 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17620 int arg2
= (int) (int)-1 ;
17621 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17622 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17623 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17624 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17625 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17626 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17627 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17628 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17629 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17630 wxMDIChildFrame
*result
;
17631 bool temp3
= false ;
17634 bool temp7
= false ;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj1
= 0 ;
17637 PyObject
* obj2
= 0 ;
17638 PyObject
* obj3
= 0 ;
17639 PyObject
* obj4
= 0 ;
17640 PyObject
* obj5
= 0 ;
17641 PyObject
* obj6
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17648 if (SWIG_arg_fail(1)) SWIG_fail
;
17651 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17652 if (SWIG_arg_fail(2)) SWIG_fail
;
17657 arg3
= wxString_in_helper(obj2
);
17658 if (arg3
== NULL
) SWIG_fail
;
17665 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17671 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17676 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17677 if (SWIG_arg_fail(6)) SWIG_fail
;
17682 arg7
= wxString_in_helper(obj6
);
17683 if (arg7
== NULL
) SWIG_fail
;
17688 if (!wxPyCheckForApp()) SWIG_fail
;
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17718 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
= NULL
;
17720 wxMDIChildFrame
*result
;
17721 char *kwnames
[] = {
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17727 if (!wxPyCheckForApp()) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17741 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
= NULL
;
17743 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17744 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17745 int arg3
= (int) (int)-1 ;
17746 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17747 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17748 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17749 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17750 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17751 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17752 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17753 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17754 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17756 bool temp4
= false ;
17759 bool temp8
= false ;
17760 PyObject
* obj0
= 0 ;
17761 PyObject
* obj1
= 0 ;
17762 PyObject
* obj2
= 0 ;
17763 PyObject
* obj3
= 0 ;
17764 PyObject
* obj4
= 0 ;
17765 PyObject
* obj5
= 0 ;
17766 PyObject
* obj6
= 0 ;
17767 PyObject
* obj7
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17774 if (SWIG_arg_fail(1)) SWIG_fail
;
17775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17776 if (SWIG_arg_fail(2)) SWIG_fail
;
17779 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17780 if (SWIG_arg_fail(3)) SWIG_fail
;
17785 arg4
= wxString_in_helper(obj3
);
17786 if (arg4
== NULL
) SWIG_fail
;
17793 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17799 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17804 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17805 if (SWIG_arg_fail(7)) SWIG_fail
;
17810 arg8
= wxString_in_helper(obj7
);
17811 if (arg8
== NULL
) SWIG_fail
;
17816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17847 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
= NULL
;
17849 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17857 if (SWIG_arg_fail(1)) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 (arg1
)->Activate();
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 Py_INCREF(Py_None
); resultobj
= Py_None
;
17872 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
= NULL
;
17874 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17875 bool arg2
= (bool) true ;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self",(char *) "maximize", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17884 if (SWIG_arg_fail(1)) SWIG_fail
;
17887 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
17888 if (SWIG_arg_fail(2)) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 (arg1
)->Maximize(arg2
);
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 Py_INCREF(Py_None
); resultobj
= Py_None
;
17905 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
= NULL
;
17907 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17915 if (SWIG_arg_fail(1)) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 Py_INCREF(Py_None
); resultobj
= Py_None
;
17930 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17933 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17935 return Py_BuildValue((char *)"");
17937 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
= NULL
;
17939 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17940 long arg2
= (long) 0 ;
17941 wxMDIClientWindow
*result
;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "parent",(char *) "style", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail
;
17953 arg2
= static_cast<long >(SWIG_As_long(obj1
));
17954 if (SWIG_arg_fail(2)) SWIG_fail
;
17958 if (!wxPyCheckForApp()) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17972 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
= NULL
;
17974 wxMDIClientWindow
*result
;
17975 char *kwnames
[] = {
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17981 if (!wxPyCheckForApp()) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17995 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
= NULL
;
17997 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17998 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17999 long arg3
= (long) 0 ;
18001 PyObject
* obj0
= 0 ;
18002 PyObject
* obj1
= 0 ;
18003 PyObject
* obj2
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "self",(char *) "parent",(char *) "style", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
18010 if (SWIG_arg_fail(1)) SWIG_fail
;
18011 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18012 if (SWIG_arg_fail(2)) SWIG_fail
;
18015 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18016 if (SWIG_arg_fail(3)) SWIG_fail
;
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 result
= (bool)(arg1
)->Create(arg2
,arg3
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18035 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
18037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18038 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
18040 return Py_BuildValue((char *)"");
18042 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18043 PyObject
*resultobj
= NULL
;
18044 wxWindow
*arg1
= (wxWindow
*) 0 ;
18045 int arg2
= (int) (int)-1 ;
18046 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18047 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18050 long arg5
= (long) 0 ;
18051 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18052 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18053 wxPyWindow
*result
;
18056 bool temp6
= false ;
18057 PyObject
* obj0
= 0 ;
18058 PyObject
* obj1
= 0 ;
18059 PyObject
* obj2
= 0 ;
18060 PyObject
* obj3
= 0 ;
18061 PyObject
* obj4
= 0 ;
18062 PyObject
* obj5
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18069 if (SWIG_arg_fail(1)) SWIG_fail
;
18072 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
18073 if (SWIG_arg_fail(2)) SWIG_fail
;
18079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18090 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18091 if (SWIG_arg_fail(5)) SWIG_fail
;
18096 arg6
= wxString_in_helper(obj5
);
18097 if (arg6
== NULL
) SWIG_fail
;
18102 if (!wxPyCheckForApp()) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18124 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
= NULL
;
18126 wxPyWindow
*result
;
18127 char *kwnames
[] = {
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
18133 if (!wxPyCheckForApp()) SWIG_fail
;
18134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 result
= (wxPyWindow
*)new wxPyWindow();
18137 wxPyEndAllowThreads(__tstate
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18147 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
= NULL
;
18149 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18150 PyObject
*arg2
= (PyObject
*) 0 ;
18151 PyObject
*arg3
= (PyObject
*) 0 ;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 PyObject
* obj2
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self",(char *) "self",(char *) "_class", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18161 if (SWIG_arg_fail(1)) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 Py_INCREF(Py_None
); resultobj
= Py_None
;
18178 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
= NULL
;
18180 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 char *kwnames
[] = {
18186 (char *) "self",(char *) "size", NULL
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18191 if (SWIG_arg_fail(1)) SWIG_fail
;
18194 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 Py_INCREF(Py_None
); resultobj
= Py_None
;
18210 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
= NULL
;
18212 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18213 wxDC
*arg2
= (wxDC
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self",(char *) "dc", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18223 if (SWIG_arg_fail(1)) SWIG_fail
;
18224 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18225 if (SWIG_arg_fail(2)) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18242 static PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
= NULL
;
18244 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 PyObject
* obj2
= 0 ;
18252 PyObject
* obj3
= 0 ;
18253 PyObject
* obj4
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18260 if (SWIG_arg_fail(1)) SWIG_fail
;
18262 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18263 if (SWIG_arg_fail(2)) SWIG_fail
;
18266 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18267 if (SWIG_arg_fail(3)) SWIG_fail
;
18270 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18271 if (SWIG_arg_fail(4)) SWIG_fail
;
18274 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18275 if (SWIG_arg_fail(5)) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 Py_INCREF(Py_None
); resultobj
= Py_None
;
18291 static PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
= NULL
;
18293 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18298 int arg6
= (int) wxSIZE_AUTO
;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 PyObject
* obj2
= 0 ;
18302 PyObject
* obj3
= 0 ;
18303 PyObject
* obj4
= 0 ;
18304 PyObject
* obj5
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18311 if (SWIG_arg_fail(1)) SWIG_fail
;
18313 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18314 if (SWIG_arg_fail(2)) SWIG_fail
;
18317 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18318 if (SWIG_arg_fail(3)) SWIG_fail
;
18321 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18322 if (SWIG_arg_fail(4)) SWIG_fail
;
18325 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18326 if (SWIG_arg_fail(5)) SWIG_fail
;
18330 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18331 if (SWIG_arg_fail(6)) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 Py_INCREF(Py_None
); resultobj
= Py_None
;
18348 static PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
= NULL
;
18350 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 PyObject
* obj1
= 0 ;
18355 PyObject
* obj2
= 0 ;
18356 char *kwnames
[] = {
18357 (char *) "self",(char *) "width",(char *) "height", NULL
18360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18362 if (SWIG_arg_fail(1)) SWIG_fail
;
18364 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18365 if (SWIG_arg_fail(2)) SWIG_fail
;
18368 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18369 if (SWIG_arg_fail(3)) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 (arg1
)->DoSetClientSize(arg2
,arg3
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 Py_INCREF(Py_None
); resultobj
= Py_None
;
18385 static PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
= NULL
;
18387 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18390 PyObject
* obj0
= 0 ;
18391 PyObject
* obj1
= 0 ;
18392 PyObject
* obj2
= 0 ;
18393 char *kwnames
[] = {
18394 (char *) "self",(char *) "x",(char *) "y", NULL
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18399 if (SWIG_arg_fail(1)) SWIG_fail
;
18401 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18402 if (SWIG_arg_fail(2)) SWIG_fail
;
18405 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18406 if (SWIG_arg_fail(3)) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 Py_INCREF(Py_None
); resultobj
= Py_None
;
18422 static PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
= NULL
;
18424 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18425 int *arg2
= (int *) 0 ;
18426 int *arg3
= (int *) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self", NULL
18436 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18437 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
18439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 Py_INCREF(Py_None
); resultobj
= Py_None
;
18449 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18450 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18451 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18452 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18459 static PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
= NULL
;
18461 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18462 int *arg2
= (int *) 0 ;
18463 int *arg3
= (int *) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self", NULL
18473 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18474 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18477 if (SWIG_arg_fail(1)) SWIG_fail
;
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 Py_INCREF(Py_None
); resultobj
= Py_None
;
18486 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18487 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18488 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18489 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18496 static PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
= NULL
;
18498 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18499 int *arg2
= (int *) 0 ;
18500 int *arg3
= (int *) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self", NULL
18510 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18511 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18514 if (SWIG_arg_fail(1)) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 Py_INCREF(Py_None
); resultobj
= Py_None
;
18523 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18524 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18525 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18526 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18533 static PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
= NULL
;
18535 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18537 PyObject
* obj0
= 0 ;
18538 char *kwnames
[] = {
18539 (char *) "self", NULL
18542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18544 if (SWIG_arg_fail(1)) SWIG_fail
;
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18553 wxSize
* resultptr
;
18554 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18563 static PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
= NULL
;
18565 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18574 if (SWIG_arg_fail(1)) SWIG_fail
;
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18583 wxSize
* resultptr
;
18584 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18593 static PyObject
*_wrap_PyWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18594 PyObject
*resultobj
= NULL
;
18595 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18596 PyObject
* obj0
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "self", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
18602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18603 if (SWIG_arg_fail(1)) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 (arg1
)->InitDialog();
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 Py_INCREF(Py_None
); resultobj
= Py_None
;
18618 static PyObject
*_wrap_PyWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
= NULL
;
18620 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18629 if (SWIG_arg_fail(1)) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 result
= (bool)(arg1
)->TransferDataToWindow();
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18646 static PyObject
*_wrap_PyWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
= NULL
;
18648 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18650 PyObject
* obj0
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18657 if (SWIG_arg_fail(1)) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 result
= (bool)(arg1
)->TransferDataFromWindow();
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18674 static PyObject
*_wrap_PyWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
= NULL
;
18676 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_Validate",kwnames
,&obj0
)) goto fail
;
18684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18685 if (SWIG_arg_fail(1)) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= (bool)(arg1
)->Validate();
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18702 static PyObject
*_wrap_PyWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
= NULL
;
18704 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18706 PyObject
* obj0
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18713 if (SWIG_arg_fail(1)) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocus();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18730 static PyObject
*_wrap_PyWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
= NULL
;
18732 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18734 PyObject
* obj0
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18741 if (SWIG_arg_fail(1)) SWIG_fail
;
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18758 static PyObject
*_wrap_PyWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
= NULL
;
18760 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18762 PyObject
* obj0
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18769 if (SWIG_arg_fail(1)) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 result
= ((wxPyWindow
const *)arg1
)->GetMaxSize();
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18778 wxSize
* resultptr
;
18779 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18788 static PyObject
*_wrap_PyWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
= NULL
;
18790 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18791 wxWindow
*arg2
= (wxWindow
*) 0 ;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self",(char *) "child", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18800 if (SWIG_arg_fail(1)) SWIG_fail
;
18801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18802 if (SWIG_arg_fail(2)) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->AddChild(arg2
);
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 Py_INCREF(Py_None
); resultobj
= Py_None
;
18817 static PyObject
*_wrap_PyWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
= NULL
;
18819 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18820 wxWindow
*arg2
= (wxWindow
*) 0 ;
18821 PyObject
* obj0
= 0 ;
18822 PyObject
* obj1
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self",(char *) "child", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18829 if (SWIG_arg_fail(1)) SWIG_fail
;
18830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18831 if (SWIG_arg_fail(2)) SWIG_fail
;
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 (arg1
)->RemoveChild(arg2
);
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18839 Py_INCREF(Py_None
); resultobj
= Py_None
;
18846 static PyObject
*_wrap_PyWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
= NULL
;
18848 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "self", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18857 if (SWIG_arg_fail(1)) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (bool)((wxPyWindow
const *)arg1
)->ShouldInheritColours();
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18874 static PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
= NULL
;
18876 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18877 wxVisualAttributes result
;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18885 if (SWIG_arg_fail(1)) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 result
= (arg1
)->GetDefaultAttributes();
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18894 wxVisualAttributes
* resultptr
;
18895 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
18896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18904 static PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
= NULL
;
18906 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18907 PyObject
* obj0
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
18913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18914 if (SWIG_arg_fail(1)) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 (arg1
)->OnInternalIdle();
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 Py_INCREF(Py_None
); resultobj
= Py_None
;
18929 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18932 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18934 return Py_BuildValue((char *)"");
18936 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
= NULL
;
18938 wxWindow
*arg1
= (wxWindow
*) 0 ;
18939 int arg2
= (int) (int)-1 ;
18940 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18941 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18942 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18943 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18944 long arg5
= (long) 0 ;
18945 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18946 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18950 bool temp6
= false ;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 PyObject
* obj2
= 0 ;
18954 PyObject
* obj3
= 0 ;
18955 PyObject
* obj4
= 0 ;
18956 PyObject
* obj5
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18963 if (SWIG_arg_fail(1)) SWIG_fail
;
18966 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
18967 if (SWIG_arg_fail(2)) SWIG_fail
;
18973 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18979 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18984 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18985 if (SWIG_arg_fail(5)) SWIG_fail
;
18990 arg6
= wxString_in_helper(obj5
);
18991 if (arg6
== NULL
) SWIG_fail
;
18996 if (!wxPyCheckForApp()) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19018 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
= NULL
;
19021 char *kwnames
[] = {
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
19027 if (!wxPyCheckForApp()) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= (wxPyPanel
*)new wxPyPanel();
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19041 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
= NULL
;
19043 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19044 PyObject
*arg2
= (PyObject
*) 0 ;
19045 PyObject
*arg3
= (PyObject
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 PyObject
* obj1
= 0 ;
19048 PyObject
* obj2
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self",(char *) "self",(char *) "_class", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19055 if (SWIG_arg_fail(1)) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
= NULL
;
19074 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 PyObject
* obj1
= 0 ;
19079 char *kwnames
[] = {
19080 (char *) "self",(char *) "size", NULL
19083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19085 if (SWIG_arg_fail(1)) SWIG_fail
;
19088 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19097 Py_INCREF(Py_None
); resultobj
= Py_None
;
19104 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
= NULL
;
19106 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19107 wxDC
*arg2
= (wxDC
*) 0 ;
19109 PyObject
* obj0
= 0 ;
19110 PyObject
* obj1
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self",(char *) "dc", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19117 if (SWIG_arg_fail(1)) SWIG_fail
;
19118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19119 if (SWIG_arg_fail(2)) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19136 static PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
= NULL
;
19138 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19143 PyObject
* obj0
= 0 ;
19144 PyObject
* obj1
= 0 ;
19145 PyObject
* obj2
= 0 ;
19146 PyObject
* obj3
= 0 ;
19147 PyObject
* obj4
= 0 ;
19148 char *kwnames
[] = {
19149 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19154 if (SWIG_arg_fail(1)) SWIG_fail
;
19156 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19157 if (SWIG_arg_fail(2)) SWIG_fail
;
19160 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19161 if (SWIG_arg_fail(3)) SWIG_fail
;
19164 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19165 if (SWIG_arg_fail(4)) SWIG_fail
;
19168 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19169 if (SWIG_arg_fail(5)) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 Py_INCREF(Py_None
); resultobj
= Py_None
;
19185 static PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
= NULL
;
19187 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19192 int arg6
= (int) wxSIZE_AUTO
;
19193 PyObject
* obj0
= 0 ;
19194 PyObject
* obj1
= 0 ;
19195 PyObject
* obj2
= 0 ;
19196 PyObject
* obj3
= 0 ;
19197 PyObject
* obj4
= 0 ;
19198 PyObject
* obj5
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19205 if (SWIG_arg_fail(1)) SWIG_fail
;
19207 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19208 if (SWIG_arg_fail(2)) SWIG_fail
;
19211 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19212 if (SWIG_arg_fail(3)) SWIG_fail
;
19215 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19216 if (SWIG_arg_fail(4)) SWIG_fail
;
19219 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19220 if (SWIG_arg_fail(5)) SWIG_fail
;
19224 arg6
= static_cast<int >(SWIG_As_int(obj5
));
19225 if (SWIG_arg_fail(6)) SWIG_fail
;
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 Py_INCREF(Py_None
); resultobj
= Py_None
;
19242 static PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
= NULL
;
19244 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 PyObject
* obj2
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self",(char *) "width",(char *) "height", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19256 if (SWIG_arg_fail(1)) SWIG_fail
;
19258 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19259 if (SWIG_arg_fail(2)) SWIG_fail
;
19262 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19263 if (SWIG_arg_fail(3)) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 (arg1
)->DoSetClientSize(arg2
,arg3
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 Py_INCREF(Py_None
); resultobj
= Py_None
;
19279 static PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
= NULL
;
19281 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 PyObject
* obj2
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self",(char *) "x",(char *) "y", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19293 if (SWIG_arg_fail(1)) SWIG_fail
;
19295 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19296 if (SWIG_arg_fail(2)) SWIG_fail
;
19299 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19300 if (SWIG_arg_fail(3)) SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 Py_INCREF(Py_None
); resultobj
= Py_None
;
19316 static PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
= NULL
;
19318 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19319 int *arg2
= (int *) 0 ;
19320 int *arg3
= (int *) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self", NULL
19330 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19331 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetSize",kwnames
,&obj0
)) goto fail
;
19333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19334 if (SWIG_arg_fail(1)) SWIG_fail
;
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 Py_INCREF(Py_None
); resultobj
= Py_None
;
19343 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19344 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19345 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19346 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19353 static PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= NULL
;
19355 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19356 int *arg2
= (int *) 0 ;
19357 int *arg3
= (int *) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self", NULL
19367 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19368 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19371 if (SWIG_arg_fail(1)) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 Py_INCREF(Py_None
); resultobj
= Py_None
;
19380 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19381 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19382 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19383 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19390 static PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
= NULL
;
19392 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19393 int *arg2
= (int *) 0 ;
19394 int *arg3
= (int *) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self", NULL
19404 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19405 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19408 if (SWIG_arg_fail(1)) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 Py_INCREF(Py_None
); resultobj
= Py_None
;
19417 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19418 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19419 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19420 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19427 static PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
= NULL
;
19429 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19431 PyObject
* obj0
= 0 ;
19432 char *kwnames
[] = {
19433 (char *) "self", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19438 if (SWIG_arg_fail(1)) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19447 wxSize
* resultptr
;
19448 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19457 static PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
= NULL
;
19459 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19461 PyObject
* obj0
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19468 if (SWIG_arg_fail(1)) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19477 wxSize
* resultptr
;
19478 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19487 static PyObject
*_wrap_PyPanel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
= NULL
;
19489 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_InitDialog",kwnames
,&obj0
)) goto fail
;
19496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19497 if (SWIG_arg_fail(1)) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19500 (arg1
)->InitDialog();
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 Py_INCREF(Py_None
); resultobj
= Py_None
;
19512 static PyObject
*_wrap_PyPanel_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
= NULL
;
19514 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19516 PyObject
* obj0
= 0 ;
19517 char *kwnames
[] = {
19518 (char *) "self", NULL
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19523 if (SWIG_arg_fail(1)) SWIG_fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (bool)(arg1
)->TransferDataToWindow();
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19540 static PyObject
*_wrap_PyPanel_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
= NULL
;
19542 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19544 PyObject
* obj0
= 0 ;
19545 char *kwnames
[] = {
19546 (char *) "self", NULL
19549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19551 if (SWIG_arg_fail(1)) SWIG_fail
;
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 result
= (bool)(arg1
)->TransferDataFromWindow();
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19568 static PyObject
*_wrap_PyPanel_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
= NULL
;
19570 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_Validate",kwnames
,&obj0
)) goto fail
;
19578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 result
= (bool)(arg1
)->Validate();
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19596 static PyObject
*_wrap_PyPanel_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
= NULL
;
19598 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19600 PyObject
* obj0
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19607 if (SWIG_arg_fail(1)) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocus();
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19624 static PyObject
*_wrap_PyPanel_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
= NULL
;
19626 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19628 PyObject
* obj0
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19635 if (SWIG_arg_fail(1)) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocusFromKeyboard();
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19652 static PyObject
*_wrap_PyPanel_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
= NULL
;
19654 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19656 PyObject
* obj0
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19663 if (SWIG_arg_fail(1)) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= ((wxPyPanel
const *)arg1
)->GetMaxSize();
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19672 wxSize
* resultptr
;
19673 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19682 static PyObject
*_wrap_PyPanel_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
= NULL
;
19684 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19685 wxWindow
*arg2
= (wxWindow
*) 0 ;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "self",(char *) "child", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19694 if (SWIG_arg_fail(1)) SWIG_fail
;
19695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19696 if (SWIG_arg_fail(2)) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 (arg1
)->AddChild(arg2
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 Py_INCREF(Py_None
); resultobj
= Py_None
;
19711 static PyObject
*_wrap_PyPanel_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
= NULL
;
19713 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19714 wxWindow
*arg2
= (wxWindow
*) 0 ;
19715 PyObject
* obj0
= 0 ;
19716 PyObject
* obj1
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "self",(char *) "child", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19723 if (SWIG_arg_fail(1)) SWIG_fail
;
19724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19725 if (SWIG_arg_fail(2)) SWIG_fail
;
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 (arg1
)->RemoveChild(arg2
);
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 Py_INCREF(Py_None
); resultobj
= Py_None
;
19740 static PyObject
*_wrap_PyPanel_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
= NULL
;
19742 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19744 PyObject
* obj0
= 0 ;
19745 char *kwnames
[] = {
19746 (char *) "self", NULL
19749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19751 if (SWIG_arg_fail(1)) SWIG_fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= (bool)((wxPyPanel
const *)arg1
)->ShouldInheritColours();
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19768 static PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19769 PyObject
*resultobj
= NULL
;
19770 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19771 wxVisualAttributes result
;
19772 PyObject
* obj0
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19779 if (SWIG_arg_fail(1)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 result
= (arg1
)->GetDefaultAttributes();
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19788 wxVisualAttributes
* resultptr
;
19789 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19798 static PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
= NULL
;
19800 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19801 PyObject
* obj0
= 0 ;
19802 char *kwnames
[] = {
19803 (char *) "self", NULL
19806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19808 if (SWIG_arg_fail(1)) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 (arg1
)->OnInternalIdle();
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19826 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19828 return Py_BuildValue((char *)"");
19830 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
= NULL
;
19832 wxWindow
*arg1
= (wxWindow
*) 0 ;
19833 int arg2
= (int) (int)-1 ;
19834 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19835 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19836 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19837 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19838 long arg5
= (long) 0 ;
19839 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19840 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19841 wxPyScrolledWindow
*result
;
19844 bool temp6
= false ;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 PyObject
* obj2
= 0 ;
19848 PyObject
* obj3
= 0 ;
19849 PyObject
* obj4
= 0 ;
19850 PyObject
* obj5
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19857 if (SWIG_arg_fail(1)) SWIG_fail
;
19860 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
19861 if (SWIG_arg_fail(2)) SWIG_fail
;
19867 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19873 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19878 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19879 if (SWIG_arg_fail(5)) SWIG_fail
;
19884 arg6
= wxString_in_helper(obj5
);
19885 if (arg6
== NULL
) SWIG_fail
;
19890 if (!wxPyCheckForApp()) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19912 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19913 PyObject
*resultobj
= NULL
;
19914 wxPyScrolledWindow
*result
;
19915 char *kwnames
[] = {
19919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19921 if (!wxPyCheckForApp()) SWIG_fail
;
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19935 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
= NULL
;
19937 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19938 PyObject
*arg2
= (PyObject
*) 0 ;
19939 PyObject
*arg3
= (PyObject
*) 0 ;
19940 PyObject
* obj0
= 0 ;
19941 PyObject
* obj1
= 0 ;
19942 PyObject
* obj2
= 0 ;
19943 char *kwnames
[] = {
19944 (char *) "self",(char *) "self",(char *) "_class", NULL
19947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19949 if (SWIG_arg_fail(1)) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 Py_INCREF(Py_None
); resultobj
= Py_None
;
19966 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
= NULL
;
19968 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19973 char *kwnames
[] = {
19974 (char *) "self",(char *) "size", NULL
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19979 if (SWIG_arg_fail(1)) SWIG_fail
;
19982 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 Py_INCREF(Py_None
); resultobj
= Py_None
;
19998 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
= NULL
;
20000 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20001 wxDC
*arg2
= (wxDC
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 PyObject
* obj1
= 0 ;
20005 char *kwnames
[] = {
20006 (char *) "self",(char *) "dc", NULL
20009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20011 if (SWIG_arg_fail(1)) SWIG_fail
;
20012 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20013 if (SWIG_arg_fail(2)) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20030 static PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
= NULL
;
20032 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20037 PyObject
* obj0
= 0 ;
20038 PyObject
* obj1
= 0 ;
20039 PyObject
* obj2
= 0 ;
20040 PyObject
* obj3
= 0 ;
20041 PyObject
* obj4
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20048 if (SWIG_arg_fail(1)) SWIG_fail
;
20050 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20051 if (SWIG_arg_fail(2)) SWIG_fail
;
20054 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20055 if (SWIG_arg_fail(3)) SWIG_fail
;
20058 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20059 if (SWIG_arg_fail(4)) SWIG_fail
;
20062 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20063 if (SWIG_arg_fail(5)) SWIG_fail
;
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20072 Py_INCREF(Py_None
); resultobj
= Py_None
;
20079 static PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20080 PyObject
*resultobj
= NULL
;
20081 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20086 int arg6
= (int) wxSIZE_AUTO
;
20087 PyObject
* obj0
= 0 ;
20088 PyObject
* obj1
= 0 ;
20089 PyObject
* obj2
= 0 ;
20090 PyObject
* obj3
= 0 ;
20091 PyObject
* obj4
= 0 ;
20092 PyObject
* obj5
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20099 if (SWIG_arg_fail(1)) SWIG_fail
;
20101 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20102 if (SWIG_arg_fail(2)) SWIG_fail
;
20105 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20106 if (SWIG_arg_fail(3)) SWIG_fail
;
20109 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20110 if (SWIG_arg_fail(4)) SWIG_fail
;
20113 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20114 if (SWIG_arg_fail(5)) SWIG_fail
;
20118 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20119 if (SWIG_arg_fail(6)) SWIG_fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20129 Py_INCREF(Py_None
); resultobj
= Py_None
;
20136 static PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20137 PyObject
*resultobj
= NULL
;
20138 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20141 PyObject
* obj0
= 0 ;
20142 PyObject
* obj1
= 0 ;
20143 PyObject
* obj2
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self",(char *) "width",(char *) "height", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20150 if (SWIG_arg_fail(1)) SWIG_fail
;
20152 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20153 if (SWIG_arg_fail(2)) SWIG_fail
;
20156 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20157 if (SWIG_arg_fail(3)) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 (arg1
)->DoSetClientSize(arg2
,arg3
);
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 Py_INCREF(Py_None
); resultobj
= Py_None
;
20173 static PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
= NULL
;
20175 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20178 PyObject
* obj0
= 0 ;
20179 PyObject
* obj1
= 0 ;
20180 PyObject
* obj2
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self",(char *) "x",(char *) "y", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20187 if (SWIG_arg_fail(1)) SWIG_fail
;
20189 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20190 if (SWIG_arg_fail(2)) SWIG_fail
;
20193 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20194 if (SWIG_arg_fail(3)) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20203 Py_INCREF(Py_None
); resultobj
= Py_None
;
20210 static PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
= NULL
;
20212 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20213 int *arg2
= (int *) 0 ;
20214 int *arg3
= (int *) 0 ;
20219 PyObject
* obj0
= 0 ;
20220 char *kwnames
[] = {
20221 (char *) "self", NULL
20224 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20225 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
20227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20228 if (SWIG_arg_fail(1)) SWIG_fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 Py_INCREF(Py_None
); resultobj
= Py_None
;
20237 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20238 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20239 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20240 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20247 static PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
= NULL
;
20249 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20250 int *arg2
= (int *) 0 ;
20251 int *arg3
= (int *) 0 ;
20256 PyObject
* obj0
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self", NULL
20261 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20262 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
20264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20265 if (SWIG_arg_fail(1)) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 Py_INCREF(Py_None
); resultobj
= Py_None
;
20274 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20275 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20276 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20277 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20284 static PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
= NULL
;
20286 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20287 int *arg2
= (int *) 0 ;
20288 int *arg3
= (int *) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self", NULL
20298 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20299 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
20301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20302 if (SWIG_arg_fail(1)) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 Py_INCREF(Py_None
); resultobj
= Py_None
;
20311 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20312 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20313 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20314 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20321 static PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
= NULL
;
20323 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20325 PyObject
* obj0
= 0 ;
20326 char *kwnames
[] = {
20327 (char *) "self", NULL
20330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
20331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20332 if (SWIG_arg_fail(1)) SWIG_fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20341 wxSize
* resultptr
;
20342 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20351 static PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
= NULL
;
20353 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20355 PyObject
* obj0
= 0 ;
20356 char *kwnames
[] = {
20357 (char *) "self", NULL
20360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20362 if (SWIG_arg_fail(1)) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20371 wxSize
* resultptr
;
20372 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20381 static PyObject
*_wrap_PyScrolledWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
= NULL
;
20383 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
20390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 (arg1
)->InitDialog();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 Py_INCREF(Py_None
); resultobj
= Py_None
;
20406 static PyObject
*_wrap_PyScrolledWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
= NULL
;
20408 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20417 if (SWIG_arg_fail(1)) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (bool)(arg1
)->TransferDataToWindow();
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20434 static PyObject
*_wrap_PyScrolledWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
= NULL
;
20436 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20438 PyObject
* obj0
= 0 ;
20439 char *kwnames
[] = {
20440 (char *) "self", NULL
20443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 result
= (bool)(arg1
)->TransferDataFromWindow();
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20462 static PyObject
*_wrap_PyScrolledWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
= NULL
;
20464 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20466 PyObject
* obj0
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_Validate",kwnames
,&obj0
)) goto fail
;
20472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20473 if (SWIG_arg_fail(1)) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 result
= (bool)(arg1
)->Validate();
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20490 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
= NULL
;
20492 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20494 PyObject
* obj0
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20501 if (SWIG_arg_fail(1)) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocus();
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20518 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
= NULL
;
20520 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20522 PyObject
* obj0
= 0 ;
20523 char *kwnames
[] = {
20524 (char *) "self", NULL
20527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20529 if (SWIG_arg_fail(1)) SWIG_fail
;
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20546 static PyObject
*_wrap_PyScrolledWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
= NULL
;
20548 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20557 if (SWIG_arg_fail(1)) SWIG_fail
;
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20560 result
= ((wxPyScrolledWindow
const *)arg1
)->GetMaxSize();
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20566 wxSize
* resultptr
;
20567 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20576 static PyObject
*_wrap_PyScrolledWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
= NULL
;
20578 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20579 wxWindow
*arg2
= (wxWindow
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 PyObject
* obj1
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self",(char *) "child", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20588 if (SWIG_arg_fail(1)) SWIG_fail
;
20589 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20590 if (SWIG_arg_fail(2)) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 (arg1
)->AddChild(arg2
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 Py_INCREF(Py_None
); resultobj
= Py_None
;
20605 static PyObject
*_wrap_PyScrolledWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
= NULL
;
20607 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20608 wxWindow
*arg2
= (wxWindow
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self",(char *) "child", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20617 if (SWIG_arg_fail(1)) SWIG_fail
;
20618 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20619 if (SWIG_arg_fail(2)) SWIG_fail
;
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 (arg1
)->RemoveChild(arg2
);
20624 wxPyEndAllowThreads(__tstate
);
20625 if (PyErr_Occurred()) SWIG_fail
;
20627 Py_INCREF(Py_None
); resultobj
= Py_None
;
20634 static PyObject
*_wrap_PyScrolledWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
= NULL
;
20636 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20638 PyObject
* obj0
= 0 ;
20639 char *kwnames
[] = {
20640 (char *) "self", NULL
20643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20645 if (SWIG_arg_fail(1)) SWIG_fail
;
20647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20648 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->ShouldInheritColours();
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20662 static PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
= NULL
;
20664 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20665 wxVisualAttributes result
;
20666 PyObject
* obj0
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20673 if (SWIG_arg_fail(1)) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (arg1
)->GetDefaultAttributes();
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20682 wxVisualAttributes
* resultptr
;
20683 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
20684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20692 static PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
= NULL
;
20694 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20702 if (SWIG_arg_fail(1)) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 (arg1
)->OnInternalIdle();
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 Py_INCREF(Py_None
); resultobj
= Py_None
;
20717 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20720 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20722 return Py_BuildValue((char *)"");
20724 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20725 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20730 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20731 PyObject
*pyobj
= NULL
;
20735 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20737 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20744 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20745 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20750 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20751 PyObject
*pyobj
= NULL
;
20755 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20757 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20764 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20765 PyObject
*resultobj
= NULL
;
20766 wxPrintData
*result
;
20768 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 result
= (wxPrintData
*)new wxPrintData();
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20783 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20784 PyObject
*resultobj
= NULL
;
20785 wxPrintData
*arg1
= 0 ;
20786 wxPrintData
*result
;
20787 PyObject
* obj0
= 0 ;
20789 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20792 if (SWIG_arg_fail(1)) SWIG_fail
;
20793 if (arg1
== NULL
) {
20794 SWIG_null_ref("wxPrintData");
20796 if (SWIG_arg_fail(1)) SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20812 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20817 argc
= PyObject_Length(args
);
20818 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20819 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20822 return _wrap_new_PrintData__SWIG_0(self
,args
);
20828 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20836 return _wrap_new_PrintData__SWIG_1(self
,args
);
20840 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20845 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
= NULL
;
20847 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20848 PyObject
* obj0
= 0 ;
20849 char *kwnames
[] = {
20850 (char *) "self", NULL
20853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20855 if (SWIG_arg_fail(1)) SWIG_fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20863 Py_INCREF(Py_None
); resultobj
= Py_None
;
20870 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20871 PyObject
*resultobj
= NULL
;
20872 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20874 PyObject
* obj0
= 0 ;
20875 char *kwnames
[] = {
20876 (char *) "self", NULL
20879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20881 if (SWIG_arg_fail(1)) SWIG_fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 result
= (int)(arg1
)->GetNoCopies();
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_From_int(static_cast<int >(result
));
20898 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
= NULL
;
20900 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20902 PyObject
* obj0
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20909 if (SWIG_arg_fail(1)) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20912 result
= (bool)(arg1
)->GetCollate();
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20926 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20927 PyObject
*resultobj
= NULL
;
20928 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20930 PyObject
* obj0
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20937 if (SWIG_arg_fail(1)) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 result
= (int)(arg1
)->GetOrientation();
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_From_int(static_cast<int >(result
));
20954 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
= NULL
;
20956 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20958 PyObject
* obj0
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20965 if (SWIG_arg_fail(1)) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (bool)(arg1
)->Ok();
20970 wxPyEndAllowThreads(__tstate
);
20971 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20982 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
= NULL
;
20984 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20993 if (SWIG_arg_fail(1)) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20998 result
= (wxString
*) &_result_ref
;
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21006 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21008 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21017 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
= NULL
;
21019 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21021 PyObject
* obj0
= 0 ;
21022 char *kwnames
[] = {
21023 (char *) "self", NULL
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
21027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21028 if (SWIG_arg_fail(1)) SWIG_fail
;
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= (bool)(arg1
)->GetColour();
21033 wxPyEndAllowThreads(__tstate
);
21034 if (PyErr_Occurred()) SWIG_fail
;
21037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21045 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21046 PyObject
*resultobj
= NULL
;
21047 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21048 wxDuplexMode result
;
21049 PyObject
* obj0
= 0 ;
21050 char *kwnames
[] = {
21051 (char *) "self", NULL
21054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
21055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail
;
21058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= SWIG_From_int((result
));
21071 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21072 PyObject
*resultobj
= NULL
;
21073 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21074 wxPaperSize result
;
21075 PyObject
* obj0
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
21081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21082 if (SWIG_arg_fail(1)) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= (wxPaperSize
)(arg1
)->GetPaperId();
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= SWIG_From_int((result
));
21097 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
= NULL
;
21099 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21101 PyObject
* obj0
= 0 ;
21102 char *kwnames
[] = {
21103 (char *) "self", NULL
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
21107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21108 if (SWIG_arg_fail(1)) SWIG_fail
;
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21112 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
21113 result
= (wxSize
*) &_result_ref
;
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
21126 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
= NULL
;
21128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21130 PyObject
* obj0
= 0 ;
21131 char *kwnames
[] = {
21132 (char *) "self", NULL
21135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
21136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21137 if (SWIG_arg_fail(1)) SWIG_fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 result
= (int)(arg1
)->GetQuality();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= SWIG_From_int(static_cast<int >(result
));
21154 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
= NULL
;
21156 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21158 PyObject
* obj0
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
21164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail
;
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= (wxPrintBin
)(arg1
)->GetBin();
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= SWIG_From_int((result
));
21180 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21181 PyObject
*resultobj
= NULL
;
21182 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21183 wxPrintMode result
;
21184 PyObject
* obj0
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "self", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
21190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21191 if (SWIG_arg_fail(1)) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= SWIG_From_int((result
));
21206 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
= NULL
;
21208 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self",(char *) "v", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21218 if (SWIG_arg_fail(1)) SWIG_fail
;
21220 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21221 if (SWIG_arg_fail(2)) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 (arg1
)->SetNoCopies(arg2
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 Py_INCREF(Py_None
); resultobj
= Py_None
;
21237 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
= NULL
;
21239 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "flag", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21249 if (SWIG_arg_fail(1)) SWIG_fail
;
21251 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21252 if (SWIG_arg_fail(2)) SWIG_fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 (arg1
)->SetCollate(arg2
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 Py_INCREF(Py_None
); resultobj
= Py_None
;
21268 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
= NULL
;
21270 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21272 PyObject
* obj0
= 0 ;
21273 PyObject
* obj1
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "self",(char *) "orient", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21280 if (SWIG_arg_fail(1)) SWIG_fail
;
21282 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21283 if (SWIG_arg_fail(2)) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 (arg1
)->SetOrientation(arg2
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 Py_INCREF(Py_None
); resultobj
= Py_None
;
21299 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
= NULL
;
21301 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21302 wxString
*arg2
= 0 ;
21303 bool temp2
= false ;
21304 PyObject
* obj0
= 0 ;
21305 PyObject
* obj1
= 0 ;
21306 char *kwnames
[] = {
21307 (char *) "self",(char *) "name", NULL
21310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
21311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21312 if (SWIG_arg_fail(1)) SWIG_fail
;
21314 arg2
= wxString_in_helper(obj1
);
21315 if (arg2
== NULL
) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 Py_INCREF(Py_None
); resultobj
= Py_None
;
21340 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
= NULL
;
21342 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21344 PyObject
* obj0
= 0 ;
21345 PyObject
* obj1
= 0 ;
21346 char *kwnames
[] = {
21347 (char *) "self",(char *) "colour", NULL
21350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21352 if (SWIG_arg_fail(1)) SWIG_fail
;
21354 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21355 if (SWIG_arg_fail(2)) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 (arg1
)->SetColour(arg2
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 Py_INCREF(Py_None
); resultobj
= Py_None
;
21371 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
= NULL
;
21373 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21374 wxDuplexMode arg2
;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self",(char *) "duplex", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21383 if (SWIG_arg_fail(1)) SWIG_fail
;
21385 arg2
= static_cast<wxDuplexMode
>(SWIG_As_int(obj1
));
21386 if (SWIG_arg_fail(2)) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 (arg1
)->SetDuplex(arg2
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21395 Py_INCREF(Py_None
); resultobj
= Py_None
;
21402 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
= NULL
;
21404 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21406 PyObject
* obj0
= 0 ;
21407 PyObject
* obj1
= 0 ;
21408 char *kwnames
[] = {
21409 (char *) "self",(char *) "sizeId", NULL
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21414 if (SWIG_arg_fail(1)) SWIG_fail
;
21416 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
21417 if (SWIG_arg_fail(2)) SWIG_fail
;
21420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 (arg1
)->SetPaperId(arg2
);
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 Py_INCREF(Py_None
); resultobj
= Py_None
;
21433 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
= NULL
;
21435 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21438 PyObject
* obj0
= 0 ;
21439 PyObject
* obj1
= 0 ;
21440 char *kwnames
[] = {
21441 (char *) "self",(char *) "sz", NULL
21444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21446 if (SWIG_arg_fail(1)) SWIG_fail
;
21449 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 Py_INCREF(Py_None
); resultobj
= Py_None
;
21465 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
= NULL
;
21467 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21469 PyObject
* obj0
= 0 ;
21470 PyObject
* obj1
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self",(char *) "quality", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21477 if (SWIG_arg_fail(1)) SWIG_fail
;
21479 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21480 if (SWIG_arg_fail(2)) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 (arg1
)->SetQuality(arg2
);
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 Py_INCREF(Py_None
); resultobj
= Py_None
;
21496 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
= NULL
;
21498 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21500 PyObject
* obj0
= 0 ;
21501 PyObject
* obj1
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self",(char *) "bin", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21508 if (SWIG_arg_fail(1)) SWIG_fail
;
21510 arg2
= static_cast<wxPrintBin
>(SWIG_As_int(obj1
));
21511 if (SWIG_arg_fail(2)) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 (arg1
)->SetBin(arg2
);
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 Py_INCREF(Py_None
); resultobj
= Py_None
;
21527 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
= NULL
;
21529 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self",(char *) "printMode", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21539 if (SWIG_arg_fail(1)) SWIG_fail
;
21541 arg2
= static_cast<wxPrintMode
>(SWIG_As_int(obj1
));
21542 if (SWIG_arg_fail(2)) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 (arg1
)->SetPrintMode(arg2
);
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 Py_INCREF(Py_None
); resultobj
= Py_None
;
21558 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
= NULL
;
21560 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21562 PyObject
* obj0
= 0 ;
21563 char *kwnames
[] = {
21564 (char *) "self", NULL
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21569 if (SWIG_arg_fail(1)) SWIG_fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21590 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
= NULL
;
21592 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21593 wxString
*arg2
= 0 ;
21594 bool temp2
= false ;
21595 PyObject
* obj0
= 0 ;
21596 PyObject
* obj1
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self",(char *) "filename", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21603 if (SWIG_arg_fail(1)) SWIG_fail
;
21605 arg2
= wxString_in_helper(obj1
);
21606 if (arg2
== NULL
) SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 (arg1
)->SetFilename((wxString
const &)*arg2
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 Py_INCREF(Py_None
); resultobj
= Py_None
;
21631 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
= NULL
;
21633 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21635 PyObject
* obj0
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21642 if (SWIG_arg_fail(1)) SWIG_fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= result
;
21657 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
= NULL
;
21659 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21660 PyObject
*arg2
= (PyObject
*) 0 ;
21661 PyObject
* obj0
= 0 ;
21662 PyObject
* obj1
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "data", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21669 if (SWIG_arg_fail(1)) SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 wxPrintData_SetPrivData(arg1
,arg2
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 Py_INCREF(Py_None
); resultobj
= Py_None
;
21685 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21688 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21690 return Py_BuildValue((char *)"");
21692 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21693 PyObject
*resultobj
= NULL
;
21694 wxPageSetupDialogData
*result
;
21696 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21711 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21712 PyObject
*resultobj
= NULL
;
21713 wxPageSetupDialogData
*arg1
= 0 ;
21714 wxPageSetupDialogData
*result
;
21715 PyObject
* obj0
= 0 ;
21717 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21720 if (SWIG_arg_fail(1)) SWIG_fail
;
21721 if (arg1
== NULL
) {
21722 SWIG_null_ref("wxPageSetupDialogData");
21724 if (SWIG_arg_fail(1)) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21740 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21741 PyObject
*resultobj
= NULL
;
21742 wxPrintData
*arg1
= 0 ;
21743 wxPageSetupDialogData
*result
;
21744 PyObject
* obj0
= 0 ;
21746 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21749 if (SWIG_arg_fail(1)) SWIG_fail
;
21750 if (arg1
== NULL
) {
21751 SWIG_null_ref("wxPrintData");
21753 if (SWIG_arg_fail(1)) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21769 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21774 argc
= PyObject_Length(args
);
21775 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21776 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21779 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21785 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21793 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21800 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21808 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21812 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21817 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
= NULL
;
21819 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21820 PyObject
* obj0
= 0 ;
21821 char *kwnames
[] = {
21822 (char *) "self", NULL
21825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21827 if (SWIG_arg_fail(1)) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 Py_INCREF(Py_None
); resultobj
= Py_None
;
21842 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
= NULL
;
21844 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 PyObject
* obj1
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self",(char *) "flag", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21854 if (SWIG_arg_fail(1)) SWIG_fail
;
21856 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21857 if (SWIG_arg_fail(2)) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 (arg1
)->EnableHelp(arg2
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 Py_INCREF(Py_None
); resultobj
= Py_None
;
21873 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
= NULL
;
21875 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 PyObject
* obj1
= 0 ;
21879 char *kwnames
[] = {
21880 (char *) "self",(char *) "flag", NULL
21883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21885 if (SWIG_arg_fail(1)) SWIG_fail
;
21887 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21888 if (SWIG_arg_fail(2)) SWIG_fail
;
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 (arg1
)->EnableMargins(arg2
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 Py_INCREF(Py_None
); resultobj
= Py_None
;
21904 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
= NULL
;
21906 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "self",(char *) "flag", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21916 if (SWIG_arg_fail(1)) SWIG_fail
;
21918 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21919 if (SWIG_arg_fail(2)) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 (arg1
)->EnableOrientation(arg2
);
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 Py_INCREF(Py_None
); resultobj
= Py_None
;
21935 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
= NULL
;
21937 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21939 PyObject
* obj0
= 0 ;
21940 PyObject
* obj1
= 0 ;
21941 char *kwnames
[] = {
21942 (char *) "self",(char *) "flag", NULL
21945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
21946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21947 if (SWIG_arg_fail(1)) SWIG_fail
;
21949 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21950 if (SWIG_arg_fail(2)) SWIG_fail
;
21953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 (arg1
)->EnablePaper(arg2
);
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 Py_INCREF(Py_None
); resultobj
= Py_None
;
21966 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
= NULL
;
21968 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 char *kwnames
[] = {
21973 (char *) "self",(char *) "flag", NULL
21976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21978 if (SWIG_arg_fail(1)) SWIG_fail
;
21980 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21981 if (SWIG_arg_fail(2)) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 (arg1
)->EnablePrinter(arg2
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 Py_INCREF(Py_None
); resultobj
= Py_None
;
21997 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
= NULL
;
21999 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22001 PyObject
* obj0
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22008 if (SWIG_arg_fail(1)) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 result
= (bool)(arg1
)->GetDefaultMinMargins();
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22025 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
= NULL
;
22027 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22029 PyObject
* obj0
= 0 ;
22030 char *kwnames
[] = {
22031 (char *) "self", NULL
22034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22036 if (SWIG_arg_fail(1)) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 result
= (bool)(arg1
)->GetEnableMargins();
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
= NULL
;
22055 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22057 PyObject
* obj0
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22064 if (SWIG_arg_fail(1)) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (bool)(arg1
)->GetEnableOrientation();
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22081 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
= NULL
;
22083 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 char *kwnames
[] = {
22087 (char *) "self", NULL
22090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22092 if (SWIG_arg_fail(1)) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (bool)(arg1
)->GetEnablePaper();
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22109 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
= NULL
;
22111 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22113 PyObject
* obj0
= 0 ;
22114 char *kwnames
[] = {
22115 (char *) "self", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22120 if (SWIG_arg_fail(1)) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (bool)(arg1
)->GetEnablePrinter();
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22137 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
= NULL
;
22139 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22141 PyObject
* obj0
= 0 ;
22142 char *kwnames
[] = {
22143 (char *) "self", NULL
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22148 if (SWIG_arg_fail(1)) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 result
= (bool)(arg1
)->GetEnableHelp();
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22165 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
= NULL
;
22167 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22169 PyObject
* obj0
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22176 if (SWIG_arg_fail(1)) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= (bool)(arg1
)->GetDefaultInfo();
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22193 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
= NULL
;
22195 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22197 PyObject
* obj0
= 0 ;
22198 char *kwnames
[] = {
22199 (char *) "self", NULL
22202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22204 if (SWIG_arg_fail(1)) SWIG_fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (arg1
)->GetMarginTopLeft();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22213 wxPoint
* resultptr
;
22214 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22223 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22224 PyObject
*resultobj
= NULL
;
22225 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22234 if (SWIG_arg_fail(1)) SWIG_fail
;
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 result
= (arg1
)->GetMarginBottomRight();
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 wxPoint
* resultptr
;
22244 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22253 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
= NULL
;
22255 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22257 PyObject
* obj0
= 0 ;
22258 char *kwnames
[] = {
22259 (char *) "self", NULL
22262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22264 if (SWIG_arg_fail(1)) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (arg1
)->GetMinMarginTopLeft();
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 wxPoint
* resultptr
;
22274 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22283 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
= NULL
;
22285 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22287 PyObject
* obj0
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22294 if (SWIG_arg_fail(1)) SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 result
= (arg1
)->GetMinMarginBottomRight();
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22303 wxPoint
* resultptr
;
22304 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22313 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
= NULL
;
22315 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22316 wxPaperSize result
;
22317 PyObject
* obj0
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22324 if (SWIG_arg_fail(1)) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22332 resultobj
= SWIG_From_int((result
));
22339 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22340 PyObject
*resultobj
= NULL
;
22341 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22343 PyObject
* obj0
= 0 ;
22344 char *kwnames
[] = {
22345 (char *) "self", NULL
22348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22350 if (SWIG_arg_fail(1)) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= (arg1
)->GetPaperSize();
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22359 wxSize
* resultptr
;
22360 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22369 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
= NULL
;
22371 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22372 wxPrintData
*result
;
22373 PyObject
* obj0
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22380 if (SWIG_arg_fail(1)) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22385 result
= (wxPrintData
*) &_result_ref
;
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22398 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
= NULL
;
22400 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22409 if (SWIG_arg_fail(1)) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (bool)(arg1
)->Ok();
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22426 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
= NULL
;
22428 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self",(char *) "flag", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22438 if (SWIG_arg_fail(1)) SWIG_fail
;
22440 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22441 if (SWIG_arg_fail(2)) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 (arg1
)->SetDefaultInfo(arg2
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22450 Py_INCREF(Py_None
); resultobj
= Py_None
;
22457 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
= NULL
;
22459 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self",(char *) "flag", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22469 if (SWIG_arg_fail(1)) SWIG_fail
;
22471 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22472 if (SWIG_arg_fail(2)) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->SetDefaultMinMargins(arg2
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 Py_INCREF(Py_None
); resultobj
= Py_None
;
22488 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
= NULL
;
22490 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22491 wxPoint
*arg2
= 0 ;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self",(char *) "pt", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22501 if (SWIG_arg_fail(1)) SWIG_fail
;
22504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 Py_INCREF(Py_None
); resultobj
= Py_None
;
22520 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
= NULL
;
22522 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22523 wxPoint
*arg2
= 0 ;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self",(char *) "pt", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22533 if (SWIG_arg_fail(1)) SWIG_fail
;
22536 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 Py_INCREF(Py_None
); resultobj
= Py_None
;
22552 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
= NULL
;
22554 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22555 wxPoint
*arg2
= 0 ;
22557 PyObject
* obj0
= 0 ;
22558 PyObject
* obj1
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self",(char *) "pt", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22565 if (SWIG_arg_fail(1)) SWIG_fail
;
22568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 Py_INCREF(Py_None
); resultobj
= Py_None
;
22584 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
= NULL
;
22586 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22587 wxPoint
*arg2
= 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self",(char *) "pt", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22597 if (SWIG_arg_fail(1)) SWIG_fail
;
22600 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 Py_INCREF(Py_None
); resultobj
= Py_None
;
22616 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22617 PyObject
*resultobj
= NULL
;
22618 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 PyObject
* obj1
= 0 ;
22622 char *kwnames
[] = {
22623 (char *) "self",(char *) "id", NULL
22626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22628 if (SWIG_arg_fail(1)) SWIG_fail
;
22630 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
22631 if (SWIG_arg_fail(2)) SWIG_fail
;
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 (arg1
)->SetPaperId(arg2
);
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22640 Py_INCREF(Py_None
); resultobj
= Py_None
;
22647 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
= NULL
;
22649 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22652 PyObject
* obj0
= 0 ;
22653 PyObject
* obj1
= 0 ;
22654 char *kwnames
[] = {
22655 (char *) "self",(char *) "size", NULL
22658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22660 if (SWIG_arg_fail(1)) SWIG_fail
;
22663 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 Py_INCREF(Py_None
); resultobj
= Py_None
;
22679 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22680 PyObject
*resultobj
= NULL
;
22681 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22682 wxPrintData
*arg2
= 0 ;
22683 PyObject
* obj0
= 0 ;
22684 PyObject
* obj1
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "self",(char *) "printData", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22691 if (SWIG_arg_fail(1)) SWIG_fail
;
22693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22694 if (SWIG_arg_fail(2)) SWIG_fail
;
22695 if (arg2
== NULL
) {
22696 SWIG_null_ref("wxPrintData");
22698 if (SWIG_arg_fail(2)) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 Py_INCREF(Py_None
); resultobj
= Py_None
;
22714 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
= NULL
;
22716 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22717 PyObject
* obj0
= 0 ;
22718 char *kwnames
[] = {
22719 (char *) "self", NULL
22722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22724 if (SWIG_arg_fail(1)) SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 (arg1
)->CalculateIdFromPaperSize();
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 Py_INCREF(Py_None
); resultobj
= Py_None
;
22739 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
= NULL
;
22741 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22742 PyObject
* obj0
= 0 ;
22743 char *kwnames
[] = {
22744 (char *) "self", NULL
22747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22749 if (SWIG_arg_fail(1)) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 (arg1
)->CalculatePaperSizeFromId();
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 Py_INCREF(Py_None
); resultobj
= Py_None
;
22764 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22767 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22769 return Py_BuildValue((char *)"");
22771 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22772 PyObject
*resultobj
= NULL
;
22773 wxWindow
*arg1
= (wxWindow
*) 0 ;
22774 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22775 wxPageSetupDialog
*result
;
22776 PyObject
* obj0
= 0 ;
22777 PyObject
* obj1
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "parent",(char *) "data", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22784 if (SWIG_arg_fail(1)) SWIG_fail
;
22786 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22787 if (SWIG_arg_fail(2)) SWIG_fail
;
22790 if (!wxPyCheckForApp()) SWIG_fail
;
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22804 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22805 PyObject
*resultobj
= NULL
;
22806 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22807 wxPageSetupDialogData
*result
;
22808 PyObject
* obj0
= 0 ;
22809 char *kwnames
[] = {
22810 (char *) "self", NULL
22813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22815 if (SWIG_arg_fail(1)) SWIG_fail
;
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22820 result
= (wxPageSetupDialogData
*) &_result_ref
;
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22833 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
= NULL
;
22835 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22836 wxPageSetupDialogData
*result
;
22837 PyObject
* obj0
= 0 ;
22838 char *kwnames
[] = {
22839 (char *) "self", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22844 if (SWIG_arg_fail(1)) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22849 result
= (wxPageSetupDialogData
*) &_result_ref
;
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22862 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
= NULL
;
22864 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22866 PyObject
* obj0
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22873 if (SWIG_arg_fail(1)) SWIG_fail
;
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= (int)(arg1
)->ShowModal();
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= SWIG_From_int(static_cast<int >(result
));
22890 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22893 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22895 return Py_BuildValue((char *)"");
22897 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22898 PyObject
*resultobj
= NULL
;
22899 wxPrintDialogData
*result
;
22901 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22916 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22917 PyObject
*resultobj
= NULL
;
22918 wxPrintData
*arg1
= 0 ;
22919 wxPrintDialogData
*result
;
22920 PyObject
* obj0
= 0 ;
22922 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22925 if (SWIG_arg_fail(1)) SWIG_fail
;
22926 if (arg1
== NULL
) {
22927 SWIG_null_ref("wxPrintData");
22929 if (SWIG_arg_fail(1)) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22945 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22946 PyObject
*resultobj
= NULL
;
22947 wxPrintDialogData
*arg1
= 0 ;
22948 wxPrintDialogData
*result
;
22949 PyObject
* obj0
= 0 ;
22951 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22954 if (SWIG_arg_fail(1)) SWIG_fail
;
22955 if (arg1
== NULL
) {
22956 SWIG_null_ref("wxPrintDialogData");
22958 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22974 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22979 argc
= PyObject_Length(args
);
22980 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22981 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22984 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22990 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22998 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23005 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23013 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23017 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23022 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
= NULL
;
23024 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23025 PyObject
* obj0
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23032 if (SWIG_arg_fail(1)) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 Py_INCREF(Py_None
); resultobj
= Py_None
;
23047 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
= NULL
;
23049 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23058 if (SWIG_arg_fail(1)) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_From_int(static_cast<int >(result
));
23075 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
= NULL
;
23077 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23079 PyObject
* obj0
= 0 ;
23080 char *kwnames
[] = {
23081 (char *) "self", NULL
23084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23086 if (SWIG_arg_fail(1)) SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= SWIG_From_int(static_cast<int >(result
));
23103 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23104 PyObject
*resultobj
= NULL
;
23105 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23107 PyObject
* obj0
= 0 ;
23108 char *kwnames
[] = {
23109 (char *) "self", NULL
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23114 if (SWIG_arg_fail(1)) SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_From_int(static_cast<int >(result
));
23131 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23132 PyObject
*resultobj
= NULL
;
23133 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23135 PyObject
* obj0
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23142 if (SWIG_arg_fail(1)) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= SWIG_From_int(static_cast<int >(result
));
23159 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
= NULL
;
23161 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23163 PyObject
* obj0
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23170 if (SWIG_arg_fail(1)) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23179 resultobj
= SWIG_From_int(static_cast<int >(result
));
23187 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
= NULL
;
23189 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23191 PyObject
* obj0
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23198 if (SWIG_arg_fail(1)) SWIG_fail
;
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23215 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23216 PyObject
*resultobj
= NULL
;
23217 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23219 PyObject
* obj0
= 0 ;
23220 char *kwnames
[] = {
23221 (char *) "self", NULL
23224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23226 if (SWIG_arg_fail(1)) SWIG_fail
;
23228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23231 wxPyEndAllowThreads(__tstate
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23243 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
= NULL
;
23245 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23254 if (SWIG_arg_fail(1)) SWIG_fail
;
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23271 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
= NULL
;
23273 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23275 PyObject
* obj0
= 0 ;
23276 char *kwnames
[] = {
23277 (char *) "self", NULL
23280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23282 if (SWIG_arg_fail(1)) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23299 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
= NULL
;
23301 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self",(char *) "v", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail
;
23313 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23314 if (SWIG_arg_fail(2)) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 (arg1
)->SetFromPage(arg2
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 Py_INCREF(Py_None
); resultobj
= Py_None
;
23330 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
= NULL
;
23332 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23334 PyObject
* obj0
= 0 ;
23335 PyObject
* obj1
= 0 ;
23336 char *kwnames
[] = {
23337 (char *) "self",(char *) "v", NULL
23340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23342 if (SWIG_arg_fail(1)) SWIG_fail
;
23344 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23345 if (SWIG_arg_fail(2)) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 (arg1
)->SetToPage(arg2
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 Py_INCREF(Py_None
); resultobj
= Py_None
;
23361 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
= NULL
;
23363 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23365 PyObject
* obj0
= 0 ;
23366 PyObject
* obj1
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "self",(char *) "v", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23373 if (SWIG_arg_fail(1)) SWIG_fail
;
23375 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23376 if (SWIG_arg_fail(2)) SWIG_fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 (arg1
)->SetMinPage(arg2
);
23382 wxPyEndAllowThreads(__tstate
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 Py_INCREF(Py_None
); resultobj
= Py_None
;
23392 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23393 PyObject
*resultobj
= NULL
;
23394 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23396 PyObject
* obj0
= 0 ;
23397 PyObject
* obj1
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self",(char *) "v", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23404 if (SWIG_arg_fail(1)) SWIG_fail
;
23406 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23407 if (SWIG_arg_fail(2)) SWIG_fail
;
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 (arg1
)->SetMaxPage(arg2
);
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23416 Py_INCREF(Py_None
); resultobj
= Py_None
;
23423 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
= NULL
;
23425 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23427 PyObject
* obj0
= 0 ;
23428 PyObject
* obj1
= 0 ;
23429 char *kwnames
[] = {
23430 (char *) "self",(char *) "v", NULL
23433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23435 if (SWIG_arg_fail(1)) SWIG_fail
;
23437 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23438 if (SWIG_arg_fail(2)) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 (arg1
)->SetNoCopies(arg2
);
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 Py_INCREF(Py_None
); resultobj
= Py_None
;
23454 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
= NULL
;
23456 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 PyObject
* obj1
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self",(char *) "flag", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23466 if (SWIG_arg_fail(1)) SWIG_fail
;
23468 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23469 if (SWIG_arg_fail(2)) SWIG_fail
;
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 (arg1
)->SetAllPages(arg2
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 Py_INCREF(Py_None
); resultobj
= Py_None
;
23485 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
= NULL
;
23487 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23489 PyObject
* obj0
= 0 ;
23490 PyObject
* obj1
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "self",(char *) "flag", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23497 if (SWIG_arg_fail(1)) SWIG_fail
;
23499 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23500 if (SWIG_arg_fail(2)) SWIG_fail
;
23503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 (arg1
)->SetSelection(arg2
);
23506 wxPyEndAllowThreads(__tstate
);
23507 if (PyErr_Occurred()) SWIG_fail
;
23509 Py_INCREF(Py_None
); resultobj
= Py_None
;
23516 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23517 PyObject
*resultobj
= NULL
;
23518 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23520 PyObject
* obj0
= 0 ;
23521 PyObject
* obj1
= 0 ;
23522 char *kwnames
[] = {
23523 (char *) "self",(char *) "flag", NULL
23526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23528 if (SWIG_arg_fail(1)) SWIG_fail
;
23530 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23531 if (SWIG_arg_fail(2)) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 (arg1
)->SetCollate(arg2
);
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 Py_INCREF(Py_None
); resultobj
= Py_None
;
23547 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
= NULL
;
23549 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23551 PyObject
* obj0
= 0 ;
23552 PyObject
* obj1
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self",(char *) "flag", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23559 if (SWIG_arg_fail(1)) SWIG_fail
;
23561 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23562 if (SWIG_arg_fail(2)) SWIG_fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 (arg1
)->SetPrintToFile(arg2
);
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 Py_INCREF(Py_None
); resultobj
= Py_None
;
23578 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
= NULL
;
23580 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23582 PyObject
* obj0
= 0 ;
23583 PyObject
* obj1
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "self",(char *) "flag", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23590 if (SWIG_arg_fail(1)) SWIG_fail
;
23592 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23593 if (SWIG_arg_fail(2)) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 (arg1
)->EnablePrintToFile(arg2
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 Py_INCREF(Py_None
); resultobj
= Py_None
;
23609 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
= NULL
;
23611 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23613 PyObject
* obj0
= 0 ;
23614 PyObject
* obj1
= 0 ;
23615 char *kwnames
[] = {
23616 (char *) "self",(char *) "flag", NULL
23619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23621 if (SWIG_arg_fail(1)) SWIG_fail
;
23623 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23624 if (SWIG_arg_fail(2)) SWIG_fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 (arg1
)->EnableSelection(arg2
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 Py_INCREF(Py_None
); resultobj
= Py_None
;
23640 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
= NULL
;
23642 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23644 PyObject
* obj0
= 0 ;
23645 PyObject
* obj1
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self",(char *) "flag", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23652 if (SWIG_arg_fail(1)) SWIG_fail
;
23654 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23655 if (SWIG_arg_fail(2)) SWIG_fail
;
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 (arg1
)->EnablePageNumbers(arg2
);
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 Py_INCREF(Py_None
); resultobj
= Py_None
;
23671 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
= NULL
;
23673 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23675 PyObject
* obj0
= 0 ;
23676 PyObject
* obj1
= 0 ;
23677 char *kwnames
[] = {
23678 (char *) "self",(char *) "flag", NULL
23681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23683 if (SWIG_arg_fail(1)) SWIG_fail
;
23685 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23686 if (SWIG_arg_fail(2)) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 (arg1
)->EnableHelp(arg2
);
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 Py_INCREF(Py_None
); resultobj
= Py_None
;
23702 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
= NULL
;
23704 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23706 PyObject
* obj0
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "self", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23713 if (SWIG_arg_fail(1)) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23730 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
= NULL
;
23732 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23734 PyObject
* obj0
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "self", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23741 if (SWIG_arg_fail(1)) SWIG_fail
;
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23758 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
= NULL
;
23760 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23762 PyObject
* obj0
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23769 if (SWIG_arg_fail(1)) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23786 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
= NULL
;
23788 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23797 if (SWIG_arg_fail(1)) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23814 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
= NULL
;
23816 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23818 PyObject
* obj0
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23825 if (SWIG_arg_fail(1)) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23842 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
= NULL
;
23844 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23845 wxPrintData
*result
;
23846 PyObject
* obj0
= 0 ;
23847 char *kwnames
[] = {
23848 (char *) "self", NULL
23851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23853 if (SWIG_arg_fail(1)) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23858 result
= (wxPrintData
*) &_result_ref
;
23861 wxPyEndAllowThreads(__tstate
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23871 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23872 PyObject
*resultobj
= NULL
;
23873 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23874 wxPrintData
*arg2
= 0 ;
23875 PyObject
* obj0
= 0 ;
23876 PyObject
* obj1
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self",(char *) "printData", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23883 if (SWIG_arg_fail(1)) SWIG_fail
;
23885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23886 if (SWIG_arg_fail(2)) SWIG_fail
;
23887 if (arg2
== NULL
) {
23888 SWIG_null_ref("wxPrintData");
23890 if (SWIG_arg_fail(2)) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 Py_INCREF(Py_None
); resultobj
= Py_None
;
23906 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23909 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23911 return Py_BuildValue((char *)"");
23913 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
= NULL
;
23915 wxWindow
*arg1
= (wxWindow
*) 0 ;
23916 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23917 wxPrintDialog
*result
;
23918 PyObject
* obj0
= 0 ;
23919 PyObject
* obj1
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "parent",(char *) "data", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23926 if (SWIG_arg_fail(1)) SWIG_fail
;
23928 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23929 if (SWIG_arg_fail(2)) SWIG_fail
;
23932 if (!wxPyCheckForApp()) SWIG_fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23946 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23947 PyObject
*resultobj
= NULL
;
23948 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23950 PyObject
* obj0
= 0 ;
23951 char *kwnames
[] = {
23952 (char *) "self", NULL
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23957 if (SWIG_arg_fail(1)) SWIG_fail
;
23959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23960 result
= (int)(arg1
)->ShowModal();
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_From_int(static_cast<int >(result
));
23974 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
= NULL
;
23976 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23977 wxPrintDialogData
*result
;
23978 PyObject
* obj0
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23985 if (SWIG_arg_fail(1)) SWIG_fail
;
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23990 result
= (wxPrintDialogData
*) &_result_ref
;
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24003 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
= NULL
;
24005 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24006 wxPrintData
*result
;
24007 PyObject
* obj0
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "self", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24014 if (SWIG_arg_fail(1)) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24019 result
= (wxPrintData
*) &_result_ref
;
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24032 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
= NULL
;
24034 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24036 PyObject
* obj0
= 0 ;
24037 char *kwnames
[] = {
24038 (char *) "self", NULL
24041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24043 if (SWIG_arg_fail(1)) SWIG_fail
;
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 result
= (wxDC
*)(arg1
)->GetPrintDC();
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24060 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24063 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24065 return Py_BuildValue((char *)"");
24067 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
= NULL
;
24069 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "data", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24079 if (SWIG_arg_fail(1)) SWIG_fail
;
24082 if (!wxPyCheckForApp()) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (wxPrinter
*)new wxPrinter(arg1
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24096 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
= NULL
;
24098 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24099 PyObject
* obj0
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "self", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24106 if (SWIG_arg_fail(1)) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 Py_INCREF(Py_None
); resultobj
= Py_None
;
24121 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
= NULL
;
24123 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24124 wxWindow
*arg2
= (wxWindow
*) 0 ;
24125 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 PyObject
* obj2
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self",(char *) "parent",(char *) "printout", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24136 if (SWIG_arg_fail(1)) SWIG_fail
;
24137 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24138 if (SWIG_arg_fail(2)) SWIG_fail
;
24139 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24140 if (SWIG_arg_fail(3)) SWIG_fail
;
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24145 wxPyEndAllowThreads(__tstate
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= wxPyMake_wxObject(result
, 0);
24157 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
= NULL
;
24159 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24160 wxWindow
*arg2
= (wxWindow
*) 0 ;
24161 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24162 wxString
*arg4
= 0 ;
24163 bool temp4
= false ;
24164 PyObject
* obj0
= 0 ;
24165 PyObject
* obj1
= 0 ;
24166 PyObject
* obj2
= 0 ;
24167 PyObject
* obj3
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24174 if (SWIG_arg_fail(1)) SWIG_fail
;
24175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24176 if (SWIG_arg_fail(2)) SWIG_fail
;
24177 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24178 if (SWIG_arg_fail(3)) SWIG_fail
;
24180 arg4
= wxString_in_helper(obj3
);
24181 if (arg4
== NULL
) SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 Py_INCREF(Py_None
); resultobj
= Py_None
;
24206 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
= NULL
;
24208 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24209 wxWindow
*arg2
= (wxWindow
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "parent", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24219 if (SWIG_arg_fail(1)) SWIG_fail
;
24220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24221 if (SWIG_arg_fail(2)) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 result
= (bool)(arg1
)->Setup(arg2
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24238 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
= NULL
;
24240 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24241 wxWindow
*arg2
= (wxWindow
*) 0 ;
24242 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24243 bool arg4
= (bool) true ;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 PyObject
* obj2
= 0 ;
24248 PyObject
* obj3
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24255 if (SWIG_arg_fail(1)) SWIG_fail
;
24256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24257 if (SWIG_arg_fail(2)) SWIG_fail
;
24258 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24259 if (SWIG_arg_fail(3)) SWIG_fail
;
24262 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
24263 if (SWIG_arg_fail(4)) SWIG_fail
;
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24282 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
= NULL
;
24284 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24285 wxWindow
*arg2
= (wxWindow
*) 0 ;
24287 PyObject
* obj0
= 0 ;
24288 PyObject
* obj1
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "self",(char *) "parent", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24295 if (SWIG_arg_fail(1)) SWIG_fail
;
24296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24297 if (SWIG_arg_fail(2)) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24306 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24314 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
= NULL
;
24316 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24317 wxPrintDialogData
*result
;
24318 PyObject
* obj0
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24325 if (SWIG_arg_fail(1)) SWIG_fail
;
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24330 result
= (wxPrintDialogData
*) &_result_ref
;
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24343 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
= NULL
;
24345 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24347 PyObject
* obj0
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24354 if (SWIG_arg_fail(1)) SWIG_fail
;
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 result
= (bool)(arg1
)->GetAbort();
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24371 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
= NULL
;
24373 wxPrinterError result
;
24374 char *kwnames
[] = {
24378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 result
= (wxPrinterError
)wxPrinter::GetLastError();
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24386 resultobj
= SWIG_From_int((result
));
24393 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24396 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24398 return Py_BuildValue((char *)"");
24400 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
= NULL
;
24402 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24403 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24404 wxPyPrintout
*result
;
24405 bool temp1
= false ;
24406 PyObject
* obj0
= 0 ;
24407 char *kwnames
[] = {
24408 (char *) "title", NULL
24411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24414 arg1
= wxString_in_helper(obj0
);
24415 if (arg1
== NULL
) SWIG_fail
;
24420 if (!wxPyCheckForApp()) SWIG_fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24428 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24444 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= NULL
;
24446 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24447 PyObject
*arg2
= (PyObject
*) 0 ;
24448 PyObject
*arg3
= (PyObject
*) 0 ;
24449 PyObject
* obj0
= 0 ;
24450 PyObject
* obj1
= 0 ;
24451 PyObject
* obj2
= 0 ;
24452 char *kwnames
[] = {
24453 (char *) "self",(char *) "self",(char *) "_class", NULL
24456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24458 if (SWIG_arg_fail(1)) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 Py_INCREF(Py_None
); resultobj
= Py_None
;
24475 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
= NULL
;
24477 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "self", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24486 if (SWIG_arg_fail(1)) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24507 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
= NULL
;
24509 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24511 PyObject
* obj0
= 0 ;
24512 char *kwnames
[] = {
24513 (char *) "self", NULL
24516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24518 if (SWIG_arg_fail(1)) SWIG_fail
;
24520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24521 result
= (wxDC
*)(arg1
)->GetDC();
24523 wxPyEndAllowThreads(__tstate
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24527 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24535 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
= NULL
;
24537 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24538 wxDC
*arg2
= (wxDC
*) 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self",(char *) "dc", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24547 if (SWIG_arg_fail(1)) SWIG_fail
;
24548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24549 if (SWIG_arg_fail(2)) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 (arg1
)->SetDC(arg2
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 Py_INCREF(Py_None
); resultobj
= Py_None
;
24564 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
= NULL
;
24566 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24569 PyObject
* obj0
= 0 ;
24570 PyObject
* obj1
= 0 ;
24571 PyObject
* obj2
= 0 ;
24572 char *kwnames
[] = {
24573 (char *) "self",(char *) "w",(char *) "h", NULL
24576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24578 if (SWIG_arg_fail(1)) SWIG_fail
;
24580 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24581 if (SWIG_arg_fail(2)) SWIG_fail
;
24584 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24585 if (SWIG_arg_fail(3)) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 Py_INCREF(Py_None
); resultobj
= Py_None
;
24601 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
= NULL
;
24603 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24604 int *arg2
= (int *) 0 ;
24605 int *arg3
= (int *) 0 ;
24610 PyObject
* obj0
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self", NULL
24615 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24616 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24619 if (SWIG_arg_fail(1)) SWIG_fail
;
24621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24622 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24624 wxPyEndAllowThreads(__tstate
);
24625 if (PyErr_Occurred()) SWIG_fail
;
24627 Py_INCREF(Py_None
); resultobj
= Py_None
;
24628 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24629 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24630 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24631 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24638 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
= NULL
;
24640 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 PyObject
* obj2
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self",(char *) "w",(char *) "h", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail
;
24654 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24655 if (SWIG_arg_fail(2)) SWIG_fail
;
24658 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24659 if (SWIG_arg_fail(3)) SWIG_fail
;
24662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24663 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24665 wxPyEndAllowThreads(__tstate
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24668 Py_INCREF(Py_None
); resultobj
= Py_None
;
24675 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
= NULL
;
24677 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24678 int *arg2
= (int *) 0 ;
24679 int *arg3
= (int *) 0 ;
24684 PyObject
* obj0
= 0 ;
24685 char *kwnames
[] = {
24686 (char *) "self", NULL
24689 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24690 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24693 if (SWIG_arg_fail(1)) SWIG_fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 Py_INCREF(Py_None
); resultobj
= Py_None
;
24702 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24703 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24704 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24705 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24712 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
= NULL
;
24714 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 PyObject
* obj2
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self",(char *) "x",(char *) "y", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24726 if (SWIG_arg_fail(1)) SWIG_fail
;
24728 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24729 if (SWIG_arg_fail(2)) SWIG_fail
;
24732 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24733 if (SWIG_arg_fail(3)) SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 (arg1
)->SetPPIScreen(arg2
,arg3
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24742 Py_INCREF(Py_None
); resultobj
= Py_None
;
24749 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
= NULL
;
24751 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24752 int *arg2
= (int *) 0 ;
24753 int *arg3
= (int *) 0 ;
24758 PyObject
* obj0
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self", NULL
24763 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24764 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24767 if (SWIG_arg_fail(1)) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 (arg1
)->GetPPIScreen(arg2
,arg3
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 Py_INCREF(Py_None
); resultobj
= Py_None
;
24776 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24777 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24778 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24779 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24786 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
= NULL
;
24788 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 PyObject
* obj1
= 0 ;
24793 PyObject
* obj2
= 0 ;
24794 char *kwnames
[] = {
24795 (char *) "self",(char *) "x",(char *) "y", NULL
24798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24800 if (SWIG_arg_fail(1)) SWIG_fail
;
24802 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24803 if (SWIG_arg_fail(2)) SWIG_fail
;
24806 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24807 if (SWIG_arg_fail(3)) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 Py_INCREF(Py_None
); resultobj
= Py_None
;
24823 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
= NULL
;
24825 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24826 int *arg2
= (int *) 0 ;
24827 int *arg3
= (int *) 0 ;
24832 PyObject
* obj0
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self", NULL
24837 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24838 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 Py_INCREF(Py_None
); resultobj
= Py_None
;
24850 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24851 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24852 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24853 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24860 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
= NULL
;
24862 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24864 PyObject
* obj0
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24871 if (SWIG_arg_fail(1)) SWIG_fail
;
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 result
= (bool)(arg1
)->IsPreview();
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24888 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
= NULL
;
24890 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self",(char *) "p", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24900 if (SWIG_arg_fail(1)) SWIG_fail
;
24902 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
24903 if (SWIG_arg_fail(2)) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 (arg1
)->SetIsPreview(arg2
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 Py_INCREF(Py_None
); resultobj
= Py_None
;
24919 static PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24920 PyObject
*resultobj
= NULL
;
24921 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 PyObject
* obj1
= 0 ;
24927 PyObject
* obj2
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24934 if (SWIG_arg_fail(1)) SWIG_fail
;
24936 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24937 if (SWIG_arg_fail(2)) SWIG_fail
;
24940 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24941 if (SWIG_arg_fail(3)) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24959 static PyObject
*_wrap_Printout_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
= NULL
;
24961 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24962 PyObject
* obj0
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "self", NULL
24967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndDocument",kwnames
,&obj0
)) goto fail
;
24968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24969 if (SWIG_arg_fail(1)) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 (arg1
)->OnEndDocument();
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24977 Py_INCREF(Py_None
); resultobj
= Py_None
;
24984 static PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
= NULL
;
24986 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24987 PyObject
* obj0
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
24993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24994 if (SWIG_arg_fail(1)) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 (arg1
)->OnBeginPrinting();
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 Py_INCREF(Py_None
); resultobj
= Py_None
;
25009 static PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
= NULL
;
25011 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25012 PyObject
* obj0
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "self", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25019 if (SWIG_arg_fail(1)) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 (arg1
)->OnEndPrinting();
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25027 Py_INCREF(Py_None
); resultobj
= Py_None
;
25034 static PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
= NULL
;
25036 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25037 PyObject
* obj0
= 0 ;
25038 char *kwnames
[] = {
25039 (char *) "self", NULL
25042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25044 if (SWIG_arg_fail(1)) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 (arg1
)->OnPreparePrinting();
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 Py_INCREF(Py_None
); resultobj
= Py_None
;
25059 static PyObject
*_wrap_Printout_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
= NULL
;
25061 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25064 PyObject
* obj0
= 0 ;
25065 PyObject
* obj1
= 0 ;
25066 char *kwnames
[] = {
25067 (char *) "self",(char *) "page", NULL
25070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25072 if (SWIG_arg_fail(1)) SWIG_fail
;
25074 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25075 if (SWIG_arg_fail(2)) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (bool)(arg1
)->HasPage(arg2
);
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25093 static PyObject
*_wrap_Printout_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
= NULL
;
25095 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25096 int *arg2
= (int *) 0 ;
25097 int *arg3
= (int *) 0 ;
25098 int *arg4
= (int *) 0 ;
25099 int *arg5
= (int *) 0 ;
25108 PyObject
* obj0
= 0 ;
25109 char *kwnames
[] = {
25110 (char *) "self", NULL
25113 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25114 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25115 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25116 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25119 if (SWIG_arg_fail(1)) SWIG_fail
;
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 Py_INCREF(Py_None
); resultobj
= Py_None
;
25128 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25129 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25130 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25131 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25132 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25133 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25134 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25135 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25142 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25145 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25147 return Py_BuildValue((char *)"");
25149 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
= NULL
;
25151 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25152 wxWindow
*arg2
= (wxWindow
*) 0 ;
25153 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25154 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25155 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25156 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25157 long arg5
= (long) 0 ;
25158 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25159 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25160 wxPreviewCanvas
*result
;
25163 bool temp6
= false ;
25164 PyObject
* obj0
= 0 ;
25165 PyObject
* obj1
= 0 ;
25166 PyObject
* obj2
= 0 ;
25167 PyObject
* obj3
= 0 ;
25168 PyObject
* obj4
= 0 ;
25169 PyObject
* obj5
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25176 if (SWIG_arg_fail(1)) SWIG_fail
;
25177 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25178 if (SWIG_arg_fail(2)) SWIG_fail
;
25182 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25188 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25193 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25194 if (SWIG_arg_fail(5)) SWIG_fail
;
25199 arg6
= wxString_in_helper(obj5
);
25200 if (arg6
== NULL
) SWIG_fail
;
25205 if (!wxPyCheckForApp()) SWIG_fail
;
25206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25207 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25209 wxPyEndAllowThreads(__tstate
);
25210 if (PyErr_Occurred()) SWIG_fail
;
25212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25227 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25230 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25232 return Py_BuildValue((char *)"");
25234 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
= NULL
;
25236 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25237 wxFrame
*arg2
= (wxFrame
*) 0 ;
25238 wxString
*arg3
= 0 ;
25239 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25240 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25241 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25242 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25243 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25244 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25245 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25246 wxPreviewFrame
*result
;
25247 bool temp3
= false ;
25250 bool temp7
= false ;
25251 PyObject
* obj0
= 0 ;
25252 PyObject
* obj1
= 0 ;
25253 PyObject
* obj2
= 0 ;
25254 PyObject
* obj3
= 0 ;
25255 PyObject
* obj4
= 0 ;
25256 PyObject
* obj5
= 0 ;
25257 PyObject
* obj6
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25264 if (SWIG_arg_fail(1)) SWIG_fail
;
25265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25266 if (SWIG_arg_fail(2)) SWIG_fail
;
25268 arg3
= wxString_in_helper(obj2
);
25269 if (arg3
== NULL
) SWIG_fail
;
25275 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25281 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25286 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25287 if (SWIG_arg_fail(6)) SWIG_fail
;
25292 arg7
= wxString_in_helper(obj6
);
25293 if (arg7
== NULL
) SWIG_fail
;
25298 if (!wxPyCheckForApp()) SWIG_fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25328 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
= NULL
;
25330 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25331 PyObject
* obj0
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25338 if (SWIG_arg_fail(1)) SWIG_fail
;
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 (arg1
)->Initialize();
25343 wxPyEndAllowThreads(__tstate
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 Py_INCREF(Py_None
); resultobj
= Py_None
;
25353 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25354 PyObject
*resultobj
= NULL
;
25355 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25356 PyObject
* obj0
= 0 ;
25357 char *kwnames
[] = {
25358 (char *) "self", NULL
25361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25363 if (SWIG_arg_fail(1)) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 (arg1
)->CreateControlBar();
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 Py_INCREF(Py_None
); resultobj
= Py_None
;
25378 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
= NULL
;
25380 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25381 PyObject
* obj0
= 0 ;
25382 char *kwnames
[] = {
25383 (char *) "self", NULL
25386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25388 if (SWIG_arg_fail(1)) SWIG_fail
;
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 (arg1
)->CreateCanvas();
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25396 Py_INCREF(Py_None
); resultobj
= Py_None
;
25403 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
= NULL
;
25405 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25406 wxPreviewControlBar
*result
;
25407 PyObject
* obj0
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "self", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25414 if (SWIG_arg_fail(1)) SWIG_fail
;
25416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25417 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25429 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25432 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25434 return Py_BuildValue((char *)"");
25436 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
= NULL
;
25438 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25440 wxWindow
*arg3
= (wxWindow
*) 0 ;
25441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25445 long arg6
= (long) wxTAB_TRAVERSAL
;
25446 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25447 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25448 wxPreviewControlBar
*result
;
25451 bool temp7
= false ;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 PyObject
* obj2
= 0 ;
25455 PyObject
* obj3
= 0 ;
25456 PyObject
* obj4
= 0 ;
25457 PyObject
* obj5
= 0 ;
25458 PyObject
* obj6
= 0 ;
25459 char *kwnames
[] = {
25460 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25465 if (SWIG_arg_fail(1)) SWIG_fail
;
25467 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25468 if (SWIG_arg_fail(2)) SWIG_fail
;
25470 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25471 if (SWIG_arg_fail(3)) SWIG_fail
;
25475 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25481 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25486 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25487 if (SWIG_arg_fail(6)) SWIG_fail
;
25492 arg7
= wxString_in_helper(obj6
);
25493 if (arg7
== NULL
) SWIG_fail
;
25498 if (!wxPyCheckForApp()) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25520 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
= NULL
;
25522 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25524 PyObject
* obj0
= 0 ;
25525 char *kwnames
[] = {
25526 (char *) "self", NULL
25529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25531 if (SWIG_arg_fail(1)) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 result
= (int)(arg1
)->GetZoomControl();
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25540 resultobj
= SWIG_From_int(static_cast<int >(result
));
25548 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
= NULL
;
25550 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25552 PyObject
* obj0
= 0 ;
25553 PyObject
* obj1
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "self",(char *) "zoom", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25560 if (SWIG_arg_fail(1)) SWIG_fail
;
25562 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25563 if (SWIG_arg_fail(2)) SWIG_fail
;
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 (arg1
)->SetZoomControl(arg2
);
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25572 Py_INCREF(Py_None
); resultobj
= Py_None
;
25579 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25580 PyObject
*resultobj
= NULL
;
25581 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25582 wxPrintPreview
*result
;
25583 PyObject
* obj0
= 0 ;
25584 char *kwnames
[] = {
25585 (char *) "self", NULL
25588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25590 if (SWIG_arg_fail(1)) SWIG_fail
;
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25605 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25606 PyObject
*resultobj
= NULL
;
25607 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25608 PyObject
* obj0
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "self", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25615 if (SWIG_arg_fail(1)) SWIG_fail
;
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25623 Py_INCREF(Py_None
); resultobj
= Py_None
;
25630 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
= NULL
;
25632 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25633 PyObject
* obj0
= 0 ;
25634 char *kwnames
[] = {
25635 (char *) "self", NULL
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25640 if (SWIG_arg_fail(1)) SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 (arg1
)->OnPrevious();
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25648 Py_INCREF(Py_None
); resultobj
= Py_None
;
25655 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
= NULL
;
25657 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25658 PyObject
* obj0
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25665 if (SWIG_arg_fail(1)) SWIG_fail
;
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25673 Py_INCREF(Py_None
); resultobj
= Py_None
;
25680 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25681 PyObject
*resultobj
= NULL
;
25682 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25683 PyObject
* obj0
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self", NULL
25688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25690 if (SWIG_arg_fail(1)) SWIG_fail
;
25692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 Py_INCREF(Py_None
); resultobj
= Py_None
;
25705 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
= NULL
;
25707 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25708 PyObject
* obj0
= 0 ;
25709 char *kwnames
[] = {
25710 (char *) "self", NULL
25713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25715 if (SWIG_arg_fail(1)) SWIG_fail
;
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 Py_INCREF(Py_None
); resultobj
= Py_None
;
25730 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25733 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25735 return Py_BuildValue((char *)"");
25737 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25738 PyObject
*resultobj
= NULL
;
25739 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25740 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25741 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25742 wxPrintPreview
*result
;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 PyObject
* obj2
= 0 ;
25747 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25749 if (SWIG_arg_fail(1)) SWIG_fail
;
25750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25751 if (SWIG_arg_fail(2)) SWIG_fail
;
25753 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25754 if (SWIG_arg_fail(3)) SWIG_fail
;
25757 if (!wxPyCheckForApp()) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25771 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25772 PyObject
*resultobj
= NULL
;
25773 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25774 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25775 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25776 wxPrintPreview
*result
;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 PyObject
* obj2
= 0 ;
25781 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25783 if (SWIG_arg_fail(1)) SWIG_fail
;
25784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25785 if (SWIG_arg_fail(2)) SWIG_fail
;
25786 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25787 if (SWIG_arg_fail(3)) SWIG_fail
;
25789 if (!wxPyCheckForApp()) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25803 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25808 argc
= PyObject_Length(args
);
25809 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25810 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25812 if ((argc
>= 2) && (argc
<= 3)) {
25816 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25826 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25835 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25839 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25847 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25856 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25866 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25876 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25884 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25890 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25895 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
= NULL
;
25897 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "pageNum", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25908 if (SWIG_arg_fail(1)) SWIG_fail
;
25910 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25911 if (SWIG_arg_fail(2)) SWIG_fail
;
25914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25915 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25929 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25930 PyObject
*resultobj
= NULL
;
25931 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25933 PyObject
* obj0
= 0 ;
25934 char *kwnames
[] = {
25935 (char *) "self", NULL
25938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25940 if (SWIG_arg_fail(1)) SWIG_fail
;
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 result
= (int)(arg1
)->GetCurrentPage();
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25949 resultobj
= SWIG_From_int(static_cast<int >(result
));
25957 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
= NULL
;
25959 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25960 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25961 PyObject
* obj0
= 0 ;
25962 PyObject
* obj1
= 0 ;
25963 char *kwnames
[] = {
25964 (char *) "self",(char *) "printout", NULL
25967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
25968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25969 if (SWIG_arg_fail(1)) SWIG_fail
;
25970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25971 if (SWIG_arg_fail(2)) SWIG_fail
;
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 (arg1
)->SetPrintout(arg2
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 Py_INCREF(Py_None
); resultobj
= Py_None
;
25986 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
= NULL
;
25988 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25989 wxPyPrintout
*result
;
25990 PyObject
* obj0
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "self", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
25996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25997 if (SWIG_arg_fail(1)) SWIG_fail
;
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26014 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
= NULL
;
26016 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26017 wxPyPrintout
*result
;
26018 PyObject
* obj0
= 0 ;
26019 char *kwnames
[] = {
26020 (char *) "self", NULL
26023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26025 if (SWIG_arg_fail(1)) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26042 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
= NULL
;
26044 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26045 wxFrame
*arg2
= (wxFrame
*) 0 ;
26046 PyObject
* obj0
= 0 ;
26047 PyObject
* obj1
= 0 ;
26048 char *kwnames
[] = {
26049 (char *) "self",(char *) "frame", NULL
26052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26054 if (SWIG_arg_fail(1)) SWIG_fail
;
26055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26056 if (SWIG_arg_fail(2)) SWIG_fail
;
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 (arg1
)->SetFrame(arg2
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 Py_INCREF(Py_None
); resultobj
= Py_None
;
26071 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
= NULL
;
26073 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26074 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26075 PyObject
* obj0
= 0 ;
26076 PyObject
* obj1
= 0 ;
26077 char *kwnames
[] = {
26078 (char *) "self",(char *) "canvas", NULL
26081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26083 if (SWIG_arg_fail(1)) SWIG_fail
;
26084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26085 if (SWIG_arg_fail(2)) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 (arg1
)->SetCanvas(arg2
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 Py_INCREF(Py_None
); resultobj
= Py_None
;
26100 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
= NULL
;
26102 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26111 if (SWIG_arg_fail(1)) SWIG_fail
;
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 result
= (wxFrame
*)(arg1
)->GetFrame();
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26120 resultobj
= wxPyMake_wxObject(result
, 0);
26128 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
= NULL
;
26130 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26131 wxPreviewCanvas
*result
;
26132 PyObject
* obj0
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26139 if (SWIG_arg_fail(1)) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26154 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
= NULL
;
26156 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26157 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26160 PyObject
* obj0
= 0 ;
26161 PyObject
* obj1
= 0 ;
26162 PyObject
* obj2
= 0 ;
26163 char *kwnames
[] = {
26164 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26169 if (SWIG_arg_fail(1)) SWIG_fail
;
26170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26171 if (SWIG_arg_fail(2)) SWIG_fail
;
26173 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26174 if (SWIG_arg_fail(3)) SWIG_fail
;
26175 if (arg3
== NULL
) {
26176 SWIG_null_ref("wxDC");
26178 if (SWIG_arg_fail(3)) SWIG_fail
;
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26184 wxPyEndAllowThreads(__tstate
);
26185 if (PyErr_Occurred()) SWIG_fail
;
26188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26196 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
= NULL
;
26198 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26199 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26202 PyObject
* obj0
= 0 ;
26203 PyObject
* obj1
= 0 ;
26204 PyObject
* obj2
= 0 ;
26205 char *kwnames
[] = {
26206 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26211 if (SWIG_arg_fail(1)) SWIG_fail
;
26212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26213 if (SWIG_arg_fail(2)) SWIG_fail
;
26215 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26216 if (SWIG_arg_fail(3)) SWIG_fail
;
26217 if (arg3
== NULL
) {
26218 SWIG_null_ref("wxDC");
26220 if (SWIG_arg_fail(3)) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26238 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26239 PyObject
*resultobj
= NULL
;
26240 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26243 PyObject
* obj0
= 0 ;
26244 PyObject
* obj1
= 0 ;
26245 char *kwnames
[] = {
26246 (char *) "self",(char *) "pageNum", NULL
26249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26251 if (SWIG_arg_fail(1)) SWIG_fail
;
26253 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26254 if (SWIG_arg_fail(2)) SWIG_fail
;
26257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 result
= (bool)(arg1
)->RenderPage(arg2
);
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26272 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
= NULL
;
26274 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26275 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self",(char *) "canvas", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail
;
26285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26286 if (SWIG_arg_fail(2)) SWIG_fail
;
26288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26289 (arg1
)->AdjustScrollbars(arg2
);
26291 wxPyEndAllowThreads(__tstate
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26294 Py_INCREF(Py_None
); resultobj
= Py_None
;
26301 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
= NULL
;
26303 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26304 wxPrintDialogData
*result
;
26305 PyObject
* obj0
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26312 if (SWIG_arg_fail(1)) SWIG_fail
;
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26317 result
= (wxPrintDialogData
*) &_result_ref
;
26320 wxPyEndAllowThreads(__tstate
);
26321 if (PyErr_Occurred()) SWIG_fail
;
26323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26330 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26331 PyObject
*resultobj
= NULL
;
26332 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26334 PyObject
* obj0
= 0 ;
26335 PyObject
* obj1
= 0 ;
26336 char *kwnames
[] = {
26337 (char *) "self",(char *) "percent", NULL
26340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26342 if (SWIG_arg_fail(1)) SWIG_fail
;
26344 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26345 if (SWIG_arg_fail(2)) SWIG_fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 (arg1
)->SetZoom(arg2
);
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26354 Py_INCREF(Py_None
); resultobj
= Py_None
;
26361 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26362 PyObject
*resultobj
= NULL
;
26363 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26365 PyObject
* obj0
= 0 ;
26366 char *kwnames
[] = {
26367 (char *) "self", NULL
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26372 if (SWIG_arg_fail(1)) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 result
= (int)(arg1
)->GetZoom();
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_From_int(static_cast<int >(result
));
26389 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
= NULL
;
26391 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26393 PyObject
* obj0
= 0 ;
26394 char *kwnames
[] = {
26395 (char *) "self", NULL
26398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26400 if (SWIG_arg_fail(1)) SWIG_fail
;
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 result
= (int)(arg1
)->GetMaxPage();
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_From_int(static_cast<int >(result
));
26417 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
= NULL
;
26419 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26421 PyObject
* obj0
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26428 if (SWIG_arg_fail(1)) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 result
= (int)(arg1
)->GetMinPage();
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26437 resultobj
= SWIG_From_int(static_cast<int >(result
));
26445 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
= NULL
;
26447 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26449 PyObject
* obj0
= 0 ;
26450 char *kwnames
[] = {
26451 (char *) "self", NULL
26454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26456 if (SWIG_arg_fail(1)) SWIG_fail
;
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 result
= (bool)(arg1
)->Ok();
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26473 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
= NULL
;
26475 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26477 PyObject
* obj0
= 0 ;
26478 PyObject
* obj1
= 0 ;
26479 char *kwnames
[] = {
26480 (char *) "self",(char *) "ok", NULL
26483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26485 if (SWIG_arg_fail(1)) SWIG_fail
;
26487 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26488 if (SWIG_arg_fail(2)) SWIG_fail
;
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 (arg1
)->SetOk(arg2
);
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 Py_INCREF(Py_None
); resultobj
= Py_None
;
26504 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
= NULL
;
26506 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26509 PyObject
* obj0
= 0 ;
26510 PyObject
* obj1
= 0 ;
26511 char *kwnames
[] = {
26512 (char *) "self",(char *) "interactive", NULL
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26517 if (SWIG_arg_fail(1)) SWIG_fail
;
26519 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26520 if (SWIG_arg_fail(2)) SWIG_fail
;
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 result
= (bool)(arg1
)->Print(arg2
);
26526 wxPyEndAllowThreads(__tstate
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26538 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26539 PyObject
*resultobj
= NULL
;
26540 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 char *kwnames
[] = {
26543 (char *) "self", NULL
26546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26548 if (SWIG_arg_fail(1)) SWIG_fail
;
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 (arg1
)->DetermineScaling();
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 Py_INCREF(Py_None
); resultobj
= Py_None
;
26563 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26566 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26568 return Py_BuildValue((char *)"");
26570 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26571 PyObject
*resultobj
= NULL
;
26572 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26573 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26574 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26575 wxPyPrintPreview
*result
;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 PyObject
* obj2
= 0 ;
26580 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26582 if (SWIG_arg_fail(1)) SWIG_fail
;
26583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26584 if (SWIG_arg_fail(2)) SWIG_fail
;
26586 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26587 if (SWIG_arg_fail(3)) SWIG_fail
;
26590 if (!wxPyCheckForApp()) SWIG_fail
;
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26604 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26605 PyObject
*resultobj
= NULL
;
26606 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26607 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26608 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26609 wxPyPrintPreview
*result
;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 PyObject
* obj2
= 0 ;
26614 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26616 if (SWIG_arg_fail(1)) SWIG_fail
;
26617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26618 if (SWIG_arg_fail(2)) SWIG_fail
;
26619 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26620 if (SWIG_arg_fail(3)) SWIG_fail
;
26622 if (!wxPyCheckForApp()) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26636 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26641 argc
= PyObject_Length(args
);
26642 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26643 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26645 if ((argc
>= 2) && (argc
<= 3)) {
26649 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26659 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26668 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26672 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26680 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26689 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26699 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26709 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26717 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26723 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26728 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
= NULL
;
26730 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26731 PyObject
*arg2
= (PyObject
*) 0 ;
26732 PyObject
*arg3
= (PyObject
*) 0 ;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26735 PyObject
* obj2
= 0 ;
26736 char *kwnames
[] = {
26737 (char *) "self",(char *) "self",(char *) "_class", NULL
26740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",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
;
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26749 wxPyEndAllowThreads(__tstate
);
26750 if (PyErr_Occurred()) SWIG_fail
;
26752 Py_INCREF(Py_None
); resultobj
= Py_None
;
26759 static PyObject
*_wrap_PyPrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26760 PyObject
*resultobj
= NULL
;
26761 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26764 PyObject
* obj0
= 0 ;
26765 PyObject
* obj1
= 0 ;
26766 char *kwnames
[] = {
26767 (char *) "self",(char *) "pageNum", NULL
26770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26772 if (SWIG_arg_fail(1)) SWIG_fail
;
26774 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26775 if (SWIG_arg_fail(2)) SWIG_fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26793 static PyObject
*_wrap_PyPrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
= NULL
;
26795 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26796 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 PyObject
* obj2
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26808 if (SWIG_arg_fail(1)) SWIG_fail
;
26809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26810 if (SWIG_arg_fail(2)) SWIG_fail
;
26812 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26813 if (SWIG_arg_fail(3)) SWIG_fail
;
26814 if (arg3
== NULL
) {
26815 SWIG_null_ref("wxDC");
26817 if (SWIG_arg_fail(3)) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26835 static PyObject
*_wrap_PyPrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
= NULL
;
26837 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26838 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26841 PyObject
* obj0
= 0 ;
26842 PyObject
* obj1
= 0 ;
26843 PyObject
* obj2
= 0 ;
26844 char *kwnames
[] = {
26845 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26850 if (SWIG_arg_fail(1)) SWIG_fail
;
26851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26852 if (SWIG_arg_fail(2)) SWIG_fail
;
26854 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26855 if (SWIG_arg_fail(3)) SWIG_fail
;
26856 if (arg3
== NULL
) {
26857 SWIG_null_ref("wxDC");
26859 if (SWIG_arg_fail(3)) SWIG_fail
;
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26877 static PyObject
*_wrap_PyPrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
= NULL
;
26879 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26882 PyObject
* obj0
= 0 ;
26883 PyObject
* obj1
= 0 ;
26884 char *kwnames
[] = {
26885 (char *) "self",(char *) "pageNum", NULL
26888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26890 if (SWIG_arg_fail(1)) SWIG_fail
;
26892 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26893 if (SWIG_arg_fail(2)) SWIG_fail
;
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 result
= (bool)(arg1
)->RenderPage(arg2
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26911 static PyObject
*_wrap_PyPrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
= NULL
;
26913 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 char *kwnames
[] = {
26918 (char *) "self",(char *) "percent", NULL
26921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26923 if (SWIG_arg_fail(1)) SWIG_fail
;
26925 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26926 if (SWIG_arg_fail(2)) SWIG_fail
;
26929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26930 (arg1
)->SetZoom(arg2
);
26932 wxPyEndAllowThreads(__tstate
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26935 Py_INCREF(Py_None
); resultobj
= Py_None
;
26942 static PyObject
*_wrap_PyPrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
= NULL
;
26944 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self",(char *) "interactive", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26955 if (SWIG_arg_fail(1)) SWIG_fail
;
26957 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26958 if (SWIG_arg_fail(2)) SWIG_fail
;
26961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26962 result
= (bool)(arg1
)->Print(arg2
);
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26976 static PyObject
*_wrap_PyPrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= NULL
;
26978 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26979 PyObject
* obj0
= 0 ;
26980 char *kwnames
[] = {
26981 (char *) "self", NULL
26984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26986 if (SWIG_arg_fail(1)) SWIG_fail
;
26988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 (arg1
)->DetermineScaling();
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 Py_INCREF(Py_None
); resultobj
= Py_None
;
27001 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27004 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27006 return Py_BuildValue((char *)"");
27008 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
= NULL
;
27010 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27011 wxFrame
*arg2
= (wxFrame
*) 0 ;
27012 wxString
*arg3
= 0 ;
27013 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27014 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27015 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27016 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27017 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27018 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27019 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27020 wxPyPreviewFrame
*result
;
27021 bool temp3
= false ;
27024 bool temp7
= false ;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 PyObject
* obj2
= 0 ;
27028 PyObject
* obj3
= 0 ;
27029 PyObject
* obj4
= 0 ;
27030 PyObject
* obj5
= 0 ;
27031 PyObject
* obj6
= 0 ;
27032 char *kwnames
[] = {
27033 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27038 if (SWIG_arg_fail(1)) SWIG_fail
;
27039 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27040 if (SWIG_arg_fail(2)) SWIG_fail
;
27042 arg3
= wxString_in_helper(obj2
);
27043 if (arg3
== NULL
) SWIG_fail
;
27049 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27055 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27060 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27061 if (SWIG_arg_fail(6)) SWIG_fail
;
27066 arg7
= wxString_in_helper(obj6
);
27067 if (arg7
== NULL
) SWIG_fail
;
27072 if (!wxPyCheckForApp()) SWIG_fail
;
27073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27074 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27076 wxPyEndAllowThreads(__tstate
);
27077 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27102 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27103 PyObject
*resultobj
= NULL
;
27104 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27105 PyObject
*arg2
= (PyObject
*) 0 ;
27106 PyObject
*arg3
= (PyObject
*) 0 ;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 PyObject
* obj2
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "self",(char *) "_class", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27116 if (SWIG_arg_fail(1)) SWIG_fail
;
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27126 Py_INCREF(Py_None
); resultobj
= Py_None
;
27133 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
= NULL
;
27135 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27136 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27137 PyObject
* obj0
= 0 ;
27138 PyObject
* obj1
= 0 ;
27139 char *kwnames
[] = {
27140 (char *) "self",(char *) "canvas", NULL
27143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27145 if (SWIG_arg_fail(1)) SWIG_fail
;
27146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27147 if (SWIG_arg_fail(2)) SWIG_fail
;
27149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27150 (arg1
)->SetPreviewCanvas(arg2
);
27152 wxPyEndAllowThreads(__tstate
);
27153 if (PyErr_Occurred()) SWIG_fail
;
27155 Py_INCREF(Py_None
); resultobj
= Py_None
;
27162 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27163 PyObject
*resultobj
= NULL
;
27164 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27165 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27166 PyObject
* obj0
= 0 ;
27167 PyObject
* obj1
= 0 ;
27168 char *kwnames
[] = {
27169 (char *) "self",(char *) "bar", NULL
27172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27174 if (SWIG_arg_fail(1)) SWIG_fail
;
27175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27176 if (SWIG_arg_fail(2)) SWIG_fail
;
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 (arg1
)->SetControlBar(arg2
);
27181 wxPyEndAllowThreads(__tstate
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27184 Py_INCREF(Py_None
); resultobj
= Py_None
;
27191 static PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27192 PyObject
*resultobj
= NULL
;
27193 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27194 PyObject
* obj0
= 0 ;
27195 char *kwnames
[] = {
27196 (char *) "self", NULL
27199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
27200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27201 if (SWIG_arg_fail(1)) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 (arg1
)->Initialize();
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 Py_INCREF(Py_None
); resultobj
= Py_None
;
27216 static PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
= NULL
;
27218 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27219 PyObject
* obj0
= 0 ;
27220 char *kwnames
[] = {
27221 (char *) "self", NULL
27224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27226 if (SWIG_arg_fail(1)) SWIG_fail
;
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 (arg1
)->CreateCanvas();
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 Py_INCREF(Py_None
); resultobj
= Py_None
;
27241 static PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27242 PyObject
*resultobj
= NULL
;
27243 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27244 PyObject
* obj0
= 0 ;
27245 char *kwnames
[] = {
27246 (char *) "self", NULL
27249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27251 if (SWIG_arg_fail(1)) SWIG_fail
;
27253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27254 (arg1
)->CreateControlBar();
27256 wxPyEndAllowThreads(__tstate
);
27257 if (PyErr_Occurred()) SWIG_fail
;
27259 Py_INCREF(Py_None
); resultobj
= Py_None
;
27266 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27269 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27271 return Py_BuildValue((char *)"");
27273 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27274 PyObject
*resultobj
= NULL
;
27275 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27277 wxWindow
*arg3
= (wxWindow
*) 0 ;
27278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27282 long arg6
= (long) 0 ;
27283 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27284 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27285 wxPyPreviewControlBar
*result
;
27288 bool temp7
= false ;
27289 PyObject
* obj0
= 0 ;
27290 PyObject
* obj1
= 0 ;
27291 PyObject
* obj2
= 0 ;
27292 PyObject
* obj3
= 0 ;
27293 PyObject
* obj4
= 0 ;
27294 PyObject
* obj5
= 0 ;
27295 PyObject
* obj6
= 0 ;
27296 char *kwnames
[] = {
27297 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27302 if (SWIG_arg_fail(1)) SWIG_fail
;
27304 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27305 if (SWIG_arg_fail(2)) SWIG_fail
;
27307 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27308 if (SWIG_arg_fail(3)) SWIG_fail
;
27312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27323 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27324 if (SWIG_arg_fail(6)) SWIG_fail
;
27329 arg7
= wxString_in_helper(obj6
);
27330 if (arg7
== NULL
) SWIG_fail
;
27335 if (!wxPyCheckForApp()) SWIG_fail
;
27336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27337 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27339 wxPyEndAllowThreads(__tstate
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27357 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27358 PyObject
*resultobj
= NULL
;
27359 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27360 PyObject
*arg2
= (PyObject
*) 0 ;
27361 PyObject
*arg3
= (PyObject
*) 0 ;
27362 PyObject
* obj0
= 0 ;
27363 PyObject
* obj1
= 0 ;
27364 PyObject
* obj2
= 0 ;
27365 char *kwnames
[] = {
27366 (char *) "self",(char *) "self",(char *) "_class", NULL
27369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27371 if (SWIG_arg_fail(1)) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 Py_INCREF(Py_None
); resultobj
= Py_None
;
27388 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
= NULL
;
27390 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27391 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27392 PyObject
* obj0
= 0 ;
27393 PyObject
* obj1
= 0 ;
27394 char *kwnames
[] = {
27395 (char *) "self",(char *) "preview", NULL
27398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27400 if (SWIG_arg_fail(1)) SWIG_fail
;
27401 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27402 if (SWIG_arg_fail(2)) SWIG_fail
;
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 (arg1
)->SetPrintPreview(arg2
);
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27410 Py_INCREF(Py_None
); resultobj
= Py_None
;
27417 static PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27418 PyObject
*resultobj
= NULL
;
27419 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27420 PyObject
* obj0
= 0 ;
27421 char *kwnames
[] = {
27422 (char *) "self", NULL
27425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_CreateButtons",kwnames
,&obj0
)) goto fail
;
27426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27427 if (SWIG_arg_fail(1)) SWIG_fail
;
27429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27430 (arg1
)->CreateButtons();
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27435 Py_INCREF(Py_None
); resultobj
= Py_None
;
27442 static PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27443 PyObject
*resultobj
= NULL
;
27444 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27446 PyObject
* obj0
= 0 ;
27447 PyObject
* obj1
= 0 ;
27448 char *kwnames
[] = {
27449 (char *) "self",(char *) "zoom", NULL
27452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27454 if (SWIG_arg_fail(1)) SWIG_fail
;
27456 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27457 if (SWIG_arg_fail(2)) SWIG_fail
;
27460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27461 (arg1
)->SetZoomControl(arg2
);
27463 wxPyEndAllowThreads(__tstate
);
27464 if (PyErr_Occurred()) SWIG_fail
;
27466 Py_INCREF(Py_None
); resultobj
= Py_None
;
27473 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27476 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27478 return Py_BuildValue((char *)"");
27480 static PyMethodDef SwigMethods
[] = {
27481 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27482 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27483 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27484 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27485 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27486 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27487 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27488 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27489 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27490 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27491 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27492 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27493 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27494 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27495 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27496 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27497 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27498 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27499 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27500 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27501 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27502 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27503 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27504 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27505 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27506 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27507 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27508 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27510 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27511 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27512 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27513 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27514 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27515 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27516 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27520 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27521 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27523 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27528 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27530 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27531 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27532 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27538 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27539 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27540 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27541 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27543 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27544 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27547 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27554 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27567 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27571 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27575 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27580 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27597 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27627 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27634 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27657 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27665 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27677 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27683 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27692 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27698 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27703 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27709 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27713 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27733 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27759 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27767 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27777 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27779 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27788 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27791 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27799 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27817 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27821 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27826 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27830 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27832 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27848 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27851 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27854 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27858 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27867 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27876 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27882 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27894 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27901 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27905 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"PyWindow_DoGetSize", (PyCFunction
) _wrap_PyWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"PyWindow_DoGetPosition", (PyCFunction
) _wrap_PyWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"PyWindow_InitDialog", (PyCFunction
) _wrap_PyWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"PyWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"PyWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"PyWindow_Validate", (PyCFunction
) _wrap_PyWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"PyWindow_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"PyWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"PyWindow_GetMaxSize", (PyCFunction
) _wrap_PyWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"PyWindow_AddChild", (PyCFunction
) _wrap_PyWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"PyWindow_RemoveChild", (PyCFunction
) _wrap_PyWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"PyWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
) _wrap_PyWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27932 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"PyPanel_DoGetSize", (PyCFunction
) _wrap_PyPanel_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"PyPanel_DoGetPosition", (PyCFunction
) _wrap_PyPanel_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"PyPanel_InitDialog", (PyCFunction
) _wrap_PyPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"PyPanel_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"PyPanel_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"PyPanel_Validate", (PyCFunction
) _wrap_PyPanel_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"PyPanel_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"PyPanel_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"PyPanel_GetMaxSize", (PyCFunction
) _wrap_PyPanel_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"PyPanel_AddChild", (PyCFunction
) _wrap_PyPanel_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"PyPanel_RemoveChild", (PyCFunction
) _wrap_PyPanel_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"PyPanel_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
) _wrap_PyPanel_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27959 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PyScrolledWindow_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PyScrolledWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"PyScrolledWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"PyScrolledWindow_Validate", (PyCFunction
) _wrap_PyScrolledWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"PyScrolledWindow_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"PyScrolledWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PyScrolledWindow_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PyScrolledWindow_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PyScrolledWindow_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PyScrolledWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
) _wrap_PyScrolledWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27986 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
27987 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28016 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28017 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28050 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28055 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28056 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28087 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28093 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28104 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"Printout_OnEndDocument", (PyCFunction
) _wrap_Printout_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"Printout_OnBeginPrinting", (PyCFunction
) _wrap_Printout_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"Printout_OnEndPrinting", (PyCFunction
) _wrap_Printout_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"Printout_OnPreparePrinting", (PyCFunction
) _wrap_Printout_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"Printout_GetPageInfo", (PyCFunction
) _wrap_Printout_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28127 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28129 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28135 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28145 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28146 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28169 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28170 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PyPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PyPrintPreview_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PyPrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PyPrintPreview_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PyPrintPreview_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PyPrintPreview_Print", (PyCFunction
) _wrap_PyPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PyPrintPreview_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28179 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28187 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28193 { NULL
, NULL
, 0, NULL
}
28197 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28199 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28200 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28202 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28203 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28205 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28206 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28208 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28209 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28211 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28212 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28214 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28215 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28217 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28218 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28220 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28221 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28223 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28224 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28226 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28227 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28229 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28230 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28232 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28233 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28235 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28236 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28238 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28239 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28241 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28242 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28244 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28245 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28247 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28248 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28250 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28251 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28253 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28254 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28256 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28257 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28259 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28260 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28262 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28263 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28265 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28266 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28268 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28269 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28271 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28272 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28274 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28275 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28277 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28278 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28280 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28281 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28283 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28284 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28286 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28287 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28289 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28290 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28292 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28293 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28295 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28296 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28298 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28299 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28301 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28302 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28304 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28305 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28307 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28308 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28310 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28311 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28313 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28314 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28316 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28317 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28319 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28320 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28322 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28323 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28325 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28326 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28328 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28329 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28331 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28332 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28334 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28335 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28337 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28338 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28340 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28343 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28344 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28346 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28347 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28349 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28350 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28352 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28353 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28355 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28356 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28358 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28361 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28364 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28365 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28367 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28370 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28371 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28373 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28376 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28379 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28380 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28382 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28383 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28385 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28388 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28391 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28394 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28395 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28397 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28400 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28401 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28403 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28404 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28406 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28407 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28409 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28410 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28412 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28415 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28416 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28418 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28419 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28421 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28424 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28425 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28427 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28430 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28433 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28436 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28437 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28439 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28442 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28443 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28445 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28448 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28451 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28454 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28457 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28460 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28461 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28463 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28466 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28469 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28472 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28475 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28478 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28481 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28482 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28484 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28485 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28487 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28488 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28490 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28491 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28493 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28494 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28496 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28497 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28499 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28500 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28502 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28503 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28505 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28506 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28508 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28509 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28511 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28514 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28517 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28518 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28520 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28521 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28523 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28526 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28527 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28529 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28530 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28532 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28533 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28535 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28536 return (void *)((wxObject
*) ((wxSizer
*) x
));
28538 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28539 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28541 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28544 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28547 static void *_p_wxEventTo_p_wxObject(void *x
) {
28548 return (void *)((wxObject
*) ((wxEvent
*) x
));
28550 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28551 return (void *)((wxObject
*) ((wxFontData
*) x
));
28553 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28554 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28556 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28557 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28559 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28560 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28562 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28563 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28565 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28566 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28568 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28569 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28571 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28572 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28574 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28575 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28577 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28578 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28580 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28581 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28583 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28584 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28586 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28587 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28589 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28590 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28592 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28595 static void *_p_wxControlTo_p_wxObject(void *x
) {
28596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28598 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28599 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28601 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28604 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28605 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28607 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28608 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28610 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28611 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28613 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28616 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28617 return (void *)((wxObject
*) ((wxColourData
*) x
));
28619 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28620 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28622 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28625 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28628 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28631 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28632 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28634 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28637 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28640 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28643 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28646 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28649 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28652 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28655 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28656 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28658 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28659 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28661 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28662 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28664 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28665 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28667 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28668 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28670 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28671 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28673 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28674 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28676 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28677 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28679 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28680 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28682 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28683 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28685 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28686 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28688 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28689 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28691 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28692 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28694 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28695 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28697 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28698 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28700 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28701 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28703 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28704 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28706 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28707 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28709 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28710 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28712 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28713 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28715 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28716 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28718 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
28719 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
28721 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28722 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28724 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28725 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28727 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28728 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28730 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28731 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28733 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28734 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28736 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28739 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28742 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28743 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28745 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28746 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28748 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28751 static void *_p_wxImageTo_p_wxObject(void *x
) {
28752 return (void *)((wxObject
*) ((wxImage
*) x
));
28754 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28757 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28758 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28760 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28761 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28763 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28764 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28766 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28769 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28772 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28773 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28775 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28776 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28778 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28779 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28781 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28782 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28784 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28785 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28787 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28790 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28793 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28796 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28799 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28802 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28805 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28808 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28811 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28814 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28817 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28820 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28823 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28826 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28827 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28829 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28830 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28832 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28833 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28835 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28838 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28841 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28844 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28845 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28847 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28848 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28850 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28851 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28853 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28854 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28856 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28857 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28859 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28860 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28862 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28863 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28865 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28866 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28868 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28869 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28871 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28872 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28874 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28875 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28877 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28878 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28880 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28881 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28883 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28886 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28889 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28890 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28892 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28893 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28895 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28896 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28898 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28901 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28902 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28904 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28905 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28907 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28910 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28911 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28913 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28914 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28916 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28917 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28919 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
28920 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28922 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28923 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28925 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
28926 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28928 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28929 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28931 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28932 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28934 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28935 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28937 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28938 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28940 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28941 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28943 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28944 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28946 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28947 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28949 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28950 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28952 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28953 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28955 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28956 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28958 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
28959 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
28961 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28962 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28964 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28965 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28967 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28968 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
28970 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28971 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28973 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
28974 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28976 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
28977 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
28979 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
28980 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
28982 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28983 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
28985 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
28986 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28988 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
28989 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28991 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
28992 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28994 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
28995 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
28997 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28998 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29000 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29001 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29003 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29004 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29006 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29007 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29009 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29010 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29012 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29013 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29015 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29016 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29018 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29019 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29021 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29022 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29024 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29025 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29027 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29028 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29030 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29031 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29033 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29034 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29036 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29037 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29039 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29040 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29042 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29043 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29045 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29046 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29048 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29049 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29051 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29052 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29054 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29055 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29057 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29058 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29060 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29061 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29063 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29064 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29066 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29067 return (void *)((wxWindow
*) ((wxControl
*) x
));
29069 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29070 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29072 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29073 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29075 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29076 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29078 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29079 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29081 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29082 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29084 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29085 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29087 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29088 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29090 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29091 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29093 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29094 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29096 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29097 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29099 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29100 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29102 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29103 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29105 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29106 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29108 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29109 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29111 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29112 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29114 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29115 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29117 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29118 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29120 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29121 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29123 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29124 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29126 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29127 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29129 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29130 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29132 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29133 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29135 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29136 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29138 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29139 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29141 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29142 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29144 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29145 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29147 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29148 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29150 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29151 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29153 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29154 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29156 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29157 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29159 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29160 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29162 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29163 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29165 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29166 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29168 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29169 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29171 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29172 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29174 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29175 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29177 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29178 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29180 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29181 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29183 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29184 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29186 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29187 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29189 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29190 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29192 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29193 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29195 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29196 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29198 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29199 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29201 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29202 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29204 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29205 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29207 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29208 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29210 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29211 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29213 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29214 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29216 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29217 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29219 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29220 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29222 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
29223 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29224 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
29225 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29226 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29227 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29228 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29229 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29230 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29231 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
29232 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29233 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29234 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29235 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29236 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
29237 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29238 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
29239 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29240 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29241 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29242 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29243 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
29244 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29245 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29246 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29247 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29248 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
29249 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
29250 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
29251 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
29252 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29253 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29254 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
29255 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
29256 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29257 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29258 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
29259 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
29260 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
29261 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
29262 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
29263 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29264 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29265 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29266 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29267 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29268 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29269 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
29270 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
29271 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29272 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
29273 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29274 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
29275 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
29276 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
29277 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
29278 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
29279 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29280 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29281 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29282 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29283 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29284 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
29285 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29286 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29287 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29288 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29289 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29290 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29291 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29292 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29293 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29294 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29295 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29296 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29297 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29298 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29299 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29300 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
29301 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29302 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
29303 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
29304 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29305 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29306 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
29307 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
29308 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
29309 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
29310 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29311 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
29312 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
29313 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
29314 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
29315 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
29316 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
29317 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
29318 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
29319 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
29320 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
29321 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
29322 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
29323 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
29324 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
29325 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
29326 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
29327 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29328 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
29329 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29330 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29331 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29332 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29333 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29334 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29335 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29336 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29337 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29338 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29339 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29340 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29341 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29342 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29343 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29344 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29345 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29346 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29347 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29348 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29349 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29350 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29351 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29352 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29353 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29354 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29355 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29356 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29357 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29358 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
29359 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29360 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29361 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29362 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29363 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29364 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29365 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29366 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
29367 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29368 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29369 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29370 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29371 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29372 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29373 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
29374 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29375 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29376 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29377 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29378 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29379 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29380 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29381 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29382 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29383 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29384 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29386 static swig_type_info
*swig_type_initial
[] = {
29388 &_swigt__p_form_ops_t
,
29390 &_swigt__p_unsigned_char
,
29391 &_swigt__p_unsigned_int
,
29392 &_swigt__p_unsigned_long
,
29393 &_swigt__p_wxANIHandler
,
29394 &_swigt__p_wxAcceleratorTable
,
29395 &_swigt__p_wxActivateEvent
,
29396 &_swigt__p_wxArrayInt
,
29397 &_swigt__p_wxBMPHandler
,
29398 &_swigt__p_wxBitmap
,
29399 &_swigt__p_wxBoxSizer
,
29400 &_swigt__p_wxCURHandler
,
29401 &_swigt__p_wxCalculateLayoutEvent
,
29402 &_swigt__p_wxChildFocusEvent
,
29403 &_swigt__p_wxCloseEvent
,
29404 &_swigt__p_wxColour
,
29405 &_swigt__p_wxColourData
,
29406 &_swigt__p_wxColourDialog
,
29407 &_swigt__p_wxCommandEvent
,
29408 &_swigt__p_wxContextMenuEvent
,
29409 &_swigt__p_wxControl
,
29410 &_swigt__p_wxControlWithItems
,
29412 &_swigt__p_wxDateEvent
,
29413 &_swigt__p_wxDialog
,
29414 &_swigt__p_wxDirDialog
,
29415 &_swigt__p_wxDisplayChangedEvent
,
29416 &_swigt__p_wxDropFilesEvent
,
29417 &_swigt__p_wxDuplexMode
,
29418 &_swigt__p_wxEraseEvent
,
29419 &_swigt__p_wxEvent
,
29420 &_swigt__p_wxEvtHandler
,
29421 &_swigt__p_wxFSFile
,
29422 &_swigt__p_wxFileDialog
,
29423 &_swigt__p_wxFileSystem
,
29424 &_swigt__p_wxFindDialogEvent
,
29425 &_swigt__p_wxFindReplaceData
,
29426 &_swigt__p_wxFindReplaceDialog
,
29427 &_swigt__p_wxFlexGridSizer
,
29428 &_swigt__p_wxFocusEvent
,
29430 &_swigt__p_wxFontData
,
29431 &_swigt__p_wxFontDialog
,
29432 &_swigt__p_wxFrame
,
29433 &_swigt__p_wxGBSizerItem
,
29434 &_swigt__p_wxGIFHandler
,
29435 &_swigt__p_wxGridBagSizer
,
29436 &_swigt__p_wxGridSizer
,
29437 &_swigt__p_wxICOHandler
,
29439 &_swigt__p_wxIconBundle
,
29440 &_swigt__p_wxIconizeEvent
,
29441 &_swigt__p_wxIdleEvent
,
29442 &_swigt__p_wxImage
,
29443 &_swigt__p_wxImageHandler
,
29444 &_swigt__p_wxIndividualLayoutConstraint
,
29445 &_swigt__p_wxInitDialogEvent
,
29446 &_swigt__p_wxJPEGHandler
,
29447 &_swigt__p_wxKeyEvent
,
29448 &_swigt__p_wxLayoutAlgorithm
,
29449 &_swigt__p_wxLayoutConstraints
,
29450 &_swigt__p_wxMDIChildFrame
,
29451 &_swigt__p_wxMDIClientWindow
,
29452 &_swigt__p_wxMDIParentFrame
,
29453 &_swigt__p_wxMaximizeEvent
,
29455 &_swigt__p_wxMenuBar
,
29456 &_swigt__p_wxMenuEvent
,
29457 &_swigt__p_wxMenuItem
,
29458 &_swigt__p_wxMessageDialog
,
29459 &_swigt__p_wxMiniFrame
,
29460 &_swigt__p_wxMouseCaptureChangedEvent
,
29461 &_swigt__p_wxMouseEvent
,
29462 &_swigt__p_wxMoveEvent
,
29463 &_swigt__p_wxMultiChoiceDialog
,
29464 &_swigt__p_wxNavigationKeyEvent
,
29465 &_swigt__p_wxNcPaintEvent
,
29466 &_swigt__p_wxNotifyEvent
,
29467 &_swigt__p_wxObject
,
29468 &_swigt__p_wxPCXHandler
,
29469 &_swigt__p_wxPNGHandler
,
29470 &_swigt__p_wxPNMHandler
,
29471 &_swigt__p_wxPageSetupDialog
,
29472 &_swigt__p_wxPageSetupDialogData
,
29473 &_swigt__p_wxPaintEvent
,
29474 &_swigt__p_wxPaletteChangedEvent
,
29475 &_swigt__p_wxPanel
,
29476 &_swigt__p_wxPaperSize
,
29477 &_swigt__p_wxPasswordEntryDialog
,
29478 &_swigt__p_wxPoint
,
29479 &_swigt__p_wxPopupWindow
,
29480 &_swigt__p_wxPreviewCanvas
,
29481 &_swigt__p_wxPreviewControlBar
,
29482 &_swigt__p_wxPreviewFrame
,
29483 &_swigt__p_wxPrintData
,
29484 &_swigt__p_wxPrintDialog
,
29485 &_swigt__p_wxPrintDialogData
,
29486 &_swigt__p_wxPrintPreview
,
29487 &_swigt__p_wxPrinter
,
29488 &_swigt__p_wxProgressDialog
,
29489 &_swigt__p_wxPyApp
,
29490 &_swigt__p_wxPyCommandEvent
,
29491 &_swigt__p_wxPyEvent
,
29492 &_swigt__p_wxPyHtmlListBox
,
29493 &_swigt__p_wxPyImageHandler
,
29494 &_swigt__p_wxPyPanel
,
29495 &_swigt__p_wxPyPopupTransientWindow
,
29496 &_swigt__p_wxPyPreviewControlBar
,
29497 &_swigt__p_wxPyPreviewFrame
,
29498 &_swigt__p_wxPyPrintPreview
,
29499 &_swigt__p_wxPyPrintout
,
29500 &_swigt__p_wxPyScrolledWindow
,
29501 &_swigt__p_wxPySizer
,
29502 &_swigt__p_wxPyTaskBarIcon
,
29503 &_swigt__p_wxPyVListBox
,
29504 &_swigt__p_wxPyVScrolledWindow
,
29505 &_swigt__p_wxPyValidator
,
29506 &_swigt__p_wxPyWindow
,
29507 &_swigt__p_wxQueryLayoutInfoEvent
,
29508 &_swigt__p_wxQueryNewPaletteEvent
,
29510 &_swigt__p_wxRegion
,
29511 &_swigt__p_wxSashEvent
,
29512 &_swigt__p_wxSashLayoutWindow
,
29513 &_swigt__p_wxSashWindow
,
29514 &_swigt__p_wxScrollEvent
,
29515 &_swigt__p_wxScrollWinEvent
,
29516 &_swigt__p_wxScrolledWindow
,
29517 &_swigt__p_wxSetCursorEvent
,
29518 &_swigt__p_wxShowEvent
,
29519 &_swigt__p_wxSingleChoiceDialog
,
29521 &_swigt__p_wxSizeEvent
,
29522 &_swigt__p_wxSizer
,
29523 &_swigt__p_wxSizerItem
,
29524 &_swigt__p_wxSplashScreen
,
29525 &_swigt__p_wxSplashScreenWindow
,
29526 &_swigt__p_wxSplitterEvent
,
29527 &_swigt__p_wxSplitterWindow
,
29528 &_swigt__p_wxStaticBoxSizer
,
29529 &_swigt__p_wxStatusBar
,
29530 &_swigt__p_wxStdDialogButtonSizer
,
29531 &_swigt__p_wxString
,
29532 &_swigt__p_wxSysColourChangedEvent
,
29533 &_swigt__p_wxTIFFHandler
,
29534 &_swigt__p_wxTaskBarIcon
,
29535 &_swigt__p_wxTaskBarIconEvent
,
29536 &_swigt__p_wxTextEntryDialog
,
29537 &_swigt__p_wxTipWindow
,
29538 &_swigt__p_wxToolBar
,
29539 &_swigt__p_wxTopLevelWindow
,
29540 &_swigt__p_wxUpdateUIEvent
,
29541 &_swigt__p_wxValidator
,
29542 &_swigt__p_wxVisualAttributes
,
29543 &_swigt__p_wxWindow
,
29544 &_swigt__p_wxWindowCreateEvent
,
29545 &_swigt__p_wxWindowDestroyEvent
,
29546 &_swigt__p_wxXPMHandler
,
29547 &_swigt__ptrdiff_t
,
29548 &_swigt__std__ptrdiff_t
,
29549 &_swigt__unsigned_int
,
29552 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
29553 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
29554 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
29555 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
29556 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29557 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
29558 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
29559 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
29560 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
29561 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
29562 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
29563 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
29564 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29565 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
29566 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29567 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29568 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
29569 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29570 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29571 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29572 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}};
29573 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
29574 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}};
29575 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
29576 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
29577 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29578 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29579 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29580 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29581 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
29582 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29583 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29584 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
29585 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
29586 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29587 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29588 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29589 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29590 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
29591 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29592 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29593 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29594 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29595 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29596 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29597 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
29598 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29599 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
29600 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29601 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29602 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}};
29603 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
29604 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
29605 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
29606 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
29607 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
29608 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
29609 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
29610 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
29611 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29612 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
29613 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29614 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
29615 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
29616 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
29617 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
29618 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
29619 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
29620 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
29621 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
29622 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29623 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
29624 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
29625 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
29626 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
29627 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
29628 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29629 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}};
29630 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
29631 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29632 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29633 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
29634 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29635 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29636 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29637 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
29638 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29639 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29640 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
29641 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
29642 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
29643 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29644 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29645 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
29646 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
29647 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
29648 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
29649 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29650 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29651 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
29652 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29653 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29654 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29655 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29656 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
29657 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
29658 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
29659 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
29660 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29661 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}};
29662 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
29663 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
29664 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
29665 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
29666 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
29667 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}};
29668 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}};
29669 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
29670 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
29671 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29672 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}};
29673 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
29674 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
29675 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
29676 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
29677 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
29678 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
29679 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
29680 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
29681 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
29682 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
29683 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29684 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}};
29685 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}};
29686 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
29687 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
29688 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
29689 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
29690 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
29691 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
29692 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}};
29693 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
29694 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}};
29695 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29696 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
29697 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
29698 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
29699 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
29700 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
29701 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
29702 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
29703 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
29704 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29705 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
29706 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}};
29707 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
29708 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
29709 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
29710 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
29711 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
29712 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29713 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29714 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29716 static swig_cast_info
*swig_cast_initial
[] = {
29718 _swigc__p_form_ops_t
,
29720 _swigc__p_unsigned_char
,
29721 _swigc__p_unsigned_int
,
29722 _swigc__p_unsigned_long
,
29723 _swigc__p_wxANIHandler
,
29724 _swigc__p_wxAcceleratorTable
,
29725 _swigc__p_wxActivateEvent
,
29726 _swigc__p_wxArrayInt
,
29727 _swigc__p_wxBMPHandler
,
29728 _swigc__p_wxBitmap
,
29729 _swigc__p_wxBoxSizer
,
29730 _swigc__p_wxCURHandler
,
29731 _swigc__p_wxCalculateLayoutEvent
,
29732 _swigc__p_wxChildFocusEvent
,
29733 _swigc__p_wxCloseEvent
,
29734 _swigc__p_wxColour
,
29735 _swigc__p_wxColourData
,
29736 _swigc__p_wxColourDialog
,
29737 _swigc__p_wxCommandEvent
,
29738 _swigc__p_wxContextMenuEvent
,
29739 _swigc__p_wxControl
,
29740 _swigc__p_wxControlWithItems
,
29742 _swigc__p_wxDateEvent
,
29743 _swigc__p_wxDialog
,
29744 _swigc__p_wxDirDialog
,
29745 _swigc__p_wxDisplayChangedEvent
,
29746 _swigc__p_wxDropFilesEvent
,
29747 _swigc__p_wxDuplexMode
,
29748 _swigc__p_wxEraseEvent
,
29750 _swigc__p_wxEvtHandler
,
29751 _swigc__p_wxFSFile
,
29752 _swigc__p_wxFileDialog
,
29753 _swigc__p_wxFileSystem
,
29754 _swigc__p_wxFindDialogEvent
,
29755 _swigc__p_wxFindReplaceData
,
29756 _swigc__p_wxFindReplaceDialog
,
29757 _swigc__p_wxFlexGridSizer
,
29758 _swigc__p_wxFocusEvent
,
29760 _swigc__p_wxFontData
,
29761 _swigc__p_wxFontDialog
,
29763 _swigc__p_wxGBSizerItem
,
29764 _swigc__p_wxGIFHandler
,
29765 _swigc__p_wxGridBagSizer
,
29766 _swigc__p_wxGridSizer
,
29767 _swigc__p_wxICOHandler
,
29769 _swigc__p_wxIconBundle
,
29770 _swigc__p_wxIconizeEvent
,
29771 _swigc__p_wxIdleEvent
,
29773 _swigc__p_wxImageHandler
,
29774 _swigc__p_wxIndividualLayoutConstraint
,
29775 _swigc__p_wxInitDialogEvent
,
29776 _swigc__p_wxJPEGHandler
,
29777 _swigc__p_wxKeyEvent
,
29778 _swigc__p_wxLayoutAlgorithm
,
29779 _swigc__p_wxLayoutConstraints
,
29780 _swigc__p_wxMDIChildFrame
,
29781 _swigc__p_wxMDIClientWindow
,
29782 _swigc__p_wxMDIParentFrame
,
29783 _swigc__p_wxMaximizeEvent
,
29785 _swigc__p_wxMenuBar
,
29786 _swigc__p_wxMenuEvent
,
29787 _swigc__p_wxMenuItem
,
29788 _swigc__p_wxMessageDialog
,
29789 _swigc__p_wxMiniFrame
,
29790 _swigc__p_wxMouseCaptureChangedEvent
,
29791 _swigc__p_wxMouseEvent
,
29792 _swigc__p_wxMoveEvent
,
29793 _swigc__p_wxMultiChoiceDialog
,
29794 _swigc__p_wxNavigationKeyEvent
,
29795 _swigc__p_wxNcPaintEvent
,
29796 _swigc__p_wxNotifyEvent
,
29797 _swigc__p_wxObject
,
29798 _swigc__p_wxPCXHandler
,
29799 _swigc__p_wxPNGHandler
,
29800 _swigc__p_wxPNMHandler
,
29801 _swigc__p_wxPageSetupDialog
,
29802 _swigc__p_wxPageSetupDialogData
,
29803 _swigc__p_wxPaintEvent
,
29804 _swigc__p_wxPaletteChangedEvent
,
29806 _swigc__p_wxPaperSize
,
29807 _swigc__p_wxPasswordEntryDialog
,
29809 _swigc__p_wxPopupWindow
,
29810 _swigc__p_wxPreviewCanvas
,
29811 _swigc__p_wxPreviewControlBar
,
29812 _swigc__p_wxPreviewFrame
,
29813 _swigc__p_wxPrintData
,
29814 _swigc__p_wxPrintDialog
,
29815 _swigc__p_wxPrintDialogData
,
29816 _swigc__p_wxPrintPreview
,
29817 _swigc__p_wxPrinter
,
29818 _swigc__p_wxProgressDialog
,
29820 _swigc__p_wxPyCommandEvent
,
29821 _swigc__p_wxPyEvent
,
29822 _swigc__p_wxPyHtmlListBox
,
29823 _swigc__p_wxPyImageHandler
,
29824 _swigc__p_wxPyPanel
,
29825 _swigc__p_wxPyPopupTransientWindow
,
29826 _swigc__p_wxPyPreviewControlBar
,
29827 _swigc__p_wxPyPreviewFrame
,
29828 _swigc__p_wxPyPrintPreview
,
29829 _swigc__p_wxPyPrintout
,
29830 _swigc__p_wxPyScrolledWindow
,
29831 _swigc__p_wxPySizer
,
29832 _swigc__p_wxPyTaskBarIcon
,
29833 _swigc__p_wxPyVListBox
,
29834 _swigc__p_wxPyVScrolledWindow
,
29835 _swigc__p_wxPyValidator
,
29836 _swigc__p_wxPyWindow
,
29837 _swigc__p_wxQueryLayoutInfoEvent
,
29838 _swigc__p_wxQueryNewPaletteEvent
,
29840 _swigc__p_wxRegion
,
29841 _swigc__p_wxSashEvent
,
29842 _swigc__p_wxSashLayoutWindow
,
29843 _swigc__p_wxSashWindow
,
29844 _swigc__p_wxScrollEvent
,
29845 _swigc__p_wxScrollWinEvent
,
29846 _swigc__p_wxScrolledWindow
,
29847 _swigc__p_wxSetCursorEvent
,
29848 _swigc__p_wxShowEvent
,
29849 _swigc__p_wxSingleChoiceDialog
,
29851 _swigc__p_wxSizeEvent
,
29853 _swigc__p_wxSizerItem
,
29854 _swigc__p_wxSplashScreen
,
29855 _swigc__p_wxSplashScreenWindow
,
29856 _swigc__p_wxSplitterEvent
,
29857 _swigc__p_wxSplitterWindow
,
29858 _swigc__p_wxStaticBoxSizer
,
29859 _swigc__p_wxStatusBar
,
29860 _swigc__p_wxStdDialogButtonSizer
,
29861 _swigc__p_wxString
,
29862 _swigc__p_wxSysColourChangedEvent
,
29863 _swigc__p_wxTIFFHandler
,
29864 _swigc__p_wxTaskBarIcon
,
29865 _swigc__p_wxTaskBarIconEvent
,
29866 _swigc__p_wxTextEntryDialog
,
29867 _swigc__p_wxTipWindow
,
29868 _swigc__p_wxToolBar
,
29869 _swigc__p_wxTopLevelWindow
,
29870 _swigc__p_wxUpdateUIEvent
,
29871 _swigc__p_wxValidator
,
29872 _swigc__p_wxVisualAttributes
,
29873 _swigc__p_wxWindow
,
29874 _swigc__p_wxWindowCreateEvent
,
29875 _swigc__p_wxWindowDestroyEvent
,
29876 _swigc__p_wxXPMHandler
,
29878 _swigc__std__ptrdiff_t
,
29879 _swigc__unsigned_int
,
29883 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29885 static swig_const_info swig_const_table
[] = {
29886 {0, 0, 0, 0.0, 0, 0}};
29891 /*************************************************************************
29892 * Type initialization:
29893 * This problem is tough by the requirement that no dynamic
29894 * memory is used. Also, since swig_type_info structures store pointers to
29895 * swig_cast_info structures and swig_cast_info structures store pointers back
29896 * to swig_type_info structures, we need some lookup code at initialization.
29897 * The idea is that swig generates all the structures that are needed.
29898 * The runtime then collects these partially filled structures.
29899 * The SWIG_InitializeModule function takes these initial arrays out of
29900 * swig_module, and does all the lookup, filling in the swig_module.types
29901 * array with the correct data and linking the correct swig_cast_info
29902 * structures together.
29904 * The generated swig_type_info structures are assigned staticly to an initial
29905 * array. We just loop though that array, and handle each type individually.
29906 * First we lookup if this type has been already loaded, and if so, use the
29907 * loaded structure instead of the generated one. Then we have to fill in the
29908 * cast linked list. The cast data is initially stored in something like a
29909 * two-dimensional array. Each row corresponds to a type (there are the same
29910 * number of rows as there are in the swig_type_initial array). Each entry in
29911 * a column is one of the swig_cast_info structures for that type.
29912 * The cast_initial array is actually an array of arrays, because each row has
29913 * a variable number of columns. So to actually build the cast linked list,
29914 * we find the array of casts associated with the type, and loop through it
29915 * adding the casts to the list. The one last trick we need to do is making
29916 * sure the type pointer in the swig_cast_info struct is correct.
29918 * First off, we lookup the cast->type name to see if it is already loaded.
29919 * There are three cases to handle:
29920 * 1) If the cast->type has already been loaded AND the type we are adding
29921 * casting info to has not been loaded (it is in this module), THEN we
29922 * replace the cast->type pointer with the type pointer that has already
29924 * 2) If BOTH types (the one we are adding casting info to, and the
29925 * cast->type) are loaded, THEN the cast info has already been loaded by
29926 * the previous module so we just ignore it.
29927 * 3) Finally, if cast->type has not already been loaded, then we add that
29928 * swig_cast_info to the linked list (because the cast->type) pointer will
29940 #define SWIGRUNTIME_DEBUG
29944 SWIG_InitializeModule(void *clientdata
) {
29946 swig_module_info
*module_head
;
29947 static int init_run
= 0;
29949 clientdata
= clientdata
;
29951 if (init_run
) return;
29954 /* Initialize the swig_module */
29955 swig_module
.type_initial
= swig_type_initial
;
29956 swig_module
.cast_initial
= swig_cast_initial
;
29958 /* Try and load any already created modules */
29959 module_head
= SWIG_GetModule(clientdata
);
29961 swig_module
.next
= module_head
->next
;
29962 module_head
->next
= &swig_module
;
29964 /* This is the first module loaded */
29965 swig_module
.next
= &swig_module
;
29966 SWIG_SetModule(clientdata
, &swig_module
);
29969 /* Now work on filling in swig_module.types */
29970 #ifdef SWIGRUNTIME_DEBUG
29971 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
29973 for (i
= 0; i
< swig_module
.size
; ++i
) {
29974 swig_type_info
*type
= 0;
29975 swig_type_info
*ret
;
29976 swig_cast_info
*cast
;
29978 #ifdef SWIGRUNTIME_DEBUG
29979 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
29982 /* if there is another module already loaded */
29983 if (swig_module
.next
!= &swig_module
) {
29984 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
29987 /* Overwrite clientdata field */
29988 #ifdef SWIGRUNTIME_DEBUG
29989 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
29991 if (swig_module
.type_initial
[i
]->clientdata
) {
29992 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
29993 #ifdef SWIGRUNTIME_DEBUG
29994 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
29998 type
= swig_module
.type_initial
[i
];
30001 /* Insert casting types */
30002 cast
= swig_module
.cast_initial
[i
];
30003 while (cast
->type
) {
30004 /* Don't need to add information already in the list */
30006 #ifdef SWIGRUNTIME_DEBUG
30007 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
30009 if (swig_module
.next
!= &swig_module
) {
30010 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
30011 #ifdef SWIGRUNTIME_DEBUG
30012 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
30016 if (type
== swig_module
.type_initial
[i
]) {
30017 #ifdef SWIGRUNTIME_DEBUG
30018 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
30023 /* Check for casting already in the list */
30024 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
30025 #ifdef SWIGRUNTIME_DEBUG
30026 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
30028 if (!ocast
) ret
= 0;
30033 #ifdef SWIGRUNTIME_DEBUG
30034 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
30037 type
->cast
->prev
= cast
;
30038 cast
->next
= type
->cast
;
30044 /* Set entry in modules->types array equal to the type */
30045 swig_module
.types
[i
] = type
;
30047 swig_module
.types
[i
] = 0;
30049 #ifdef SWIGRUNTIME_DEBUG
30050 printf("**** SWIG_InitializeModule: Cast List ******\n");
30051 for (i
= 0; i
< swig_module
.size
; ++i
) {
30053 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
30054 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30055 while (cast
->type
) {
30056 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
30060 printf("---- Total casts: %d\n",j
);
30062 printf("**** SWIG_InitializeModule: Cast List ******\n");
30066 /* This function will propagate the clientdata field of type to
30067 * any new swig_type_info structures that have been added into the list
30068 * of equivalent types. It is like calling
30069 * SWIG_TypeClientData(type, clientdata) a second time.
30072 SWIG_PropagateClientData(void) {
30074 swig_cast_info
*equiv
;
30075 static int init_run
= 0;
30077 if (init_run
) return;
30080 for (i
= 0; i
< swig_module
.size
; i
++) {
30081 if (swig_module
.types
[i
]->clientdata
) {
30082 equiv
= swig_module
.types
[i
]->cast
;
30084 if (!equiv
->converter
) {
30085 if (equiv
->type
&& !equiv
->type
->clientdata
)
30086 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
30088 equiv
= equiv
->next
;
30108 /* Python-specific SWIG API */
30109 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30110 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30111 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30113 /* -----------------------------------------------------------------------------
30114 * global variable support code.
30115 * ----------------------------------------------------------------------------- */
30117 typedef struct swig_globalvar
{
30118 char *name
; /* Name of global variable */
30119 PyObject
*(*get_attr
)(void); /* Return the current value */
30120 int (*set_attr
)(PyObject
*); /* Set the value */
30121 struct swig_globalvar
*next
;
30124 typedef struct swig_varlinkobject
{
30126 swig_globalvar
*vars
;
30127 } swig_varlinkobject
;
30129 SWIGINTERN PyObject
*
30130 swig_varlink_repr(swig_varlinkobject
*v
) {
30132 return PyString_FromString("<Swig global variables>");
30136 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
30137 swig_globalvar
*var
;
30139 fprintf(fp
,"Swig global variables { ");
30140 for (var
= v
->vars
; var
; var
=var
->next
) {
30141 fprintf(fp
,"%s", var
->name
);
30142 if (var
->next
) fprintf(fp
,", ");
30144 fprintf(fp
," }\n");
30148 SWIGINTERN PyObject
*
30149 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30150 swig_globalvar
*var
= v
->vars
;
30152 if (strcmp(var
->name
,n
) == 0) {
30153 return (*var
->get_attr
)();
30157 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30162 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30163 swig_globalvar
*var
= v
->vars
;
30165 if (strcmp(var
->name
,n
) == 0) {
30166 return (*var
->set_attr
)(p
);
30170 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30174 SWIGINTERN PyTypeObject
*
30175 swig_varlink_type(void) {
30176 static char varlink__doc__
[] = "Swig var link object";
30177 static PyTypeObject varlink_type
30178 #if !defined(__cplusplus)
30180 static int type_init
= 0;
30185 PyObject_HEAD_INIT(&PyType_Type
)
30186 0, /* Number of items in variable part (ob_size) */
30187 (char *)"swigvarlink", /* Type name (tp_name) */
30188 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30189 0, /* Itemsize (tp_itemsize) */
30190 0, /* Deallocator (tp_dealloc) */
30191 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30192 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30193 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30194 0, /* tp_compare */
30195 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30196 0, /* tp_as_number */
30197 0, /* tp_as_sequence */
30198 0, /* tp_as_mapping */
30202 0, /* tp_getattro */
30203 0, /* tp_setattro */
30204 0, /* tp_as_buffer */
30206 varlink__doc__
, /* tp_doc */
30207 #if PY_VERSION_HEX >= 0x02000000
30208 0, /* tp_traverse */
30211 #if PY_VERSION_HEX >= 0x02010000
30212 0, /* tp_richcompare */
30213 0, /* tp_weaklistoffset */
30215 #if PY_VERSION_HEX >= 0x02020000
30216 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30218 #if PY_VERSION_HEX >= 0x02030000
30221 #ifdef COUNT_ALLOCS
30222 0,0,0,0 /* tp_alloc -> tp_next */
30225 #if !defined(__cplusplus)
30226 varlink_type
= tmp
;
30230 return &varlink_type
;
30233 /* Create a variable linking object for use later */
30234 SWIGINTERN PyObject
*
30235 SWIG_Python_newvarlink(void) {
30236 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
30240 return ((PyObject
*) result
);
30244 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
30245 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
30246 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
30248 size_t size
= strlen(name
)+1;
30249 gv
->name
= (char *)malloc(size
);
30251 strncpy(gv
->name
,name
,size
);
30252 gv
->get_attr
= get_attr
;
30253 gv
->set_attr
= set_attr
;
30254 gv
->next
= v
->vars
;
30260 /* -----------------------------------------------------------------------------
30261 * constants/methods manipulation
30262 * ----------------------------------------------------------------------------- */
30264 /* Install Constants */
30266 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30269 for (i
= 0; constants
[i
].type
; ++i
) {
30270 switch(constants
[i
].type
) {
30272 obj
= PyInt_FromLong(constants
[i
].lvalue
);
30274 case SWIG_PY_FLOAT
:
30275 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
30277 case SWIG_PY_STRING
:
30278 if (constants
[i
].pvalue
) {
30279 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
30281 Py_INCREF(Py_None
);
30285 case SWIG_PY_POINTER
:
30286 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30288 case SWIG_PY_BINARY
:
30289 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30296 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
30302 /* -----------------------------------------------------------------------------*/
30303 /* Fix SwigMethods to carry the callback ptrs when needed */
30304 /* -----------------------------------------------------------------------------*/
30307 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30308 swig_const_info
*const_table
,
30309 swig_type_info
**types
,
30310 swig_type_info
**types_initial
) {
30312 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30313 char *c
= methods
[i
].ml_doc
;
30314 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30316 swig_const_info
*ci
= 0;
30317 char *name
= c
+ 10;
30318 for (j
= 0; const_table
[j
].type
; ++j
) {
30319 if (strncmp(const_table
[j
].name
, name
,
30320 strlen(const_table
[j
].name
)) == 0) {
30321 ci
= &(const_table
[j
]);
30326 size_t shift
= (ci
->ptype
) - types
;
30327 swig_type_info
*ty
= types_initial
[shift
];
30328 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30329 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30330 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30333 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
30335 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30337 strncpy(buff
, "swig_ptr: ", 10);
30339 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30340 methods
[i
].ml_doc
= ndoc
;
30348 /* -----------------------------------------------------------------------------*
30349 * Initialize type list
30350 * -----------------------------------------------------------------------------*/
30356 /* -----------------------------------------------------------------------------*
30357 * Partial Init method
30358 * -----------------------------------------------------------------------------*/
30363 SWIGEXPORT
void SWIG_init(void) {
30364 static PyObject
*SWIG_globals
= 0;
30366 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30368 /* Fix SwigMethods to carry the callback ptrs when needed */
30369 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
30371 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30372 d
= PyModule_GetDict(m
);
30374 SWIG_InitializeModule(0);
30375 SWIG_InstallConstants(d
,swig_const_table
);
30377 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30378 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30379 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30380 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30381 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30383 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP
)));
30386 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE
)));
30389 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE
)));
30392 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE
)));
30395 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX
)));
30398 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME
)));
30401 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU
)));
30404 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX
)));
30407 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX
)));
30410 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ
)));
30413 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT
)));
30416 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX
)));
30419 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER
)));
30422 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT
)));
30425 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE
)));
30428 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE
)));
30431 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW
)));
30434 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT
)));
30437 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU
)));
30440 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR
)));
30443 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED
)));
30446 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER
)));
30449 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL
)));
30452 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL
)));
30455 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL
)));
30458 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS
)));
30461 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS
)));
30464 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D
)));
30467 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR
)));
30470 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR
)));
30473 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR
)));
30476 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER
)));
30479 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION
)));
30482 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL
)));
30485 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG
)));
30488 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO
)));
30491 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR
)));
30494 PyDict_SetItemString(d
,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags
)));
30497 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT
)));
30500 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN
)));
30503 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE
)));
30506 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT
)));
30509 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT
)));
30512 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL
)));
30515 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT
)));
30518 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED
)));
30520 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30522 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER
)));
30525 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH
)));
30528 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT
)));
30531 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE
)));
30534 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH
)));
30537 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER
)));
30540 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME
)));
30543 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER
)));
30546 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D
)));
30549 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL
)));
30552 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL
)));
30555 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE
)));
30558 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING
)));
30561 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN
)));
30563 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30564 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30565 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30566 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30567 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30568 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30570 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE
)));
30573 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING
)));
30576 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN
)));
30579 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER
)));
30582 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER
)));
30585 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH
)));
30588 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER
)));
30591 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D
)));
30594 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP
)));
30597 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT
)));
30600 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM
)));
30603 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT
)));
30606 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE
)));
30609 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK
)));
30612 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE
)));
30614 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30616 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL
)));
30619 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL
)));
30622 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE
)));
30625 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP
)));
30628 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT
)));
30631 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT
)));
30634 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM
)));
30637 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y
)));
30640 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X
)));
30643 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH
)));
30646 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY
)));
30648 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30649 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30650 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30652 // Map renamed classes back to their common name for OOR
30653 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30654 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30655 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30657 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30658 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30659 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30660 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30661 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30662 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30663 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30664 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30665 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30666 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30667 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30668 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30669 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30671 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE
)));
30674 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle
)));
30676 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30678 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN
)));
30681 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD
)));
30684 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE
)));
30687 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG
)));
30690 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN
)));
30693 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE
)));
30696 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD
)));
30698 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30699 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30700 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30701 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30702 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30704 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30707 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30710 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30713 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30716 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30719 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30722 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30725 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30728 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30730 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30731 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30733 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE
)));
30736 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW
)));
30739 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE
)));
30742 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER
)));
30745 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM
)));
30748 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT
)));
30751 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE
)));
30754 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER
)));
30757 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE
)));
30760 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL
)));
30763 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE
)));
30766 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL
)));
30769 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO
)));
30772 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR
)));
30775 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT
)));
30778 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT
)));
30781 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY
)));
30784 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE
)));
30787 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE
)));
30790 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER
)));
30793 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR
)));
30796 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED
)));
30799 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR
)));
30802 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT
)));
30805 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS
)));
30808 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT
)));
30811 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM
)));
30814 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST
)));
30817 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST
)));
30820 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO
)));
30823 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT
)));
30826 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE
)));
30829 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT
)));
30832 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS
)));
30835 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT
)));
30838 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM
)));
30841 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST
)));
30844 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST
)));
30847 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO
)));
30850 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");