1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
29 /***********************************************************************
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
34 ************************************************************************/
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
45 /* inline attribute */
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
63 /* internal SWIG method */
65 # define SWIGINTERN static SWIGUNUSED
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
73 /* exporting methods for Windows DLLs */
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
79 # define SWIGEXPORT __declspec(dllexport)
86 /* calling conventions for Windows */
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
99 /***********************************************************************
102 * This file contains generic CAPI SWIG runtime support for pointer
105 ************************************************************************/
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 # define SWIG_TYPE_TABLE_NAME
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
130 # define SWIGRUNTIME SWIGINTERN
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
143 typedef void *(*swig_converter_func
)(void *);
144 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info
{
148 const char *name
; /* mangled name of this type */
149 const char *str
; /* human readable name of this type */
150 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
152 void *clientdata
; /* language specific type data */
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info
{
157 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter
; /* function to cast the void pointers */
159 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
160 struct swig_cast_info
*prev
; /* pointer to the previous cast */
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info
{
167 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size
; /* Number of types in this module */
169 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
170 swig_type_info
**type_initial
; /* Array of initially generated type structures */
171 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
172 void *clientdata
; /* Language specific module data */
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
184 SWIG_TypeNameComp(const char *f1
, const char *l1
,
185 const char *f2
, const char *l2
) {
186 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
187 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
188 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
189 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
191 return (l1
- f1
) - (l2
- f2
);
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
199 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
201 const char* te
= tb
+ strlen(tb
);
203 while (!equiv
&& *ne
) {
204 for (nb
= ne
; *ne
; ++ne
) {
205 if (*ne
== '|') break;
207 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
218 SWIG_TypeCompare(const char *nb
, const char *tb
) {
220 const char* te
= tb
+ strlen(tb
);
222 while (!equiv
&& *ne
) {
223 for (nb
= ne
; *ne
; ++ne
) {
224 if (*ne
== '|') break;
226 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
236 swig_cast_info *iter = ty->cast; \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
246 if (ty->cast) ty->cast->prev = iter; \
258 SWIGRUNTIME swig_cast_info
*
259 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
260 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info
*
265 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
266 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
270 Cast a pointer up an inheritance hierarchy
272 SWIGRUNTIMEINLINE
void *
273 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
274 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
278 Dynamic pointer casting. Down an inheritance hierarchy
280 SWIGRUNTIME swig_type_info
*
281 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
282 swig_type_info
*lastty
= ty
;
283 if (!ty
|| !ty
->dcast
) return ty
;
284 while (ty
&& (ty
->dcast
)) {
285 ty
= (*ty
->dcast
)(ptr
);
292 Return the name associated with this type
294 SWIGRUNTIMEINLINE
const char *
295 SWIG_TypeName(const swig_type_info
*ty
) {
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
303 SWIGRUNTIME
const char *
304 SWIG_TypePrettyName(const swig_type_info
*type
) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
309 if (type
->str
!= NULL
) {
310 const char *last_name
= type
->str
;
312 for (s
= type
->str
; *s
; s
++)
313 if (*s
== '|') last_name
= s
+1;
321 Set the clientdata field for a type
324 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
325 swig_cast_info
*cast
= ti
->cast
;
326 /* if (ti->clientdata == clientdata) return; */
327 ti
->clientdata
= clientdata
;
330 if (!cast
->converter
) {
331 swig_type_info
*tc
= cast
->type
;
332 if (!tc
->clientdata
) {
333 SWIG_TypeClientData(tc
, clientdata
);
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
348 SWIGRUNTIME swig_type_info
*
349 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
350 swig_module_info
*end
,
352 swig_module_info
*iter
= start
;
355 register size_t l
= 0;
356 register size_t r
= iter
->size
- 1;
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i
= (l
+ r
) >> 1;
360 const char *iname
= iter
->types
[i
]->name
;
362 register int compare
= strcmp(name
, iname
);
364 return iter
->types
[i
];
365 } else if (compare
< 0) {
371 } else if (compare
> 0) {
375 break; /* should never happen */
380 } while (iter
!= end
);
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
393 SWIGRUNTIME swig_type_info
*
394 SWIG_TypeQueryModule(swig_module_info
*start
,
395 swig_module_info
*end
,
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info
*iter
= start
;
406 register size_t i
= 0;
407 for (; i
< iter
->size
; ++i
) {
408 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
409 return iter
->types
[i
];
412 } while (iter
!= end
);
415 /* neither found a match */
421 Pack binary data into a string
424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
425 static const char hex
[17] = "0123456789abcdef";
426 register const unsigned char *u
= (unsigned char *) ptr
;
427 register const unsigned char *eu
= u
+ sz
;
428 for (; u
!= eu
; ++u
) {
429 register unsigned char uu
= *u
;
430 *(c
++) = hex
[(uu
& 0xf0) >> 4];
431 *(c
++) = hex
[uu
& 0xf];
437 Unpack binary data from a string
439 SWIGRUNTIME
const char *
440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
441 register unsigned char *u
= (unsigned char *) ptr
;
442 register const unsigned char *eu
= u
+ sz
;
443 for (; u
!= eu
; ++u
) {
444 register char d
= *(c
++);
445 register unsigned char uu
= 0;
446 if ((d
>= '0') && (d
<= '9'))
447 uu
= ((d
- '0') << 4);
448 else if ((d
>= 'a') && (d
<= 'f'))
449 uu
= ((d
- ('a'-10)) << 4);
453 if ((d
>= '0') && (d
<= '9'))
455 else if ((d
>= 'a') && (d
<= 'f'))
456 uu
|= (d
- ('a'-10));
465 Pack 'void *' into a string buffer.
468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
470 if ((2*sizeof(void *) + 2) > bsz
) return 0;
472 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
473 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
478 SWIGRUNTIME
const char *
479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
481 if (strcmp(c
,"NULL") == 0) {
488 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
494 size_t lname
= (name
? strlen(name
) : 0);
495 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
497 r
= SWIG_PackData(r
,ptr
,sz
);
499 strncpy(r
,name
,lname
+1);
506 SWIGRUNTIME
const char *
507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
509 if (strcmp(c
,"NULL") == 0) {
516 return SWIG_UnpackData(++c
,ptr
,sz
);
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
536 # define SWIGINTERN static SWIGUNUSED
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
544 Exception handling in wrappers
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
570 /* Constant information structure */
571 typedef struct swig_const_info
{
577 swig_type_info
**ptype
;
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
593 /***********************************************************************
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
653 PyString_FromFormat(const char *fmt
, ...) {
655 char buf
[SWIG_BUFFER_SIZE
* 2];
658 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
660 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
680 /* Declarations for objects of type PySwigObject */
683 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
685 char result
[SWIG_BUFFER_SIZE
];
687 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
688 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
695 SWIGRUNTIME PyObject
*
696 PySwigObject_repr(PySwigObject
*v
)
698 char result
[SWIG_BUFFER_SIZE
];
699 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
700 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
703 SWIGRUNTIME PyObject
*
704 PySwigObject_str(PySwigObject
*v
)
706 char result
[SWIG_BUFFER_SIZE
];
707 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
708 PyString_FromString(result
) : 0;
711 SWIGRUNTIME PyObject
*
712 PySwigObject_long(PySwigObject
*v
)
714 return PyLong_FromVoidPtr(v
->ptr
);
717 SWIGRUNTIME PyObject
*
718 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
720 PyObject
*res
= NULL
;
721 PyObject
*args
= PyTuple_New(1);
722 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
723 PyObject
*ofmt
= PyString_FromString(fmt
);
725 res
= PyString_Format(ofmt
,args
);
733 SWIGRUNTIME PyObject
*
734 PySwigObject_oct(PySwigObject
*v
)
736 return PySwigObject_format("%o",v
);
739 SWIGRUNTIME PyObject
*
740 PySwigObject_hex(PySwigObject
*v
)
742 return PySwigObject_format("%x",v
);
746 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
748 int c
= strcmp(v
->desc
, w
->desc
);
750 return (c
> 0) ? 1 : -1;
754 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
759 PySwigObject_dealloc(PySwigObject
*self
)
764 SWIGRUNTIME PyTypeObject
*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__
[] =
767 "Swig object carries a C/C++ instance pointer";
769 static PyNumberMethods PySwigObject_as_number
= {
770 (binaryfunc
)0, /*nb_add*/
771 (binaryfunc
)0, /*nb_subtract*/
772 (binaryfunc
)0, /*nb_multiply*/
773 (binaryfunc
)0, /*nb_divide*/
774 (binaryfunc
)0, /*nb_remainder*/
775 (binaryfunc
)0, /*nb_divmod*/
776 (ternaryfunc
)0,/*nb_power*/
777 (unaryfunc
)0, /*nb_negative*/
778 (unaryfunc
)0, /*nb_positive*/
779 (unaryfunc
)0, /*nb_absolute*/
780 (inquiry
)0, /*nb_nonzero*/
787 (coercion
)0, /*nb_coerce*/
788 (unaryfunc
)PySwigObject_long
, /*nb_int*/
789 (unaryfunc
)PySwigObject_long
, /*nb_long*/
790 (unaryfunc
)0, /*nb_float*/
791 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
792 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
803 static int type_init
= 0;
808 PyObject_HEAD_INIT(&PyType_Type
)
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject
), /*tp_basicsize*/
814 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
815 (printfunc
)PySwigObject_print
, /*tp_print*/
816 (getattrfunc
)0, /*tp_getattr*/
817 (setattrfunc
)0, /*tp_setattr*/
818 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
819 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
820 &PySwigObject_as_number
, /*tp_as_number*/
821 0, /*tp_as_sequence*/
823 (hashfunc
)0, /*tp_hash*/
824 (ternaryfunc
)0, /*tp_call*/
825 (reprfunc
)PySwigObject_str
, /*tp_str*/
826 /* Space for future expansion */
828 pyswigobject_type__doc__
, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #if PY_VERSION_HEX >= 0x02030000
844 0,0,0,0 /* tp_alloc -> tp_next */
847 #if !defined(__cplusplus)
848 pyswigobject_type
= tmp
;
852 return &pyswigobject_type
;
855 SWIGRUNTIME PyObject
*
856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
858 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
863 return (PyObject
*)self
;
866 SWIGRUNTIMEINLINE
void *
867 PySwigObject_AsVoidPtr(PyObject
*self
)
869 return ((PySwigObject
*)self
)->ptr
;
872 SWIGRUNTIMEINLINE
const char *
873 PySwigObject_GetDesc(PyObject
*self
)
875 return ((PySwigObject
*)self
)->desc
;
878 SWIGRUNTIMEINLINE
int
879 PySwigObject_Check(PyObject
*op
) {
880 return ((op
)->ob_type
== PySwigObject_type())
881 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
896 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
898 char result
[SWIG_BUFFER_SIZE
];
900 fputs("<Swig Packed ", fp
);
901 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
910 SWIGRUNTIME PyObject
*
911 PySwigPacked_repr(PySwigPacked
*v
)
913 char result
[SWIG_BUFFER_SIZE
];
914 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
917 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
921 SWIGRUNTIME PyObject
*
922 PySwigPacked_str(PySwigPacked
*v
)
924 char result
[SWIG_BUFFER_SIZE
];
925 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
926 return PyString_FromFormat("%s%s", result
, v
->desc
);
928 return PyString_FromString(v
->desc
);
933 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
935 int c
= strcmp(v
->desc
, w
->desc
);
937 return (c
> 0) ? 1 : -1;
941 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
942 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
947 PySwigPacked_dealloc(PySwigPacked
*self
)
953 SWIGRUNTIME PyTypeObject
*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__
[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
960 static int type_init
= 0;
965 PyObject_HEAD_INIT(&PyType_Type
)
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked
), /*tp_basicsize*/
971 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
972 (printfunc
)PySwigPacked_print
, /*tp_print*/
973 (getattrfunc
)0, /*tp_getattr*/
974 (setattrfunc
)0, /*tp_setattr*/
975 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
976 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
978 0, /*tp_as_sequence*/
980 (hashfunc
)0, /*tp_hash*/
981 (ternaryfunc
)0, /*tp_call*/
982 (reprfunc
)PySwigPacked_str
, /*tp_str*/
983 /* Space for future expansion */
985 pyswigpacked_type__doc__
, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #if PY_VERSION_HEX >= 0x02030000
1001 0,0,0,0 /* tp_alloc -> tp_next */
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type
= tmp
;
1009 return &pyswigpacked_type
;
1012 SWIGRUNTIME PyObject
*
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1015 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1019 void *pack
= malloc(size
);
1021 memcpy(pack
, ptr
, size
);
1025 return (PyObject
*) self
;
1031 SWIGRUNTIMEINLINE
const char *
1032 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1034 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1035 if (self
->size
!= size
) return 0;
1036 memcpy(ptr
, self
->pack
, size
);
1040 SWIGRUNTIMEINLINE
const char *
1041 PySwigPacked_GetDesc(PyObject
*self
)
1043 return ((PySwigPacked
*)self
)->desc
;
1046 SWIGRUNTIMEINLINE
int
1047 PySwigPacked_Check(PyObject
*op
) {
1048 return ((op
)->ob_type
== PySwigPacked_type())
1049 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1071 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj
&& PySwigObject_Check(obj
)) {
1076 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1078 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1085 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1087 PyObject
*str
= PyObject_Str(obj
);
1088 const char *cstr
= str
? PyString_AsString(str
) : 0;
1090 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1093 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1100 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1102 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1106 SWIGRUNTIMEINLINE
void
1107 SWIG_Python_NullRef(const char *type
)
1110 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1112 PyErr_Format(PyExc_TypeError
, "null reference was received");
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1119 if (PyErr_Occurred()) {
1121 PyObject
*value
= 0;
1122 PyObject
*traceback
= 0;
1123 PyErr_Fetch(&type
, &value
, &traceback
);
1125 PyObject
*old_str
= PyObject_Str(value
);
1129 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1131 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1142 SWIG_Python_ArgFail(int argnum
)
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1147 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1148 return SWIG_Python_AddErrMesg(mesg
, 1);
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1159 /* Convert a pointer value */
1161 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1164 static PyObject
*SWIG_this
= 0;
1166 PyObject
*pyobj
= 0;
1170 if (obj
== Py_None
) {
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj
))) {
1178 SWIG_this
= PyString_FromString("this");
1180 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1182 if (!obj
) goto type_error
;
1183 if (!PySwigObject_Check(obj
)) {
1188 vptr
= PySwigObject_AsVoidPtr(obj
);
1189 c
= (const char *) PySwigObject_GetDesc(obj
);
1190 if (newref
) { Py_DECREF(obj
); }
1193 if (!(PyString_Check(obj
))) {
1195 SWIG_this
= PyString_FromString("this");
1197 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1199 if (!obj
) goto type_error
;
1200 if (!PyString_Check(obj
)) {
1205 c
= PyString_AsString(obj
);
1206 /* Pointer values must start with leading underscore */
1207 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1208 if (newref
) { Py_DECREF(obj
); }
1209 if (!c
) goto type_error
;
1214 tc
= SWIG_TypeCheck(c
,ty
);
1215 if (!tc
) goto type_error
;
1216 *ptr
= SWIG_TypeCast(tc
,vptr
);
1220 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1221 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1227 if (pyobj
&& !obj
) {
1229 if (PyCFunction_Check(obj
)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1232 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1234 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1235 if (!c
) goto type_error
;
1240 if (flags
& SWIG_POINTER_EXCEPTION
) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1244 SWIG_Python_TypeError("C/C++ pointer", obj
);
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1254 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1256 if (flags
& SWIG_POINTER_EXCEPTION
) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1258 SWIG_Python_ArgFail(argnum
);
1264 /* Convert a packed value value */
1266 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1273 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1274 c
= PyString_AsString(obj
);
1275 /* Pointer values must start with leading underscore */
1276 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1278 if (!c
) goto type_error
;
1280 tc
= SWIG_TypeCheck(c
,ty
);
1281 if (!tc
) goto type_error
;
1287 if (flags
& SWIG_POINTER_EXCEPTION
) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1291 SWIG_Python_TypeError("C/C++ packed data", obj
);
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject
*
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1315 char result
[SWIG_BUFFER_SIZE
];
1316 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1317 PyString_FromString(result
) : 0;
1320 if (!robj
|| (robj
== Py_None
)) return robj
;
1321 if (type
->clientdata
) {
1323 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1325 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1329 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1337 SWIGRUNTIME PyObject
*
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1348 char result
[SWIG_BUFFER_SIZE
];
1349 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1350 PyString_FromString(result
) : 0;
1356 /* -----------------------------------------------------------------------------*
1358 * -----------------------------------------------------------------------------*/
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1364 SWIGRUNTIME swig_module_info
*
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer
= (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer
) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1372 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1374 if (PyErr_Occurred()) {
1376 type_pointer
= (void *)0;
1380 return (swig_module_info
*) type_pointer
;
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1390 if (!PyModule_Check(m
)) {
1391 PyErr_SetString(PyExc_TypeError
,
1392 "PyModule_AddObject() needs module as first arg");
1396 PyErr_SetString(PyExc_TypeError
,
1397 "PyModule_AddObject() needs non-NULL value");
1401 dict
= PyModule_GetDict(m
);
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1405 PyModule_GetName(m
));
1408 if (PyDict_SetItemString(dict
, name
, o
))
1416 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1417 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1419 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1420 swig_empty_runtime_method_table
);
1421 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1422 if (pointer
&& module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1434 #define SWIGTYPE_p_char swig_types[0]
1435 #define SWIGTYPE_p_form_ops_t swig_types[1]
1436 #define SWIGTYPE_p_int swig_types[2]
1437 #define SWIGTYPE_p_unsigned_char swig_types[3]
1438 #define SWIGTYPE_p_unsigned_int swig_types[4]
1439 #define SWIGTYPE_p_unsigned_long swig_types[5]
1440 #define SWIGTYPE_p_wxANIHandler swig_types[6]
1441 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1442 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
1443 #define SWIGTYPE_p_wxArrayInt swig_types[9]
1444 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445 #define SWIGTYPE_p_wxBitmap swig_types[11]
1446 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1448 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1449 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1451 #define SWIGTYPE_p_wxColour swig_types[17]
1452 #define SWIGTYPE_p_wxColourData swig_types[18]
1453 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1454 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1455 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1456 #define SWIGTYPE_p_wxControl swig_types[22]
1457 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1458 #define SWIGTYPE_p_wxDC swig_types[24]
1459 #define SWIGTYPE_p_wxDateEvent swig_types[25]
1460 #define SWIGTYPE_p_wxDialog swig_types[26]
1461 #define SWIGTYPE_p_wxDirDialog swig_types[27]
1462 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1464 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
1465 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
1466 #define SWIGTYPE_p_wxEvent swig_types[32]
1467 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
1468 #define SWIGTYPE_p_wxFSFile swig_types[34]
1469 #define SWIGTYPE_p_wxFileDialog swig_types[35]
1470 #define SWIGTYPE_p_wxFileSystem swig_types[36]
1471 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1472 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1473 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1474 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1475 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
1476 #define SWIGTYPE_p_wxFont swig_types[42]
1477 #define SWIGTYPE_p_wxFontData swig_types[43]
1478 #define SWIGTYPE_p_wxFontDialog swig_types[44]
1479 #define SWIGTYPE_p_wxFrame swig_types[45]
1480 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1481 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
1482 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
1483 #define SWIGTYPE_p_wxGridSizer swig_types[49]
1484 #define SWIGTYPE_p_wxICOHandler swig_types[50]
1485 #define SWIGTYPE_p_wxIcon swig_types[51]
1486 #define SWIGTYPE_p_wxIconBundle swig_types[52]
1487 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1488 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
1489 #define SWIGTYPE_p_wxImage swig_types[55]
1490 #define SWIGTYPE_p_wxImageHandler swig_types[56]
1491 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
1492 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
1493 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
1494 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
1495 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
1496 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
1497 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
1498 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
1499 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
1500 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
1501 #define SWIGTYPE_p_wxMenu swig_types[67]
1502 #define SWIGTYPE_p_wxMenuBar swig_types[68]
1503 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
1504 #define SWIGTYPE_p_wxMenuItem swig_types[70]
1505 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
1506 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
1507 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
1508 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
1509 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
1510 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
1511 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
1512 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
1513 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
1514 #define SWIGTYPE_p_wxObject swig_types[80]
1515 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
1516 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
1517 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
1518 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
1519 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
1520 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
1521 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1522 #define SWIGTYPE_p_wxPanel swig_types[88]
1523 #define SWIGTYPE_p_wxPaperSize swig_types[89]
1524 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
1525 #define SWIGTYPE_p_wxPoint swig_types[91]
1526 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
1527 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
1528 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
1529 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
1530 #define SWIGTYPE_p_wxPrintData swig_types[96]
1531 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
1532 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
1533 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
1534 #define SWIGTYPE_p_wxPrinter swig_types[100]
1535 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
1536 #define SWIGTYPE_p_wxPyApp swig_types[102]
1537 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
1538 #define SWIGTYPE_p_wxPyEvent swig_types[104]
1539 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
1540 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
1541 #define SWIGTYPE_p_wxPyPanel swig_types[107]
1542 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
1543 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
1544 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
1545 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
1546 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
1547 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
1548 #define SWIGTYPE_p_wxPySizer swig_types[114]
1549 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
1550 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
1551 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
1552 #define SWIGTYPE_p_wxPyValidator swig_types[118]
1553 #define SWIGTYPE_p_wxPyWindow swig_types[119]
1554 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
1555 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
1556 #define SWIGTYPE_p_wxRect swig_types[122]
1557 #define SWIGTYPE_p_wxRegion swig_types[123]
1558 #define SWIGTYPE_p_wxSashEvent swig_types[124]
1559 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
1560 #define SWIGTYPE_p_wxSashWindow swig_types[126]
1561 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
1562 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
1563 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
1564 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
1565 #define SWIGTYPE_p_wxShowEvent swig_types[131]
1566 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
1567 #define SWIGTYPE_p_wxSize swig_types[133]
1568 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
1569 #define SWIGTYPE_p_wxSizer swig_types[135]
1570 #define SWIGTYPE_p_wxSizerItem swig_types[136]
1571 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
1572 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
1573 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
1574 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
1575 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
1576 #define SWIGTYPE_p_wxStatusBar swig_types[142]
1577 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
1578 #define SWIGTYPE_p_wxString swig_types[144]
1579 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
1580 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
1581 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
1582 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
1583 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
1584 #define SWIGTYPE_p_wxTipWindow swig_types[150]
1585 #define SWIGTYPE_p_wxToolBar swig_types[151]
1586 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
1587 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
1588 #define SWIGTYPE_p_wxValidator swig_types[154]
1589 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
1590 #define SWIGTYPE_p_wxWindow swig_types[156]
1591 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
1592 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
1593 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
1594 #define SWIGTYPE_ptrdiff_t swig_types[160]
1595 #define SWIGTYPE_std__ptrdiff_t swig_types[161]
1596 #define SWIGTYPE_unsigned_int swig_types[162]
1597 static swig_type_info
*swig_types
[164];
1598 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
1599 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1600 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1602 /* -------- TYPES TABLE (END) -------- */
1605 /*-----------------------------------------------
1606 @(target):= _windows_.so
1607 ------------------------------------------------*/
1608 #define SWIG_init init_windows_
1610 #define SWIG_name "_windows_"
1612 #include "wx/wxPython/wxPython.h"
1613 #include "wx/wxPython/pyclasses.h"
1616 static const wxString
wxPyEmptyString(wxEmptyString
);
1617 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1625 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1628 if (value
< min_value
) {
1630 PyErr_Format(PyExc_OverflowError
,
1631 "value %ld is less than '%s' minimum %ld",
1632 value
, errmsg
, min_value
);
1635 } else if (value
> max_value
) {
1637 PyErr_Format(PyExc_OverflowError
,
1638 "value %ld is greater than '%s' maximum %ld",
1639 value
, errmsg
, max_value
);
1648 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1650 if (PyNumber_Check(obj
)) {
1651 if (val
) *val
= PyInt_AsLong(obj
);
1655 SWIG_Python_TypeError("number", obj
);
1661 #if INT_MAX != LONG_MAX
1663 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1665 const char* errmsg
= val
? "int" : (char*)0;
1667 if (SWIG_AsVal_long(obj
, &v
)) {
1668 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1669 if (val
) *val
= static_cast<int >(v
);
1678 SWIG_type_error(errmsg
, obj
);
1683 SWIGINTERNINLINE
int
1684 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1686 return SWIG_AsVal_long(obj
,(long*)val
);
1691 SWIGINTERNINLINE
int
1692 SWIG_As_int(PyObject
* obj
)
1695 if (!SWIG_AsVal_int(obj
, &v
)) {
1697 this is needed to make valgrind/purify happier.
1699 memset((void*)&v
, 0, sizeof(int));
1705 SWIGINTERNINLINE
long
1706 SWIG_As_long(PyObject
* obj
)
1709 if (!SWIG_AsVal_long(obj
, &v
)) {
1711 this is needed to make valgrind/purify happier.
1713 memset((void*)&v
, 0, sizeof(long));
1719 SWIGINTERNINLINE
int
1720 SWIG_Check_int(PyObject
* obj
)
1722 return SWIG_AsVal_int(obj
, (int*)0);
1726 SWIGINTERNINLINE
int
1727 SWIG_Check_long(PyObject
* obj
)
1729 return SWIG_AsVal_long(obj
, (long*)0);
1734 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1736 if (obj
== Py_True
) {
1737 if (val
) *val
= true;
1740 if (obj
== Py_False
) {
1741 if (val
) *val
= false;
1745 if (SWIG_AsVal_int(obj
, &res
)) {
1746 if (val
) *val
= res
? true : false;
1752 SWIG_type_error("bool", obj
);
1758 SWIGINTERNINLINE
bool
1759 SWIG_As_bool(PyObject
* obj
)
1762 if (!SWIG_AsVal_bool(obj
, &v
)) {
1764 this is needed to make valgrind/purify happier.
1766 memset((void*)&v
, 0, sizeof(bool));
1772 SWIGINTERNINLINE
int
1773 SWIG_Check_bool(PyObject
* obj
)
1775 return SWIG_AsVal_bool(obj
, (bool*)0);
1779 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1780 #define SWIG_From_int PyInt_FromLong
1784 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1790 } else if (result
== Py_None
) {
1794 if (!PyTuple_Check(result
)) {
1796 result
= PyTuple_New(1);
1797 PyTuple_SET_ITEM(result
, 0, o2
);
1799 o3
= PyTuple_New(1);
1800 PyTuple_SetItem(o3
, 0, obj
);
1802 result
= PySequence_Concat(o2
, o3
);
1812 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1814 if (PyNumber_Check(obj
)) {
1815 if (val
) *val
= PyFloat_AsDouble(obj
);
1819 SWIG_Python_TypeError("number", obj
);
1825 SWIGINTERNINLINE
double
1826 SWIG_As_double(PyObject
* obj
)
1829 if (!SWIG_AsVal_double(obj
, &v
)) {
1831 this is needed to make valgrind/purify happier.
1833 memset((void*)&v
, 0, sizeof(double));
1839 SWIGINTERNINLINE
int
1840 SWIG_Check_double(PyObject
* obj
)
1842 return SWIG_AsVal_double(obj
, (double*)0);
1846 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1847 #define SWIG_From_double PyFloat_FromDouble
1850 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1851 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1852 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1853 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1854 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1855 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1857 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1858 #define SWIG_From_long PyInt_FromLong
1863 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1865 self
->GetFieldRect(i
, r
);
1868 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1869 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1870 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1872 #include <wx/popupwin.h>
1875 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1878 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1879 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1880 : wxPopupTransientWindow(parent
, style
) {}
1882 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1883 DEC_PYCALLBACK__(OnDismiss
);
1884 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1889 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1890 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1891 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1894 #include <wx/tipwin.h>
1896 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1897 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1900 #include <wx/tipwin.h>
1903 #include <wx/vscroll.h>
1906 class wxPyVScrolledWindow
: public wxVScrolledWindow
1908 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
1910 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1912 wxPyVScrolledWindow(wxWindow
*parent
,
1913 wxWindowID id
= wxID_ANY
,
1914 const wxPoint
& pos
= wxDefaultPosition
,
1915 const wxSize
& size
= wxDefaultSize
,
1917 const wxString
& name
= wxPyPanelNameStr
)
1918 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1921 // Overridable virtuals
1923 // this function must be overridden in the derived class and it should
1924 // return the height of the given line in pixels
1925 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1928 // this function doesn't have to be overridden but it may be useful to do
1929 // it if calculating the lines heights is a relatively expensive operation
1930 // as it gives the user code a possibility to calculate several of them at
1933 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1934 // shouldn't rely on the latter being called for all lines in the interval
1935 // specified here. It is also possible that OnGetLineHeight() will be
1936 // called for the lines outside of this interval, so this is really just a
1937 // hint, not a promise.
1939 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1941 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1944 // when the number of lines changes, we try to estimate the total height
1945 // of all lines which is a rather expensive operation in terms of lines
1946 // access, so if the user code may estimate the average height
1947 // better/faster than we do, it should override this function to implement
1950 // this function should return the best guess for the total height it may
1952 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1955 // Also expose some other interesting protected methods
1958 // find the index of the line we need to show at the top of the window such
1959 // that the last (fully or partially) visible line is the given one
1960 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1961 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1963 // get the total height of the lines between lineMin (inclusive) and
1964 // lineMax (exclusive)
1965 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1966 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1972 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1974 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1975 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1976 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1980 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1983 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1984 SWIG_Python_TypeError("unsigned number", obj
);
1987 *val
= (unsigned long)v
;
1992 SWIGINTERNINLINE
unsigned long
1993 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1996 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1998 this is needed to make valgrind/purify happier.
2000 memset((void*)&v
, 0, sizeof(unsigned long));
2006 SWIGINTERNINLINE
int
2007 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2009 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2013 SWIGINTERNINLINE PyObject
*
2014 SWIG_From_unsigned_SS_long(unsigned long value
)
2016 return (value
> LONG_MAX
) ?
2017 PyLong_FromUnsignedLong(value
)
2018 : PyInt_FromLong(static_cast<long >(value
));
2022 #include <wx/vlbox.h>
2024 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2026 class wxPyVListBox
: public wxVListBox
2028 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2030 wxPyVListBox() : wxVListBox() {}
2032 wxPyVListBox(wxWindow
*parent
,
2033 wxWindowID id
= wxID_ANY
,
2034 const wxPoint
& pos
= wxDefaultPosition
,
2035 const wxSize
& size
= wxDefaultSize
,
2037 const wxString
& name
= wxPyVListBoxNameStr
)
2038 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2041 // Overridable virtuals
2043 // the derived class must implement this function to actually draw the item
2044 // with the given index on the provided DC
2045 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2046 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2049 // the derived class must implement this method to return the height of the
2051 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2052 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
2055 // this method may be used to draw separators between the lines; note that
2056 // the rectangle may be modified, typically to deflate it a bit before
2057 // passing to OnDrawItem()
2059 // the base class version doesn't do anything
2060 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2061 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
2064 // this method is used to draw the items background and, maybe, a border
2067 // the base class version implements a reasonable default behaviour which
2068 // consists in drawing the selected item with the standard background
2069 // colour and drawing a border around the item if it is either selected or
2071 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2072 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
2078 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
2080 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
2081 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
2082 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
2083 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
2086 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
2087 unsigned long cookie
= 0;
2088 int selected
= self
->GetFirstSelected(cookie
);
2089 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2090 PyObject
* tup
= PyTuple_New(2);
2091 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2092 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2093 wxPyEndBlockThreads(blocked
);
2096 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
2097 int selected
= self
->GetNextSelected(cookie
);
2098 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2099 PyObject
* tup
= PyTuple_New(2);
2100 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2101 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2102 wxPyEndBlockThreads(blocked
);
2106 #include <wx/htmllbox.h>
2109 class wxPyHtmlListBox
: public wxHtmlListBox
2111 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
2113 wxPyHtmlListBox() : wxHtmlListBox() {}
2115 wxPyHtmlListBox(wxWindow
*parent
,
2116 wxWindowID id
= wxID_ANY
,
2117 const wxPoint
& pos
= wxDefaultPosition
,
2118 const wxSize
& size
= wxDefaultSize
,
2120 const wxString
& name
= wxPyVListBoxNameStr
)
2121 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
2124 // Overridable virtuals
2126 // this method must be implemented in the derived class and should return
2127 // the body (i.e. without <html>) of the HTML for the given item
2128 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
2130 // this function may be overridden to decorate HTML returned by OnGetItem()
2131 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
2134 // // this method allows to customize the selection appearance: it may be used
2135 // // to specify the colour of the text which normally has the given colour
2136 // // colFg when it is inside the selection
2138 // // by default, the original colour is not used at all and all text has the
2139 // // same (default for this system) colour inside selection
2140 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2142 // // this is the same as GetSelectedTextColour() but allows to customize the
2143 // // background colour -- this is even more rarely used as you can change it
2144 // // globally using SetSelectionBackground()
2145 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2152 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
2154 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
2155 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2161 #ifndef wxHAS_TASK_BAR_ICON
2162 // implement dummy classes for platforms that don't have it
2164 class wxTaskBarIcon
: public wxEvtHandler
2167 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2171 class wxTaskBarIconEvent
: public wxEvent
2174 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2175 { wxPyRaiseNotImplemented(); }
2176 virtual wxEvent
* Clone() const { return NULL
; }
2177 bool IsOk() const { return false; }
2178 bool IsIconInstalled() const { return false; }
2179 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2180 bool RemoveIcon() { return false; }
2181 bool PopupMenu(wxMenu
*menu
) { return false; }
2185 wxEVT_TASKBAR_MOVE
= 0,
2186 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2187 wxEVT_TASKBAR_LEFT_UP
= 0,
2188 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2189 wxEVT_TASKBAR_RIGHT_UP
= 0,
2190 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2191 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2196 // Otherwise make a class that can virtualize CreatePopupMenu
2197 class wxPyTaskBarIcon
: public wxTaskBarIcon
2199 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
2201 wxPyTaskBarIcon() : wxTaskBarIcon()
2204 wxMenu
* CreatePopupMenu() {
2205 wxMenu
*rval
= NULL
;
2207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2208 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2211 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2213 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2218 wxPyEndBlockThreads(blocked
);
2220 rval
= wxTaskBarIcon::CreatePopupMenu();
2227 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2231 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2235 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2236 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2237 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2238 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2239 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2240 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2241 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2243 self
->GetFilenames(arr
);
2244 return wxArrayString2PyList_helper(arr
);
2246 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2248 self
->GetPaths(arr
);
2249 return wxArrayString2PyList_helper(arr
);
2251 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2252 return wxArrayInt2PyList_helper(self
->GetSelections());
2254 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
){
2255 return new wxSingleChoiceDialog(parent
, message
, caption
,
2256 choices
, choices_array
, NULL
, style
, pos
);
2258 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2262 // C++ version of Python aware wxWindow
2263 class wxPyWindow
: public wxWindow
2265 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2267 wxPyWindow() : wxWindow() {}
2268 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2269 const wxPoint
& pos
= wxDefaultPosition
,
2270 const wxSize
& size
= wxDefaultSize
,
2272 const wxString
& name
= wxPyPanelNameStr
)
2273 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2275 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2277 bool DoEraseBackground(wxDC
* dc
) {
2279 return wxWindow::DoEraseBackground(dc
->GetHDC());
2281 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2288 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2299 DEC_PYCALLBACK__(InitDialog
);
2300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2302 DEC_PYCALLBACK_BOOL_(Validate
);
2304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2306 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2316 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2321 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2323 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2324 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2325 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2332 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2335 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2336 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2340 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2342 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2347 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2348 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2350 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2352 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
2354 // C++ version of Python aware wxPanel
2355 class wxPyPanel
: public wxPanel
2357 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2359 wxPyPanel() : wxPanel() {}
2360 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2361 const wxPoint
& pos
= wxDefaultPosition
,
2362 const wxSize
& size
= wxDefaultSize
,
2364 const wxString
& name
= wxPyPanelNameStr
)
2365 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2367 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2368 bool DoEraseBackground(wxDC
* dc
) {
2370 return wxWindow::DoEraseBackground(dc
->GetHDC());
2372 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2380 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2391 DEC_PYCALLBACK__(InitDialog
);
2392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2394 DEC_PYCALLBACK_BOOL_(Validate
);
2396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2398 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2408 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2413 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2415 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2416 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2424 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2427 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2428 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2432 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2434 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2439 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2440 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2442 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2444 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
2446 // C++ version of Python aware wxScrolledWindow
2447 class wxPyScrolledWindow
: public wxScrolledWindow
2449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2451 wxPyScrolledWindow() : wxScrolledWindow() {}
2452 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2453 const wxPoint
& pos
= wxDefaultPosition
,
2454 const wxSize
& size
= wxDefaultSize
,
2456 const wxString
& name
= wxPyPanelNameStr
)
2457 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2459 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2460 bool DoEraseBackground(wxDC
* dc
) {
2462 return wxWindow::DoEraseBackground(dc
->GetHDC());
2464 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2470 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2471 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2472 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2473 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2479 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2480 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2482 DEC_PYCALLBACK__(InitDialog
);
2483 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2484 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2485 DEC_PYCALLBACK_BOOL_(Validate
);
2487 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2488 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2489 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2491 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2492 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2494 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2495 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2497 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2499 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2504 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2506 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2507 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2518 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2530 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2531 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2533 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2535 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
2538 #include "wx/wxPython/printfw.h"
2541 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2542 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2543 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2545 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2546 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2547 self
->GetPrivDataLen());
2548 wxPyEndBlockThreads(blocked
);
2551 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2552 if (! PyString_Check(data
)) {
2553 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2554 "Expected string object"));
2558 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2559 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2560 wxPyEndBlockThreads(blocked
);
2564 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2566 // Since this one would be tough and ugly to do with the Macros...
2567 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2568 bool hadErr
= false;
2571 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2572 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2573 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2574 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2577 val
= PyTuple_GetItem(result
, 0);
2578 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2581 val
= PyTuple_GetItem(result
, 1);
2582 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2585 val
= PyTuple_GetItem(result
, 2);
2586 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2589 val
= PyTuple_GetItem(result
, 3);
2590 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2597 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2602 wxPyEndBlockThreads(blocked
);
2604 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2609 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2610 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2614 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2615 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2621 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2622 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
2625 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2626 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2629 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2630 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2631 PyObject* win = wxPyMake_wxObject(a,false); \
2632 PyObject* dc = wxPyMake_wxObject(&b,false); \
2633 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2637 wxPyEndBlockThreads(blocked); \
2639 rval = PCLASS::CBNAME(a, b); \
2646 class wxPyPrintPreview
: public wxPrintPreview
2648 DECLARE_CLASS(wxPyPrintPreview
)
2650 wxPyPrintPreview(wxPyPrintout
* printout
,
2651 wxPyPrintout
* printoutForPrinting
,
2652 wxPrintDialogData
* data
=NULL
)
2653 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2655 wxPyPrintPreview(wxPyPrintout
* printout
,
2656 wxPyPrintout
* printoutForPrinting
,
2658 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2661 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2662 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2663 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2664 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2665 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2666 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2667 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2672 // Stupid renamed classes... Fix this in 2.5...
2673 #if defined(__WXMSW__)
2674 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2675 #elif defined(__WXMAC__)
2676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2681 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2685 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2686 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2687 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2690 class wxPyPreviewFrame
: public wxPreviewFrame
2692 DECLARE_CLASS(wxPyPreviewFrame
)
2694 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2695 const wxString
& title
,
2696 const wxPoint
& pos
= wxDefaultPosition
,
2697 const wxSize
& size
= wxDefaultSize
,
2698 long style
= wxDEFAULT_FRAME_STYLE
,
2699 const wxString
& name
= wxPyFrameNameStr
)
2700 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2703 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2704 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2706 DEC_PYCALLBACK_VOID_(Initialize
);
2707 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2708 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2713 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2720 class wxPyPreviewControlBar
: public wxPreviewControlBar
2722 DECLARE_CLASS(wxPyPreviewControlBar
)
2724 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2727 const wxPoint
& pos
= wxDefaultPosition
,
2728 const wxSize
& size
= wxDefaultSize
,
2730 const wxString
& name
= wxPyPanelNameStr
)
2731 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2734 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2736 DEC_PYCALLBACK_VOID_(CreateButtons
);
2737 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2742 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2743 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2744 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2749 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
= NULL
;
2751 wxWindow
*arg1
= (wxWindow
*) 0 ;
2752 int arg2
= (int) (int)-1 ;
2753 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2754 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2755 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2756 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2757 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2758 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2759 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2763 bool temp6
= false ;
2764 PyObject
* obj0
= 0 ;
2765 PyObject
* obj1
= 0 ;
2766 PyObject
* obj2
= 0 ;
2767 PyObject
* obj3
= 0 ;
2768 PyObject
* obj4
= 0 ;
2769 PyObject
* obj5
= 0 ;
2771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2776 if (SWIG_arg_fail(1)) SWIG_fail
;
2779 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
2780 if (SWIG_arg_fail(2)) SWIG_fail
;
2786 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2792 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2797 arg5
= static_cast<long >(SWIG_As_long(obj4
));
2798 if (SWIG_arg_fail(5)) SWIG_fail
;
2803 arg6
= wxString_in_helper(obj5
);
2804 if (arg6
== NULL
) SWIG_fail
;
2809 if (!wxPyCheckForApp()) SWIG_fail
;
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2831 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
= NULL
;
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2840 if (!wxPyCheckForApp()) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 result
= (wxPanel
*)new wxPanel();
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2854 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
*resultobj
= NULL
;
2856 wxPanel
*arg1
= (wxPanel
*) 0 ;
2857 wxWindow
*arg2
= (wxWindow
*) 0 ;
2858 int arg3
= (int) (int)-1 ;
2859 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2860 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2861 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2862 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2863 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2864 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2865 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2869 bool temp7
= false ;
2870 PyObject
* obj0
= 0 ;
2871 PyObject
* obj1
= 0 ;
2872 PyObject
* obj2
= 0 ;
2873 PyObject
* obj3
= 0 ;
2874 PyObject
* obj4
= 0 ;
2875 PyObject
* obj5
= 0 ;
2876 PyObject
* obj6
= 0 ;
2878 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2883 if (SWIG_arg_fail(1)) SWIG_fail
;
2884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2885 if (SWIG_arg_fail(2)) SWIG_fail
;
2888 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
2889 if (SWIG_arg_fail(3)) SWIG_fail
;
2895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2906 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2907 if (SWIG_arg_fail(6)) SWIG_fail
;
2912 arg7
= wxString_in_helper(obj6
);
2913 if (arg7
== NULL
) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2941 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
= NULL
;
2943 wxPanel
*arg1
= (wxPanel
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2951 if (SWIG_arg_fail(1)) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 (arg1
)->InitDialog();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 Py_INCREF(Py_None
); resultobj
= Py_None
;
2966 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
= NULL
;
2968 wxPanel
*arg1
= (wxPanel
*) 0 ;
2969 PyObject
* obj0
= 0 ;
2971 (char *) "self", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2976 if (SWIG_arg_fail(1)) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2984 Py_INCREF(Py_None
); resultobj
= Py_None
;
2991 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
= NULL
;
2993 wxPanel
*arg1
= (wxPanel
*) 0 ;
2994 PyObject
* obj0
= 0 ;
2996 (char *) "self", NULL
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
3000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
3001 if (SWIG_arg_fail(1)) SWIG_fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 (arg1
)->SetFocusIgnoringChildren();
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3009 Py_INCREF(Py_None
); resultobj
= Py_None
;
3016 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
= NULL
;
3018 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3019 wxVisualAttributes result
;
3020 PyObject
* obj0
= 0 ;
3022 (char *) "variant", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3028 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3029 if (SWIG_arg_fail(1)) SWIG_fail
;
3033 if (!wxPyCheckForApp()) SWIG_fail
;
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) SWIG_fail
;
3041 wxVisualAttributes
* resultptr
;
3042 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3051 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
3053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3054 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
3056 return Py_BuildValue((char *)"");
3058 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
= NULL
;
3060 wxWindow
*arg1
= (wxWindow
*) 0 ;
3061 int arg2
= (int) (int)-1 ;
3062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3066 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3067 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3068 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3069 wxScrolledWindow
*result
;
3072 bool temp6
= false ;
3073 PyObject
* obj0
= 0 ;
3074 PyObject
* obj1
= 0 ;
3075 PyObject
* obj2
= 0 ;
3076 PyObject
* obj3
= 0 ;
3077 PyObject
* obj4
= 0 ;
3078 PyObject
* obj5
= 0 ;
3080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3085 if (SWIG_arg_fail(1)) SWIG_fail
;
3088 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
3089 if (SWIG_arg_fail(2)) SWIG_fail
;
3095 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3101 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3106 arg5
= static_cast<long >(SWIG_As_long(obj4
));
3107 if (SWIG_arg_fail(5)) SWIG_fail
;
3112 arg6
= wxString_in_helper(obj5
);
3113 if (arg6
== NULL
) SWIG_fail
;
3118 if (!wxPyCheckForApp()) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3140 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
= NULL
;
3142 wxScrolledWindow
*result
;
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
3149 if (!wxPyCheckForApp()) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= (wxScrolledWindow
*)new wxScrolledWindow();
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3163 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
= NULL
;
3165 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3166 wxWindow
*arg2
= (wxWindow
*) 0 ;
3167 int arg3
= (int) (int)-1 ;
3168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3172 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3173 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3174 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3178 bool temp7
= false ;
3179 PyObject
* obj0
= 0 ;
3180 PyObject
* obj1
= 0 ;
3181 PyObject
* obj2
= 0 ;
3182 PyObject
* obj3
= 0 ;
3183 PyObject
* obj4
= 0 ;
3184 PyObject
* obj5
= 0 ;
3185 PyObject
* obj6
= 0 ;
3187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3192 if (SWIG_arg_fail(1)) SWIG_fail
;
3193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3194 if (SWIG_arg_fail(2)) SWIG_fail
;
3197 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
3198 if (SWIG_arg_fail(3)) SWIG_fail
;
3204 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3210 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3215 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3216 if (SWIG_arg_fail(6)) SWIG_fail
;
3221 arg7
= wxString_in_helper(obj6
);
3222 if (arg7
== NULL
) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3250 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
= NULL
;
3252 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3257 int arg6
= (int) 0 ;
3258 int arg7
= (int) 0 ;
3259 bool arg8
= (bool) false ;
3260 PyObject
* obj0
= 0 ;
3261 PyObject
* obj1
= 0 ;
3262 PyObject
* obj2
= 0 ;
3263 PyObject
* obj3
= 0 ;
3264 PyObject
* obj4
= 0 ;
3265 PyObject
* obj5
= 0 ;
3266 PyObject
* obj6
= 0 ;
3267 PyObject
* obj7
= 0 ;
3269 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3274 if (SWIG_arg_fail(1)) SWIG_fail
;
3276 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3277 if (SWIG_arg_fail(2)) SWIG_fail
;
3280 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3281 if (SWIG_arg_fail(3)) SWIG_fail
;
3284 arg4
= static_cast<int >(SWIG_As_int(obj3
));
3285 if (SWIG_arg_fail(4)) SWIG_fail
;
3288 arg5
= static_cast<int >(SWIG_As_int(obj4
));
3289 if (SWIG_arg_fail(5)) SWIG_fail
;
3293 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3294 if (SWIG_arg_fail(6)) SWIG_fail
;
3299 arg7
= static_cast<int >(SWIG_As_int(obj6
));
3300 if (SWIG_arg_fail(7)) SWIG_fail
;
3305 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
3306 if (SWIG_arg_fail(8)) SWIG_fail
;
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 Py_INCREF(Py_None
); resultobj
= Py_None
;
3323 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
= NULL
;
3325 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3328 PyObject
* obj0
= 0 ;
3329 PyObject
* obj1
= 0 ;
3330 PyObject
* obj2
= 0 ;
3332 (char *) "self",(char *) "x",(char *) "y", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3337 if (SWIG_arg_fail(1)) SWIG_fail
;
3339 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3340 if (SWIG_arg_fail(2)) SWIG_fail
;
3343 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3344 if (SWIG_arg_fail(3)) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 (arg1
)->Scroll(arg2
,arg3
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 Py_INCREF(Py_None
); resultobj
= Py_None
;
3360 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
= NULL
;
3362 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3366 PyObject
* obj1
= 0 ;
3368 (char *) "self",(char *) "orient", NULL
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3373 if (SWIG_arg_fail(1)) SWIG_fail
;
3375 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3376 if (SWIG_arg_fail(2)) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3386 resultobj
= SWIG_From_int(static_cast<int >(result
));
3394 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
= NULL
;
3396 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3399 PyObject
* obj0
= 0 ;
3400 PyObject
* obj1
= 0 ;
3401 PyObject
* obj2
= 0 ;
3403 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3408 if (SWIG_arg_fail(1)) SWIG_fail
;
3410 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3411 if (SWIG_arg_fail(2)) SWIG_fail
;
3414 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3415 if (SWIG_arg_fail(3)) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 Py_INCREF(Py_None
); resultobj
= Py_None
;
3431 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
= NULL
;
3433 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3438 PyObject
* obj2
= 0 ;
3440 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3445 if (SWIG_arg_fail(1)) SWIG_fail
;
3447 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3448 if (SWIG_arg_fail(2)) SWIG_fail
;
3451 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3452 if (SWIG_arg_fail(3)) SWIG_fail
;
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 (arg1
)->SetScrollRate(arg2
,arg3
);
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3461 Py_INCREF(Py_None
); resultobj
= Py_None
;
3468 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
*resultobj
= NULL
;
3470 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3471 int *arg2
= (int *) 0 ;
3472 int *arg3
= (int *) 0 ;
3477 PyObject
* obj0
= 0 ;
3479 (char *) "self", NULL
3482 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3483 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3486 if (SWIG_arg_fail(1)) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3495 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3496 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3497 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3498 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3505 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
*resultobj
= NULL
;
3507 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3510 PyObject
* obj0
= 0 ;
3511 PyObject
* obj1
= 0 ;
3512 PyObject
* obj2
= 0 ;
3514 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3519 if (SWIG_arg_fail(1)) SWIG_fail
;
3521 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3522 if (SWIG_arg_fail(2)) SWIG_fail
;
3525 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
3526 if (SWIG_arg_fail(3)) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 (arg1
)->EnableScrolling(arg2
,arg3
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 Py_INCREF(Py_None
); resultobj
= Py_None
;
3542 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
= NULL
;
3544 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3545 int *arg2
= (int *) 0 ;
3546 int *arg3
= (int *) 0 ;
3551 PyObject
* obj0
= 0 ;
3553 (char *) "self", NULL
3556 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3557 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3560 if (SWIG_arg_fail(1)) SWIG_fail
;
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3568 Py_INCREF(Py_None
); resultobj
= Py_None
;
3569 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3570 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3571 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3572 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3579 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
= NULL
;
3581 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3584 PyObject
* obj0
= 0 ;
3585 PyObject
* obj1
= 0 ;
3586 PyObject
* obj2
= 0 ;
3588 (char *) "self",(char *) "xs",(char *) "ys", NULL
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3593 if (SWIG_arg_fail(1)) SWIG_fail
;
3595 arg2
= static_cast<double >(SWIG_As_double(obj1
));
3596 if (SWIG_arg_fail(2)) SWIG_fail
;
3599 arg3
= static_cast<double >(SWIG_As_double(obj2
));
3600 if (SWIG_arg_fail(3)) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 (arg1
)->SetScale(arg2
,arg3
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3609 Py_INCREF(Py_None
); resultobj
= Py_None
;
3616 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
= NULL
;
3618 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3620 PyObject
* obj0
= 0 ;
3622 (char *) "self", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3636 resultobj
= SWIG_From_double(static_cast<double >(result
));
3644 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
= NULL
;
3646 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3650 (char *) "self", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3655 if (SWIG_arg_fail(1)) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3664 resultobj
= SWIG_From_double(static_cast<double >(result
));
3672 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3673 PyObject
*resultobj
= NULL
;
3674 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3678 PyObject
* obj0
= 0 ;
3679 PyObject
* obj1
= 0 ;
3681 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail
;
3686 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3696 wxPoint
* resultptr
;
3697 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3706 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3707 PyObject
*resultobj
= NULL
;
3708 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3711 int *arg4
= (int *) 0 ;
3712 int *arg5
= (int *) 0 ;
3717 PyObject
* obj0
= 0 ;
3718 PyObject
* obj1
= 0 ;
3719 PyObject
* obj2
= 0 ;
3721 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3722 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3723 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3725 if (SWIG_arg_fail(1)) SWIG_fail
;
3727 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3728 if (SWIG_arg_fail(2)) SWIG_fail
;
3731 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3732 if (SWIG_arg_fail(3)) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 Py_INCREF(Py_None
); resultobj
= Py_None
;
3742 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3743 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3744 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3745 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3752 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3757 argc
= PyObject_Length(args
);
3758 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3759 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3765 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3774 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3777 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3785 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3793 _v
= SWIG_Check_int(argv
[1]);
3795 _v
= SWIG_Check_int(argv
[2]);
3797 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3803 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3808 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3809 PyObject
*resultobj
= NULL
;
3810 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3814 PyObject
* obj0
= 0 ;
3815 PyObject
* obj1
= 0 ;
3817 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3819 if (SWIG_arg_fail(1)) SWIG_fail
;
3822 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3832 wxPoint
* resultptr
;
3833 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3842 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3843 PyObject
*resultobj
= NULL
;
3844 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3847 int *arg4
= (int *) 0 ;
3848 int *arg5
= (int *) 0 ;
3853 PyObject
* obj0
= 0 ;
3854 PyObject
* obj1
= 0 ;
3855 PyObject
* obj2
= 0 ;
3857 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3858 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3859 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3861 if (SWIG_arg_fail(1)) SWIG_fail
;
3863 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3864 if (SWIG_arg_fail(2)) SWIG_fail
;
3867 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3868 if (SWIG_arg_fail(3)) SWIG_fail
;
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) SWIG_fail
;
3877 Py_INCREF(Py_None
); resultobj
= Py_None
;
3878 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3879 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3880 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3881 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3888 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3893 argc
= PyObject_Length(args
);
3894 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3895 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3901 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3910 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3913 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3921 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3929 _v
= SWIG_Check_int(argv
[1]);
3931 _v
= SWIG_Check_int(argv
[2]);
3933 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3939 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3944 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
= NULL
;
3946 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3947 PyObject
* obj0
= 0 ;
3949 (char *) "self", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3954 if (SWIG_arg_fail(1)) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 (arg1
)->AdjustScrollbars();
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 Py_INCREF(Py_None
); resultobj
= Py_None
;
3969 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
= NULL
;
3971 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3972 wxScrollWinEvent
*arg2
= 0 ;
3974 PyObject
* obj0
= 0 ;
3975 PyObject
* obj1
= 0 ;
3977 (char *) "self",(char *) "event", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3982 if (SWIG_arg_fail(1)) SWIG_fail
;
3984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3985 if (SWIG_arg_fail(2)) SWIG_fail
;
3987 SWIG_null_ref("wxScrollWinEvent");
3989 if (SWIG_arg_fail(2)) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= SWIG_From_int(static_cast<int >(result
));
4007 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
= NULL
;
4009 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4010 wxWindow
*arg2
= (wxWindow
*) 0 ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4014 (char *) "self",(char *) "target", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
4018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4019 if (SWIG_arg_fail(1)) SWIG_fail
;
4020 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4021 if (SWIG_arg_fail(2)) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 (arg1
)->SetTargetWindow(arg2
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 Py_INCREF(Py_None
); resultobj
= Py_None
;
4036 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
= NULL
;
4038 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4040 PyObject
* obj0
= 0 ;
4042 (char *) "self", NULL
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
4046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4047 if (SWIG_arg_fail(1)) SWIG_fail
;
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4056 resultobj
= wxPyMake_wxObject(result
, 0);
4064 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
= NULL
;
4066 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4069 PyObject
* obj0
= 0 ;
4070 PyObject
* obj1
= 0 ;
4072 (char *) "self",(char *) "rect", NULL
4075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",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
;
4080 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 Py_INCREF(Py_None
); resultobj
= Py_None
;
4096 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
= NULL
;
4098 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4102 (char *) "self", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
4106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4107 if (SWIG_arg_fail(1)) SWIG_fail
;
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4117 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
4118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4126 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
*resultobj
= NULL
;
4128 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4130 PyObject
* obj0
= 0 ;
4131 PyObject
* obj1
= 0 ;
4133 (char *) "self",(char *) "dc", NULL
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
4137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4138 if (SWIG_arg_fail(1)) SWIG_fail
;
4140 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4141 if (SWIG_arg_fail(2)) SWIG_fail
;
4143 SWIG_null_ref("wxDC");
4145 if (SWIG_arg_fail(2)) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 (arg1
)->DoPrepareDC(*arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 Py_INCREF(Py_None
); resultobj
= Py_None
;
4161 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
= NULL
;
4163 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4164 wxVisualAttributes result
;
4165 PyObject
* obj0
= 0 ;
4167 (char *) "variant", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4173 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4174 if (SWIG_arg_fail(1)) SWIG_fail
;
4178 if (!wxPyCheckForApp()) SWIG_fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4186 wxVisualAttributes
* resultptr
;
4187 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4196 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4199 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4201 return Py_BuildValue((char *)"");
4203 static int _wrap_FrameNameStr_set(PyObject
*) {
4204 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4209 static PyObject
*_wrap_FrameNameStr_get(void) {
4210 PyObject
*pyobj
= NULL
;
4214 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4216 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4223 static int _wrap_DialogNameStr_set(PyObject
*) {
4224 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4229 static PyObject
*_wrap_DialogNameStr_get(void) {
4230 PyObject
*pyobj
= NULL
;
4234 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4236 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4243 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4244 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4249 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4250 PyObject
*pyobj
= NULL
;
4254 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4256 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4263 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4264 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4269 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4270 PyObject
*pyobj
= NULL
;
4274 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4276 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4283 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
= NULL
;
4285 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4286 bool arg2
= (bool) true ;
4287 PyObject
* obj0
= 0 ;
4288 PyObject
* obj1
= 0 ;
4290 (char *) "self",(char *) "maximize", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail
;
4298 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4299 if (SWIG_arg_fail(2)) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 (arg1
)->Maximize(arg2
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 Py_INCREF(Py_None
); resultobj
= Py_None
;
4316 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
= NULL
;
4318 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4319 PyObject
* obj0
= 0 ;
4321 (char *) "self", NULL
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4326 if (SWIG_arg_fail(1)) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 Py_INCREF(Py_None
); resultobj
= Py_None
;
4341 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= NULL
;
4343 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4344 bool arg2
= (bool) true ;
4345 PyObject
* obj0
= 0 ;
4346 PyObject
* obj1
= 0 ;
4348 (char *) "self",(char *) "iconize", NULL
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4353 if (SWIG_arg_fail(1)) SWIG_fail
;
4356 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4357 if (SWIG_arg_fail(2)) SWIG_fail
;
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 (arg1
)->Iconize(arg2
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 Py_INCREF(Py_None
); resultobj
= Py_None
;
4374 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
= NULL
;
4376 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4378 PyObject
* obj0
= 0 ;
4380 (char *) "self", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4385 if (SWIG_arg_fail(1)) SWIG_fail
;
4387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4388 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4402 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
= NULL
;
4404 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4406 PyObject
* obj0
= 0 ;
4408 (char *) "self", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4413 if (SWIG_arg_fail(1)) SWIG_fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4430 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
= NULL
;
4432 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4434 PyObject
* obj0
= 0 ;
4436 (char *) "self", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4441 if (SWIG_arg_fail(1)) SWIG_fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4451 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
4452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4460 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
= NULL
;
4462 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4464 PyObject
* obj0
= 0 ;
4465 PyObject
* obj1
= 0 ;
4467 (char *) "self",(char *) "icon", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4472 if (SWIG_arg_fail(1)) SWIG_fail
;
4474 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4475 if (SWIG_arg_fail(2)) SWIG_fail
;
4477 SWIG_null_ref("wxIcon");
4479 if (SWIG_arg_fail(2)) SWIG_fail
;
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 Py_INCREF(Py_None
); resultobj
= Py_None
;
4495 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
= NULL
;
4497 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4498 wxIconBundle
*arg2
= 0 ;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4502 (char *) "self",(char *) "icons", NULL
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail
;
4509 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4510 if (SWIG_arg_fail(2)) SWIG_fail
;
4512 SWIG_null_ref("wxIconBundle");
4514 if (SWIG_arg_fail(2)) SWIG_fail
;
4517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 Py_INCREF(Py_None
); resultobj
= Py_None
;
4530 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
*resultobj
= NULL
;
4532 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4534 long arg3
= (long) wxFULLSCREEN_ALL
;
4536 PyObject
* obj0
= 0 ;
4537 PyObject
* obj1
= 0 ;
4538 PyObject
* obj2
= 0 ;
4540 (char *) "self",(char *) "show",(char *) "style", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4545 if (SWIG_arg_fail(1)) SWIG_fail
;
4547 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4548 if (SWIG_arg_fail(2)) SWIG_fail
;
4552 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4553 if (SWIG_arg_fail(3)) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4572 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
= NULL
;
4574 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "self", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4583 if (SWIG_arg_fail(1)) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4600 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
= NULL
;
4602 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4603 wxString
*arg2
= 0 ;
4604 bool temp2
= false ;
4605 PyObject
* obj0
= 0 ;
4606 PyObject
* obj1
= 0 ;
4608 (char *) "self",(char *) "title", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4613 if (SWIG_arg_fail(1)) SWIG_fail
;
4615 arg2
= wxString_in_helper(obj1
);
4616 if (arg2
== NULL
) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 (arg1
)->SetTitle((wxString
const &)*arg2
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 Py_INCREF(Py_None
); resultobj
= Py_None
;
4641 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
= NULL
;
4643 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4645 PyObject
* obj0
= 0 ;
4647 (char *) "self", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4652 if (SWIG_arg_fail(1)) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4673 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
= NULL
;
4675 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4676 wxRegion
*arg2
= 0 ;
4678 PyObject
* obj0
= 0 ;
4679 PyObject
* obj1
= 0 ;
4681 (char *) "self",(char *) "region", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4686 if (SWIG_arg_fail(1)) SWIG_fail
;
4688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4689 if (SWIG_arg_fail(2)) SWIG_fail
;
4691 SWIG_null_ref("wxRegion");
4693 if (SWIG_arg_fail(2)) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4711 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
*resultobj
= NULL
;
4713 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4714 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4718 (char *) "self",(char *) "flags", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",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
;
4726 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4727 if (SWIG_arg_fail(2)) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 (arg1
)->RequestUserAttention(arg2
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 Py_INCREF(Py_None
); resultobj
= Py_None
;
4744 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
= NULL
;
4746 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "self", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4755 if (SWIG_arg_fail(1)) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (bool)(arg1
)->IsActive();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4772 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
= NULL
;
4774 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4776 PyObject
* obj0
= 0 ;
4777 PyObject
* obj1
= 0 ;
4779 (char *) "self",(char *) "on", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4784 if (SWIG_arg_fail(1)) SWIG_fail
;
4786 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4787 if (SWIG_arg_fail(2)) SWIG_fail
;
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4796 Py_INCREF(Py_None
); resultobj
= Py_None
;
4803 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
*resultobj
= NULL
;
4805 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4807 PyObject
* obj0
= 0 ;
4809 (char *) "self", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4814 if (SWIG_arg_fail(1)) SWIG_fail
;
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4831 static PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
= NULL
;
4833 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4834 int arg2
= (int) wxBOTH
;
4835 PyObject
* obj0
= 0 ;
4836 PyObject
* obj1
= 0 ;
4838 (char *) "self",(char *) "dir", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
4842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4843 if (SWIG_arg_fail(1)) SWIG_fail
;
4846 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4847 if (SWIG_arg_fail(2)) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 (arg1
)->CenterOnScreen(arg2
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 Py_INCREF(Py_None
); resultobj
= Py_None
;
4864 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4867 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4869 return Py_BuildValue((char *)"");
4871 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
*resultobj
= NULL
;
4873 wxWindow
*arg1
= (wxWindow
*) 0 ;
4874 int arg2
= (int) (int)-1 ;
4875 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4876 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4877 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4878 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4879 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4880 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4881 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4882 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4883 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4885 bool temp3
= false ;
4888 bool temp7
= false ;
4889 PyObject
* obj0
= 0 ;
4890 PyObject
* obj1
= 0 ;
4891 PyObject
* obj2
= 0 ;
4892 PyObject
* obj3
= 0 ;
4893 PyObject
* obj4
= 0 ;
4894 PyObject
* obj5
= 0 ;
4895 PyObject
* obj6
= 0 ;
4897 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4902 if (SWIG_arg_fail(1)) SWIG_fail
;
4905 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
4906 if (SWIG_arg_fail(2)) SWIG_fail
;
4911 arg3
= wxString_in_helper(obj2
);
4912 if (arg3
== NULL
) SWIG_fail
;
4919 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4925 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4930 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4931 if (SWIG_arg_fail(6)) SWIG_fail
;
4936 arg7
= wxString_in_helper(obj6
);
4937 if (arg7
== NULL
) SWIG_fail
;
4942 if (!wxPyCheckForApp()) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4972 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
*resultobj
= NULL
;
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4981 if (!wxPyCheckForApp()) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (wxFrame
*)new wxFrame();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4995 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
= NULL
;
4997 wxFrame
*arg1
= (wxFrame
*) 0 ;
4998 wxWindow
*arg2
= (wxWindow
*) 0 ;
4999 int arg3
= (int) (int)-1 ;
5000 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5001 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5002 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5003 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5004 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5005 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5006 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
5007 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
5008 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5010 bool temp4
= false ;
5013 bool temp8
= false ;
5014 PyObject
* obj0
= 0 ;
5015 PyObject
* obj1
= 0 ;
5016 PyObject
* obj2
= 0 ;
5017 PyObject
* obj3
= 0 ;
5018 PyObject
* obj4
= 0 ;
5019 PyObject
* obj5
= 0 ;
5020 PyObject
* obj6
= 0 ;
5021 PyObject
* obj7
= 0 ;
5023 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5028 if (SWIG_arg_fail(1)) SWIG_fail
;
5029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5030 if (SWIG_arg_fail(2)) SWIG_fail
;
5033 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5034 if (SWIG_arg_fail(3)) SWIG_fail
;
5039 arg4
= wxString_in_helper(obj3
);
5040 if (arg4
== NULL
) SWIG_fail
;
5047 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5053 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5058 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5059 if (SWIG_arg_fail(7)) SWIG_fail
;
5064 arg8
= wxString_in_helper(obj7
);
5065 if (arg8
== NULL
) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5101 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
= NULL
;
5103 wxFrame
*arg1
= (wxFrame
*) 0 ;
5105 PyObject
* obj0
= 0 ;
5107 (char *) "self", NULL
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
5111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5112 if (SWIG_arg_fail(1)) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5121 wxPoint
* resultptr
;
5122 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5131 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= NULL
;
5133 wxFrame
*arg1
= (wxFrame
*) 0 ;
5134 PyObject
* obj0
= 0 ;
5136 (char *) "self", NULL
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
5140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5141 if (SWIG_arg_fail(1)) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 (arg1
)->SendSizeEvent();
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 Py_INCREF(Py_None
); resultobj
= Py_None
;
5156 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
= NULL
;
5158 wxFrame
*arg1
= (wxFrame
*) 0 ;
5159 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5161 PyObject
* obj1
= 0 ;
5163 (char *) "self",(char *) "menubar", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5168 if (SWIG_arg_fail(1)) SWIG_fail
;
5169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
5170 if (SWIG_arg_fail(2)) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 (arg1
)->SetMenuBar(arg2
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 Py_INCREF(Py_None
); resultobj
= Py_None
;
5185 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= NULL
;
5187 wxFrame
*arg1
= (wxFrame
*) 0 ;
5189 PyObject
* obj0
= 0 ;
5191 (char *) "self", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
5195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5196 if (SWIG_arg_fail(1)) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5205 resultobj
= wxPyMake_wxObject(result
, 0);
5213 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
= NULL
;
5215 wxFrame
*arg1
= (wxFrame
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5221 (char *) "self",(char *) "winid", NULL
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5226 if (SWIG_arg_fail(1)) SWIG_fail
;
5228 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5229 if (SWIG_arg_fail(2)) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5247 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
= NULL
;
5249 wxFrame
*arg1
= (wxFrame
*) 0 ;
5250 int arg2
= (int) 1 ;
5251 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5252 int arg4
= (int) 0 ;
5253 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5254 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5255 wxStatusBar
*result
;
5256 bool temp5
= false ;
5257 PyObject
* obj0
= 0 ;
5258 PyObject
* obj1
= 0 ;
5259 PyObject
* obj2
= 0 ;
5260 PyObject
* obj3
= 0 ;
5261 PyObject
* obj4
= 0 ;
5263 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail
;
5271 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5272 if (SWIG_arg_fail(2)) SWIG_fail
;
5277 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5278 if (SWIG_arg_fail(3)) SWIG_fail
;
5283 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5284 if (SWIG_arg_fail(4)) SWIG_fail
;
5289 arg5
= wxString_in_helper(obj4
);
5290 if (arg5
== NULL
) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5318 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
= NULL
;
5320 wxFrame
*arg1
= (wxFrame
*) 0 ;
5321 wxStatusBar
*result
;
5322 PyObject
* obj0
= 0 ;
5324 (char *) "self", NULL
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5329 if (SWIG_arg_fail(1)) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5334 wxPyEndAllowThreads(__tstate
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5338 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5346 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
*resultobj
= NULL
;
5348 wxFrame
*arg1
= (wxFrame
*) 0 ;
5349 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5350 PyObject
* obj0
= 0 ;
5351 PyObject
* obj1
= 0 ;
5353 (char *) "self",(char *) "statBar", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail
;
5359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5360 if (SWIG_arg_fail(2)) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 (arg1
)->SetStatusBar(arg2
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 Py_INCREF(Py_None
); resultobj
= Py_None
;
5375 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
= NULL
;
5377 wxFrame
*arg1
= (wxFrame
*) 0 ;
5378 wxString
*arg2
= 0 ;
5379 int arg3
= (int) 0 ;
5380 bool temp2
= false ;
5381 PyObject
* obj0
= 0 ;
5382 PyObject
* obj1
= 0 ;
5383 PyObject
* obj2
= 0 ;
5385 (char *) "self",(char *) "text",(char *) "number", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5390 if (SWIG_arg_fail(1)) SWIG_fail
;
5392 arg2
= wxString_in_helper(obj1
);
5393 if (arg2
== NULL
) SWIG_fail
;
5398 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5399 if (SWIG_arg_fail(3)) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 Py_INCREF(Py_None
); resultobj
= Py_None
;
5424 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
= NULL
;
5426 wxFrame
*arg1
= (wxFrame
*) 0 ;
5428 int *arg3
= (int *) 0 ;
5429 PyObject
* obj0
= 0 ;
5430 PyObject
* obj1
= 0 ;
5432 (char *) "self",(char *) "widths", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail
;
5439 arg2
= PyList_Size(obj1
);
5440 arg3
= int_LIST_helper(obj1
);
5441 if (arg3
== NULL
) SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 Py_INCREF(Py_None
); resultobj
= Py_None
;
5452 if (arg3
) delete [] arg3
;
5457 if (arg3
) delete [] arg3
;
5463 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
= NULL
;
5465 wxFrame
*arg1
= (wxFrame
*) 0 ;
5466 wxString
*arg2
= 0 ;
5467 int arg3
= (int) 0 ;
5468 bool temp2
= false ;
5469 PyObject
* obj0
= 0 ;
5470 PyObject
* obj1
= 0 ;
5471 PyObject
* obj2
= 0 ;
5473 (char *) "self",(char *) "text",(char *) "number", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5478 if (SWIG_arg_fail(1)) SWIG_fail
;
5480 arg2
= wxString_in_helper(obj1
);
5481 if (arg2
== NULL
) SWIG_fail
;
5486 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5487 if (SWIG_arg_fail(3)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 Py_INCREF(Py_None
); resultobj
= Py_None
;
5512 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
*resultobj
= NULL
;
5514 wxFrame
*arg1
= (wxFrame
*) 0 ;
5515 int arg2
= (int) 0 ;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5519 (char *) "self",(char *) "number", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5524 if (SWIG_arg_fail(1)) SWIG_fail
;
5527 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5528 if (SWIG_arg_fail(2)) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 (arg1
)->PopStatusText(arg2
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 Py_INCREF(Py_None
); resultobj
= Py_None
;
5545 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
= NULL
;
5547 wxFrame
*arg1
= (wxFrame
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5552 (char *) "self",(char *) "n", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5557 if (SWIG_arg_fail(1)) SWIG_fail
;
5559 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5560 if (SWIG_arg_fail(2)) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 (arg1
)->SetStatusBarPane(arg2
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 Py_INCREF(Py_None
); resultobj
= Py_None
;
5576 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
= NULL
;
5578 wxFrame
*arg1
= (wxFrame
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5582 (char *) "self", NULL
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5587 if (SWIG_arg_fail(1)) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_From_int(static_cast<int >(result
));
5604 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
= NULL
;
5606 wxFrame
*arg1
= (wxFrame
*) 0 ;
5607 long arg2
= (long) -1 ;
5608 int arg3
= (int) -1 ;
5609 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5610 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5612 bool temp4
= false ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5615 PyObject
* obj2
= 0 ;
5616 PyObject
* obj3
= 0 ;
5618 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5623 if (SWIG_arg_fail(1)) SWIG_fail
;
5626 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5627 if (SWIG_arg_fail(2)) SWIG_fail
;
5632 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5633 if (SWIG_arg_fail(3)) SWIG_fail
;
5638 arg4
= wxString_in_helper(obj3
);
5639 if (arg4
== NULL
) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5667 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
= NULL
;
5669 wxFrame
*arg1
= (wxFrame
*) 0 ;
5671 PyObject
* obj0
= 0 ;
5673 (char *) "self", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5678 if (SWIG_arg_fail(1)) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5687 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5695 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
= NULL
;
5697 wxFrame
*arg1
= (wxFrame
*) 0 ;
5698 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5699 PyObject
* obj0
= 0 ;
5700 PyObject
* obj1
= 0 ;
5702 (char *) "self",(char *) "toolbar", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail
;
5708 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5709 if (SWIG_arg_fail(2)) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 (arg1
)->SetToolBar(arg2
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5717 Py_INCREF(Py_None
); resultobj
= Py_None
;
5724 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
*resultobj
= NULL
;
5726 wxFrame
*arg1
= (wxFrame
*) 0 ;
5727 wxString
*arg2
= 0 ;
5729 bool temp2
= false ;
5730 PyObject
* obj0
= 0 ;
5731 PyObject
* obj1
= 0 ;
5732 PyObject
* obj2
= 0 ;
5734 (char *) "self",(char *) "text",(char *) "show", NULL
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5739 if (SWIG_arg_fail(1)) SWIG_fail
;
5741 arg2
= wxString_in_helper(obj1
);
5742 if (arg2
== NULL
) SWIG_fail
;
5746 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
5747 if (SWIG_arg_fail(3)) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5756 Py_INCREF(Py_None
); resultobj
= Py_None
;
5771 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
= NULL
;
5773 wxFrame
*arg1
= (wxFrame
*) 0 ;
5774 wxMenu
*arg2
= (wxMenu
*) NULL
;
5775 PyObject
* obj0
= 0 ;
5776 PyObject
* obj1
= 0 ;
5778 (char *) "self",(char *) "menu", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5783 if (SWIG_arg_fail(1)) SWIG_fail
;
5785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5786 if (SWIG_arg_fail(2)) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 (arg1
)->DoMenuUpdates(arg2
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 Py_INCREF(Py_None
); resultobj
= Py_None
;
5802 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
= NULL
;
5804 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5805 wxVisualAttributes result
;
5806 PyObject
* obj0
= 0 ;
5808 (char *) "variant", NULL
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5814 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5815 if (SWIG_arg_fail(1)) SWIG_fail
;
5819 if (!wxPyCheckForApp()) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= wxFrame::GetClassDefaultAttributes(arg1
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5827 wxVisualAttributes
* resultptr
;
5828 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5837 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5840 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5842 return Py_BuildValue((char *)"");
5844 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
= NULL
;
5846 wxWindow
*arg1
= (wxWindow
*) 0 ;
5847 int arg2
= (int) (int)-1 ;
5848 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5849 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5854 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5855 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5856 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5858 bool temp3
= false ;
5861 bool temp7
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 PyObject
* obj2
= 0 ;
5865 PyObject
* obj3
= 0 ;
5866 PyObject
* obj4
= 0 ;
5867 PyObject
* obj5
= 0 ;
5868 PyObject
* obj6
= 0 ;
5870 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5875 if (SWIG_arg_fail(1)) SWIG_fail
;
5878 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
5879 if (SWIG_arg_fail(2)) SWIG_fail
;
5884 arg3
= wxString_in_helper(obj2
);
5885 if (arg3
== NULL
) SWIG_fail
;
5892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5903 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5904 if (SWIG_arg_fail(6)) SWIG_fail
;
5909 arg7
= wxString_in_helper(obj6
);
5910 if (arg7
== NULL
) SWIG_fail
;
5915 if (!wxPyCheckForApp()) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5945 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
*resultobj
= NULL
;
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5954 if (!wxPyCheckForApp()) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (wxDialog
*)new wxDialog();
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5968 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
= NULL
;
5970 wxDialog
*arg1
= (wxDialog
*) 0 ;
5971 wxWindow
*arg2
= (wxWindow
*) 0 ;
5972 int arg3
= (int) (int)-1 ;
5973 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5974 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5975 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5976 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5977 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5978 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5979 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5980 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5981 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5983 bool temp4
= false ;
5986 bool temp8
= false ;
5987 PyObject
* obj0
= 0 ;
5988 PyObject
* obj1
= 0 ;
5989 PyObject
* obj2
= 0 ;
5990 PyObject
* obj3
= 0 ;
5991 PyObject
* obj4
= 0 ;
5992 PyObject
* obj5
= 0 ;
5993 PyObject
* obj6
= 0 ;
5994 PyObject
* obj7
= 0 ;
5996 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6001 if (SWIG_arg_fail(1)) SWIG_fail
;
6002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6003 if (SWIG_arg_fail(2)) SWIG_fail
;
6006 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
6007 if (SWIG_arg_fail(3)) SWIG_fail
;
6012 arg4
= wxString_in_helper(obj3
);
6013 if (arg4
== NULL
) SWIG_fail
;
6020 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6026 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6031 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6032 if (SWIG_arg_fail(7)) SWIG_fail
;
6037 arg8
= wxString_in_helper(obj7
);
6038 if (arg8
== NULL
) SWIG_fail
;
6043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6044 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6046 wxPyEndAllowThreads(__tstate
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6074 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
= NULL
;
6076 wxDialog
*arg1
= (wxDialog
*) 0 ;
6078 PyObject
* obj0
= 0 ;
6079 PyObject
* obj1
= 0 ;
6081 (char *) "self",(char *) "returnCode", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
6085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6086 if (SWIG_arg_fail(1)) SWIG_fail
;
6088 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6089 if (SWIG_arg_fail(2)) SWIG_fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 (arg1
)->SetReturnCode(arg2
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 Py_INCREF(Py_None
); resultobj
= Py_None
;
6105 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
= NULL
;
6107 wxDialog
*arg1
= (wxDialog
*) 0 ;
6109 PyObject
* obj0
= 0 ;
6111 (char *) "self", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
6115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6116 if (SWIG_arg_fail(1)) SWIG_fail
;
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= SWIG_From_int(static_cast<int >(result
));
6133 static PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
*resultobj
= NULL
;
6135 wxDialog
*arg1
= (wxDialog
*) 0 ;
6137 PyObject
* obj0
= 0 ;
6138 PyObject
* obj1
= 0 ;
6140 (char *) "self",(char *) "affirmativeId", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) goto fail
;
6144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6145 if (SWIG_arg_fail(1)) SWIG_fail
;
6147 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6148 if (SWIG_arg_fail(2)) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 (arg1
)->SetAffirmativeId(arg2
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6157 Py_INCREF(Py_None
); resultobj
= Py_None
;
6164 static PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
= NULL
;
6166 wxDialog
*arg1
= (wxDialog
*) 0 ;
6168 PyObject
* obj0
= 0 ;
6170 (char *) "self", NULL
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetAffirmativeId",kwnames
,&obj0
)) goto fail
;
6174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6175 if (SWIG_arg_fail(1)) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6184 resultobj
= SWIG_From_int(static_cast<int >(result
));
6192 static PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
= NULL
;
6194 wxDialog
*arg1
= (wxDialog
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6199 (char *) "self",(char *) "escapeId", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6207 if (SWIG_arg_fail(2)) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 (arg1
)->SetEscapeId(arg2
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 Py_INCREF(Py_None
); resultobj
= Py_None
;
6223 static PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
= NULL
;
6225 wxDialog
*arg1
= (wxDialog
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6229 (char *) "self", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetEscapeId",kwnames
,&obj0
)) goto fail
;
6233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6234 if (SWIG_arg_fail(1)) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= SWIG_From_int(static_cast<int >(result
));
6251 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
= NULL
;
6253 wxDialog
*arg1
= (wxDialog
*) 0 ;
6254 wxString
*arg2
= 0 ;
6256 bool temp2
= false ;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6260 (char *) "self",(char *) "message", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6265 if (SWIG_arg_fail(1)) SWIG_fail
;
6267 arg2
= wxString_in_helper(obj1
);
6268 if (arg2
== NULL
) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6295 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
= NULL
;
6297 wxDialog
*arg1
= (wxDialog
*) 0 ;
6299 bool arg3
= (bool) false ;
6300 int arg4
= (int) 0 ;
6302 PyObject
* obj0
= 0 ;
6303 PyObject
* obj1
= 0 ;
6304 PyObject
* obj2
= 0 ;
6305 PyObject
* obj3
= 0 ;
6307 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6312 if (SWIG_arg_fail(1)) SWIG_fail
;
6314 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6315 if (SWIG_arg_fail(2)) SWIG_fail
;
6319 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
6320 if (SWIG_arg_fail(3)) SWIG_fail
;
6325 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6326 if (SWIG_arg_fail(4)) SWIG_fail
;
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6345 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
= NULL
;
6347 wxDialog
*arg1
= (wxDialog
*) 0 ;
6349 wxStdDialogButtonSizer
*result
;
6350 PyObject
* obj0
= 0 ;
6351 PyObject
* obj1
= 0 ;
6353 (char *) "self",(char *) "flags", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6358 if (SWIG_arg_fail(1)) SWIG_fail
;
6360 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6361 if (SWIG_arg_fail(2)) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6377 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
= NULL
;
6379 wxDialog
*arg1
= (wxDialog
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6383 (char *) "self", NULL
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6388 if (SWIG_arg_fail(1)) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6405 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
= NULL
;
6407 wxDialog
*arg1
= (wxDialog
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6411 (char *) "self", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6416 if (SWIG_arg_fail(1)) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 result
= (int)(arg1
)->ShowModal();
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_From_int(static_cast<int >(result
));
6433 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
= NULL
;
6435 wxDialog
*arg1
= (wxDialog
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6438 PyObject
* obj1
= 0 ;
6440 (char *) "self",(char *) "retCode", NULL
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6445 if (SWIG_arg_fail(1)) SWIG_fail
;
6447 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6448 if (SWIG_arg_fail(2)) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 (arg1
)->EndModal(arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
= NULL
;
6466 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6467 wxVisualAttributes result
;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "variant", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6476 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6477 if (SWIG_arg_fail(1)) SWIG_fail
;
6481 if (!wxPyCheckForApp()) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 result
= wxDialog::GetClassDefaultAttributes(arg1
);
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6489 wxVisualAttributes
* resultptr
;
6490 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6499 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6502 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6504 return Py_BuildValue((char *)"");
6506 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
*resultobj
= NULL
;
6508 wxWindow
*arg1
= (wxWindow
*) 0 ;
6509 int arg2
= (int) (int)-1 ;
6510 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6511 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6512 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6513 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6514 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6515 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6516 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6517 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6518 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6519 wxMiniFrame
*result
;
6520 bool temp3
= false ;
6523 bool temp7
= false ;
6524 PyObject
* obj0
= 0 ;
6525 PyObject
* obj1
= 0 ;
6526 PyObject
* obj2
= 0 ;
6527 PyObject
* obj3
= 0 ;
6528 PyObject
* obj4
= 0 ;
6529 PyObject
* obj5
= 0 ;
6530 PyObject
* obj6
= 0 ;
6532 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6537 if (SWIG_arg_fail(1)) SWIG_fail
;
6540 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
6541 if (SWIG_arg_fail(2)) SWIG_fail
;
6546 arg3
= wxString_in_helper(obj2
);
6547 if (arg3
== NULL
) SWIG_fail
;
6554 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6560 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6565 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6566 if (SWIG_arg_fail(6)) SWIG_fail
;
6571 arg7
= wxString_in_helper(obj6
);
6572 if (arg7
== NULL
) SWIG_fail
;
6577 if (!wxPyCheckForApp()) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6607 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
= NULL
;
6609 wxMiniFrame
*result
;
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6616 if (!wxPyCheckForApp()) SWIG_fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (wxMiniFrame
*)new wxMiniFrame();
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6630 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
= NULL
;
6632 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6633 wxWindow
*arg2
= (wxWindow
*) 0 ;
6634 int arg3
= (int) (int)-1 ;
6635 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6636 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6637 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6638 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6639 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6640 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6641 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6642 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6643 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6645 bool temp4
= false ;
6648 bool temp8
= false ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6651 PyObject
* obj2
= 0 ;
6652 PyObject
* obj3
= 0 ;
6653 PyObject
* obj4
= 0 ;
6654 PyObject
* obj5
= 0 ;
6655 PyObject
* obj6
= 0 ;
6656 PyObject
* obj7
= 0 ;
6658 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6663 if (SWIG_arg_fail(1)) SWIG_fail
;
6664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6665 if (SWIG_arg_fail(2)) SWIG_fail
;
6668 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
6669 if (SWIG_arg_fail(3)) SWIG_fail
;
6674 arg4
= wxString_in_helper(obj3
);
6675 if (arg4
== NULL
) SWIG_fail
;
6682 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6688 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6693 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6694 if (SWIG_arg_fail(7)) SWIG_fail
;
6699 arg8
= wxString_in_helper(obj7
);
6700 if (arg8
== NULL
) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6736 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6739 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6741 return Py_BuildValue((char *)"");
6743 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
= NULL
;
6745 wxBitmap
*arg1
= 0 ;
6746 wxWindow
*arg2
= (wxWindow
*) 0 ;
6748 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6749 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6750 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6751 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6752 long arg6
= (long) wxNO_BORDER
;
6753 wxSplashScreenWindow
*result
;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6758 PyObject
* obj2
= 0 ;
6759 PyObject
* obj3
= 0 ;
6760 PyObject
* obj4
= 0 ;
6761 PyObject
* obj5
= 0 ;
6763 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6769 if (SWIG_arg_fail(1)) SWIG_fail
;
6771 SWIG_null_ref("wxBitmap");
6773 if (SWIG_arg_fail(1)) SWIG_fail
;
6775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6776 if (SWIG_arg_fail(2)) SWIG_fail
;
6778 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6779 if (SWIG_arg_fail(3)) SWIG_fail
;
6784 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6790 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6795 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6796 if (SWIG_arg_fail(6)) SWIG_fail
;
6800 if (!wxPyCheckForApp()) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6814 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
= NULL
;
6816 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6817 wxBitmap
*arg2
= 0 ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6821 (char *) "self",(char *) "bitmap", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6826 if (SWIG_arg_fail(1)) SWIG_fail
;
6828 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6829 if (SWIG_arg_fail(2)) SWIG_fail
;
6831 SWIG_null_ref("wxBitmap");
6833 if (SWIG_arg_fail(2)) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 Py_INCREF(Py_None
); resultobj
= Py_None
;
6849 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
= NULL
;
6851 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6855 (char *) "self", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6860 if (SWIG_arg_fail(1)) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6865 result
= (wxBitmap
*) &_result_ref
;
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6872 wxBitmap
* resultptr
= new wxBitmap(*result
);
6873 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6881 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6884 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6886 return Py_BuildValue((char *)"");
6888 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
= NULL
;
6890 wxBitmap
*arg1
= 0 ;
6893 wxWindow
*arg4
= (wxWindow
*) 0 ;
6894 int arg5
= (int) -1 ;
6895 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6896 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6897 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6898 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6899 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6900 wxSplashScreen
*result
;
6903 PyObject
* obj0
= 0 ;
6904 PyObject
* obj1
= 0 ;
6905 PyObject
* obj2
= 0 ;
6906 PyObject
* obj3
= 0 ;
6907 PyObject
* obj4
= 0 ;
6908 PyObject
* obj5
= 0 ;
6909 PyObject
* obj6
= 0 ;
6910 PyObject
* obj7
= 0 ;
6912 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail
;
6920 SWIG_null_ref("wxBitmap");
6922 if (SWIG_arg_fail(1)) SWIG_fail
;
6925 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6926 if (SWIG_arg_fail(2)) SWIG_fail
;
6929 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6930 if (SWIG_arg_fail(3)) SWIG_fail
;
6932 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6933 if (SWIG_arg_fail(4)) SWIG_fail
;
6936 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6937 if (SWIG_arg_fail(5)) SWIG_fail
;
6943 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6949 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6954 arg8
= static_cast<long >(SWIG_As_long(obj7
));
6955 if (SWIG_arg_fail(8)) SWIG_fail
;
6959 if (!wxPyCheckForApp()) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6973 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6974 PyObject
*resultobj
= NULL
;
6975 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6977 PyObject
* obj0
= 0 ;
6979 (char *) "self", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6984 if (SWIG_arg_fail(1)) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_From_long(static_cast<long >(result
));
7001 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
= NULL
;
7003 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
7004 wxSplashScreenWindow
*result
;
7005 PyObject
* obj0
= 0 ;
7007 (char *) "self", NULL
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
7011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
7012 if (SWIG_arg_fail(1)) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
7027 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
= NULL
;
7029 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
7031 PyObject
* obj0
= 0 ;
7033 (char *) "self", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
7037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
7038 if (SWIG_arg_fail(1)) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_From_int(static_cast<int >(result
));
7055 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
7057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7058 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
7060 return Py_BuildValue((char *)"");
7062 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
= NULL
;
7064 wxWindow
*arg1
= (wxWindow
*) 0 ;
7065 int arg2
= (int) -1 ;
7066 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
7067 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
7068 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7069 wxStatusBar
*result
;
7070 bool temp4
= false ;
7071 PyObject
* obj0
= 0 ;
7072 PyObject
* obj1
= 0 ;
7073 PyObject
* obj2
= 0 ;
7074 PyObject
* obj3
= 0 ;
7076 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7081 if (SWIG_arg_fail(1)) SWIG_fail
;
7084 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7085 if (SWIG_arg_fail(2)) SWIG_fail
;
7090 arg3
= static_cast<long >(SWIG_As_long(obj2
));
7091 if (SWIG_arg_fail(3)) SWIG_fail
;
7096 arg4
= wxString_in_helper(obj3
);
7097 if (arg4
== NULL
) SWIG_fail
;
7102 if (!wxPyCheckForApp()) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
7124 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
= NULL
;
7126 wxStatusBar
*result
;
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
7133 if (!wxPyCheckForApp()) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 result
= (wxStatusBar
*)new wxStatusBar();
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
7147 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
= NULL
;
7149 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7150 wxWindow
*arg2
= (wxWindow
*) 0 ;
7151 int arg3
= (int) -1 ;
7152 long arg4
= (long) wxST_SIZEGRIP
;
7153 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
7154 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
7156 bool temp5
= false ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 PyObject
* obj2
= 0 ;
7160 PyObject
* obj3
= 0 ;
7161 PyObject
* obj4
= 0 ;
7163 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7168 if (SWIG_arg_fail(1)) SWIG_fail
;
7169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7170 if (SWIG_arg_fail(2)) SWIG_fail
;
7173 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7174 if (SWIG_arg_fail(3)) SWIG_fail
;
7179 arg4
= static_cast<long >(SWIG_As_long(obj3
));
7180 if (SWIG_arg_fail(4)) SWIG_fail
;
7185 arg5
= wxString_in_helper(obj4
);
7186 if (arg5
== NULL
) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7214 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
= NULL
;
7216 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7217 int arg2
= (int) 1 ;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7221 (char *) "self",(char *) "number", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7226 if (SWIG_arg_fail(1)) SWIG_fail
;
7229 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7230 if (SWIG_arg_fail(2)) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 (arg1
)->SetFieldsCount(arg2
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7247 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
*resultobj
= NULL
;
7249 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7253 (char *) "self", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
7257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7258 if (SWIG_arg_fail(1)) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7267 resultobj
= SWIG_From_int(static_cast<int >(result
));
7275 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
= NULL
;
7277 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7278 wxString
*arg2
= 0 ;
7279 int arg3
= (int) 0 ;
7280 bool temp2
= false ;
7281 PyObject
* obj0
= 0 ;
7282 PyObject
* obj1
= 0 ;
7283 PyObject
* obj2
= 0 ;
7285 (char *) "self",(char *) "text",(char *) "number", NULL
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7290 if (SWIG_arg_fail(1)) SWIG_fail
;
7292 arg2
= wxString_in_helper(obj1
);
7293 if (arg2
== NULL
) SWIG_fail
;
7298 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7299 if (SWIG_arg_fail(3)) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
= NULL
;
7326 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7327 int arg2
= (int) 0 ;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7332 (char *) "self",(char *) "number", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7337 if (SWIG_arg_fail(1)) SWIG_fail
;
7340 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7341 if (SWIG_arg_fail(2)) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7364 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
= NULL
;
7366 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7367 wxString
*arg2
= 0 ;
7368 int arg3
= (int) 0 ;
7369 bool temp2
= false ;
7370 PyObject
* obj0
= 0 ;
7371 PyObject
* obj1
= 0 ;
7372 PyObject
* obj2
= 0 ;
7374 (char *) "self",(char *) "text",(char *) "number", NULL
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7379 if (SWIG_arg_fail(1)) SWIG_fail
;
7381 arg2
= wxString_in_helper(obj1
);
7382 if (arg2
== NULL
) SWIG_fail
;
7387 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7388 if (SWIG_arg_fail(3)) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 Py_INCREF(Py_None
); resultobj
= Py_None
;
7413 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
= NULL
;
7415 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7416 int arg2
= (int) 0 ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7420 (char *) "self",(char *) "number", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7425 if (SWIG_arg_fail(1)) SWIG_fail
;
7428 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7429 if (SWIG_arg_fail(2)) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 (arg1
)->PopStatusText(arg2
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 Py_INCREF(Py_None
); resultobj
= Py_None
;
7446 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
= NULL
;
7448 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7450 int *arg3
= (int *) 0 ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7454 (char *) "self",(char *) "widths", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7459 if (SWIG_arg_fail(1)) SWIG_fail
;
7461 arg2
= PyList_Size(obj1
);
7462 arg3
= int_LIST_helper(obj1
);
7463 if (arg3
== NULL
) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 Py_INCREF(Py_None
); resultobj
= Py_None
;
7474 if (arg3
) delete [] arg3
;
7479 if (arg3
) delete [] arg3
;
7485 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
= NULL
;
7487 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7489 int *arg3
= (int *) 0 ;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7493 (char *) "self",(char *) "styles", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7498 if (SWIG_arg_fail(1)) SWIG_fail
;
7500 arg2
= PyList_Size(obj1
);
7501 arg3
= int_LIST_helper(obj1
);
7502 if (arg3
== NULL
) SWIG_fail
;
7505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7508 wxPyEndAllowThreads(__tstate
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 Py_INCREF(Py_None
); resultobj
= Py_None
;
7513 if (arg3
) delete [] arg3
;
7518 if (arg3
) delete [] arg3
;
7524 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
= NULL
;
7526 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7532 (char *) "self",(char *) "i", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7537 if (SWIG_arg_fail(1)) SWIG_fail
;
7539 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7540 if (SWIG_arg_fail(2)) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7551 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7560 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
= NULL
;
7562 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7564 PyObject
* obj0
= 0 ;
7565 PyObject
* obj1
= 0 ;
7567 (char *) "self",(char *) "height", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7572 if (SWIG_arg_fail(1)) SWIG_fail
;
7574 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7575 if (SWIG_arg_fail(2)) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 (arg1
)->SetMinHeight(arg2
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 Py_INCREF(Py_None
); resultobj
= Py_None
;
7591 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
= NULL
;
7593 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7595 PyObject
* obj0
= 0 ;
7597 (char *) "self", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7602 if (SWIG_arg_fail(1)) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= SWIG_From_int(static_cast<int >(result
));
7619 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7620 PyObject
*resultobj
= NULL
;
7621 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7625 (char *) "self", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7630 if (SWIG_arg_fail(1)) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_From_int(static_cast<int >(result
));
7647 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
= NULL
;
7649 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7650 wxVisualAttributes result
;
7651 PyObject
* obj0
= 0 ;
7653 (char *) "variant", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7659 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7660 if (SWIG_arg_fail(1)) SWIG_fail
;
7664 if (!wxPyCheckForApp()) SWIG_fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7672 wxVisualAttributes
* resultptr
;
7673 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7682 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7685 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7687 return Py_BuildValue((char *)"");
7689 static int _wrap_SplitterNameStr_set(PyObject
*) {
7690 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7695 static PyObject
*_wrap_SplitterNameStr_get(void) {
7696 PyObject
*pyobj
= NULL
;
7700 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7702 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7709 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
= NULL
;
7711 wxWindow
*arg1
= (wxWindow
*) 0 ;
7712 int arg2
= (int) -1 ;
7713 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7714 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7715 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7716 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7717 long arg5
= (long) wxSP_3D
;
7718 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7719 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7720 wxSplitterWindow
*result
;
7723 bool temp6
= false ;
7724 PyObject
* obj0
= 0 ;
7725 PyObject
* obj1
= 0 ;
7726 PyObject
* obj2
= 0 ;
7727 PyObject
* obj3
= 0 ;
7728 PyObject
* obj4
= 0 ;
7729 PyObject
* obj5
= 0 ;
7731 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7736 if (SWIG_arg_fail(1)) SWIG_fail
;
7739 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7740 if (SWIG_arg_fail(2)) SWIG_fail
;
7746 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7752 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7757 arg5
= static_cast<long >(SWIG_As_long(obj4
));
7758 if (SWIG_arg_fail(5)) SWIG_fail
;
7763 arg6
= wxString_in_helper(obj5
);
7764 if (arg6
== NULL
) SWIG_fail
;
7769 if (!wxPyCheckForApp()) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7791 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
= NULL
;
7793 wxSplitterWindow
*result
;
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7800 if (!wxPyCheckForApp()) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7814 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
= NULL
;
7816 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7817 wxWindow
*arg2
= (wxWindow
*) 0 ;
7818 int arg3
= (int) -1 ;
7819 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7820 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7821 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7822 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7823 long arg6
= (long) wxSP_3D
;
7824 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7825 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7829 bool temp7
= false ;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7832 PyObject
* obj2
= 0 ;
7833 PyObject
* obj3
= 0 ;
7834 PyObject
* obj4
= 0 ;
7835 PyObject
* obj5
= 0 ;
7836 PyObject
* obj6
= 0 ;
7838 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7843 if (SWIG_arg_fail(1)) SWIG_fail
;
7844 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7845 if (SWIG_arg_fail(2)) SWIG_fail
;
7848 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7849 if (SWIG_arg_fail(3)) SWIG_fail
;
7855 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7861 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7866 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7867 if (SWIG_arg_fail(6)) SWIG_fail
;
7872 arg7
= wxString_in_helper(obj6
);
7873 if (arg7
== NULL
) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7901 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
= NULL
;
7903 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7905 PyObject
* obj0
= 0 ;
7907 (char *) "self", NULL
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7912 if (SWIG_arg_fail(1)) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= wxPyMake_wxObject(result
, 0);
7929 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
= NULL
;
7931 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7933 PyObject
* obj0
= 0 ;
7935 (char *) "self", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7940 if (SWIG_arg_fail(1)) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= wxPyMake_wxObject(result
, 0);
7957 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
= NULL
;
7959 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7964 (char *) "self",(char *) "mode", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7969 if (SWIG_arg_fail(1)) SWIG_fail
;
7971 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7972 if (SWIG_arg_fail(2)) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 (arg1
)->SetSplitMode(arg2
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 Py_INCREF(Py_None
); resultobj
= Py_None
;
7988 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
= NULL
;
7990 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7994 (char *) "self", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",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 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= SWIG_From_int((result
));
8014 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
= NULL
;
8016 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8017 wxWindow
*arg2
= (wxWindow
*) 0 ;
8018 PyObject
* obj0
= 0 ;
8019 PyObject
* obj1
= 0 ;
8021 (char *) "self",(char *) "window", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
8025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8026 if (SWIG_arg_fail(1)) SWIG_fail
;
8027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8028 if (SWIG_arg_fail(2)) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 (arg1
)->Initialize(arg2
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 Py_INCREF(Py_None
); resultobj
= Py_None
;
8043 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
= NULL
;
8045 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8046 wxWindow
*arg2
= (wxWindow
*) 0 ;
8047 wxWindow
*arg3
= (wxWindow
*) 0 ;
8048 int arg4
= (int) 0 ;
8050 PyObject
* obj0
= 0 ;
8051 PyObject
* obj1
= 0 ;
8052 PyObject
* obj2
= 0 ;
8053 PyObject
* obj3
= 0 ;
8055 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8060 if (SWIG_arg_fail(1)) SWIG_fail
;
8061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8062 if (SWIG_arg_fail(2)) SWIG_fail
;
8063 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8064 if (SWIG_arg_fail(3)) SWIG_fail
;
8067 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8068 if (SWIG_arg_fail(4)) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8087 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
= NULL
;
8089 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8090 wxWindow
*arg2
= (wxWindow
*) 0 ;
8091 wxWindow
*arg3
= (wxWindow
*) 0 ;
8092 int arg4
= (int) 0 ;
8094 PyObject
* obj0
= 0 ;
8095 PyObject
* obj1
= 0 ;
8096 PyObject
* obj2
= 0 ;
8097 PyObject
* obj3
= 0 ;
8099 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8104 if (SWIG_arg_fail(1)) SWIG_fail
;
8105 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8106 if (SWIG_arg_fail(2)) SWIG_fail
;
8107 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8108 if (SWIG_arg_fail(3)) SWIG_fail
;
8111 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8112 if (SWIG_arg_fail(4)) SWIG_fail
;
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8131 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
= NULL
;
8133 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8134 wxWindow
*arg2
= (wxWindow
*) NULL
;
8136 PyObject
* obj0
= 0 ;
8137 PyObject
* obj1
= 0 ;
8139 (char *) "self",(char *) "toRemove", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
8143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8144 if (SWIG_arg_fail(1)) SWIG_fail
;
8146 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8147 if (SWIG_arg_fail(2)) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (bool)(arg1
)->Unsplit(arg2
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8165 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
= NULL
;
8167 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8168 wxWindow
*arg2
= (wxWindow
*) 0 ;
8169 wxWindow
*arg3
= (wxWindow
*) 0 ;
8171 PyObject
* obj0
= 0 ;
8172 PyObject
* obj1
= 0 ;
8173 PyObject
* obj2
= 0 ;
8175 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8180 if (SWIG_arg_fail(1)) SWIG_fail
;
8181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8182 if (SWIG_arg_fail(2)) SWIG_fail
;
8183 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8184 if (SWIG_arg_fail(3)) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8201 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
= NULL
;
8203 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8204 PyObject
* obj0
= 0 ;
8206 (char *) "self", NULL
8209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
8210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8211 if (SWIG_arg_fail(1)) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 (arg1
)->UpdateSize();
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 Py_INCREF(Py_None
); resultobj
= Py_None
;
8226 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
*resultobj
= NULL
;
8228 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8230 PyObject
* obj0
= 0 ;
8232 (char *) "self", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
8236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8237 if (SWIG_arg_fail(1)) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8254 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
= NULL
;
8256 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8261 (char *) "self",(char *) "width", NULL
8264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8266 if (SWIG_arg_fail(1)) SWIG_fail
;
8268 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8269 if (SWIG_arg_fail(2)) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 (arg1
)->SetSashSize(arg2
);
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 Py_INCREF(Py_None
); resultobj
= Py_None
;
8285 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
= NULL
;
8287 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8289 PyObject
* obj0
= 0 ;
8290 PyObject
* obj1
= 0 ;
8292 (char *) "self",(char *) "width", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8297 if (SWIG_arg_fail(1)) SWIG_fail
;
8299 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8300 if (SWIG_arg_fail(2)) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 (arg1
)->SetBorderSize(arg2
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
= NULL
;
8318 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8320 PyObject
* obj0
= 0 ;
8322 (char *) "self", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
8326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8327 if (SWIG_arg_fail(1)) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_From_int(static_cast<int >(result
));
8344 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
= NULL
;
8346 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8355 if (SWIG_arg_fail(1)) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= SWIG_From_int(static_cast<int >(result
));
8372 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
= NULL
;
8374 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8376 bool arg3
= (bool) true ;
8377 PyObject
* obj0
= 0 ;
8378 PyObject
* obj1
= 0 ;
8379 PyObject
* obj2
= 0 ;
8381 (char *) "self",(char *) "position",(char *) "redraw", NULL
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8386 if (SWIG_arg_fail(1)) SWIG_fail
;
8388 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8389 if (SWIG_arg_fail(2)) SWIG_fail
;
8393 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8394 if (SWIG_arg_fail(3)) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 (arg1
)->SetSashPosition(arg2
,arg3
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 Py_INCREF(Py_None
); resultobj
= Py_None
;
8411 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
= NULL
;
8413 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8415 PyObject
* obj0
= 0 ;
8417 (char *) "self", NULL
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8422 if (SWIG_arg_fail(1)) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= SWIG_From_int(static_cast<int >(result
));
8439 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
= NULL
;
8441 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8443 PyObject
* obj0
= 0 ;
8444 PyObject
* obj1
= 0 ;
8446 (char *) "self",(char *) "gravity", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8451 if (SWIG_arg_fail(1)) SWIG_fail
;
8453 arg2
= static_cast<double >(SWIG_As_double(obj1
));
8454 if (SWIG_arg_fail(2)) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 (arg1
)->SetSashGravity(arg2
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 Py_INCREF(Py_None
); resultobj
= Py_None
;
8470 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
= NULL
;
8472 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8474 PyObject
* obj0
= 0 ;
8476 (char *) "self", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8481 if (SWIG_arg_fail(1)) SWIG_fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8490 resultobj
= SWIG_From_double(static_cast<double >(result
));
8498 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
= NULL
;
8500 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8505 (char *) "self",(char *) "min", NULL
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8510 if (SWIG_arg_fail(1)) SWIG_fail
;
8512 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8513 if (SWIG_arg_fail(2)) SWIG_fail
;
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 (arg1
)->SetMinimumPaneSize(arg2
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 Py_INCREF(Py_None
); resultobj
= Py_None
;
8529 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
= NULL
;
8531 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8533 PyObject
* obj0
= 0 ;
8535 (char *) "self", NULL
8538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8540 if (SWIG_arg_fail(1)) SWIG_fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= SWIG_From_int(static_cast<int >(result
));
8557 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
= NULL
;
8559 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8562 int arg4
= (int) 5 ;
8564 PyObject
* obj0
= 0 ;
8565 PyObject
* obj1
= 0 ;
8566 PyObject
* obj2
= 0 ;
8567 PyObject
* obj3
= 0 ;
8569 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8574 if (SWIG_arg_fail(1)) SWIG_fail
;
8576 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8577 if (SWIG_arg_fail(2)) SWIG_fail
;
8580 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8581 if (SWIG_arg_fail(3)) SWIG_fail
;
8585 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8586 if (SWIG_arg_fail(4)) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8605 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
= NULL
;
8607 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "self", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8615 if (SWIG_arg_fail(1)) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 (arg1
)->SizeWindows();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 Py_INCREF(Py_None
); resultobj
= Py_None
;
8630 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
= NULL
;
8632 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8637 (char *) "self",(char *) "needUpdating", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8642 if (SWIG_arg_fail(1)) SWIG_fail
;
8644 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8645 if (SWIG_arg_fail(2)) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 (arg1
)->SetNeedUpdating(arg2
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8654 Py_INCREF(Py_None
); resultobj
= Py_None
;
8661 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
= NULL
;
8663 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8665 PyObject
* obj0
= 0 ;
8667 (char *) "self", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8672 if (SWIG_arg_fail(1)) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8689 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8690 PyObject
*resultobj
= NULL
;
8691 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8692 wxVisualAttributes result
;
8693 PyObject
* obj0
= 0 ;
8695 (char *) "variant", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8701 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8702 if (SWIG_arg_fail(1)) SWIG_fail
;
8706 if (!wxPyCheckForApp()) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8714 wxVisualAttributes
* resultptr
;
8715 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8724 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8727 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8729 return Py_BuildValue((char *)"");
8731 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
*resultobj
= NULL
;
8733 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8734 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8735 wxSplitterEvent
*result
;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8739 (char *) "type",(char *) "splitter", NULL
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8745 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
8746 if (SWIG_arg_fail(1)) SWIG_fail
;
8750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8751 if (SWIG_arg_fail(2)) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8767 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
= NULL
;
8769 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8771 PyObject
* obj0
= 0 ;
8772 PyObject
* obj1
= 0 ;
8774 (char *) "self",(char *) "pos", NULL
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8779 if (SWIG_arg_fail(1)) SWIG_fail
;
8781 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8782 if (SWIG_arg_fail(2)) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->SetSashPosition(arg2
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
= NULL
;
8800 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8802 PyObject
* obj0
= 0 ;
8804 (char *) "self", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_From_int(static_cast<int >(result
));
8826 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
= NULL
;
8828 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8832 (char *) "self", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8846 resultobj
= wxPyMake_wxObject(result
, 0);
8854 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
= NULL
;
8856 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8858 PyObject
* obj0
= 0 ;
8860 (char *) "self", NULL
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8865 if (SWIG_arg_fail(1)) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= SWIG_From_int(static_cast<int >(result
));
8882 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
= NULL
;
8884 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8886 PyObject
* obj0
= 0 ;
8888 (char *) "self", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8893 if (SWIG_arg_fail(1)) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= SWIG_From_int(static_cast<int >(result
));
8910 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8913 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8915 return Py_BuildValue((char *)"");
8917 static int _wrap_SashNameStr_set(PyObject
*) {
8918 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8923 static PyObject
*_wrap_SashNameStr_get(void) {
8924 PyObject
*pyobj
= NULL
;
8928 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8930 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8937 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8938 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8943 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8944 PyObject
*pyobj
= NULL
;
8948 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8950 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8957 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
= NULL
;
8959 wxWindow
*arg1
= (wxWindow
*) 0 ;
8960 int arg2
= (int) -1 ;
8961 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8962 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8963 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8964 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8965 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8966 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8967 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8968 wxSashWindow
*result
;
8971 bool temp6
= false ;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8974 PyObject
* obj2
= 0 ;
8975 PyObject
* obj3
= 0 ;
8976 PyObject
* obj4
= 0 ;
8977 PyObject
* obj5
= 0 ;
8979 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8984 if (SWIG_arg_fail(1)) SWIG_fail
;
8987 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8988 if (SWIG_arg_fail(2)) SWIG_fail
;
8994 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9000 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9005 arg5
= static_cast<long >(SWIG_As_long(obj4
));
9006 if (SWIG_arg_fail(5)) SWIG_fail
;
9011 arg6
= wxString_in_helper(obj5
);
9012 if (arg6
== NULL
) SWIG_fail
;
9017 if (!wxPyCheckForApp()) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
9039 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
= NULL
;
9041 wxSashWindow
*result
;
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
9048 if (!wxPyCheckForApp()) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (wxSashWindow
*)new wxSashWindow();
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
9062 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
= NULL
;
9064 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9065 wxWindow
*arg2
= (wxWindow
*) 0 ;
9066 int arg3
= (int) -1 ;
9067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9071 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
9072 wxString
const &arg7_defvalue
= wxPySashNameStr
;
9073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9077 bool temp7
= false ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9080 PyObject
* obj2
= 0 ;
9081 PyObject
* obj3
= 0 ;
9082 PyObject
* obj4
= 0 ;
9083 PyObject
* obj5
= 0 ;
9084 PyObject
* obj6
= 0 ;
9086 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9091 if (SWIG_arg_fail(1)) SWIG_fail
;
9092 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9093 if (SWIG_arg_fail(2)) SWIG_fail
;
9096 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9097 if (SWIG_arg_fail(3)) SWIG_fail
;
9103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9114 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9115 if (SWIG_arg_fail(6)) SWIG_fail
;
9120 arg7
= wxString_in_helper(obj6
);
9121 if (arg7
== NULL
) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9149 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
= NULL
;
9151 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9152 wxSashEdgePosition arg2
;
9154 PyObject
* obj0
= 0 ;
9155 PyObject
* obj1
= 0 ;
9156 PyObject
* obj2
= 0 ;
9158 (char *) "self",(char *) "edge",(char *) "sash", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9163 if (SWIG_arg_fail(1)) SWIG_fail
;
9165 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9166 if (SWIG_arg_fail(2)) SWIG_fail
;
9169 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9170 if (SWIG_arg_fail(3)) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 (arg1
)->SetSashVisible(arg2
,arg3
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 Py_INCREF(Py_None
); resultobj
= Py_None
;
9186 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
= NULL
;
9188 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9189 wxSashEdgePosition arg2
;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9194 (char *) "self",(char *) "edge", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9199 if (SWIG_arg_fail(1)) SWIG_fail
;
9201 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9202 if (SWIG_arg_fail(2)) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9220 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
= NULL
;
9222 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9223 wxSashEdgePosition arg2
;
9225 PyObject
* obj0
= 0 ;
9226 PyObject
* obj1
= 0 ;
9227 PyObject
* obj2
= 0 ;
9229 (char *) "self",(char *) "edge",(char *) "border", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9234 if (SWIG_arg_fail(1)) SWIG_fail
;
9236 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9237 if (SWIG_arg_fail(2)) SWIG_fail
;
9240 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9241 if (SWIG_arg_fail(3)) SWIG_fail
;
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 (arg1
)->SetSashBorder(arg2
,arg3
);
9247 wxPyEndAllowThreads(__tstate
);
9248 if (PyErr_Occurred()) SWIG_fail
;
9250 Py_INCREF(Py_None
); resultobj
= Py_None
;
9257 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
= NULL
;
9259 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9260 wxSashEdgePosition arg2
;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9265 (char *) "self",(char *) "edge", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
9269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9270 if (SWIG_arg_fail(1)) SWIG_fail
;
9272 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9273 if (SWIG_arg_fail(2)) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9291 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
= NULL
;
9293 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9294 wxSashEdgePosition arg2
;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9299 (char *) "self",(char *) "edge", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9307 if (SWIG_arg_fail(2)) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_From_int(static_cast<int >(result
));
9325 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
= NULL
;
9327 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9330 PyObject
* obj1
= 0 ;
9332 (char *) "self",(char *) "width", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9337 if (SWIG_arg_fail(1)) SWIG_fail
;
9339 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9340 if (SWIG_arg_fail(2)) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 (arg1
)->SetDefaultBorderSize(arg2
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 Py_INCREF(Py_None
); resultobj
= Py_None
;
9356 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
= NULL
;
9358 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9362 (char *) "self", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9367 if (SWIG_arg_fail(1)) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9376 resultobj
= SWIG_From_int(static_cast<int >(result
));
9384 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
= NULL
;
9386 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9391 (char *) "self",(char *) "width", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9396 if (SWIG_arg_fail(1)) SWIG_fail
;
9398 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9399 if (SWIG_arg_fail(2)) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 (arg1
)->SetExtraBorderSize(arg2
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 Py_INCREF(Py_None
); resultobj
= Py_None
;
9415 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
= NULL
;
9417 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9421 (char *) "self", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9426 if (SWIG_arg_fail(1)) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_From_int(static_cast<int >(result
));
9443 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
= NULL
;
9445 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9448 PyObject
* obj1
= 0 ;
9450 (char *) "self",(char *) "min", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9455 if (SWIG_arg_fail(1)) SWIG_fail
;
9457 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9458 if (SWIG_arg_fail(2)) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 (arg1
)->SetMinimumSizeX(arg2
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 Py_INCREF(Py_None
); resultobj
= Py_None
;
9474 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
= NULL
;
9476 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9478 PyObject
* obj0
= 0 ;
9479 PyObject
* obj1
= 0 ;
9481 (char *) "self",(char *) "min", NULL
9484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9486 if (SWIG_arg_fail(1)) SWIG_fail
;
9488 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9489 if (SWIG_arg_fail(2)) SWIG_fail
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 (arg1
)->SetMinimumSizeY(arg2
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 Py_INCREF(Py_None
); resultobj
= Py_None
;
9505 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
= NULL
;
9507 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9509 PyObject
* obj0
= 0 ;
9511 (char *) "self", NULL
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9516 if (SWIG_arg_fail(1)) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9525 resultobj
= SWIG_From_int(static_cast<int >(result
));
9533 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
= NULL
;
9535 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9539 (char *) "self", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9544 if (SWIG_arg_fail(1)) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= SWIG_From_int(static_cast<int >(result
));
9561 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
= NULL
;
9563 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9566 PyObject
* obj1
= 0 ;
9568 (char *) "self",(char *) "max", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9573 if (SWIG_arg_fail(1)) SWIG_fail
;
9575 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9576 if (SWIG_arg_fail(2)) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 (arg1
)->SetMaximumSizeX(arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 Py_INCREF(Py_None
); resultobj
= Py_None
;
9592 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
= NULL
;
9594 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9599 (char *) "self",(char *) "max", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9604 if (SWIG_arg_fail(1)) SWIG_fail
;
9606 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9607 if (SWIG_arg_fail(2)) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 (arg1
)->SetMaximumSizeY(arg2
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 Py_INCREF(Py_None
); resultobj
= Py_None
;
9623 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
= NULL
;
9625 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9627 PyObject
* obj0
= 0 ;
9629 (char *) "self", NULL
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9634 if (SWIG_arg_fail(1)) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= SWIG_From_int(static_cast<int >(result
));
9651 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
= NULL
;
9653 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9657 (char *) "self", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9662 if (SWIG_arg_fail(1)) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_From_int(static_cast<int >(result
));
9679 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
= NULL
;
9681 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9684 int arg4
= (int) 2 ;
9685 wxSashEdgePosition result
;
9686 PyObject
* obj0
= 0 ;
9687 PyObject
* obj1
= 0 ;
9688 PyObject
* obj2
= 0 ;
9689 PyObject
* obj3
= 0 ;
9691 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9696 if (SWIG_arg_fail(1)) SWIG_fail
;
9698 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9699 if (SWIG_arg_fail(2)) SWIG_fail
;
9702 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9703 if (SWIG_arg_fail(3)) SWIG_fail
;
9707 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9708 if (SWIG_arg_fail(4)) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= SWIG_From_int((result
));
9725 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
= NULL
;
9727 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9730 (char *) "self", NULL
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9735 if (SWIG_arg_fail(1)) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 (arg1
)->SizeWindows();
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 Py_INCREF(Py_None
); resultobj
= Py_None
;
9750 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9753 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9755 return Py_BuildValue((char *)"");
9757 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= NULL
;
9759 int arg1
= (int) 0 ;
9760 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9761 wxSashEvent
*result
;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9765 (char *) "id",(char *) "edge", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9771 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9772 if (SWIG_arg_fail(1)) SWIG_fail
;
9777 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9778 if (SWIG_arg_fail(2)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9795 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
= NULL
;
9797 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9798 wxSashEdgePosition arg2
;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9802 (char *) "self",(char *) "edge", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail
;
9809 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9810 if (SWIG_arg_fail(2)) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 (arg1
)->SetEdge(arg2
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 Py_INCREF(Py_None
); resultobj
= Py_None
;
9826 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
= NULL
;
9828 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9829 wxSashEdgePosition result
;
9830 PyObject
* obj0
= 0 ;
9832 (char *) "self", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9837 if (SWIG_arg_fail(1)) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= SWIG_From_int((result
));
9852 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
= NULL
;
9854 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9858 PyObject
* obj1
= 0 ;
9860 (char *) "self",(char *) "rect", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail
;
9868 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 Py_INCREF(Py_None
); resultobj
= Py_None
;
9884 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
= NULL
;
9886 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9888 PyObject
* obj0
= 0 ;
9890 (char *) "self", NULL
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9895 if (SWIG_arg_fail(1)) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9905 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
9906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9914 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
= NULL
;
9916 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9917 wxSashDragStatus arg2
;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9921 (char *) "self",(char *) "status", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9926 if (SWIG_arg_fail(1)) SWIG_fail
;
9928 arg2
= static_cast<wxSashDragStatus
>(SWIG_As_int(obj1
));
9929 if (SWIG_arg_fail(2)) SWIG_fail
;
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 (arg1
)->SetDragStatus(arg2
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 Py_INCREF(Py_None
); resultobj
= Py_None
;
9945 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
= NULL
;
9947 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9948 wxSashDragStatus result
;
9949 PyObject
* obj0
= 0 ;
9951 (char *) "self", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9956 if (SWIG_arg_fail(1)) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= SWIG_From_int((result
));
9971 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9974 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9976 return Py_BuildValue((char *)"");
9978 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
= NULL
;
9980 int arg1
= (int) 0 ;
9981 wxQueryLayoutInfoEvent
*result
;
9982 PyObject
* obj0
= 0 ;
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9990 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9991 if (SWIG_arg_fail(1)) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
10008 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
= NULL
;
10010 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 PyObject
* obj1
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self",(char *) "length", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
10019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10020 if (SWIG_arg_fail(1)) SWIG_fail
;
10022 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10023 if (SWIG_arg_fail(2)) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 (arg1
)->SetRequestedLength(arg2
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 Py_INCREF(Py_None
); resultobj
= Py_None
;
10039 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
= NULL
;
10041 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
10049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10050 if (SWIG_arg_fail(1)) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= SWIG_From_int(static_cast<int >(result
));
10067 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
= NULL
;
10069 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10071 PyObject
* obj0
= 0 ;
10072 PyObject
* obj1
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self",(char *) "flags", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10079 if (SWIG_arg_fail(1)) SWIG_fail
;
10081 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10082 if (SWIG_arg_fail(2)) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 (arg1
)->SetFlags(arg2
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 Py_INCREF(Py_None
); resultobj
= Py_None
;
10098 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
= NULL
;
10100 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10109 if (SWIG_arg_fail(1)) SWIG_fail
;
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_From_int(static_cast<int >(result
));
10126 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
= NULL
;
10128 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self",(char *) "size", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10139 if (SWIG_arg_fail(1)) SWIG_fail
;
10142 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 (arg1
)->SetSize((wxSize
const &)*arg2
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 Py_INCREF(Py_None
); resultobj
= Py_None
;
10158 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
= NULL
;
10160 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
10168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10169 if (SWIG_arg_fail(1)) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10178 wxSize
* resultptr
;
10179 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
10180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10188 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
= NULL
;
10190 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10191 wxLayoutOrientation arg2
;
10192 PyObject
* obj0
= 0 ;
10193 PyObject
* obj1
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self",(char *) "orient", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10200 if (SWIG_arg_fail(1)) SWIG_fail
;
10202 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10203 if (SWIG_arg_fail(2)) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 (arg1
)->SetOrientation(arg2
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 Py_INCREF(Py_None
); resultobj
= Py_None
;
10219 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
= NULL
;
10221 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10222 wxLayoutOrientation result
;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "self", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
10229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10230 if (SWIG_arg_fail(1)) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= SWIG_From_int((result
));
10245 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
= NULL
;
10247 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10248 wxLayoutAlignment arg2
;
10249 PyObject
* obj0
= 0 ;
10250 PyObject
* obj1
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self",(char *) "align", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10257 if (SWIG_arg_fail(1)) SWIG_fail
;
10259 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10260 if (SWIG_arg_fail(2)) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 (arg1
)->SetAlignment(arg2
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 Py_INCREF(Py_None
); resultobj
= Py_None
;
10276 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
= NULL
;
10278 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10279 wxLayoutAlignment result
;
10280 PyObject
* obj0
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
10286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10287 if (SWIG_arg_fail(1)) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_From_int((result
));
10302 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
10304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10305 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
10307 return Py_BuildValue((char *)"");
10309 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10310 PyObject
*resultobj
= NULL
;
10311 int arg1
= (int) 0 ;
10312 wxCalculateLayoutEvent
*result
;
10313 PyObject
* obj0
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "id", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
10321 arg1
= static_cast<int >(SWIG_As_int(obj0
));
10322 if (SWIG_arg_fail(1)) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10339 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
= NULL
;
10341 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 PyObject
* obj1
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self",(char *) "flags", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10351 if (SWIG_arg_fail(1)) SWIG_fail
;
10353 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10354 if (SWIG_arg_fail(2)) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 (arg1
)->SetFlags(arg2
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 Py_INCREF(Py_None
); resultobj
= Py_None
;
10370 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
= NULL
;
10372 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10381 if (SWIG_arg_fail(1)) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_From_int(static_cast<int >(result
));
10398 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
= NULL
;
10400 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "rect", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10411 if (SWIG_arg_fail(1)) SWIG_fail
;
10414 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 (arg1
)->SetRect((wxRect
const &)*arg2
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 Py_INCREF(Py_None
); resultobj
= Py_None
;
10430 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
= NULL
;
10432 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10434 PyObject
* obj0
= 0 ;
10435 char *kwnames
[] = {
10436 (char *) "self", NULL
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10441 if (SWIG_arg_fail(1)) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10450 wxRect
* resultptr
;
10451 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
10452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10460 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10463 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10465 return Py_BuildValue((char *)"");
10467 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
= NULL
;
10469 wxWindow
*arg1
= (wxWindow
*) 0 ;
10470 int arg2
= (int) -1 ;
10471 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10472 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10473 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10474 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10475 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10476 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10477 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10478 wxSashLayoutWindow
*result
;
10481 bool temp6
= false ;
10482 PyObject
* obj0
= 0 ;
10483 PyObject
* obj1
= 0 ;
10484 PyObject
* obj2
= 0 ;
10485 PyObject
* obj3
= 0 ;
10486 PyObject
* obj4
= 0 ;
10487 PyObject
* obj5
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10494 if (SWIG_arg_fail(1)) SWIG_fail
;
10497 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10498 if (SWIG_arg_fail(2)) SWIG_fail
;
10504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10510 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10515 arg5
= static_cast<long >(SWIG_As_long(obj4
));
10516 if (SWIG_arg_fail(5)) SWIG_fail
;
10521 arg6
= wxString_in_helper(obj5
);
10522 if (arg6
== NULL
) SWIG_fail
;
10527 if (!wxPyCheckForApp()) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10549 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
= NULL
;
10551 wxSashLayoutWindow
*result
;
10552 char *kwnames
[] = {
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10558 if (!wxPyCheckForApp()) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10572 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
= NULL
;
10574 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10575 wxWindow
*arg2
= (wxWindow
*) 0 ;
10576 int arg3
= (int) -1 ;
10577 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10578 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10579 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10580 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10581 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10582 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10583 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10587 bool temp7
= false ;
10588 PyObject
* obj0
= 0 ;
10589 PyObject
* obj1
= 0 ;
10590 PyObject
* obj2
= 0 ;
10591 PyObject
* obj3
= 0 ;
10592 PyObject
* obj4
= 0 ;
10593 PyObject
* obj5
= 0 ;
10594 PyObject
* obj6
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10601 if (SWIG_arg_fail(1)) SWIG_fail
;
10602 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10603 if (SWIG_arg_fail(2)) SWIG_fail
;
10606 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10607 if (SWIG_arg_fail(3)) SWIG_fail
;
10613 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10619 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10624 arg6
= static_cast<long >(SWIG_As_long(obj5
));
10625 if (SWIG_arg_fail(6)) SWIG_fail
;
10630 arg7
= wxString_in_helper(obj6
);
10631 if (arg7
== NULL
) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10659 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
= NULL
;
10661 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10662 wxLayoutAlignment result
;
10663 PyObject
* obj0
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10670 if (SWIG_arg_fail(1)) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= SWIG_From_int((result
));
10685 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
= NULL
;
10687 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10688 wxLayoutOrientation result
;
10689 PyObject
* obj0
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10696 if (SWIG_arg_fail(1)) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10704 resultobj
= SWIG_From_int((result
));
10711 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
*resultobj
= NULL
;
10713 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10714 wxLayoutAlignment arg2
;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 char *kwnames
[] = {
10718 (char *) "self",(char *) "alignment", NULL
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10723 if (SWIG_arg_fail(1)) SWIG_fail
;
10725 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10726 if (SWIG_arg_fail(2)) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 (arg1
)->SetAlignment(arg2
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 Py_INCREF(Py_None
); resultobj
= Py_None
;
10742 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
= NULL
;
10744 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "size", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10755 if (SWIG_arg_fail(1)) SWIG_fail
;
10758 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10764 wxPyEndAllowThreads(__tstate
);
10765 if (PyErr_Occurred()) SWIG_fail
;
10767 Py_INCREF(Py_None
); resultobj
= Py_None
;
10774 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
= NULL
;
10776 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10777 wxLayoutOrientation arg2
;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self",(char *) "orientation", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10786 if (SWIG_arg_fail(1)) SWIG_fail
;
10788 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10789 if (SWIG_arg_fail(2)) SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 (arg1
)->SetOrientation(arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 Py_INCREF(Py_None
); resultobj
= Py_None
;
10805 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10808 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10810 return Py_BuildValue((char *)"");
10812 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10813 PyObject
*resultobj
= NULL
;
10814 wxLayoutAlgorithm
*result
;
10815 char *kwnames
[] = {
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10824 wxPyEndAllowThreads(__tstate
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10834 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
= NULL
;
10836 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 char *kwnames
[] = {
10839 (char *) "self", NULL
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10844 if (SWIG_arg_fail(1)) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 Py_INCREF(Py_None
); resultobj
= Py_None
;
10859 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
= NULL
;
10861 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10862 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10863 wxRect
*arg3
= (wxRect
*) NULL
;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 PyObject
* obj2
= 0 ;
10868 char *kwnames
[] = {
10869 (char *) "self",(char *) "frame",(char *) "rect", NULL
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10874 if (SWIG_arg_fail(1)) SWIG_fail
;
10875 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10876 if (SWIG_arg_fail(2)) SWIG_fail
;
10878 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10879 if (SWIG_arg_fail(3)) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10897 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
= NULL
;
10899 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10900 wxFrame
*arg2
= (wxFrame
*) 0 ;
10901 wxWindow
*arg3
= (wxWindow
*) NULL
;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 PyObject
* obj2
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10912 if (SWIG_arg_fail(1)) SWIG_fail
;
10913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10914 if (SWIG_arg_fail(2)) SWIG_fail
;
10916 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10917 if (SWIG_arg_fail(3)) SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10935 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
= NULL
;
10937 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10938 wxWindow
*arg2
= (wxWindow
*) 0 ;
10939 wxWindow
*arg3
= (wxWindow
*) NULL
;
10941 PyObject
* obj0
= 0 ;
10942 PyObject
* obj1
= 0 ;
10943 PyObject
* obj2
= 0 ;
10944 char *kwnames
[] = {
10945 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10950 if (SWIG_arg_fail(1)) SWIG_fail
;
10951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10952 if (SWIG_arg_fail(2)) SWIG_fail
;
10954 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10955 if (SWIG_arg_fail(3)) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10959 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10961 wxPyEndAllowThreads(__tstate
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10973 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10976 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10978 return Py_BuildValue((char *)"");
10980 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
= NULL
;
10982 wxWindow
*arg1
= (wxWindow
*) 0 ;
10983 int arg2
= (int) wxBORDER_NONE
;
10984 wxPopupWindow
*result
;
10985 PyObject
* obj0
= 0 ;
10986 PyObject
* obj1
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "parent",(char *) "flags", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10993 if (SWIG_arg_fail(1)) SWIG_fail
;
10996 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10997 if (SWIG_arg_fail(2)) SWIG_fail
;
11001 if (!wxPyCheckForApp()) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
11015 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
= NULL
;
11017 wxPopupWindow
*result
;
11018 char *kwnames
[] = {
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
11024 if (!wxPyCheckForApp()) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (wxPopupWindow
*)new wxPopupWindow();
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
11038 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
= NULL
;
11040 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
11041 wxWindow
*arg2
= (wxWindow
*) 0 ;
11042 int arg3
= (int) wxBORDER_NONE
;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 PyObject
* obj2
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self",(char *) "parent",(char *) "flags", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
11053 if (SWIG_arg_fail(1)) SWIG_fail
;
11054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11055 if (SWIG_arg_fail(2)) SWIG_fail
;
11058 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11059 if (SWIG_arg_fail(3)) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (bool)(arg1
)->Create(arg2
,arg3
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
= NULL
;
11080 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
11081 wxPoint
*arg2
= 0 ;
11085 PyObject
* obj0
= 0 ;
11086 PyObject
* obj1
= 0 ;
11087 PyObject
* obj2
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
11094 if (SWIG_arg_fail(1)) SWIG_fail
;
11097 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11101 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 Py_INCREF(Py_None
); resultobj
= Py_None
;
11117 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
11119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11120 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
11122 return Py_BuildValue((char *)"");
11124 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
= NULL
;
11126 wxWindow
*arg1
= (wxWindow
*) 0 ;
11127 int arg2
= (int) wxBORDER_NONE
;
11128 wxPyPopupTransientWindow
*result
;
11129 PyObject
* obj0
= 0 ;
11130 PyObject
* obj1
= 0 ;
11131 char *kwnames
[] = {
11132 (char *) "parent",(char *) "style", NULL
11135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
11136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11137 if (SWIG_arg_fail(1)) SWIG_fail
;
11140 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11141 if (SWIG_arg_fail(2)) SWIG_fail
;
11145 if (!wxPyCheckForApp()) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
11159 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
= NULL
;
11161 wxPyPopupTransientWindow
*result
;
11162 char *kwnames
[] = {
11166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
11168 if (!wxPyCheckForApp()) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
11182 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
= NULL
;
11184 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11185 PyObject
*arg2
= (PyObject
*) 0 ;
11186 PyObject
*arg3
= (PyObject
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 PyObject
* obj2
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self",(char *) "self",(char *) "_class", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
= NULL
;
11215 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11216 wxWindow
*arg2
= (wxWindow
*) NULL
;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 char *kwnames
[] = {
11220 (char *) "self",(char *) "focus", NULL
11223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
11224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11225 if (SWIG_arg_fail(1)) SWIG_fail
;
11227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11228 if (SWIG_arg_fail(2)) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 (arg1
)->Popup(arg2
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 Py_INCREF(Py_None
); resultobj
= Py_None
;
11244 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
= NULL
;
11246 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
11253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11254 if (SWIG_arg_fail(1)) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11262 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
11271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11272 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
11274 return Py_BuildValue((char *)"");
11276 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
= NULL
;
11278 wxWindow
*arg1
= (wxWindow
*) 0 ;
11279 wxString
*arg2
= 0 ;
11280 int arg3
= (int) 100 ;
11281 wxRect
*arg4
= (wxRect
*) NULL
;
11282 wxTipWindow
*result
;
11283 bool temp2
= false ;
11284 PyObject
* obj0
= 0 ;
11285 PyObject
* obj1
= 0 ;
11286 PyObject
* obj2
= 0 ;
11287 PyObject
* obj3
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11294 if (SWIG_arg_fail(1)) SWIG_fail
;
11296 arg2
= wxString_in_helper(obj1
);
11297 if (arg2
== NULL
) SWIG_fail
;
11302 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11303 if (SWIG_arg_fail(3)) SWIG_fail
;
11307 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
11308 if (SWIG_arg_fail(4)) SWIG_fail
;
11311 if (!wxPyCheckForApp()) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
11333 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
= NULL
;
11335 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 PyObject
* obj1
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self",(char *) "rectBound", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail
;
11349 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 Py_INCREF(Py_None
); resultobj
= Py_None
;
11365 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
= NULL
;
11367 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11368 PyObject
* obj0
= 0 ;
11369 char *kwnames
[] = {
11370 (char *) "self", NULL
11373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11375 if (SWIG_arg_fail(1)) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 Py_INCREF(Py_None
); resultobj
= Py_None
;
11390 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11393 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11395 return Py_BuildValue((char *)"");
11397 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
= NULL
;
11399 wxWindow
*arg1
= (wxWindow
*) 0 ;
11400 int arg2
= (int) wxID_ANY
;
11401 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11402 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11403 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11404 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11405 long arg5
= (long) 0 ;
11406 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11407 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11408 wxPyVScrolledWindow
*result
;
11411 bool temp6
= false ;
11412 PyObject
* obj0
= 0 ;
11413 PyObject
* obj1
= 0 ;
11414 PyObject
* obj2
= 0 ;
11415 PyObject
* obj3
= 0 ;
11416 PyObject
* obj4
= 0 ;
11417 PyObject
* obj5
= 0 ;
11418 char *kwnames
[] = {
11419 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11424 if (SWIG_arg_fail(1)) SWIG_fail
;
11427 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11428 if (SWIG_arg_fail(2)) SWIG_fail
;
11434 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11440 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11445 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11446 if (SWIG_arg_fail(5)) SWIG_fail
;
11451 arg6
= wxString_in_helper(obj5
);
11452 if (arg6
== NULL
) SWIG_fail
;
11457 if (!wxPyCheckForApp()) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11479 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11480 PyObject
*resultobj
= NULL
;
11481 wxPyVScrolledWindow
*result
;
11482 char *kwnames
[] = {
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11488 if (!wxPyCheckForApp()) SWIG_fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11502 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
= NULL
;
11504 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11505 PyObject
*arg2
= (PyObject
*) 0 ;
11506 PyObject
*arg3
= (PyObject
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self",(char *) "self",(char *) "_class", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 Py_INCREF(Py_None
); resultobj
= Py_None
;
11533 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
= NULL
;
11535 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11536 wxWindow
*arg2
= (wxWindow
*) 0 ;
11537 int arg3
= (int) wxID_ANY
;
11538 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11539 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11540 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11541 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11542 long arg6
= (long) 0 ;
11543 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11544 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11548 bool temp7
= false ;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 PyObject
* obj2
= 0 ;
11552 PyObject
* obj3
= 0 ;
11553 PyObject
* obj4
= 0 ;
11554 PyObject
* obj5
= 0 ;
11555 PyObject
* obj6
= 0 ;
11556 char *kwnames
[] = {
11557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11562 if (SWIG_arg_fail(1)) SWIG_fail
;
11563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11564 if (SWIG_arg_fail(2)) SWIG_fail
;
11567 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11568 if (SWIG_arg_fail(3)) SWIG_fail
;
11574 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11580 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11585 arg6
= static_cast<long >(SWIG_As_long(obj5
));
11586 if (SWIG_arg_fail(6)) SWIG_fail
;
11591 arg7
= wxString_in_helper(obj6
);
11592 if (arg7
== NULL
) SWIG_fail
;
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11620 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
= NULL
;
11622 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11624 PyObject
* obj0
= 0 ;
11625 PyObject
* obj1
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self",(char *) "count", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11632 if (SWIG_arg_fail(1)) SWIG_fail
;
11634 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11635 if (SWIG_arg_fail(2)) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 (arg1
)->SetLineCount(arg2
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 Py_INCREF(Py_None
); resultobj
= Py_None
;
11651 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
= NULL
;
11653 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11656 PyObject
* obj0
= 0 ;
11657 PyObject
* obj1
= 0 ;
11658 char *kwnames
[] = {
11659 (char *) "self",(char *) "line", NULL
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11664 if (SWIG_arg_fail(1)) SWIG_fail
;
11666 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11667 if (SWIG_arg_fail(2)) SWIG_fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11685 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
= NULL
;
11687 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "lines", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11698 if (SWIG_arg_fail(1)) SWIG_fail
;
11700 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11701 if (SWIG_arg_fail(2)) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 result
= (bool)(arg1
)->ScrollLines(arg2
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11719 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
= NULL
;
11721 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "pages", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail
;
11734 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11735 if (SWIG_arg_fail(2)) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (bool)(arg1
)->ScrollPages(arg2
);
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11753 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
= NULL
;
11755 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11757 PyObject
* obj0
= 0 ;
11758 PyObject
* obj1
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "self",(char *) "line", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11765 if (SWIG_arg_fail(1)) SWIG_fail
;
11767 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11768 if (SWIG_arg_fail(2)) SWIG_fail
;
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 (arg1
)->RefreshLine(arg2
);
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 Py_INCREF(Py_None
); resultobj
= Py_None
;
11784 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
= NULL
;
11786 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 PyObject
* obj2
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self",(char *) "from",(char *) "to", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11798 if (SWIG_arg_fail(1)) SWIG_fail
;
11800 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11801 if (SWIG_arg_fail(2)) SWIG_fail
;
11804 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
11805 if (SWIG_arg_fail(3)) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 (arg1
)->RefreshLines(arg2
,arg3
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 Py_INCREF(Py_None
); resultobj
= Py_None
;
11821 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
= NULL
;
11823 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11827 PyObject
* obj0
= 0 ;
11828 PyObject
* obj1
= 0 ;
11829 PyObject
* obj2
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "self",(char *) "x",(char *) "y", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11836 if (SWIG_arg_fail(1)) SWIG_fail
;
11838 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11839 if (SWIG_arg_fail(2)) SWIG_fail
;
11842 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11843 if (SWIG_arg_fail(3)) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 resultobj
= SWIG_From_int(static_cast<int >(result
));
11861 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11862 PyObject
*resultobj
= NULL
;
11863 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11864 wxPoint
*arg2
= 0 ;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self",(char *) "pt", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11875 if (SWIG_arg_fail(1)) SWIG_fail
;
11878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_From_int(static_cast<int >(result
));
11896 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
= NULL
;
11898 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11899 PyObject
* obj0
= 0 ;
11900 char *kwnames
[] = {
11901 (char *) "self", NULL
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11906 if (SWIG_arg_fail(1)) SWIG_fail
;
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 (arg1
)->RefreshAll();
11911 wxPyEndAllowThreads(__tstate
);
11912 if (PyErr_Occurred()) SWIG_fail
;
11914 Py_INCREF(Py_None
); resultobj
= Py_None
;
11921 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
= NULL
;
11923 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11932 if (SWIG_arg_fail(1)) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11949 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
= NULL
;
11951 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11953 PyObject
* obj0
= 0 ;
11954 char *kwnames
[] = {
11955 (char *) "self", NULL
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11960 if (SWIG_arg_fail(1)) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11977 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
= NULL
;
11979 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11981 PyObject
* obj0
= 0 ;
11982 char *kwnames
[] = {
11983 (char *) "self", NULL
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11988 if (SWIG_arg_fail(1)) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12005 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
= NULL
;
12007 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 PyObject
* obj1
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self",(char *) "line", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
12017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
12018 if (SWIG_arg_fail(1)) SWIG_fail
;
12020 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12021 if (SWIG_arg_fail(2)) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12039 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
= NULL
;
12041 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
12043 PyObject
* obj0
= 0 ;
12044 char *kwnames
[] = {
12045 (char *) "self", NULL
12048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
12049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
12050 if (SWIG_arg_fail(1)) SWIG_fail
;
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
12055 wxPyEndAllowThreads(__tstate
);
12056 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12067 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
= NULL
;
12069 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
12077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
12078 if (SWIG_arg_fail(1)) SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12087 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12095 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
12097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12098 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
12100 return Py_BuildValue((char *)"");
12102 static int _wrap_VListBoxNameStr_set(PyObject
*) {
12103 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
12108 static PyObject
*_wrap_VListBoxNameStr_get(void) {
12109 PyObject
*pyobj
= NULL
;
12113 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
12115 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
12122 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
= NULL
;
12124 wxWindow
*arg1
= (wxWindow
*) 0 ;
12125 int arg2
= (int) wxID_ANY
;
12126 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12127 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12128 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12129 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12130 long arg5
= (long) 0 ;
12131 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12132 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12133 wxPyVListBox
*result
;
12136 bool temp6
= false ;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 PyObject
* obj2
= 0 ;
12140 PyObject
* obj3
= 0 ;
12141 PyObject
* obj4
= 0 ;
12142 PyObject
* obj5
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12149 if (SWIG_arg_fail(1)) SWIG_fail
;
12152 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12153 if (SWIG_arg_fail(2)) SWIG_fail
;
12159 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12165 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12170 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12171 if (SWIG_arg_fail(5)) SWIG_fail
;
12176 arg6
= wxString_in_helper(obj5
);
12177 if (arg6
== NULL
) SWIG_fail
;
12182 if (!wxPyCheckForApp()) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12204 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
= NULL
;
12206 wxPyVListBox
*result
;
12207 char *kwnames
[] = {
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
12213 if (!wxPyCheckForApp()) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (wxPyVListBox
*)new wxPyVListBox();
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12227 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
= NULL
;
12229 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12230 PyObject
*arg2
= (PyObject
*) 0 ;
12231 PyObject
*arg3
= (PyObject
*) 0 ;
12232 PyObject
* obj0
= 0 ;
12233 PyObject
* obj1
= 0 ;
12234 PyObject
* obj2
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self",(char *) "self",(char *) "_class", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12241 if (SWIG_arg_fail(1)) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 Py_INCREF(Py_None
); resultobj
= Py_None
;
12258 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= NULL
;
12260 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12261 wxWindow
*arg2
= (wxWindow
*) 0 ;
12262 int arg3
= (int) wxID_ANY
;
12263 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12264 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12265 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12266 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12267 long arg6
= (long) 0 ;
12268 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12269 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12273 bool temp7
= false ;
12274 PyObject
* obj0
= 0 ;
12275 PyObject
* obj1
= 0 ;
12276 PyObject
* obj2
= 0 ;
12277 PyObject
* obj3
= 0 ;
12278 PyObject
* obj4
= 0 ;
12279 PyObject
* obj5
= 0 ;
12280 PyObject
* obj6
= 0 ;
12281 char *kwnames
[] = {
12282 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12287 if (SWIG_arg_fail(1)) SWIG_fail
;
12288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12289 if (SWIG_arg_fail(2)) SWIG_fail
;
12292 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12293 if (SWIG_arg_fail(3)) SWIG_fail
;
12299 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12305 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12310 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12311 if (SWIG_arg_fail(6)) SWIG_fail
;
12316 arg7
= wxString_in_helper(obj6
);
12317 if (arg7
== NULL
) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12345 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
= NULL
;
12347 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12349 PyObject
* obj0
= 0 ;
12350 char *kwnames
[] = {
12351 (char *) "self", NULL
12354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
12355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12373 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12374 PyObject
*resultobj
= NULL
;
12375 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 char *kwnames
[] = {
12379 (char *) "self", NULL
12382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
12383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12401 static PyObject
*_wrap_VListBox_GetSelection(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_GetSelection",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();
12415 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12417 wxPyEndAllowThreads(__tstate
);
12418 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= SWIG_From_int(static_cast<int >(result
));
12429 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
= NULL
;
12431 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 PyObject
* obj1
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self",(char *) "item", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",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 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12463 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
= NULL
;
12465 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12468 PyObject
* obj0
= 0 ;
12469 PyObject
* obj1
= 0 ;
12470 char *kwnames
[] = {
12471 (char *) "self",(char *) "item", NULL
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12476 if (SWIG_arg_fail(1)) SWIG_fail
;
12478 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12479 if (SWIG_arg_fail(2)) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12497 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
= NULL
;
12499 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12501 PyObject
* obj0
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12508 if (SWIG_arg_fail(1)) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12525 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
= NULL
;
12527 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12536 if (SWIG_arg_fail(1)) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= result
;
12551 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
= NULL
;
12553 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12554 unsigned long arg2
;
12556 PyObject
* obj0
= 0 ;
12557 PyObject
* obj1
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self",(char *) "cookie", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12564 if (SWIG_arg_fail(1)) SWIG_fail
;
12566 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
12567 if (SWIG_arg_fail(2)) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= result
;
12583 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
= NULL
;
12585 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12594 if (SWIG_arg_fail(1)) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12603 wxPoint
* resultptr
;
12604 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12613 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
= NULL
;
12615 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12617 PyObject
* obj0
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12629 result
= (wxColour
*) &_result_ref
;
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12642 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
= NULL
;
12644 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 PyObject
* obj1
= 0 ;
12648 char *kwnames
[] = {
12649 (char *) "self",(char *) "count", NULL
12652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12654 if (SWIG_arg_fail(1)) SWIG_fail
;
12656 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12657 if (SWIG_arg_fail(2)) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 (arg1
)->SetItemCount(arg2
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 Py_INCREF(Py_None
); resultobj
= Py_None
;
12673 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
= NULL
;
12675 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12683 if (SWIG_arg_fail(1)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 Py_INCREF(Py_None
); resultobj
= Py_None
;
12698 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
= NULL
;
12700 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 PyObject
* obj1
= 0 ;
12704 char *kwnames
[] = {
12705 (char *) "self",(char *) "selection", NULL
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12710 if (SWIG_arg_fail(1)) SWIG_fail
;
12712 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12713 if (SWIG_arg_fail(2)) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 (arg1
)->SetSelection(arg2
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 Py_INCREF(Py_None
); resultobj
= Py_None
;
12729 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
= NULL
;
12731 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12733 bool arg3
= (bool) true ;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 PyObject
* obj2
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self",(char *) "item",(char *) "select", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail
;
12746 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12747 if (SWIG_arg_fail(2)) SWIG_fail
;
12751 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
12752 if (SWIG_arg_fail(3)) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12771 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
= NULL
;
12773 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12777 PyObject
* obj0
= 0 ;
12778 PyObject
* obj1
= 0 ;
12779 PyObject
* obj2
= 0 ;
12780 char *kwnames
[] = {
12781 (char *) "self",(char *) "from",(char *) "to", NULL
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12786 if (SWIG_arg_fail(1)) SWIG_fail
;
12788 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12789 if (SWIG_arg_fail(2)) SWIG_fail
;
12792 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12793 if (SWIG_arg_fail(3)) SWIG_fail
;
12796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12797 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12811 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
= NULL
;
12813 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 PyObject
* obj1
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self",(char *) "item", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail
;
12825 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12826 if (SWIG_arg_fail(2)) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 (arg1
)->Toggle(arg2
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 Py_INCREF(Py_None
); resultobj
= Py_None
;
12842 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12843 PyObject
*resultobj
= NULL
;
12844 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12846 PyObject
* obj0
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12853 if (SWIG_arg_fail(1)) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 result
= (bool)(arg1
)->SelectAll();
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12870 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
= NULL
;
12872 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12874 PyObject
* obj0
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12881 if (SWIG_arg_fail(1)) SWIG_fail
;
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 result
= (bool)(arg1
)->DeselectAll();
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12898 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
= NULL
;
12900 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12901 wxPoint
*arg2
= 0 ;
12903 PyObject
* obj0
= 0 ;
12904 PyObject
* obj1
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self",(char *) "pt", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12911 if (SWIG_arg_fail(1)) SWIG_fail
;
12914 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 Py_INCREF(Py_None
); resultobj
= Py_None
;
12930 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12931 PyObject
*resultobj
= NULL
;
12932 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 PyObject
* obj2
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self",(char *) "x",(char *) "y", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail
;
12946 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12947 if (SWIG_arg_fail(2)) SWIG_fail
;
12950 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12951 if (SWIG_arg_fail(3)) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 (arg1
)->SetMargins(arg2
,arg3
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 Py_INCREF(Py_None
); resultobj
= Py_None
;
12967 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
= NULL
;
12969 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12970 wxColour
*arg2
= 0 ;
12972 PyObject
* obj0
= 0 ;
12973 PyObject
* obj1
= 0 ;
12974 char *kwnames
[] = {
12975 (char *) "self",(char *) "col", NULL
12978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12980 if (SWIG_arg_fail(1)) SWIG_fail
;
12983 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 Py_INCREF(Py_None
); resultobj
= Py_None
;
12999 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
13001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13002 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
13004 return Py_BuildValue((char *)"");
13006 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
= NULL
;
13008 wxWindow
*arg1
= (wxWindow
*) 0 ;
13009 int arg2
= (int) wxID_ANY
;
13010 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13011 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13012 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13013 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13014 long arg5
= (long) 0 ;
13015 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
13016 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13017 wxPyHtmlListBox
*result
;
13020 bool temp6
= false ;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 PyObject
* obj2
= 0 ;
13024 PyObject
* obj3
= 0 ;
13025 PyObject
* obj4
= 0 ;
13026 PyObject
* obj5
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13033 if (SWIG_arg_fail(1)) SWIG_fail
;
13036 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13037 if (SWIG_arg_fail(2)) SWIG_fail
;
13043 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13049 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13054 arg5
= static_cast<long >(SWIG_As_long(obj4
));
13055 if (SWIG_arg_fail(5)) SWIG_fail
;
13060 arg6
= wxString_in_helper(obj5
);
13061 if (arg6
== NULL
) SWIG_fail
;
13066 if (!wxPyCheckForApp()) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
13088 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
= NULL
;
13090 wxPyHtmlListBox
*result
;
13091 char *kwnames
[] = {
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
13097 if (!wxPyCheckForApp()) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
13111 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= NULL
;
13113 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13114 PyObject
*arg2
= (PyObject
*) 0 ;
13115 PyObject
*arg3
= (PyObject
*) 0 ;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 PyObject
* obj2
= 0 ;
13119 char *kwnames
[] = {
13120 (char *) "self",(char *) "self",(char *) "_class", NULL
13123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13125 if (SWIG_arg_fail(1)) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 Py_INCREF(Py_None
); resultobj
= Py_None
;
13142 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
= NULL
;
13144 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13145 wxWindow
*arg2
= (wxWindow
*) 0 ;
13146 int arg3
= (int) wxID_ANY
;
13147 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13148 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13149 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13150 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13151 long arg6
= (long) 0 ;
13152 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
13153 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13157 bool temp7
= false ;
13158 PyObject
* obj0
= 0 ;
13159 PyObject
* obj1
= 0 ;
13160 PyObject
* obj2
= 0 ;
13161 PyObject
* obj3
= 0 ;
13162 PyObject
* obj4
= 0 ;
13163 PyObject
* obj5
= 0 ;
13164 PyObject
* obj6
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13171 if (SWIG_arg_fail(1)) SWIG_fail
;
13172 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13173 if (SWIG_arg_fail(2)) SWIG_fail
;
13176 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13177 if (SWIG_arg_fail(3)) SWIG_fail
;
13183 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13189 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13194 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13195 if (SWIG_arg_fail(6)) SWIG_fail
;
13200 arg7
= wxString_in_helper(obj6
);
13201 if (arg7
== NULL
) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13229 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
= NULL
;
13231 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
13238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13239 if (SWIG_arg_fail(1)) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 (arg1
)->RefreshAll();
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
= NULL
;
13256 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self",(char *) "count", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
13265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13266 if (SWIG_arg_fail(1)) SWIG_fail
;
13268 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
13269 if (SWIG_arg_fail(2)) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 (arg1
)->SetItemCount(arg2
);
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 Py_INCREF(Py_None
); resultobj
= Py_None
;
13285 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13286 PyObject
*resultobj
= NULL
;
13287 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13288 wxFileSystem
*result
;
13289 PyObject
* obj0
= 0 ;
13290 char *kwnames
[] = {
13291 (char *) "self", NULL
13294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
13295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13296 if (SWIG_arg_fail(1)) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
13301 result
= (wxFileSystem
*) &_result_ref
;
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
13314 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
13316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13317 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
13319 return Py_BuildValue((char *)"");
13321 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
= NULL
;
13323 wxPyTaskBarIcon
*result
;
13324 char *kwnames
[] = {
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
13330 if (!wxPyCheckForApp()) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
13344 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
= NULL
;
13346 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13347 PyObject
* obj0
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
13353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13354 if (SWIG_arg_fail(1)) SWIG_fail
;
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 Py_INCREF(Py_None
); resultobj
= Py_None
;
13369 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
= NULL
;
13371 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13372 PyObject
*arg2
= (PyObject
*) 0 ;
13373 PyObject
*arg3
= (PyObject
*) 0 ;
13375 PyObject
* obj0
= 0 ;
13376 PyObject
* obj1
= 0 ;
13377 PyObject
* obj2
= 0 ;
13378 PyObject
* obj3
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13385 if (SWIG_arg_fail(1)) SWIG_fail
;
13389 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13390 if (SWIG_arg_fail(4)) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 Py_INCREF(Py_None
); resultobj
= Py_None
;
13406 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13407 PyObject
*resultobj
= NULL
;
13408 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 char *kwnames
[] = {
13411 (char *) "self", NULL
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
13415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13416 if (SWIG_arg_fail(1)) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 wxPyTaskBarIcon_Destroy(arg1
);
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 Py_INCREF(Py_None
); resultobj
= Py_None
;
13431 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
= NULL
;
13433 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13459 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
= NULL
;
13461 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13463 PyObject
* obj0
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13470 if (SWIG_arg_fail(1)) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13487 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
= NULL
;
13489 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13491 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13492 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13494 bool temp3
= false ;
13495 PyObject
* obj0
= 0 ;
13496 PyObject
* obj1
= 0 ;
13497 PyObject
* obj2
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13504 if (SWIG_arg_fail(1)) SWIG_fail
;
13506 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13507 if (SWIG_arg_fail(2)) SWIG_fail
;
13508 if (arg2
== NULL
) {
13509 SWIG_null_ref("wxIcon");
13511 if (SWIG_arg_fail(2)) SWIG_fail
;
13515 arg3
= wxString_in_helper(obj2
);
13516 if (arg3
== NULL
) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13544 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
= NULL
;
13546 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13555 if (SWIG_arg_fail(1)) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (bool)(arg1
)->RemoveIcon();
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13572 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
= NULL
;
13574 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13575 wxMenu
*arg2
= (wxMenu
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "self",(char *) "menu", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13585 if (SWIG_arg_fail(1)) SWIG_fail
;
13586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13587 if (SWIG_arg_fail(2)) SWIG_fail
;
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 result
= (bool)(arg1
)->PopupMenu(arg2
);
13592 wxPyEndAllowThreads(__tstate
);
13593 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13604 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13607 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13609 return Py_BuildValue((char *)"");
13611 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
= NULL
;
13614 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13615 wxTaskBarIconEvent
*result
;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "evtType",(char *) "tbIcon", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13624 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13625 if (SWIG_arg_fail(1)) SWIG_fail
;
13627 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13628 if (SWIG_arg_fail(2)) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13643 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13646 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13648 return Py_BuildValue((char *)"");
13650 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13651 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13656 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13657 PyObject
*pyobj
= NULL
;
13661 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13663 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13670 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13671 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13676 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13677 PyObject
*pyobj
= NULL
;
13681 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13683 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13690 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13691 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13696 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13697 PyObject
*pyobj
= NULL
;
13701 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13703 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13710 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13711 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13716 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13717 PyObject
*pyobj
= NULL
;
13721 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13723 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13730 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13731 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13736 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13737 PyObject
*pyobj
= NULL
;
13741 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13743 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13750 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13751 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13756 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13757 PyObject
*pyobj
= NULL
;
13761 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13763 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13770 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
= NULL
;
13772 wxColourData
*result
;
13773 char *kwnames
[] = {
13777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 result
= (wxColourData
*)new wxColourData();
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13792 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
= NULL
;
13794 wxColourData
*arg1
= (wxColourData
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13802 if (SWIG_arg_fail(1)) SWIG_fail
;
13804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 wxPyEndAllowThreads(__tstate
);
13808 if (PyErr_Occurred()) SWIG_fail
;
13810 Py_INCREF(Py_None
); resultobj
= Py_None
;
13817 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
= NULL
;
13819 wxColourData
*arg1
= (wxColourData
*) 0 ;
13821 PyObject
* obj0
= 0 ;
13822 char *kwnames
[] = {
13823 (char *) "self", NULL
13826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13828 if (SWIG_arg_fail(1)) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 result
= (bool)(arg1
)->GetChooseFull();
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13845 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
= NULL
;
13847 wxColourData
*arg1
= (wxColourData
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13856 if (SWIG_arg_fail(1)) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (arg1
)->GetColour();
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13865 wxColour
* resultptr
;
13866 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13875 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
= NULL
;
13877 wxColourData
*arg1
= (wxColourData
*) 0 ;
13880 PyObject
* obj0
= 0 ;
13881 PyObject
* obj1
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self",(char *) "i", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13888 if (SWIG_arg_fail(1)) SWIG_fail
;
13890 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13891 if (SWIG_arg_fail(2)) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (arg1
)->GetCustomColour(arg2
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13901 wxColour
* resultptr
;
13902 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13911 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
= NULL
;
13913 wxColourData
*arg1
= (wxColourData
*) 0 ;
13915 PyObject
* obj0
= 0 ;
13916 PyObject
* obj1
= 0 ;
13917 char *kwnames
[] = {
13918 (char *) "self",(char *) "flag", NULL
13921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13923 if (SWIG_arg_fail(1)) SWIG_fail
;
13925 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13926 if (SWIG_arg_fail(2)) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 (arg1
)->SetChooseFull(arg2
);
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 Py_INCREF(Py_None
); resultobj
= Py_None
;
13942 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
= NULL
;
13944 wxColourData
*arg1
= (wxColourData
*) 0 ;
13945 wxColour
*arg2
= 0 ;
13947 PyObject
* obj0
= 0 ;
13948 PyObject
* obj1
= 0 ;
13949 char *kwnames
[] = {
13950 (char *) "self",(char *) "colour", NULL
13953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13955 if (SWIG_arg_fail(1)) SWIG_fail
;
13958 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 (arg1
)->SetColour((wxColour
const &)*arg2
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 Py_INCREF(Py_None
); resultobj
= Py_None
;
13974 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
= NULL
;
13976 wxColourData
*arg1
= (wxColourData
*) 0 ;
13978 wxColour
*arg3
= 0 ;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 PyObject
* obj2
= 0 ;
13983 char *kwnames
[] = {
13984 (char *) "self",(char *) "i",(char *) "colour", NULL
13987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13989 if (SWIG_arg_fail(1)) SWIG_fail
;
13991 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13992 if (SWIG_arg_fail(2)) SWIG_fail
;
13996 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 Py_INCREF(Py_None
); resultobj
= Py_None
;
14012 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
14014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14015 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
14017 return Py_BuildValue((char *)"");
14019 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
= NULL
;
14021 wxWindow
*arg1
= (wxWindow
*) 0 ;
14022 wxColourData
*arg2
= (wxColourData
*) NULL
;
14023 wxColourDialog
*result
;
14024 PyObject
* obj0
= 0 ;
14025 PyObject
* obj1
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "parent",(char *) "data", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
14031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14032 if (SWIG_arg_fail(1)) SWIG_fail
;
14034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
14035 if (SWIG_arg_fail(2)) SWIG_fail
;
14038 if (!wxPyCheckForApp()) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
14052 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
= NULL
;
14054 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
14055 wxColourData
*result
;
14056 PyObject
* obj0
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
14062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
14063 if (SWIG_arg_fail(1)) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 wxColourData
&_result_ref
= (arg1
)->GetColourData();
14068 result
= (wxColourData
*) &_result_ref
;
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
14081 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
14083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14084 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
14086 return Py_BuildValue((char *)"");
14088 static PyObject
*_wrap_GetColourFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
= NULL
;
14090 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
14091 wxColour
const &arg2_defvalue
= wxNullColour
;
14092 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
14093 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14094 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14097 bool temp3
= false ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 PyObject
* obj2
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail
;
14113 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14118 arg3
= wxString_in_helper(obj2
);
14119 if (arg3
== NULL
) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14131 wxColour
* resultptr
;
14132 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
14133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
14149 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
= NULL
;
14151 wxWindow
*arg1
= (wxWindow
*) 0 ;
14152 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
14153 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14154 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14155 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14156 long arg4
= (long) 0 ;
14157 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14158 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14159 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14160 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14161 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
14162 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14163 wxDirDialog
*result
;
14164 bool temp2
= false ;
14165 bool temp3
= false ;
14168 bool temp7
= false ;
14169 PyObject
* obj0
= 0 ;
14170 PyObject
* obj1
= 0 ;
14171 PyObject
* obj2
= 0 ;
14172 PyObject
* obj3
= 0 ;
14173 PyObject
* obj4
= 0 ;
14174 PyObject
* obj5
= 0 ;
14175 PyObject
* obj6
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14182 if (SWIG_arg_fail(1)) SWIG_fail
;
14185 arg2
= wxString_in_helper(obj1
);
14186 if (arg2
== NULL
) SWIG_fail
;
14192 arg3
= wxString_in_helper(obj2
);
14193 if (arg3
== NULL
) SWIG_fail
;
14199 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14200 if (SWIG_arg_fail(4)) SWIG_fail
;
14206 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14212 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14217 arg7
= wxString_in_helper(obj6
);
14218 if (arg7
== NULL
) SWIG_fail
;
14223 if (!wxPyCheckForApp()) SWIG_fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
14261 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14262 PyObject
*resultobj
= NULL
;
14263 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14265 PyObject
* obj0
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14272 if (SWIG_arg_fail(1)) SWIG_fail
;
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (arg1
)->GetPath();
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14293 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
= NULL
;
14295 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14304 if (SWIG_arg_fail(1)) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (arg1
)->GetMessage();
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14325 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
= NULL
;
14327 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "self", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14336 if (SWIG_arg_fail(1)) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (long)(arg1
)->GetStyle();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= SWIG_From_long(static_cast<long >(result
));
14353 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
= NULL
;
14355 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14356 wxString
*arg2
= 0 ;
14357 bool temp2
= false ;
14358 PyObject
* obj0
= 0 ;
14359 PyObject
* obj1
= 0 ;
14360 char *kwnames
[] = {
14361 (char *) "self",(char *) "message", NULL
14364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14366 if (SWIG_arg_fail(1)) SWIG_fail
;
14368 arg2
= wxString_in_helper(obj1
);
14369 if (arg2
== NULL
) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 (arg1
)->SetMessage((wxString
const &)*arg2
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 Py_INCREF(Py_None
); resultobj
= Py_None
;
14394 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= NULL
;
14396 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14397 wxString
*arg2
= 0 ;
14398 bool temp2
= false ;
14399 PyObject
* obj0
= 0 ;
14400 PyObject
* obj1
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self",(char *) "path", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14407 if (SWIG_arg_fail(1)) SWIG_fail
;
14409 arg2
= wxString_in_helper(obj1
);
14410 if (arg2
== NULL
) SWIG_fail
;
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 (arg1
)->SetPath((wxString
const &)*arg2
);
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 Py_INCREF(Py_None
); resultobj
= Py_None
;
14435 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
14437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14438 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
14440 return Py_BuildValue((char *)"");
14442 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
= NULL
;
14444 wxWindow
*arg1
= (wxWindow
*) 0 ;
14445 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
14446 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14447 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14448 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14449 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14450 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14451 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14452 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14453 long arg6
= (long) 0 ;
14454 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14455 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14456 wxFileDialog
*result
;
14457 bool temp2
= false ;
14458 bool temp3
= false ;
14459 bool temp4
= false ;
14460 bool temp5
= false ;
14462 PyObject
* obj0
= 0 ;
14463 PyObject
* obj1
= 0 ;
14464 PyObject
* obj2
= 0 ;
14465 PyObject
* obj3
= 0 ;
14466 PyObject
* obj4
= 0 ;
14467 PyObject
* obj5
= 0 ;
14468 PyObject
* obj6
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14475 if (SWIG_arg_fail(1)) SWIG_fail
;
14478 arg2
= wxString_in_helper(obj1
);
14479 if (arg2
== NULL
) SWIG_fail
;
14485 arg3
= wxString_in_helper(obj2
);
14486 if (arg3
== NULL
) SWIG_fail
;
14492 arg4
= wxString_in_helper(obj3
);
14493 if (arg4
== NULL
) SWIG_fail
;
14499 arg5
= wxString_in_helper(obj4
);
14500 if (arg5
== NULL
) SWIG_fail
;
14506 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14507 if (SWIG_arg_fail(6)) SWIG_fail
;
14513 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14517 if (!wxPyCheckForApp()) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14563 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
= NULL
;
14565 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14566 wxString
*arg2
= 0 ;
14567 bool temp2
= false ;
14568 PyObject
* obj0
= 0 ;
14569 PyObject
* obj1
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self",(char *) "message", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14576 if (SWIG_arg_fail(1)) SWIG_fail
;
14578 arg2
= wxString_in_helper(obj1
);
14579 if (arg2
== NULL
) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 (arg1
)->SetMessage((wxString
const &)*arg2
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 Py_INCREF(Py_None
); resultobj
= Py_None
;
14604 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
= NULL
;
14606 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14607 wxString
*arg2
= 0 ;
14608 bool temp2
= false ;
14609 PyObject
* obj0
= 0 ;
14610 PyObject
* obj1
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self",(char *) "path", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14617 if (SWIG_arg_fail(1)) SWIG_fail
;
14619 arg2
= wxString_in_helper(obj1
);
14620 if (arg2
== NULL
) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 (arg1
)->SetPath((wxString
const &)*arg2
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 Py_INCREF(Py_None
); resultobj
= Py_None
;
14645 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
= NULL
;
14647 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14648 wxString
*arg2
= 0 ;
14649 bool temp2
= false ;
14650 PyObject
* obj0
= 0 ;
14651 PyObject
* obj1
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "self",(char *) "dir", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14658 if (SWIG_arg_fail(1)) SWIG_fail
;
14660 arg2
= wxString_in_helper(obj1
);
14661 if (arg2
== NULL
) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 Py_INCREF(Py_None
); resultobj
= Py_None
;
14686 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
= NULL
;
14688 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14689 wxString
*arg2
= 0 ;
14690 bool temp2
= false ;
14691 PyObject
* obj0
= 0 ;
14692 PyObject
* obj1
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self",(char *) "name", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14699 if (SWIG_arg_fail(1)) SWIG_fail
;
14701 arg2
= wxString_in_helper(obj1
);
14702 if (arg2
== NULL
) SWIG_fail
;
14706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14707 (arg1
)->SetFilename((wxString
const &)*arg2
);
14709 wxPyEndAllowThreads(__tstate
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14712 Py_INCREF(Py_None
); resultobj
= Py_None
;
14727 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
= NULL
;
14729 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14730 wxString
*arg2
= 0 ;
14731 bool temp2
= false ;
14732 PyObject
* obj0
= 0 ;
14733 PyObject
* obj1
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self",(char *) "wildCard", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14740 if (SWIG_arg_fail(1)) SWIG_fail
;
14742 arg2
= wxString_in_helper(obj1
);
14743 if (arg2
== NULL
) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
= NULL
;
14770 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self",(char *) "style", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14780 if (SWIG_arg_fail(1)) SWIG_fail
;
14782 arg2
= static_cast<long >(SWIG_As_long(obj1
));
14783 if (SWIG_arg_fail(2)) SWIG_fail
;
14786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 (arg1
)->SetStyle(arg2
);
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 Py_INCREF(Py_None
); resultobj
= Py_None
;
14799 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
= NULL
;
14801 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self",(char *) "filterIndex", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14811 if (SWIG_arg_fail(1)) SWIG_fail
;
14813 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14814 if (SWIG_arg_fail(2)) SWIG_fail
;
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 (arg1
)->SetFilterIndex(arg2
);
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 Py_INCREF(Py_None
); resultobj
= Py_None
;
14830 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
= NULL
;
14832 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14834 PyObject
* obj0
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "self", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14841 if (SWIG_arg_fail(1)) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14862 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
= NULL
;
14864 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14873 if (SWIG_arg_fail(1)) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14894 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
= NULL
;
14896 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14898 PyObject
* obj0
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14905 if (SWIG_arg_fail(1)) SWIG_fail
;
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14926 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
= NULL
;
14928 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 char *kwnames
[] = {
14932 (char *) "self", NULL
14935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14937 if (SWIG_arg_fail(1)) SWIG_fail
;
14939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14942 wxPyEndAllowThreads(__tstate
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14958 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
= NULL
;
14960 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14969 if (SWIG_arg_fail(1)) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14990 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
= NULL
;
14992 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14994 PyObject
* obj0
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "self", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
15000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
15001 if (SWIG_arg_fail(1)) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_From_long(static_cast<long >(result
));
15018 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
= NULL
;
15020 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
15022 PyObject
* obj0
= 0 ;
15023 char *kwnames
[] = {
15024 (char *) "self", NULL
15027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
15028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
15029 if (SWIG_arg_fail(1)) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= SWIG_From_int(static_cast<int >(result
));
15046 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
= NULL
;
15048 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
15056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
15057 if (SWIG_arg_fail(1)) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= result
;
15072 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
= NULL
;
15074 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
15082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
15083 if (SWIG_arg_fail(1)) SWIG_fail
;
15085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15086 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= result
;
15098 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
15100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15101 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
15103 return Py_BuildValue((char *)"");
15105 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
= NULL
;
15107 wxWindow
*arg1
= (wxWindow
*) 0 ;
15108 wxString
*arg2
= 0 ;
15109 wxString
*arg3
= 0 ;
15110 int arg4
= (int) 0 ;
15111 wxString
*arg5
= (wxString
*) NULL
;
15112 long arg6
= (long) wxCHOICEDLG_STYLE
;
15113 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15114 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15115 wxMultiChoiceDialog
*result
;
15116 bool temp2
= false ;
15117 bool temp3
= false ;
15119 PyObject
* obj0
= 0 ;
15120 PyObject
* obj1
= 0 ;
15121 PyObject
* obj2
= 0 ;
15122 PyObject
* obj3
= 0 ;
15123 PyObject
* obj4
= 0 ;
15124 PyObject
* obj5
= 0 ;
15125 char *kwnames
[] = {
15126 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15131 if (SWIG_arg_fail(1)) SWIG_fail
;
15133 arg2
= wxString_in_helper(obj1
);
15134 if (arg2
== NULL
) SWIG_fail
;
15138 arg3
= wxString_in_helper(obj2
);
15139 if (arg3
== NULL
) SWIG_fail
;
15144 arg4
= PyList_Size(obj3
);
15145 arg5
= wxString_LIST_helper(obj3
);
15146 if (arg5
== NULL
) SWIG_fail
;
15151 arg6
= static_cast<long >(SWIG_As_long(obj4
));
15152 if (SWIG_arg_fail(6)) SWIG_fail
;
15158 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15162 if (!wxPyCheckForApp()) SWIG_fail
;
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
15179 if (arg5
) delete [] arg5
;
15192 if (arg5
) delete [] arg5
;
15198 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
= NULL
;
15200 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15201 wxArrayInt
*arg2
= 0 ;
15202 bool temp2
= false ;
15203 PyObject
* obj0
= 0 ;
15204 PyObject
* obj1
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self",(char *) "selections", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
15210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15211 if (SWIG_arg_fail(1)) SWIG_fail
;
15213 if (! PySequence_Check(obj1
)) {
15214 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
15217 arg2
= new wxArrayInt
;
15219 int i
, len
=PySequence_Length(obj1
);
15220 for (i
=0; i
<len
; i
++) {
15221 PyObject
* item
= PySequence_GetItem(obj1
, i
);
15222 PyObject
* number
= PyNumber_Int(item
);
15223 arg2
->Add(PyInt_AS_LONG(number
));
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 Py_INCREF(Py_None
); resultobj
= Py_None
;
15237 if (temp2
) delete arg2
;
15242 if (temp2
) delete arg2
;
15248 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
= NULL
;
15250 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
15258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15259 if (SWIG_arg_fail(1)) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= result
;
15274 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15277 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
15279 return Py_BuildValue((char *)"");
15281 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15282 PyObject
*resultobj
= NULL
;
15283 wxWindow
*arg1
= (wxWindow
*) 0 ;
15284 wxString
*arg2
= 0 ;
15285 wxString
*arg3
= 0 ;
15287 wxString
*arg5
= (wxString
*) 0 ;
15288 long arg6
= (long) wxCHOICEDLG_STYLE
;
15289 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15290 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15291 wxSingleChoiceDialog
*result
;
15292 bool temp2
= false ;
15293 bool temp3
= false ;
15295 PyObject
* obj0
= 0 ;
15296 PyObject
* obj1
= 0 ;
15297 PyObject
* obj2
= 0 ;
15298 PyObject
* obj3
= 0 ;
15299 PyObject
* obj4
= 0 ;
15300 PyObject
* obj5
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15307 if (SWIG_arg_fail(1)) SWIG_fail
;
15309 arg2
= wxString_in_helper(obj1
);
15310 if (arg2
== NULL
) SWIG_fail
;
15314 arg3
= wxString_in_helper(obj2
);
15315 if (arg3
== NULL
) SWIG_fail
;
15319 arg4
= PyList_Size(obj3
);
15320 arg5
= wxString_LIST_helper(obj3
);
15321 if (arg5
== NULL
) SWIG_fail
;
15325 arg6
= static_cast<long >(SWIG_As_long(obj4
));
15326 if (SWIG_arg_fail(6)) SWIG_fail
;
15332 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15336 if (!wxPyCheckForApp()) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
15353 if (arg5
) delete [] arg5
;
15366 if (arg5
) delete [] arg5
;
15372 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
= NULL
;
15374 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
15382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15383 if (SWIG_arg_fail(1)) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (int)(arg1
)->GetSelection();
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= SWIG_From_int(static_cast<int >(result
));
15400 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
= NULL
;
15402 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15404 PyObject
* obj0
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "self", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
15410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 result
= (arg1
)->GetStringSelection();
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15432 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
= NULL
;
15434 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 PyObject
* obj1
= 0 ;
15438 char *kwnames
[] = {
15439 (char *) "self",(char *) "sel", NULL
15442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15444 if (SWIG_arg_fail(1)) SWIG_fail
;
15446 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15447 if (SWIG_arg_fail(2)) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 (arg1
)->SetSelection(arg2
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 Py_INCREF(Py_None
); resultobj
= Py_None
;
15463 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15466 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15468 return Py_BuildValue((char *)"");
15470 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
= NULL
;
15472 wxWindow
*arg1
= (wxWindow
*) 0 ;
15473 wxString
*arg2
= 0 ;
15474 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15475 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15476 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15477 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15478 long arg5
= (long) wxTextEntryDialogStyle
;
15479 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15480 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15481 wxTextEntryDialog
*result
;
15482 bool temp2
= false ;
15483 bool temp3
= false ;
15484 bool temp4
= false ;
15486 PyObject
* obj0
= 0 ;
15487 PyObject
* obj1
= 0 ;
15488 PyObject
* obj2
= 0 ;
15489 PyObject
* obj3
= 0 ;
15490 PyObject
* obj4
= 0 ;
15491 PyObject
* obj5
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15498 if (SWIG_arg_fail(1)) SWIG_fail
;
15500 arg2
= wxString_in_helper(obj1
);
15501 if (arg2
== NULL
) SWIG_fail
;
15506 arg3
= wxString_in_helper(obj2
);
15507 if (arg3
== NULL
) SWIG_fail
;
15513 arg4
= wxString_in_helper(obj3
);
15514 if (arg4
== NULL
) SWIG_fail
;
15520 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15521 if (SWIG_arg_fail(5)) SWIG_fail
;
15527 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15531 if (!wxPyCheckForApp()) SWIG_fail
;
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15569 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
= NULL
;
15571 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15573 PyObject
* obj0
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15580 if (SWIG_arg_fail(1)) SWIG_fail
;
15582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15583 result
= (arg1
)->GetValue();
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15601 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
= NULL
;
15603 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15604 wxString
*arg2
= 0 ;
15605 bool temp2
= false ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self",(char *) "value", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15614 if (SWIG_arg_fail(1)) SWIG_fail
;
15616 arg2
= wxString_in_helper(obj1
);
15617 if (arg2
== NULL
) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 (arg1
)->SetValue((wxString
const &)*arg2
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 Py_INCREF(Py_None
); resultobj
= Py_None
;
15642 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15645 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15647 return Py_BuildValue((char *)"");
15649 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15650 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15655 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15656 PyObject
*pyobj
= NULL
;
15660 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15662 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15669 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
= NULL
;
15671 wxWindow
*arg1
= (wxWindow
*) 0 ;
15672 wxString
*arg2
= 0 ;
15673 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15674 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15675 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15676 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15677 long arg5
= (long) wxTextEntryDialogStyle
;
15678 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15679 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15680 wxPasswordEntryDialog
*result
;
15681 bool temp2
= false ;
15682 bool temp3
= false ;
15683 bool temp4
= false ;
15685 PyObject
* obj0
= 0 ;
15686 PyObject
* obj1
= 0 ;
15687 PyObject
* obj2
= 0 ;
15688 PyObject
* obj3
= 0 ;
15689 PyObject
* obj4
= 0 ;
15690 PyObject
* obj5
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15697 if (SWIG_arg_fail(1)) SWIG_fail
;
15699 arg2
= wxString_in_helper(obj1
);
15700 if (arg2
== NULL
) SWIG_fail
;
15705 arg3
= wxString_in_helper(obj2
);
15706 if (arg3
== NULL
) SWIG_fail
;
15712 arg4
= wxString_in_helper(obj3
);
15713 if (arg4
== NULL
) SWIG_fail
;
15719 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15720 if (SWIG_arg_fail(5)) SWIG_fail
;
15726 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15767 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15770 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15772 return Py_BuildValue((char *)"");
15774 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
= NULL
;
15776 wxFontData
*result
;
15777 char *kwnames
[] = {
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= (wxFontData
*)new wxFontData();
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15796 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
= NULL
;
15798 wxFontData
*arg1
= (wxFontData
*) 0 ;
15799 PyObject
* obj0
= 0 ;
15800 char *kwnames
[] = {
15801 (char *) "self", NULL
15804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15806 if (SWIG_arg_fail(1)) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 Py_INCREF(Py_None
); resultobj
= Py_None
;
15821 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
= NULL
;
15823 wxFontData
*arg1
= (wxFontData
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self",(char *) "enable", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15833 if (SWIG_arg_fail(1)) SWIG_fail
;
15835 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15836 if (SWIG_arg_fail(2)) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 (arg1
)->EnableEffects(arg2
);
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 Py_INCREF(Py_None
); resultobj
= Py_None
;
15852 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
= NULL
;
15854 wxFontData
*arg1
= (wxFontData
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (bool)(arg1
)->GetAllowSymbols();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15880 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
= NULL
;
15882 wxFontData
*arg1
= (wxFontData
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15891 if (SWIG_arg_fail(1)) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (arg1
)->GetColour();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15900 wxColour
* resultptr
;
15901 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
15902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15910 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
= NULL
;
15912 wxFontData
*arg1
= (wxFontData
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15921 if (SWIG_arg_fail(1)) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (arg1
)->GetChosenFont();
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15930 wxFont
* resultptr
;
15931 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15940 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15941 PyObject
*resultobj
= NULL
;
15942 wxFontData
*arg1
= (wxFontData
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15951 if (SWIG_arg_fail(1)) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 result
= (bool)(arg1
)->GetEnableEffects();
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15968 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
= NULL
;
15970 wxFontData
*arg1
= (wxFontData
*) 0 ;
15972 PyObject
* obj0
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15979 if (SWIG_arg_fail(1)) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 result
= (arg1
)->GetInitialFont();
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15988 wxFont
* resultptr
;
15989 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15998 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
= NULL
;
16000 wxFontData
*arg1
= (wxFontData
*) 0 ;
16002 PyObject
* obj0
= 0 ;
16003 char *kwnames
[] = {
16004 (char *) "self", NULL
16007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
16008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16009 if (SWIG_arg_fail(1)) SWIG_fail
;
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 result
= (bool)(arg1
)->GetShowHelp();
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16026 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
= NULL
;
16028 wxFontData
*arg1
= (wxFontData
*) 0 ;
16030 PyObject
* obj0
= 0 ;
16031 PyObject
* obj1
= 0 ;
16032 char *kwnames
[] = {
16033 (char *) "self",(char *) "allowSymbols", NULL
16036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
16037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16038 if (SWIG_arg_fail(1)) SWIG_fail
;
16040 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16041 if (SWIG_arg_fail(2)) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 (arg1
)->SetAllowSymbols(arg2
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16050 Py_INCREF(Py_None
); resultobj
= Py_None
;
16057 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16058 PyObject
*resultobj
= NULL
;
16059 wxFontData
*arg1
= (wxFontData
*) 0 ;
16061 PyObject
* obj0
= 0 ;
16062 PyObject
* obj1
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self",(char *) "font", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16069 if (SWIG_arg_fail(1)) SWIG_fail
;
16071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16072 if (SWIG_arg_fail(2)) SWIG_fail
;
16073 if (arg2
== NULL
) {
16074 SWIG_null_ref("wxFont");
16076 if (SWIG_arg_fail(2)) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 Py_INCREF(Py_None
); resultobj
= Py_None
;
16092 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
= NULL
;
16094 wxFontData
*arg1
= (wxFontData
*) 0 ;
16095 wxColour
*arg2
= 0 ;
16097 PyObject
* obj0
= 0 ;
16098 PyObject
* obj1
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self",(char *) "colour", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16105 if (SWIG_arg_fail(1)) SWIG_fail
;
16108 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 (arg1
)->SetColour((wxColour
const &)*arg2
);
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 Py_INCREF(Py_None
); resultobj
= Py_None
;
16124 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
= NULL
;
16126 wxFontData
*arg1
= (wxFontData
*) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 PyObject
* obj1
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self",(char *) "font", NULL
16134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16136 if (SWIG_arg_fail(1)) SWIG_fail
;
16138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16139 if (SWIG_arg_fail(2)) SWIG_fail
;
16140 if (arg2
== NULL
) {
16141 SWIG_null_ref("wxFont");
16143 if (SWIG_arg_fail(2)) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 Py_INCREF(Py_None
); resultobj
= Py_None
;
16159 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
= NULL
;
16161 wxFontData
*arg1
= (wxFontData
*) 0 ;
16164 PyObject
* obj0
= 0 ;
16165 PyObject
* obj1
= 0 ;
16166 PyObject
* obj2
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "min",(char *) "max", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16173 if (SWIG_arg_fail(1)) SWIG_fail
;
16175 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16176 if (SWIG_arg_fail(2)) SWIG_fail
;
16179 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16180 if (SWIG_arg_fail(3)) SWIG_fail
;
16183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 (arg1
)->SetRange(arg2
,arg3
);
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 Py_INCREF(Py_None
); resultobj
= Py_None
;
16196 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
= NULL
;
16198 wxFontData
*arg1
= (wxFontData
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 PyObject
* obj1
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "self",(char *) "showHelp", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16208 if (SWIG_arg_fail(1)) SWIG_fail
;
16210 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16211 if (SWIG_arg_fail(2)) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 (arg1
)->SetShowHelp(arg2
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 Py_INCREF(Py_None
); resultobj
= Py_None
;
16227 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
16229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16230 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
16232 return Py_BuildValue((char *)"");
16234 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
= NULL
;
16236 wxWindow
*arg1
= (wxWindow
*) 0 ;
16237 wxFontData
*arg2
= 0 ;
16238 wxFontDialog
*result
;
16239 PyObject
* obj0
= 0 ;
16240 PyObject
* obj1
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "parent",(char *) "data", NULL
16245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16247 if (SWIG_arg_fail(1)) SWIG_fail
;
16249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16250 if (SWIG_arg_fail(2)) SWIG_fail
;
16251 if (arg2
== NULL
) {
16252 SWIG_null_ref("wxFontData");
16254 if (SWIG_arg_fail(2)) SWIG_fail
;
16257 if (!wxPyCheckForApp()) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
16271 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
= NULL
;
16273 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
16274 wxFontData
*result
;
16275 PyObject
* obj0
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
16281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
16282 if (SWIG_arg_fail(1)) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 wxFontData
&_result_ref
= (arg1
)->GetFontData();
16287 result
= (wxFontData
*) &_result_ref
;
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
16300 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
16302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16303 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
16305 return Py_BuildValue((char *)"");
16307 static PyObject
*_wrap_GetFontFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
= NULL
;
16309 wxWindow
*arg1
= (wxWindow
*) NULL
;
16310 wxFont
const &arg2_defvalue
= wxNullFont
;
16311 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
16312 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16313 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16315 bool temp3
= false ;
16316 PyObject
* obj0
= 0 ;
16317 PyObject
* obj1
= 0 ;
16318 PyObject
* obj2
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail
;
16330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16331 if (SWIG_arg_fail(2)) SWIG_fail
;
16332 if (arg2
== NULL
) {
16333 SWIG_null_ref("wxFont");
16335 if (SWIG_arg_fail(2)) SWIG_fail
;
16340 arg3
= wxString_in_helper(obj2
);
16341 if (arg3
== NULL
) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
16349 wxPyEndAllowThreads(__tstate
);
16350 if (PyErr_Occurred()) SWIG_fail
;
16353 wxFont
* resultptr
;
16354 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
16355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16371 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
= NULL
;
16373 wxWindow
*arg1
= (wxWindow
*) 0 ;
16374 wxString
*arg2
= 0 ;
16375 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
16376 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16377 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
16378 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16379 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16380 wxMessageDialog
*result
;
16381 bool temp2
= false ;
16382 bool temp3
= false ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 PyObject
* obj2
= 0 ;
16387 PyObject
* obj3
= 0 ;
16388 PyObject
* obj4
= 0 ;
16389 char *kwnames
[] = {
16390 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16395 if (SWIG_arg_fail(1)) SWIG_fail
;
16397 arg2
= wxString_in_helper(obj1
);
16398 if (arg2
== NULL
) SWIG_fail
;
16403 arg3
= wxString_in_helper(obj2
);
16404 if (arg3
== NULL
) SWIG_fail
;
16410 arg4
= static_cast<long >(SWIG_As_long(obj3
));
16411 if (SWIG_arg_fail(4)) SWIG_fail
;
16417 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16421 if (!wxPyCheckForApp()) SWIG_fail
;
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
16451 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
16453 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16454 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
16456 return Py_BuildValue((char *)"");
16458 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
= NULL
;
16460 wxString
*arg1
= 0 ;
16461 wxString
*arg2
= 0 ;
16462 int arg3
= (int) 100 ;
16463 wxWindow
*arg4
= (wxWindow
*) NULL
;
16464 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
16465 wxProgressDialog
*result
;
16466 bool temp1
= false ;
16467 bool temp2
= false ;
16468 PyObject
* obj0
= 0 ;
16469 PyObject
* obj1
= 0 ;
16470 PyObject
* obj2
= 0 ;
16471 PyObject
* obj3
= 0 ;
16472 PyObject
* obj4
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16479 arg1
= wxString_in_helper(obj0
);
16480 if (arg1
== NULL
) SWIG_fail
;
16484 arg2
= wxString_in_helper(obj1
);
16485 if (arg2
== NULL
) SWIG_fail
;
16490 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16491 if (SWIG_arg_fail(3)) SWIG_fail
;
16495 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16496 if (SWIG_arg_fail(4)) SWIG_fail
;
16500 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16501 if (SWIG_arg_fail(5)) SWIG_fail
;
16505 if (!wxPyCheckForApp()) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16535 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
= NULL
;
16537 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16539 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16540 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16542 bool temp3
= false ;
16543 PyObject
* obj0
= 0 ;
16544 PyObject
* obj1
= 0 ;
16545 PyObject
* obj2
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16552 if (SWIG_arg_fail(1)) SWIG_fail
;
16554 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16555 if (SWIG_arg_fail(2)) SWIG_fail
;
16559 arg3
= wxString_in_helper(obj2
);
16560 if (arg3
== NULL
) SWIG_fail
;
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16588 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
= NULL
;
16590 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16591 PyObject
* obj0
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16598 if (SWIG_arg_fail(1)) SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 Py_INCREF(Py_None
); resultobj
= Py_None
;
16613 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16616 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16618 return Py_BuildValue((char *)"");
16620 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
= NULL
;
16622 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16623 int arg2
= (int) 0 ;
16624 wxFindDialogEvent
*result
;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "commandType",(char *) "id", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16634 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
16635 if (SWIG_arg_fail(1)) SWIG_fail
;
16640 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16641 if (SWIG_arg_fail(2)) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16658 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
= NULL
;
16660 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16662 PyObject
* obj0
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16669 if (SWIG_arg_fail(1)) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= (int)(arg1
)->GetFlags();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= SWIG_From_int(static_cast<int >(result
));
16686 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
= NULL
;
16688 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16697 if (SWIG_arg_fail(1)) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 wxString
const &_result_ref
= (arg1
)->GetFindString();
16702 result
= (wxString
*) &_result_ref
;
16705 wxPyEndAllowThreads(__tstate
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16710 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16712 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16721 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
= NULL
;
16723 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16725 PyObject
* obj0
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16732 if (SWIG_arg_fail(1)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16737 result
= (wxString
*) &_result_ref
;
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16745 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16747 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16756 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
= NULL
;
16758 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16759 wxFindReplaceDialog
*result
;
16760 PyObject
* obj0
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16767 if (SWIG_arg_fail(1)) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16782 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
= NULL
;
16784 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self",(char *) "flags", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16794 if (SWIG_arg_fail(1)) SWIG_fail
;
16796 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16797 if (SWIG_arg_fail(2)) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 (arg1
)->SetFlags(arg2
);
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16806 Py_INCREF(Py_None
); resultobj
= Py_None
;
16813 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
= NULL
;
16815 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16816 wxString
*arg2
= 0 ;
16817 bool temp2
= false ;
16818 PyObject
* obj0
= 0 ;
16819 PyObject
* obj1
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self",(char *) "str", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16826 if (SWIG_arg_fail(1)) SWIG_fail
;
16828 arg2
= wxString_in_helper(obj1
);
16829 if (arg2
== NULL
) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 (arg1
)->SetFindString((wxString
const &)*arg2
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 Py_INCREF(Py_None
); resultobj
= Py_None
;
16854 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
= NULL
;
16856 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16857 wxString
*arg2
= 0 ;
16858 bool temp2
= false ;
16859 PyObject
* obj0
= 0 ;
16860 PyObject
* obj1
= 0 ;
16861 char *kwnames
[] = {
16862 (char *) "self",(char *) "str", NULL
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16867 if (SWIG_arg_fail(1)) SWIG_fail
;
16869 arg2
= wxString_in_helper(obj1
);
16870 if (arg2
== NULL
) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 Py_INCREF(Py_None
); resultobj
= Py_None
;
16895 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16898 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16900 return Py_BuildValue((char *)"");
16902 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
= NULL
;
16904 int arg1
= (int) 0 ;
16905 wxFindReplaceData
*result
;
16906 PyObject
* obj0
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "flags", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16914 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16915 if (SWIG_arg_fail(1)) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16920 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16922 wxPyEndAllowThreads(__tstate
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16932 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
= NULL
;
16934 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16935 PyObject
* obj0
= 0 ;
16936 char *kwnames
[] = {
16937 (char *) "self", NULL
16940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16942 if (SWIG_arg_fail(1)) SWIG_fail
;
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 Py_INCREF(Py_None
); resultobj
= Py_None
;
16957 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
= NULL
;
16959 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16961 PyObject
* obj0
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "self", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16968 if (SWIG_arg_fail(1)) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 wxString
const &_result_ref
= (arg1
)->GetFindString();
16973 result
= (wxString
*) &_result_ref
;
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16981 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16983 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16992 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
= NULL
;
16994 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
17002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17003 if (SWIG_arg_fail(1)) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
17008 result
= (wxString
*) &_result_ref
;
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17016 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17018 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17027 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
= NULL
;
17029 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
17031 PyObject
* obj0
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "self", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
17037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17038 if (SWIG_arg_fail(1)) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= (int)(arg1
)->GetFlags();
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= SWIG_From_int(static_cast<int >(result
));
17055 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
= NULL
;
17057 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self",(char *) "flags", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
17066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail
;
17069 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17070 if (SWIG_arg_fail(2)) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 (arg1
)->SetFlags(arg2
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 Py_INCREF(Py_None
); resultobj
= Py_None
;
17086 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
= NULL
;
17088 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
17089 wxString
*arg2
= 0 ;
17090 bool temp2
= false ;
17091 PyObject
* obj0
= 0 ;
17092 PyObject
* obj1
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self",(char *) "str", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
17098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17099 if (SWIG_arg_fail(1)) SWIG_fail
;
17101 arg2
= wxString_in_helper(obj1
);
17102 if (arg2
== NULL
) SWIG_fail
;
17106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 (arg1
)->SetFindString((wxString
const &)*arg2
);
17109 wxPyEndAllowThreads(__tstate
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17112 Py_INCREF(Py_None
); resultobj
= Py_None
;
17127 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
= NULL
;
17129 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
17130 wxString
*arg2
= 0 ;
17131 bool temp2
= false ;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self",(char *) "str", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
17139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17140 if (SWIG_arg_fail(1)) SWIG_fail
;
17142 arg2
= wxString_in_helper(obj1
);
17143 if (arg2
== NULL
) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 Py_INCREF(Py_None
); resultobj
= Py_None
;
17168 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
17170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17171 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
17173 return Py_BuildValue((char *)"");
17175 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
= NULL
;
17177 wxWindow
*arg1
= (wxWindow
*) 0 ;
17178 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17179 wxString
*arg3
= 0 ;
17180 int arg4
= (int) 0 ;
17181 wxFindReplaceDialog
*result
;
17182 bool temp3
= false ;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 PyObject
* obj2
= 0 ;
17186 PyObject
* obj3
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail
;
17194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17195 if (SWIG_arg_fail(2)) SWIG_fail
;
17197 arg3
= wxString_in_helper(obj2
);
17198 if (arg3
== NULL
) SWIG_fail
;
17203 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17204 if (SWIG_arg_fail(4)) SWIG_fail
;
17208 if (!wxPyCheckForApp()) SWIG_fail
;
17209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17210 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
17212 wxPyEndAllowThreads(__tstate
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17230 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
= NULL
;
17232 wxFindReplaceDialog
*result
;
17233 char *kwnames
[] = {
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
17239 if (!wxPyCheckForApp()) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17253 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
= NULL
;
17255 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17256 wxWindow
*arg2
= (wxWindow
*) 0 ;
17257 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
17258 wxString
*arg4
= 0 ;
17259 int arg5
= (int) 0 ;
17261 bool temp4
= false ;
17262 PyObject
* obj0
= 0 ;
17263 PyObject
* obj1
= 0 ;
17264 PyObject
* obj2
= 0 ;
17265 PyObject
* obj3
= 0 ;
17266 PyObject
* obj4
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17273 if (SWIG_arg_fail(1)) SWIG_fail
;
17274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17275 if (SWIG_arg_fail(2)) SWIG_fail
;
17276 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17277 if (SWIG_arg_fail(3)) SWIG_fail
;
17279 arg4
= wxString_in_helper(obj3
);
17280 if (arg4
== NULL
) SWIG_fail
;
17285 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17286 if (SWIG_arg_fail(5)) SWIG_fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17313 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
= NULL
;
17315 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17316 wxFindReplaceData
*result
;
17317 PyObject
* obj0
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "self", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
17323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17324 if (SWIG_arg_fail(1)) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= (wxFindReplaceData
*)(arg1
)->GetData();
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
17339 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
= NULL
;
17341 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17342 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 PyObject
* obj1
= 0 ;
17345 char *kwnames
[] = {
17346 (char *) "self",(char *) "data", NULL
17349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17351 if (SWIG_arg_fail(1)) SWIG_fail
;
17352 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17353 if (SWIG_arg_fail(2)) SWIG_fail
;
17355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17356 (arg1
)->SetData(arg2
);
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17361 Py_INCREF(Py_None
); resultobj
= Py_None
;
17368 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
17370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17371 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
17373 return Py_BuildValue((char *)"");
17375 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
= NULL
;
17377 wxWindow
*arg1
= (wxWindow
*) 0 ;
17378 int arg2
= (int) (int)-1 ;
17379 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17380 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17385 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17386 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17388 wxMDIParentFrame
*result
;
17389 bool temp3
= false ;
17392 bool temp7
= false ;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 PyObject
* obj2
= 0 ;
17396 PyObject
* obj3
= 0 ;
17397 PyObject
* obj4
= 0 ;
17398 PyObject
* obj5
= 0 ;
17399 PyObject
* obj6
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17406 if (SWIG_arg_fail(1)) SWIG_fail
;
17409 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17410 if (SWIG_arg_fail(2)) SWIG_fail
;
17415 arg3
= wxString_in_helper(obj2
);
17416 if (arg3
== NULL
) SWIG_fail
;
17423 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17429 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17434 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17435 if (SWIG_arg_fail(6)) SWIG_fail
;
17440 arg7
= wxString_in_helper(obj6
);
17441 if (arg7
== NULL
) SWIG_fail
;
17446 if (!wxPyCheckForApp()) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17476 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
= NULL
;
17478 wxMDIParentFrame
*result
;
17479 char *kwnames
[] = {
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
17485 if (!wxPyCheckForApp()) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17499 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
= NULL
;
17501 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17502 wxWindow
*arg2
= (wxWindow
*) 0 ;
17503 int arg3
= (int) (int)-1 ;
17504 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17505 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17506 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17507 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17508 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17509 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17510 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17511 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17512 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17514 bool temp4
= false ;
17517 bool temp8
= false ;
17518 PyObject
* obj0
= 0 ;
17519 PyObject
* obj1
= 0 ;
17520 PyObject
* obj2
= 0 ;
17521 PyObject
* obj3
= 0 ;
17522 PyObject
* obj4
= 0 ;
17523 PyObject
* obj5
= 0 ;
17524 PyObject
* obj6
= 0 ;
17525 PyObject
* obj7
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17532 if (SWIG_arg_fail(1)) SWIG_fail
;
17533 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17534 if (SWIG_arg_fail(2)) SWIG_fail
;
17537 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17538 if (SWIG_arg_fail(3)) SWIG_fail
;
17543 arg4
= wxString_in_helper(obj3
);
17544 if (arg4
== NULL
) SWIG_fail
;
17551 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17557 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17562 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17563 if (SWIG_arg_fail(7)) SWIG_fail
;
17568 arg8
= wxString_in_helper(obj7
);
17569 if (arg8
== NULL
) SWIG_fail
;
17574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17605 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
= NULL
;
17607 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17608 PyObject
* obj0
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17615 if (SWIG_arg_fail(1)) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 (arg1
)->ActivateNext();
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 Py_INCREF(Py_None
); resultobj
= Py_None
;
17630 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
= NULL
;
17632 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17633 PyObject
* obj0
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "self", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17640 if (SWIG_arg_fail(1)) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 (arg1
)->ActivatePrevious();
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 Py_INCREF(Py_None
); resultobj
= Py_None
;
17655 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
= NULL
;
17657 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17658 PyObject
* obj0
= 0 ;
17659 char *kwnames
[] = {
17660 (char *) "self", NULL
17663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17665 if (SWIG_arg_fail(1)) SWIG_fail
;
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 (arg1
)->ArrangeIcons();
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17673 Py_INCREF(Py_None
); resultobj
= Py_None
;
17680 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
= NULL
;
17682 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17683 PyObject
* obj0
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 Py_INCREF(Py_None
); resultobj
= Py_None
;
17705 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
= NULL
;
17707 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17708 wxMDIChildFrame
*result
;
17709 PyObject
* obj0
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17716 if (SWIG_arg_fail(1)) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17733 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
= NULL
;
17735 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17736 wxMDIClientWindow
*result
;
17737 PyObject
* obj0
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17744 if (SWIG_arg_fail(1)) SWIG_fail
;
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17761 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
= NULL
;
17763 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17765 PyObject
* obj0
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17772 if (SWIG_arg_fail(1)) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 result
= (wxWindow
*)(arg1
)->GetToolBar();
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17781 resultobj
= wxPyMake_wxObject(result
, 0);
17789 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
= NULL
;
17791 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
17799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= wxPyMake_wxObject(result
, 0);
17817 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
= NULL
;
17819 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17820 wxMenu
*arg2
= (wxMenu
*) 0 ;
17821 PyObject
* obj0
= 0 ;
17822 PyObject
* obj1
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self",(char *) "menu", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
17828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17829 if (SWIG_arg_fail(1)) SWIG_fail
;
17830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
17831 if (SWIG_arg_fail(2)) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 (arg1
)->SetWindowMenu(arg2
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 Py_INCREF(Py_None
); resultobj
= Py_None
;
17846 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
= NULL
;
17848 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17849 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self",(char *) "toolbar", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
17857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17858 if (SWIG_arg_fail(1)) SWIG_fail
;
17859 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
17860 if (SWIG_arg_fail(2)) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 (arg1
)->SetToolBar(arg2
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 Py_INCREF(Py_None
); resultobj
= Py_None
;
17875 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
= NULL
;
17877 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17878 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17879 PyObject
* obj0
= 0 ;
17880 PyObject
* obj1
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self",(char *) "orient", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17887 if (SWIG_arg_fail(1)) SWIG_fail
;
17890 arg2
= static_cast<wxOrientation
>(SWIG_As_int(obj1
));
17891 if (SWIG_arg_fail(2)) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 (arg1
)->Tile(arg2
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 Py_INCREF(Py_None
); resultobj
= Py_None
;
17908 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17911 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17913 return Py_BuildValue((char *)"");
17915 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
= NULL
;
17917 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17918 int arg2
= (int) (int)-1 ;
17919 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17920 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17925 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17926 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17927 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17928 wxMDIChildFrame
*result
;
17929 bool temp3
= false ;
17932 bool temp7
= false ;
17933 PyObject
* obj0
= 0 ;
17934 PyObject
* obj1
= 0 ;
17935 PyObject
* obj2
= 0 ;
17936 PyObject
* obj3
= 0 ;
17937 PyObject
* obj4
= 0 ;
17938 PyObject
* obj5
= 0 ;
17939 PyObject
* obj6
= 0 ;
17940 char *kwnames
[] = {
17941 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17946 if (SWIG_arg_fail(1)) SWIG_fail
;
17949 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17950 if (SWIG_arg_fail(2)) SWIG_fail
;
17955 arg3
= wxString_in_helper(obj2
);
17956 if (arg3
== NULL
) SWIG_fail
;
17963 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17969 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17974 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17975 if (SWIG_arg_fail(6)) SWIG_fail
;
17980 arg7
= wxString_in_helper(obj6
);
17981 if (arg7
== NULL
) SWIG_fail
;
17986 if (!wxPyCheckForApp()) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
18016 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
= NULL
;
18018 wxMDIChildFrame
*result
;
18019 char *kwnames
[] = {
18023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
18025 if (!wxPyCheckForApp()) SWIG_fail
;
18026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18027 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
18039 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18040 PyObject
*resultobj
= NULL
;
18041 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
18042 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
18043 int arg3
= (int) (int)-1 ;
18044 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18045 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18046 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18047 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18048 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18049 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18050 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
18051 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
18052 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18054 bool temp4
= false ;
18057 bool temp8
= false ;
18058 PyObject
* obj0
= 0 ;
18059 PyObject
* obj1
= 0 ;
18060 PyObject
* obj2
= 0 ;
18061 PyObject
* obj3
= 0 ;
18062 PyObject
* obj4
= 0 ;
18063 PyObject
* obj5
= 0 ;
18064 PyObject
* obj6
= 0 ;
18065 PyObject
* obj7
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18072 if (SWIG_arg_fail(1)) SWIG_fail
;
18073 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18074 if (SWIG_arg_fail(2)) SWIG_fail
;
18077 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
18078 if (SWIG_arg_fail(3)) SWIG_fail
;
18083 arg4
= wxString_in_helper(obj3
);
18084 if (arg4
== NULL
) SWIG_fail
;
18091 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18097 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18102 arg7
= static_cast<long >(SWIG_As_long(obj6
));
18103 if (SWIG_arg_fail(7)) SWIG_fail
;
18108 arg8
= wxString_in_helper(obj7
);
18109 if (arg8
== NULL
) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18145 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
= NULL
;
18147 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
18148 PyObject
* obj0
= 0 ;
18149 char *kwnames
[] = {
18150 (char *) "self", NULL
18153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
18154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18155 if (SWIG_arg_fail(1)) SWIG_fail
;
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 (arg1
)->Activate();
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 Py_INCREF(Py_None
); resultobj
= Py_None
;
18170 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18171 PyObject
*resultobj
= NULL
;
18172 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
18173 bool arg2
= (bool) true ;
18174 PyObject
* obj0
= 0 ;
18175 PyObject
* obj1
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self",(char *) "maximize", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
18181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18182 if (SWIG_arg_fail(1)) SWIG_fail
;
18185 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18186 if (SWIG_arg_fail(2)) SWIG_fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 (arg1
)->Maximize(arg2
);
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 Py_INCREF(Py_None
); resultobj
= Py_None
;
18203 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18204 PyObject
*resultobj
= NULL
;
18205 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 char *kwnames
[] = {
18208 (char *) "self", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
18212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18213 if (SWIG_arg_fail(1)) SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18221 Py_INCREF(Py_None
); resultobj
= Py_None
;
18228 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
18230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18231 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
18233 return Py_BuildValue((char *)"");
18235 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
= NULL
;
18237 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
18238 long arg2
= (long) 0 ;
18239 wxMDIClientWindow
*result
;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "parent",(char *) "style", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18248 if (SWIG_arg_fail(1)) SWIG_fail
;
18251 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18252 if (SWIG_arg_fail(2)) SWIG_fail
;
18256 if (!wxPyCheckForApp()) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
18270 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18271 PyObject
*resultobj
= NULL
;
18272 wxMDIClientWindow
*result
;
18273 char *kwnames
[] = {
18277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
18279 if (!wxPyCheckForApp()) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
18293 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
= NULL
;
18295 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
18296 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
18297 long arg3
= (long) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18301 PyObject
* obj2
= 0 ;
18302 char *kwnames
[] = {
18303 (char *) "self",(char *) "parent",(char *) "style", NULL
18306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
18308 if (SWIG_arg_fail(1)) SWIG_fail
;
18309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18310 if (SWIG_arg_fail(2)) SWIG_fail
;
18313 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18314 if (SWIG_arg_fail(3)) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (bool)(arg1
)->Create(arg2
,arg3
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18333 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
18335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18336 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
18338 return Py_BuildValue((char *)"");
18340 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
= NULL
;
18342 wxWindow
*arg1
= (wxWindow
*) 0 ;
18343 int arg2
= (int) (int)-1 ;
18344 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18345 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18346 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18347 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18348 long arg5
= (long) 0 ;
18349 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18350 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18351 wxPyWindow
*result
;
18354 bool temp6
= false ;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 PyObject
* obj2
= 0 ;
18358 PyObject
* obj3
= 0 ;
18359 PyObject
* obj4
= 0 ;
18360 PyObject
* obj5
= 0 ;
18361 char *kwnames
[] = {
18362 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18367 if (SWIG_arg_fail(1)) SWIG_fail
;
18370 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
18371 if (SWIG_arg_fail(2)) SWIG_fail
;
18377 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18383 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18388 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18389 if (SWIG_arg_fail(5)) SWIG_fail
;
18394 arg6
= wxString_in_helper(obj5
);
18395 if (arg6
== NULL
) SWIG_fail
;
18400 if (!wxPyCheckForApp()) SWIG_fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18422 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
= NULL
;
18424 wxPyWindow
*result
;
18425 char *kwnames
[] = {
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
18431 if (!wxPyCheckForApp()) SWIG_fail
;
18432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18433 result
= (wxPyWindow
*)new wxPyWindow();
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18445 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
= NULL
;
18447 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18448 PyObject
*arg2
= (PyObject
*) 0 ;
18449 PyObject
*arg3
= (PyObject
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 PyObject
* obj1
= 0 ;
18452 PyObject
* obj2
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self",(char *) "self",(char *) "_class", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18459 if (SWIG_arg_fail(1)) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 Py_INCREF(Py_None
); resultobj
= Py_None
;
18476 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
= NULL
;
18478 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18481 PyObject
* obj0
= 0 ;
18482 PyObject
* obj1
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self",(char *) "size", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18489 if (SWIG_arg_fail(1)) SWIG_fail
;
18492 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 Py_INCREF(Py_None
); resultobj
= Py_None
;
18508 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
= NULL
;
18510 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18511 wxDC
*arg2
= (wxDC
*) 0 ;
18513 PyObject
* obj0
= 0 ;
18514 PyObject
* obj1
= 0 ;
18515 char *kwnames
[] = {
18516 (char *) "self",(char *) "dc", NULL
18519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18521 if (SWIG_arg_fail(1)) SWIG_fail
;
18522 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18523 if (SWIG_arg_fail(2)) SWIG_fail
;
18525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18526 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18528 wxPyEndAllowThreads(__tstate
);
18529 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18540 static PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
= NULL
;
18542 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18547 PyObject
* obj0
= 0 ;
18548 PyObject
* obj1
= 0 ;
18549 PyObject
* obj2
= 0 ;
18550 PyObject
* obj3
= 0 ;
18551 PyObject
* obj4
= 0 ;
18552 char *kwnames
[] = {
18553 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18558 if (SWIG_arg_fail(1)) SWIG_fail
;
18560 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18561 if (SWIG_arg_fail(2)) SWIG_fail
;
18564 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18565 if (SWIG_arg_fail(3)) SWIG_fail
;
18568 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18569 if (SWIG_arg_fail(4)) SWIG_fail
;
18572 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18573 if (SWIG_arg_fail(5)) SWIG_fail
;
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18582 Py_INCREF(Py_None
); resultobj
= Py_None
;
18589 static PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
= NULL
;
18591 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18596 int arg6
= (int) wxSIZE_AUTO
;
18597 PyObject
* obj0
= 0 ;
18598 PyObject
* obj1
= 0 ;
18599 PyObject
* obj2
= 0 ;
18600 PyObject
* obj3
= 0 ;
18601 PyObject
* obj4
= 0 ;
18602 PyObject
* obj5
= 0 ;
18603 char *kwnames
[] = {
18604 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18609 if (SWIG_arg_fail(1)) SWIG_fail
;
18611 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18612 if (SWIG_arg_fail(2)) SWIG_fail
;
18615 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18616 if (SWIG_arg_fail(3)) SWIG_fail
;
18619 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18620 if (SWIG_arg_fail(4)) SWIG_fail
;
18623 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18624 if (SWIG_arg_fail(5)) SWIG_fail
;
18628 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18629 if (SWIG_arg_fail(6)) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 Py_INCREF(Py_None
); resultobj
= Py_None
;
18646 static PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
= NULL
;
18648 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18651 PyObject
* obj0
= 0 ;
18652 PyObject
* obj1
= 0 ;
18653 PyObject
* obj2
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self",(char *) "width",(char *) "height", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18660 if (SWIG_arg_fail(1)) SWIG_fail
;
18662 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18663 if (SWIG_arg_fail(2)) SWIG_fail
;
18666 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18667 if (SWIG_arg_fail(3)) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 (arg1
)->DoSetClientSize(arg2
,arg3
);
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 Py_INCREF(Py_None
); resultobj
= Py_None
;
18683 static PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
= NULL
;
18685 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18688 PyObject
* obj0
= 0 ;
18689 PyObject
* obj1
= 0 ;
18690 PyObject
* obj2
= 0 ;
18691 char *kwnames
[] = {
18692 (char *) "self",(char *) "x",(char *) "y", NULL
18695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18697 if (SWIG_arg_fail(1)) SWIG_fail
;
18699 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18700 if (SWIG_arg_fail(2)) SWIG_fail
;
18703 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18704 if (SWIG_arg_fail(3)) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 Py_INCREF(Py_None
); resultobj
= Py_None
;
18720 static PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
= NULL
;
18722 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18723 int *arg2
= (int *) 0 ;
18724 int *arg3
= (int *) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 char *kwnames
[] = {
18731 (char *) "self", NULL
18734 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18735 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
18737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18738 if (SWIG_arg_fail(1)) SWIG_fail
;
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
18743 wxPyEndAllowThreads(__tstate
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18746 Py_INCREF(Py_None
); resultobj
= Py_None
;
18747 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18748 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18749 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18750 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18757 static PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
= NULL
;
18759 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18760 int *arg2
= (int *) 0 ;
18761 int *arg3
= (int *) 0 ;
18766 PyObject
* obj0
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self", NULL
18771 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18772 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18775 if (SWIG_arg_fail(1)) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 Py_INCREF(Py_None
); resultobj
= Py_None
;
18784 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18785 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18786 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18787 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18794 static PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
= NULL
;
18796 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18797 int *arg2
= (int *) 0 ;
18798 int *arg3
= (int *) 0 ;
18803 PyObject
* obj0
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self", NULL
18808 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18809 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18812 if (SWIG_arg_fail(1)) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 Py_INCREF(Py_None
); resultobj
= Py_None
;
18821 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18822 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18823 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18824 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18831 static PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
= NULL
;
18833 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18842 if (SWIG_arg_fail(1)) SWIG_fail
;
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18851 wxSize
* resultptr
;
18852 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18861 static PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
= NULL
;
18863 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18865 PyObject
* obj0
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "self", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18872 if (SWIG_arg_fail(1)) SWIG_fail
;
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
18877 wxPyEndAllowThreads(__tstate
);
18878 if (PyErr_Occurred()) SWIG_fail
;
18881 wxSize
* resultptr
;
18882 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18891 static PyObject
*_wrap_PyWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
= NULL
;
18893 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18894 PyObject
* obj0
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
18900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18901 if (SWIG_arg_fail(1)) SWIG_fail
;
18903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18904 (arg1
)->InitDialog();
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18909 Py_INCREF(Py_None
); resultobj
= Py_None
;
18916 static PyObject
*_wrap_PyWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
= NULL
;
18918 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18927 if (SWIG_arg_fail(1)) SWIG_fail
;
18929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18930 result
= (bool)(arg1
)->TransferDataToWindow();
18932 wxPyEndAllowThreads(__tstate
);
18933 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18944 static PyObject
*_wrap_PyWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
= NULL
;
18946 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "self", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18955 if (SWIG_arg_fail(1)) SWIG_fail
;
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 result
= (bool)(arg1
)->TransferDataFromWindow();
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18972 static PyObject
*_wrap_PyWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18973 PyObject
*resultobj
= NULL
;
18974 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18976 PyObject
* obj0
= 0 ;
18977 char *kwnames
[] = {
18978 (char *) "self", NULL
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_Validate",kwnames
,&obj0
)) goto fail
;
18982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18983 if (SWIG_arg_fail(1)) SWIG_fail
;
18985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 result
= (bool)(arg1
)->Validate();
18988 wxPyEndAllowThreads(__tstate
);
18989 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19000 static PyObject
*_wrap_PyWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19001 PyObject
*resultobj
= NULL
;
19002 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19004 PyObject
* obj0
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19011 if (SWIG_arg_fail(1)) SWIG_fail
;
19013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19014 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocus();
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19028 static PyObject
*_wrap_PyWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
= NULL
;
19030 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19039 if (SWIG_arg_fail(1)) SWIG_fail
;
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19056 static PyObject
*_wrap_PyWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
= NULL
;
19058 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19060 PyObject
* obj0
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19067 if (SWIG_arg_fail(1)) SWIG_fail
;
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 result
= ((wxPyWindow
const *)arg1
)->GetMaxSize();
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19076 wxSize
* resultptr
;
19077 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19086 static PyObject
*_wrap_PyWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
= NULL
;
19088 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19089 wxWindow
*arg2
= (wxWindow
*) 0 ;
19090 PyObject
* obj0
= 0 ;
19091 PyObject
* obj1
= 0 ;
19092 char *kwnames
[] = {
19093 (char *) "self",(char *) "child", NULL
19096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19098 if (SWIG_arg_fail(1)) SWIG_fail
;
19099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19100 if (SWIG_arg_fail(2)) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 (arg1
)->AddChild(arg2
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19108 Py_INCREF(Py_None
); resultobj
= Py_None
;
19115 static PyObject
*_wrap_PyWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
= NULL
;
19117 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19118 wxWindow
*arg2
= (wxWindow
*) 0 ;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self",(char *) "child", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19127 if (SWIG_arg_fail(1)) SWIG_fail
;
19128 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19129 if (SWIG_arg_fail(2)) SWIG_fail
;
19131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19132 (arg1
)->RemoveChild(arg2
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 Py_INCREF(Py_None
); resultobj
= Py_None
;
19144 static PyObject
*_wrap_PyWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
= NULL
;
19146 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19148 PyObject
* obj0
= 0 ;
19149 char *kwnames
[] = {
19150 (char *) "self", NULL
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19155 if (SWIG_arg_fail(1)) SWIG_fail
;
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 result
= (bool)((wxPyWindow
const *)arg1
)->ShouldInheritColours();
19160 wxPyEndAllowThreads(__tstate
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19172 static PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
= NULL
;
19174 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19175 wxVisualAttributes result
;
19176 PyObject
* obj0
= 0 ;
19177 char *kwnames
[] = {
19178 (char *) "self", NULL
19181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19183 if (SWIG_arg_fail(1)) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 result
= (arg1
)->GetDefaultAttributes();
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19192 wxVisualAttributes
* resultptr
;
19193 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19202 static PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
= NULL
;
19204 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19212 if (SWIG_arg_fail(1)) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 (arg1
)->OnInternalIdle();
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 Py_INCREF(Py_None
); resultobj
= Py_None
;
19227 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
19229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19230 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
19232 return Py_BuildValue((char *)"");
19234 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
= NULL
;
19236 wxWindow
*arg1
= (wxWindow
*) 0 ;
19237 int arg2
= (int) (int)-1 ;
19238 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19239 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19240 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19241 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19242 long arg5
= (long) 0 ;
19243 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19244 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19248 bool temp6
= false ;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 PyObject
* obj2
= 0 ;
19252 PyObject
* obj3
= 0 ;
19253 PyObject
* obj4
= 0 ;
19254 PyObject
* obj5
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19261 if (SWIG_arg_fail(1)) SWIG_fail
;
19264 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
19265 if (SWIG_arg_fail(2)) SWIG_fail
;
19271 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19277 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19282 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19283 if (SWIG_arg_fail(5)) SWIG_fail
;
19288 arg6
= wxString_in_helper(obj5
);
19289 if (arg6
== NULL
) SWIG_fail
;
19294 if (!wxPyCheckForApp()) SWIG_fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19316 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
= NULL
;
19319 char *kwnames
[] = {
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
19325 if (!wxPyCheckForApp()) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (wxPyPanel
*)new wxPyPanel();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19339 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
= NULL
;
19341 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19342 PyObject
*arg2
= (PyObject
*) 0 ;
19343 PyObject
*arg3
= (PyObject
*) 0 ;
19344 PyObject
* obj0
= 0 ;
19345 PyObject
* obj1
= 0 ;
19346 PyObject
* obj2
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self",(char *) "self",(char *) "_class", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19353 if (SWIG_arg_fail(1)) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 Py_INCREF(Py_None
); resultobj
= Py_None
;
19370 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
= NULL
;
19372 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 PyObject
* obj1
= 0 ;
19377 char *kwnames
[] = {
19378 (char *) "self",(char *) "size", NULL
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19383 if (SWIG_arg_fail(1)) SWIG_fail
;
19386 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19395 Py_INCREF(Py_None
); resultobj
= Py_None
;
19402 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
= NULL
;
19404 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19405 wxDC
*arg2
= (wxDC
*) 0 ;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self",(char *) "dc", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19415 if (SWIG_arg_fail(1)) SWIG_fail
;
19416 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19417 if (SWIG_arg_fail(2)) SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19434 static PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
= NULL
;
19436 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19441 PyObject
* obj0
= 0 ;
19442 PyObject
* obj1
= 0 ;
19443 PyObject
* obj2
= 0 ;
19444 PyObject
* obj3
= 0 ;
19445 PyObject
* obj4
= 0 ;
19446 char *kwnames
[] = {
19447 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19452 if (SWIG_arg_fail(1)) SWIG_fail
;
19454 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19455 if (SWIG_arg_fail(2)) SWIG_fail
;
19458 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19459 if (SWIG_arg_fail(3)) SWIG_fail
;
19462 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19463 if (SWIG_arg_fail(4)) SWIG_fail
;
19466 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19467 if (SWIG_arg_fail(5)) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 Py_INCREF(Py_None
); resultobj
= Py_None
;
19483 static PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
= NULL
;
19485 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19490 int arg6
= (int) wxSIZE_AUTO
;
19491 PyObject
* obj0
= 0 ;
19492 PyObject
* obj1
= 0 ;
19493 PyObject
* obj2
= 0 ;
19494 PyObject
* obj3
= 0 ;
19495 PyObject
* obj4
= 0 ;
19496 PyObject
* obj5
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19503 if (SWIG_arg_fail(1)) SWIG_fail
;
19505 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19506 if (SWIG_arg_fail(2)) SWIG_fail
;
19509 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19510 if (SWIG_arg_fail(3)) SWIG_fail
;
19513 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19514 if (SWIG_arg_fail(4)) SWIG_fail
;
19517 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19518 if (SWIG_arg_fail(5)) SWIG_fail
;
19522 arg6
= static_cast<int >(SWIG_As_int(obj5
));
19523 if (SWIG_arg_fail(6)) SWIG_fail
;
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19530 wxPyEndAllowThreads(__tstate
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 Py_INCREF(Py_None
); resultobj
= Py_None
;
19540 static PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
= NULL
;
19542 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19545 PyObject
* obj0
= 0 ;
19546 PyObject
* obj1
= 0 ;
19547 PyObject
* obj2
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self",(char *) "width",(char *) "height", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19554 if (SWIG_arg_fail(1)) SWIG_fail
;
19556 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19557 if (SWIG_arg_fail(2)) SWIG_fail
;
19560 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19561 if (SWIG_arg_fail(3)) SWIG_fail
;
19564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 (arg1
)->DoSetClientSize(arg2
,arg3
);
19567 wxPyEndAllowThreads(__tstate
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19570 Py_INCREF(Py_None
); resultobj
= Py_None
;
19577 static PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
= NULL
;
19579 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19582 PyObject
* obj0
= 0 ;
19583 PyObject
* obj1
= 0 ;
19584 PyObject
* obj2
= 0 ;
19585 char *kwnames
[] = {
19586 (char *) "self",(char *) "x",(char *) "y", NULL
19589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19591 if (SWIG_arg_fail(1)) SWIG_fail
;
19593 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19594 if (SWIG_arg_fail(2)) SWIG_fail
;
19597 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19598 if (SWIG_arg_fail(3)) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 Py_INCREF(Py_None
); resultobj
= Py_None
;
19614 static PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
= NULL
;
19616 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19617 int *arg2
= (int *) 0 ;
19618 int *arg3
= (int *) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self", NULL
19628 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19629 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetSize",kwnames
,&obj0
)) goto fail
;
19631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19632 if (SWIG_arg_fail(1)) SWIG_fail
;
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19640 Py_INCREF(Py_None
); resultobj
= Py_None
;
19641 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19642 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19643 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19644 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19651 static PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
= NULL
;
19653 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19654 int *arg2
= (int *) 0 ;
19655 int *arg3
= (int *) 0 ;
19660 PyObject
* obj0
= 0 ;
19661 char *kwnames
[] = {
19662 (char *) "self", NULL
19665 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19666 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19669 if (SWIG_arg_fail(1)) SWIG_fail
;
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19677 Py_INCREF(Py_None
); resultobj
= Py_None
;
19678 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19679 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19680 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19681 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19688 static PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
= NULL
;
19690 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19691 int *arg2
= (int *) 0 ;
19692 int *arg3
= (int *) 0 ;
19697 PyObject
* obj0
= 0 ;
19698 char *kwnames
[] = {
19699 (char *) "self", NULL
19702 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19703 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19706 if (SWIG_arg_fail(1)) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 Py_INCREF(Py_None
); resultobj
= Py_None
;
19715 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19716 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19717 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19718 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19725 static PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
= NULL
;
19727 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19736 if (SWIG_arg_fail(1)) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 wxSize
* resultptr
;
19746 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19755 static PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
= NULL
;
19757 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19759 PyObject
* obj0
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "self", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19766 if (SWIG_arg_fail(1)) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19775 wxSize
* resultptr
;
19776 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19785 static PyObject
*_wrap_PyPanel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
= NULL
;
19787 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19788 PyObject
* obj0
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_InitDialog",kwnames
,&obj0
)) goto fail
;
19794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19795 if (SWIG_arg_fail(1)) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 (arg1
)->InitDialog();
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 Py_INCREF(Py_None
); resultobj
= Py_None
;
19810 static PyObject
*_wrap_PyPanel_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
= NULL
;
19812 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19814 PyObject
* obj0
= 0 ;
19815 char *kwnames
[] = {
19816 (char *) "self", NULL
19819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19821 if (SWIG_arg_fail(1)) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= (bool)(arg1
)->TransferDataToWindow();
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19838 static PyObject
*_wrap_PyPanel_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
= NULL
;
19840 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19842 PyObject
* obj0
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19849 if (SWIG_arg_fail(1)) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (bool)(arg1
)->TransferDataFromWindow();
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19866 static PyObject
*_wrap_PyPanel_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19867 PyObject
*resultobj
= NULL
;
19868 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19870 PyObject
* obj0
= 0 ;
19871 char *kwnames
[] = {
19872 (char *) "self", NULL
19875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_Validate",kwnames
,&obj0
)) goto fail
;
19876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19877 if (SWIG_arg_fail(1)) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 result
= (bool)(arg1
)->Validate();
19882 wxPyEndAllowThreads(__tstate
);
19883 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19894 static PyObject
*_wrap_PyPanel_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19895 PyObject
*resultobj
= NULL
;
19896 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19898 PyObject
* obj0
= 0 ;
19899 char *kwnames
[] = {
19900 (char *) "self", NULL
19903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19905 if (SWIG_arg_fail(1)) SWIG_fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocus();
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19922 static PyObject
*_wrap_PyPanel_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
= NULL
;
19924 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19926 PyObject
* obj0
= 0 ;
19927 char *kwnames
[] = {
19928 (char *) "self", NULL
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19933 if (SWIG_arg_fail(1)) SWIG_fail
;
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocusFromKeyboard();
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19950 static PyObject
*_wrap_PyPanel_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
= NULL
;
19952 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19954 PyObject
* obj0
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19961 if (SWIG_arg_fail(1)) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 result
= ((wxPyPanel
const *)arg1
)->GetMaxSize();
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19970 wxSize
* resultptr
;
19971 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19980 static PyObject
*_wrap_PyPanel_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
= NULL
;
19982 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19983 wxWindow
*arg2
= (wxWindow
*) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 char *kwnames
[] = {
19987 (char *) "self",(char *) "child", NULL
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19992 if (SWIG_arg_fail(1)) SWIG_fail
;
19993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19994 if (SWIG_arg_fail(2)) SWIG_fail
;
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 (arg1
)->AddChild(arg2
);
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20002 Py_INCREF(Py_None
); resultobj
= Py_None
;
20009 static PyObject
*_wrap_PyPanel_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20010 PyObject
*resultobj
= NULL
;
20011 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
20012 wxWindow
*arg2
= (wxWindow
*) 0 ;
20013 PyObject
* obj0
= 0 ;
20014 PyObject
* obj1
= 0 ;
20015 char *kwnames
[] = {
20016 (char *) "self",(char *) "child", NULL
20019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
20021 if (SWIG_arg_fail(1)) SWIG_fail
;
20022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20023 if (SWIG_arg_fail(2)) SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 (arg1
)->RemoveChild(arg2
);
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20031 Py_INCREF(Py_None
); resultobj
= Py_None
;
20038 static PyObject
*_wrap_PyPanel_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
= NULL
;
20040 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
20042 PyObject
* obj0
= 0 ;
20043 char *kwnames
[] = {
20044 (char *) "self", NULL
20047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
20049 if (SWIG_arg_fail(1)) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (bool)((wxPyPanel
const *)arg1
)->ShouldInheritColours();
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20066 static PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
= NULL
;
20068 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
20069 wxVisualAttributes result
;
20070 PyObject
* obj0
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
20077 if (SWIG_arg_fail(1)) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 result
= (arg1
)->GetDefaultAttributes();
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20086 wxVisualAttributes
* resultptr
;
20087 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
20088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20096 static PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
= NULL
;
20098 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
20099 PyObject
* obj0
= 0 ;
20100 char *kwnames
[] = {
20101 (char *) "self", NULL
20104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
20106 if (SWIG_arg_fail(1)) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 (arg1
)->OnInternalIdle();
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 Py_INCREF(Py_None
); resultobj
= Py_None
;
20121 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
20123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20124 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
20126 return Py_BuildValue((char *)"");
20128 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
= NULL
;
20130 wxWindow
*arg1
= (wxWindow
*) 0 ;
20131 int arg2
= (int) (int)-1 ;
20132 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20133 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20134 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20135 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20136 long arg5
= (long) 0 ;
20137 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20138 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20139 wxPyScrolledWindow
*result
;
20142 bool temp6
= false ;
20143 PyObject
* obj0
= 0 ;
20144 PyObject
* obj1
= 0 ;
20145 PyObject
* obj2
= 0 ;
20146 PyObject
* obj3
= 0 ;
20147 PyObject
* obj4
= 0 ;
20148 PyObject
* obj5
= 0 ;
20149 char *kwnames
[] = {
20150 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20155 if (SWIG_arg_fail(1)) SWIG_fail
;
20158 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
20159 if (SWIG_arg_fail(2)) SWIG_fail
;
20165 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20171 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20176 arg5
= static_cast<long >(SWIG_As_long(obj4
));
20177 if (SWIG_arg_fail(5)) SWIG_fail
;
20182 arg6
= wxString_in_helper(obj5
);
20183 if (arg6
== NULL
) SWIG_fail
;
20188 if (!wxPyCheckForApp()) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
20210 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20211 PyObject
*resultobj
= NULL
;
20212 wxPyScrolledWindow
*result
;
20213 char *kwnames
[] = {
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
20219 if (!wxPyCheckForApp()) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
20233 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
= NULL
;
20235 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20236 PyObject
*arg2
= (PyObject
*) 0 ;
20237 PyObject
*arg3
= (PyObject
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 PyObject
* obj1
= 0 ;
20240 PyObject
* obj2
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self",(char *) "self",(char *) "_class", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20247 if (SWIG_arg_fail(1)) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20254 wxPyEndAllowThreads(__tstate
);
20255 if (PyErr_Occurred()) SWIG_fail
;
20257 Py_INCREF(Py_None
); resultobj
= Py_None
;
20264 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
= NULL
;
20266 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20269 PyObject
* obj0
= 0 ;
20270 PyObject
* obj1
= 0 ;
20271 char *kwnames
[] = {
20272 (char *) "self",(char *) "size", NULL
20275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20277 if (SWIG_arg_fail(1)) SWIG_fail
;
20280 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 Py_INCREF(Py_None
); resultobj
= Py_None
;
20296 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
= NULL
;
20298 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20299 wxDC
*arg2
= (wxDC
*) 0 ;
20301 PyObject
* obj0
= 0 ;
20302 PyObject
* obj1
= 0 ;
20303 char *kwnames
[] = {
20304 (char *) "self",(char *) "dc", NULL
20307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20309 if (SWIG_arg_fail(1)) SWIG_fail
;
20310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20311 if (SWIG_arg_fail(2)) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20328 static PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20329 PyObject
*resultobj
= NULL
;
20330 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20335 PyObject
* obj0
= 0 ;
20336 PyObject
* obj1
= 0 ;
20337 PyObject
* obj2
= 0 ;
20338 PyObject
* obj3
= 0 ;
20339 PyObject
* obj4
= 0 ;
20340 char *kwnames
[] = {
20341 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20346 if (SWIG_arg_fail(1)) SWIG_fail
;
20348 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20349 if (SWIG_arg_fail(2)) SWIG_fail
;
20352 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20353 if (SWIG_arg_fail(3)) SWIG_fail
;
20356 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20357 if (SWIG_arg_fail(4)) SWIG_fail
;
20360 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20361 if (SWIG_arg_fail(5)) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 Py_INCREF(Py_None
); resultobj
= Py_None
;
20377 static PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
= NULL
;
20379 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20384 int arg6
= (int) wxSIZE_AUTO
;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 PyObject
* obj2
= 0 ;
20388 PyObject
* obj3
= 0 ;
20389 PyObject
* obj4
= 0 ;
20390 PyObject
* obj5
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20397 if (SWIG_arg_fail(1)) SWIG_fail
;
20399 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20400 if (SWIG_arg_fail(2)) SWIG_fail
;
20403 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20404 if (SWIG_arg_fail(3)) SWIG_fail
;
20407 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20408 if (SWIG_arg_fail(4)) SWIG_fail
;
20411 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20412 if (SWIG_arg_fail(5)) SWIG_fail
;
20416 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20417 if (SWIG_arg_fail(6)) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 Py_INCREF(Py_None
); resultobj
= Py_None
;
20434 static PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
= NULL
;
20436 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 PyObject
* obj2
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self",(char *) "width",(char *) "height", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20448 if (SWIG_arg_fail(1)) SWIG_fail
;
20450 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20451 if (SWIG_arg_fail(2)) SWIG_fail
;
20454 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20455 if (SWIG_arg_fail(3)) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 (arg1
)->DoSetClientSize(arg2
,arg3
);
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 Py_INCREF(Py_None
); resultobj
= Py_None
;
20471 static PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
= NULL
;
20473 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20476 PyObject
* obj0
= 0 ;
20477 PyObject
* obj1
= 0 ;
20478 PyObject
* obj2
= 0 ;
20479 char *kwnames
[] = {
20480 (char *) "self",(char *) "x",(char *) "y", NULL
20483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20485 if (SWIG_arg_fail(1)) SWIG_fail
;
20487 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20488 if (SWIG_arg_fail(2)) SWIG_fail
;
20491 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20492 if (SWIG_arg_fail(3)) SWIG_fail
;
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 Py_INCREF(Py_None
); resultobj
= Py_None
;
20508 static PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
= NULL
;
20510 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20511 int *arg2
= (int *) 0 ;
20512 int *arg3
= (int *) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 char *kwnames
[] = {
20519 (char *) "self", NULL
20522 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20523 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
20525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20526 if (SWIG_arg_fail(1)) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 Py_INCREF(Py_None
); resultobj
= Py_None
;
20535 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20536 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20537 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20538 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20545 static PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20546 PyObject
*resultobj
= NULL
;
20547 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20548 int *arg2
= (int *) 0 ;
20549 int *arg3
= (int *) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 char *kwnames
[] = {
20556 (char *) "self", NULL
20559 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20560 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
20562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20563 if (SWIG_arg_fail(1)) SWIG_fail
;
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 Py_INCREF(Py_None
); resultobj
= Py_None
;
20572 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20573 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20574 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20575 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20582 static PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
= NULL
;
20584 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20585 int *arg2
= (int *) 0 ;
20586 int *arg3
= (int *) 0 ;
20591 PyObject
* obj0
= 0 ;
20592 char *kwnames
[] = {
20593 (char *) "self", NULL
20596 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20597 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
20599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20600 if (SWIG_arg_fail(1)) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 Py_INCREF(Py_None
); resultobj
= Py_None
;
20609 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20610 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20611 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20612 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20619 static PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
= NULL
;
20621 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "self", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
20629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20630 if (SWIG_arg_fail(1)) SWIG_fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20639 wxSize
* resultptr
;
20640 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20649 static PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
= NULL
;
20651 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20653 PyObject
* obj0
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "self", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20660 if (SWIG_arg_fail(1)) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20669 wxSize
* resultptr
;
20670 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20679 static PyObject
*_wrap_PyScrolledWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20680 PyObject
*resultobj
= NULL
;
20681 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20682 PyObject
* obj0
= 0 ;
20683 char *kwnames
[] = {
20684 (char *) "self", NULL
20687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
20688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20689 if (SWIG_arg_fail(1)) SWIG_fail
;
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 (arg1
)->InitDialog();
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20697 Py_INCREF(Py_None
); resultobj
= Py_None
;
20704 static PyObject
*_wrap_PyScrolledWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20705 PyObject
*resultobj
= NULL
;
20706 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20708 PyObject
* obj0
= 0 ;
20709 char *kwnames
[] = {
20710 (char *) "self", NULL
20713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20715 if (SWIG_arg_fail(1)) SWIG_fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 result
= (bool)(arg1
)->TransferDataToWindow();
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20732 static PyObject
*_wrap_PyScrolledWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
= NULL
;
20734 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20736 PyObject
* obj0
= 0 ;
20737 char *kwnames
[] = {
20738 (char *) "self", NULL
20741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20743 if (SWIG_arg_fail(1)) SWIG_fail
;
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 result
= (bool)(arg1
)->TransferDataFromWindow();
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20760 static PyObject
*_wrap_PyScrolledWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
= NULL
;
20762 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20764 PyObject
* obj0
= 0 ;
20765 char *kwnames
[] = {
20766 (char *) "self", NULL
20769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_Validate",kwnames
,&obj0
)) goto fail
;
20770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20771 if (SWIG_arg_fail(1)) SWIG_fail
;
20773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20774 result
= (bool)(arg1
)->Validate();
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20788 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
= NULL
;
20790 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20792 PyObject
* obj0
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20799 if (SWIG_arg_fail(1)) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocus();
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20816 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
= NULL
;
20818 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20820 PyObject
* obj0
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20827 if (SWIG_arg_fail(1)) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20844 static PyObject
*_wrap_PyScrolledWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
= NULL
;
20846 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20848 PyObject
* obj0
= 0 ;
20849 char *kwnames
[] = {
20850 (char *) "self", NULL
20853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20855 if (SWIG_arg_fail(1)) SWIG_fail
;
20857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 result
= ((wxPyScrolledWindow
const *)arg1
)->GetMaxSize();
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20864 wxSize
* resultptr
;
20865 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20874 static PyObject
*_wrap_PyScrolledWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
= NULL
;
20876 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20877 wxWindow
*arg2
= (wxWindow
*) 0 ;
20878 PyObject
* obj0
= 0 ;
20879 PyObject
* obj1
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "self",(char *) "child", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20886 if (SWIG_arg_fail(1)) SWIG_fail
;
20887 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20888 if (SWIG_arg_fail(2)) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 (arg1
)->AddChild(arg2
);
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 Py_INCREF(Py_None
); resultobj
= Py_None
;
20903 static PyObject
*_wrap_PyScrolledWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
= NULL
;
20905 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20906 wxWindow
*arg2
= (wxWindow
*) 0 ;
20907 PyObject
* obj0
= 0 ;
20908 PyObject
* obj1
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self",(char *) "child", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail
;
20916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20917 if (SWIG_arg_fail(2)) SWIG_fail
;
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 (arg1
)->RemoveChild(arg2
);
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20925 Py_INCREF(Py_None
); resultobj
= Py_None
;
20932 static PyObject
*_wrap_PyScrolledWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20933 PyObject
*resultobj
= NULL
;
20934 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20936 PyObject
* obj0
= 0 ;
20937 char *kwnames
[] = {
20938 (char *) "self", NULL
20941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20943 if (SWIG_arg_fail(1)) SWIG_fail
;
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->ShouldInheritColours();
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20960 static PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
= NULL
;
20962 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20963 wxVisualAttributes result
;
20964 PyObject
* obj0
= 0 ;
20965 char *kwnames
[] = {
20966 (char *) "self", NULL
20969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20971 if (SWIG_arg_fail(1)) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (arg1
)->GetDefaultAttributes();
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20980 wxVisualAttributes
* resultptr
;
20981 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
20982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20990 static PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
= NULL
;
20992 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20993 PyObject
* obj0
= 0 ;
20994 char *kwnames
[] = {
20995 (char *) "self", NULL
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
21000 if (SWIG_arg_fail(1)) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 (arg1
)->OnInternalIdle();
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 Py_INCREF(Py_None
); resultobj
= Py_None
;
21015 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
21017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21018 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
21020 return Py_BuildValue((char *)"");
21022 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
21023 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
21028 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
21029 PyObject
*pyobj
= NULL
;
21033 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
21035 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
21042 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
21043 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
21048 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
21049 PyObject
*pyobj
= NULL
;
21053 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
21055 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
21062 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
21063 PyObject
*resultobj
= NULL
;
21064 wxPrintData
*result
;
21066 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (wxPrintData
*)new wxPrintData();
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
21081 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
21082 PyObject
*resultobj
= NULL
;
21083 wxPrintData
*arg1
= 0 ;
21084 wxPrintData
*result
;
21085 PyObject
* obj0
= 0 ;
21087 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
21089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21090 if (SWIG_arg_fail(1)) SWIG_fail
;
21091 if (arg1
== NULL
) {
21092 SWIG_null_ref("wxPrintData");
21094 if (SWIG_arg_fail(1)) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
21110 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
21115 argc
= PyObject_Length(args
);
21116 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21117 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21120 return _wrap_new_PrintData__SWIG_0(self
,args
);
21126 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21134 return _wrap_new_PrintData__SWIG_1(self
,args
);
21138 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
21143 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
= NULL
;
21145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21146 PyObject
* obj0
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "self", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
21152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21153 if (SWIG_arg_fail(1)) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 Py_INCREF(Py_None
); resultobj
= Py_None
;
21168 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
= NULL
;
21170 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21172 PyObject
* obj0
= 0 ;
21173 char *kwnames
[] = {
21174 (char *) "self", NULL
21177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21179 if (SWIG_arg_fail(1)) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 result
= (int)(arg1
)->GetNoCopies();
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21188 resultobj
= SWIG_From_int(static_cast<int >(result
));
21196 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
= NULL
;
21198 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21200 PyObject
* obj0
= 0 ;
21201 char *kwnames
[] = {
21202 (char *) "self", NULL
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
21206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21207 if (SWIG_arg_fail(1)) SWIG_fail
;
21209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21210 result
= (bool)(arg1
)->GetCollate();
21212 wxPyEndAllowThreads(__tstate
);
21213 if (PyErr_Occurred()) SWIG_fail
;
21216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21224 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
= NULL
;
21226 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
21234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (int)(arg1
)->GetOrientation();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 resultobj
= SWIG_From_int(static_cast<int >(result
));
21252 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
= NULL
;
21254 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21256 PyObject
* obj0
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
21262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21263 if (SWIG_arg_fail(1)) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (bool)(arg1
)->Ok();
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21280 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
= NULL
;
21282 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21284 PyObject
* obj0
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
21290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21291 if (SWIG_arg_fail(1)) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
21296 result
= (wxString
*) &_result_ref
;
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21306 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21315 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
= NULL
;
21317 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21319 PyObject
* obj0
= 0 ;
21320 char *kwnames
[] = {
21321 (char *) "self", NULL
21324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
21325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21326 if (SWIG_arg_fail(1)) SWIG_fail
;
21328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21329 result
= (bool)(arg1
)->GetColour();
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21343 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
= NULL
;
21345 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21346 wxDuplexMode result
;
21347 PyObject
* obj0
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "self", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
21353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21354 if (SWIG_arg_fail(1)) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= SWIG_From_int((result
));
21369 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
= NULL
;
21371 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21372 wxPaperSize result
;
21373 PyObject
* obj0
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "self", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
21379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21380 if (SWIG_arg_fail(1)) SWIG_fail
;
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 result
= (wxPaperSize
)(arg1
)->GetPaperId();
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= SWIG_From_int((result
));
21395 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
= NULL
;
21397 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21399 PyObject
* obj0
= 0 ;
21400 char *kwnames
[] = {
21401 (char *) "self", NULL
21404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
21405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21406 if (SWIG_arg_fail(1)) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
21411 result
= (wxSize
*) &_result_ref
;
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
21424 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21425 PyObject
*resultobj
= NULL
;
21426 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21428 PyObject
* obj0
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
21434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21435 if (SWIG_arg_fail(1)) SWIG_fail
;
21437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 result
= (int)(arg1
)->GetQuality();
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= SWIG_From_int(static_cast<int >(result
));
21452 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
= NULL
;
21454 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
21462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21463 if (SWIG_arg_fail(1)) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (wxPrintBin
)(arg1
)->GetBin();
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= SWIG_From_int((result
));
21478 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21479 PyObject
*resultobj
= NULL
;
21480 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21481 wxPrintMode result
;
21482 PyObject
* obj0
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
21488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21489 if (SWIG_arg_fail(1)) SWIG_fail
;
21491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21492 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21497 resultobj
= SWIG_From_int((result
));
21504 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21505 PyObject
*resultobj
= NULL
;
21506 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21508 PyObject
* obj0
= 0 ;
21509 PyObject
* obj1
= 0 ;
21510 char *kwnames
[] = {
21511 (char *) "self",(char *) "v", NULL
21514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21516 if (SWIG_arg_fail(1)) SWIG_fail
;
21518 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21519 if (SWIG_arg_fail(2)) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 (arg1
)->SetNoCopies(arg2
);
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 Py_INCREF(Py_None
); resultobj
= Py_None
;
21535 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
= NULL
;
21537 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21539 PyObject
* obj0
= 0 ;
21540 PyObject
* obj1
= 0 ;
21541 char *kwnames
[] = {
21542 (char *) "self",(char *) "flag", NULL
21545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21547 if (SWIG_arg_fail(1)) SWIG_fail
;
21549 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21550 if (SWIG_arg_fail(2)) SWIG_fail
;
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21554 (arg1
)->SetCollate(arg2
);
21556 wxPyEndAllowThreads(__tstate
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 Py_INCREF(Py_None
); resultobj
= Py_None
;
21566 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21567 PyObject
*resultobj
= NULL
;
21568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 char *kwnames
[] = {
21573 (char *) "self",(char *) "orient", NULL
21576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21578 if (SWIG_arg_fail(1)) SWIG_fail
;
21580 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21581 if (SWIG_arg_fail(2)) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 (arg1
)->SetOrientation(arg2
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 Py_INCREF(Py_None
); resultobj
= Py_None
;
21597 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
= NULL
;
21599 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21600 wxString
*arg2
= 0 ;
21601 bool temp2
= false ;
21602 PyObject
* obj0
= 0 ;
21603 PyObject
* obj1
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self",(char *) "name", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
21609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail
;
21612 arg2
= wxString_in_helper(obj1
);
21613 if (arg2
== NULL
) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 Py_INCREF(Py_None
); resultobj
= Py_None
;
21638 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
= NULL
;
21640 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 PyObject
* obj1
= 0 ;
21644 char *kwnames
[] = {
21645 (char *) "self",(char *) "colour", NULL
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21650 if (SWIG_arg_fail(1)) SWIG_fail
;
21652 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21653 if (SWIG_arg_fail(2)) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 (arg1
)->SetColour(arg2
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 Py_INCREF(Py_None
); resultobj
= Py_None
;
21669 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
= NULL
;
21671 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21672 wxDuplexMode arg2
;
21673 PyObject
* obj0
= 0 ;
21674 PyObject
* obj1
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self",(char *) "duplex", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21681 if (SWIG_arg_fail(1)) SWIG_fail
;
21683 arg2
= static_cast<wxDuplexMode
>(SWIG_As_int(obj1
));
21684 if (SWIG_arg_fail(2)) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 (arg1
)->SetDuplex(arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21700 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
= NULL
;
21702 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "self",(char *) "sizeId", NULL
21710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21712 if (SWIG_arg_fail(1)) SWIG_fail
;
21714 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
21715 if (SWIG_arg_fail(2)) SWIG_fail
;
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 (arg1
)->SetPaperId(arg2
);
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 Py_INCREF(Py_None
); resultobj
= Py_None
;
21731 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
= NULL
;
21733 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 char *kwnames
[] = {
21739 (char *) "self",(char *) "sz", NULL
21742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21744 if (SWIG_arg_fail(1)) SWIG_fail
;
21747 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 Py_INCREF(Py_None
); resultobj
= Py_None
;
21763 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
= NULL
;
21765 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21767 PyObject
* obj0
= 0 ;
21768 PyObject
* obj1
= 0 ;
21769 char *kwnames
[] = {
21770 (char *) "self",(char *) "quality", NULL
21773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21775 if (SWIG_arg_fail(1)) SWIG_fail
;
21777 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21778 if (SWIG_arg_fail(2)) SWIG_fail
;
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 (arg1
)->SetQuality(arg2
);
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 Py_INCREF(Py_None
); resultobj
= Py_None
;
21794 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
= NULL
;
21796 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21798 PyObject
* obj0
= 0 ;
21799 PyObject
* obj1
= 0 ;
21800 char *kwnames
[] = {
21801 (char *) "self",(char *) "bin", NULL
21804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21806 if (SWIG_arg_fail(1)) SWIG_fail
;
21808 arg2
= static_cast<wxPrintBin
>(SWIG_As_int(obj1
));
21809 if (SWIG_arg_fail(2)) SWIG_fail
;
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 (arg1
)->SetBin(arg2
);
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 Py_INCREF(Py_None
); resultobj
= Py_None
;
21825 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
= NULL
;
21827 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21829 PyObject
* obj0
= 0 ;
21830 PyObject
* obj1
= 0 ;
21831 char *kwnames
[] = {
21832 (char *) "self",(char *) "printMode", NULL
21835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21837 if (SWIG_arg_fail(1)) SWIG_fail
;
21839 arg2
= static_cast<wxPrintMode
>(SWIG_As_int(obj1
));
21840 if (SWIG_arg_fail(2)) SWIG_fail
;
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 (arg1
)->SetPrintMode(arg2
);
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21849 Py_INCREF(Py_None
); resultobj
= Py_None
;
21856 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21857 PyObject
*resultobj
= NULL
;
21858 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21860 PyObject
* obj0
= 0 ;
21861 char *kwnames
[] = {
21862 (char *) "self", NULL
21865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21867 if (SWIG_arg_fail(1)) SWIG_fail
;
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21888 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
= NULL
;
21890 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21891 wxString
*arg2
= 0 ;
21892 bool temp2
= false ;
21893 PyObject
* obj0
= 0 ;
21894 PyObject
* obj1
= 0 ;
21895 char *kwnames
[] = {
21896 (char *) "self",(char *) "filename", NULL
21899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21901 if (SWIG_arg_fail(1)) SWIG_fail
;
21903 arg2
= wxString_in_helper(obj1
);
21904 if (arg2
== NULL
) SWIG_fail
;
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 (arg1
)->SetFilename((wxString
const &)*arg2
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 Py_INCREF(Py_None
); resultobj
= Py_None
;
21929 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
= NULL
;
21931 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21933 PyObject
* obj0
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21940 if (SWIG_arg_fail(1)) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 resultobj
= result
;
21955 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
= NULL
;
21957 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21958 PyObject
*arg2
= (PyObject
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "data", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21967 if (SWIG_arg_fail(1)) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 wxPrintData_SetPrivData(arg1
,arg2
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 Py_INCREF(Py_None
); resultobj
= Py_None
;
21983 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21986 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21988 return Py_BuildValue((char *)"");
21990 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21991 PyObject
*resultobj
= NULL
;
21992 wxPageSetupDialogData
*result
;
21994 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
22009 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22010 PyObject
*resultobj
= NULL
;
22011 wxPageSetupDialogData
*arg1
= 0 ;
22012 wxPageSetupDialogData
*result
;
22013 PyObject
* obj0
= 0 ;
22015 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
22017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22018 if (SWIG_arg_fail(1)) SWIG_fail
;
22019 if (arg1
== NULL
) {
22020 SWIG_null_ref("wxPageSetupDialogData");
22022 if (SWIG_arg_fail(1)) SWIG_fail
;
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
22028 wxPyEndAllowThreads(__tstate
);
22029 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
22038 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22039 PyObject
*resultobj
= NULL
;
22040 wxPrintData
*arg1
= 0 ;
22041 wxPageSetupDialogData
*result
;
22042 PyObject
* obj0
= 0 ;
22044 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
22046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22047 if (SWIG_arg_fail(1)) SWIG_fail
;
22048 if (arg1
== NULL
) {
22049 SWIG_null_ref("wxPrintData");
22051 if (SWIG_arg_fail(1)) SWIG_fail
;
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22055 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
22067 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
22072 argc
= PyObject_Length(args
);
22073 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22074 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22077 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
22083 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
22091 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
22098 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22106 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
22110 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
22115 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
= NULL
;
22117 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22125 if (SWIG_arg_fail(1)) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
= NULL
;
22142 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self",(char *) "flag", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
22151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22152 if (SWIG_arg_fail(1)) SWIG_fail
;
22154 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22155 if (SWIG_arg_fail(2)) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 (arg1
)->EnableHelp(arg2
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 Py_INCREF(Py_None
); resultobj
= Py_None
;
22171 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
= NULL
;
22173 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22175 PyObject
* obj0
= 0 ;
22176 PyObject
* obj1
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self",(char *) "flag", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22183 if (SWIG_arg_fail(1)) SWIG_fail
;
22185 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22186 if (SWIG_arg_fail(2)) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 (arg1
)->EnableMargins(arg2
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 Py_INCREF(Py_None
); resultobj
= Py_None
;
22202 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
= NULL
;
22204 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self",(char *) "flag", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22214 if (SWIG_arg_fail(1)) SWIG_fail
;
22216 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22217 if (SWIG_arg_fail(2)) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 (arg1
)->EnableOrientation(arg2
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 Py_INCREF(Py_None
); resultobj
= Py_None
;
22233 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
= NULL
;
22235 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 char *kwnames
[] = {
22240 (char *) "self",(char *) "flag", NULL
22243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22245 if (SWIG_arg_fail(1)) SWIG_fail
;
22247 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22248 if (SWIG_arg_fail(2)) SWIG_fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 (arg1
)->EnablePaper(arg2
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 Py_INCREF(Py_None
); resultobj
= Py_None
;
22264 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
= NULL
;
22266 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self",(char *) "flag", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22276 if (SWIG_arg_fail(1)) SWIG_fail
;
22278 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22279 if (SWIG_arg_fail(2)) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 (arg1
)->EnablePrinter(arg2
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 Py_INCREF(Py_None
); resultobj
= Py_None
;
22295 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
= NULL
;
22297 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22306 if (SWIG_arg_fail(1)) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (bool)(arg1
)->GetDefaultMinMargins();
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22323 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
= NULL
;
22325 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22334 if (SWIG_arg_fail(1)) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 result
= (bool)(arg1
)->GetEnableMargins();
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22351 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
= NULL
;
22353 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22355 PyObject
* obj0
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "self", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22362 if (SWIG_arg_fail(1)) SWIG_fail
;
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 result
= (bool)(arg1
)->GetEnableOrientation();
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22379 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
= NULL
;
22381 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22390 if (SWIG_arg_fail(1)) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 result
= (bool)(arg1
)->GetEnablePaper();
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22407 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
= NULL
;
22409 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22418 if (SWIG_arg_fail(1)) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= (bool)(arg1
)->GetEnablePrinter();
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22435 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
= NULL
;
22437 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22446 if (SWIG_arg_fail(1)) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= (bool)(arg1
)->GetEnableHelp();
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22463 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
= NULL
;
22465 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22467 PyObject
* obj0
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22474 if (SWIG_arg_fail(1)) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 result
= (bool)(arg1
)->GetDefaultInfo();
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22491 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22492 PyObject
*resultobj
= NULL
;
22493 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22495 PyObject
* obj0
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22502 if (SWIG_arg_fail(1)) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (arg1
)->GetMarginTopLeft();
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22511 wxPoint
* resultptr
;
22512 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22521 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
= NULL
;
22523 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22525 PyObject
* obj0
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22532 if (SWIG_arg_fail(1)) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (arg1
)->GetMarginBottomRight();
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22541 wxPoint
* resultptr
;
22542 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22551 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
= NULL
;
22553 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22555 PyObject
* obj0
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22562 if (SWIG_arg_fail(1)) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 result
= (arg1
)->GetMinMarginTopLeft();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22571 wxPoint
* resultptr
;
22572 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22581 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
= NULL
;
22583 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22585 PyObject
* obj0
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self", NULL
22590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22592 if (SWIG_arg_fail(1)) SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= (arg1
)->GetMinMarginBottomRight();
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22601 wxPoint
* resultptr
;
22602 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22611 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
= NULL
;
22613 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22614 wxPaperSize result
;
22615 PyObject
* obj0
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22622 if (SWIG_arg_fail(1)) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= SWIG_From_int((result
));
22637 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
= NULL
;
22639 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22641 PyObject
* obj0
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22648 if (SWIG_arg_fail(1)) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (arg1
)->GetPaperSize();
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22657 wxSize
* resultptr
;
22658 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22667 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
= NULL
;
22669 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22670 wxPrintData
*result
;
22671 PyObject
* obj0
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22678 if (SWIG_arg_fail(1)) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22683 result
= (wxPrintData
*) &_result_ref
;
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22696 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22697 PyObject
*resultobj
= NULL
;
22698 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22700 PyObject
* obj0
= 0 ;
22701 char *kwnames
[] = {
22702 (char *) "self", NULL
22705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail
;
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (bool)(arg1
)->Ok();
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22724 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
= NULL
;
22726 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self",(char *) "flag", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail
;
22738 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22739 if (SWIG_arg_fail(2)) SWIG_fail
;
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 (arg1
)->SetDefaultInfo(arg2
);
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 Py_INCREF(Py_None
); resultobj
= Py_None
;
22755 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22756 PyObject
*resultobj
= NULL
;
22757 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22759 PyObject
* obj0
= 0 ;
22760 PyObject
* obj1
= 0 ;
22761 char *kwnames
[] = {
22762 (char *) "self",(char *) "flag", NULL
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22767 if (SWIG_arg_fail(1)) SWIG_fail
;
22769 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22770 if (SWIG_arg_fail(2)) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 (arg1
)->SetDefaultMinMargins(arg2
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 Py_INCREF(Py_None
); resultobj
= Py_None
;
22786 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
= NULL
;
22788 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22789 wxPoint
*arg2
= 0 ;
22791 PyObject
* obj0
= 0 ;
22792 PyObject
* obj1
= 0 ;
22793 char *kwnames
[] = {
22794 (char *) "self",(char *) "pt", NULL
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22799 if (SWIG_arg_fail(1)) SWIG_fail
;
22802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 Py_INCREF(Py_None
); resultobj
= Py_None
;
22818 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
= NULL
;
22820 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22821 wxPoint
*arg2
= 0 ;
22823 PyObject
* obj0
= 0 ;
22824 PyObject
* obj1
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self",(char *) "pt", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22831 if (SWIG_arg_fail(1)) SWIG_fail
;
22834 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22838 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22843 Py_INCREF(Py_None
); resultobj
= Py_None
;
22850 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
= NULL
;
22852 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22853 wxPoint
*arg2
= 0 ;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 char *kwnames
[] = {
22858 (char *) "self",(char *) "pt", NULL
22861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22863 if (SWIG_arg_fail(1)) SWIG_fail
;
22866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 Py_INCREF(Py_None
); resultobj
= Py_None
;
22882 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
= NULL
;
22884 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22885 wxPoint
*arg2
= 0 ;
22887 PyObject
* obj0
= 0 ;
22888 PyObject
* obj1
= 0 ;
22889 char *kwnames
[] = {
22890 (char *) "self",(char *) "pt", NULL
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22895 if (SWIG_arg_fail(1)) SWIG_fail
;
22898 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 Py_INCREF(Py_None
); resultobj
= Py_None
;
22914 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
= NULL
;
22916 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self",(char *) "id", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22926 if (SWIG_arg_fail(1)) SWIG_fail
;
22928 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
22929 if (SWIG_arg_fail(2)) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 (arg1
)->SetPaperId(arg2
);
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 Py_INCREF(Py_None
); resultobj
= Py_None
;
22945 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
= NULL
;
22947 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self",(char *) "size", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22958 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 Py_INCREF(Py_None
); resultobj
= Py_None
;
22977 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
= NULL
;
22979 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22980 wxPrintData
*arg2
= 0 ;
22981 PyObject
* obj0
= 0 ;
22982 PyObject
* obj1
= 0 ;
22983 char *kwnames
[] = {
22984 (char *) "self",(char *) "printData", NULL
22987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22989 if (SWIG_arg_fail(1)) SWIG_fail
;
22991 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22992 if (SWIG_arg_fail(2)) SWIG_fail
;
22993 if (arg2
== NULL
) {
22994 SWIG_null_ref("wxPrintData");
22996 if (SWIG_arg_fail(2)) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 Py_INCREF(Py_None
); resultobj
= Py_None
;
23012 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
= NULL
;
23014 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
23015 PyObject
* obj0
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
23021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23022 if (SWIG_arg_fail(1)) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 (arg1
)->CalculateIdFromPaperSize();
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 Py_INCREF(Py_None
); resultobj
= Py_None
;
23037 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
= NULL
;
23039 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
23040 PyObject
* obj0
= 0 ;
23041 char *kwnames
[] = {
23042 (char *) "self", NULL
23045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
23046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23047 if (SWIG_arg_fail(1)) SWIG_fail
;
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23050 (arg1
)->CalculatePaperSizeFromId();
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 Py_INCREF(Py_None
); resultobj
= Py_None
;
23062 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
23064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23065 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
23067 return Py_BuildValue((char *)"");
23069 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
= NULL
;
23071 wxWindow
*arg1
= (wxWindow
*) 0 ;
23072 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
23073 wxPageSetupDialog
*result
;
23074 PyObject
* obj0
= 0 ;
23075 PyObject
* obj1
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "parent",(char *) "data", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23082 if (SWIG_arg_fail(1)) SWIG_fail
;
23084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23085 if (SWIG_arg_fail(2)) SWIG_fail
;
23088 if (!wxPyCheckForApp()) SWIG_fail
;
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
23102 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
= NULL
;
23104 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23105 wxPageSetupDialogData
*result
;
23106 PyObject
* obj0
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
23112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23113 if (SWIG_arg_fail(1)) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
23118 result
= (wxPageSetupDialogData
*) &_result_ref
;
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23131 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23132 PyObject
*resultobj
= NULL
;
23133 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23134 wxPageSetupDialogData
*result
;
23135 PyObject
* obj0
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
23141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23142 if (SWIG_arg_fail(1)) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
23147 result
= (wxPageSetupDialogData
*) &_result_ref
;
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23160 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
= NULL
;
23162 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23164 PyObject
* obj0
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23171 if (SWIG_arg_fail(1)) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 result
= (int)(arg1
)->ShowModal();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= SWIG_From_int(static_cast<int >(result
));
23188 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
23190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23191 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
23193 return Py_BuildValue((char *)"");
23195 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
23196 PyObject
*resultobj
= NULL
;
23197 wxPrintDialogData
*result
;
23199 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 result
= (wxPrintDialogData
*)new wxPrintDialogData();
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23214 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23215 PyObject
*resultobj
= NULL
;
23216 wxPrintData
*arg1
= 0 ;
23217 wxPrintDialogData
*result
;
23218 PyObject
* obj0
= 0 ;
23220 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23223 if (SWIG_arg_fail(1)) SWIG_fail
;
23224 if (arg1
== NULL
) {
23225 SWIG_null_ref("wxPrintData");
23227 if (SWIG_arg_fail(1)) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23243 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23244 PyObject
*resultobj
= NULL
;
23245 wxPrintDialogData
*arg1
= 0 ;
23246 wxPrintDialogData
*result
;
23247 PyObject
* obj0
= 0 ;
23249 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23252 if (SWIG_arg_fail(1)) SWIG_fail
;
23253 if (arg1
== NULL
) {
23254 SWIG_null_ref("wxPrintDialogData");
23256 if (SWIG_arg_fail(1)) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23272 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23277 argc
= PyObject_Length(args
);
23278 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23279 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23282 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23288 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23296 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23303 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23311 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23315 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23320 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
= NULL
;
23322 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23323 PyObject
* obj0
= 0 ;
23324 char *kwnames
[] = {
23325 (char *) "self", NULL
23328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23330 if (SWIG_arg_fail(1)) SWIG_fail
;
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23338 Py_INCREF(Py_None
); resultobj
= Py_None
;
23345 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
= NULL
;
23347 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23349 PyObject
* obj0
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23356 if (SWIG_arg_fail(1)) SWIG_fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23365 resultobj
= SWIG_From_int(static_cast<int >(result
));
23373 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
= NULL
;
23375 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23377 PyObject
* obj0
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23384 if (SWIG_arg_fail(1)) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= SWIG_From_int(static_cast<int >(result
));
23401 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= NULL
;
23403 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23412 if (SWIG_arg_fail(1)) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= SWIG_From_int(static_cast<int >(result
));
23429 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
= NULL
;
23431 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23433 PyObject
* obj0
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23440 if (SWIG_arg_fail(1)) SWIG_fail
;
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= SWIG_From_int(static_cast<int >(result
));
23457 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
= NULL
;
23459 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23461 PyObject
* obj0
= 0 ;
23462 char *kwnames
[] = {
23463 (char *) "self", NULL
23466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23468 if (SWIG_arg_fail(1)) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23477 resultobj
= SWIG_From_int(static_cast<int >(result
));
23485 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
= NULL
;
23487 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23489 PyObject
* obj0
= 0 ;
23490 char *kwnames
[] = {
23491 (char *) "self", NULL
23494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23496 if (SWIG_arg_fail(1)) SWIG_fail
;
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23513 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
= NULL
;
23515 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23517 PyObject
* obj0
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23524 if (SWIG_arg_fail(1)) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23541 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
= NULL
;
23543 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23552 if (SWIG_arg_fail(1)) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23569 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
= NULL
;
23571 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23573 PyObject
* obj0
= 0 ;
23574 char *kwnames
[] = {
23575 (char *) "self", NULL
23578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23580 if (SWIG_arg_fail(1)) SWIG_fail
;
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23597 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
= NULL
;
23599 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23601 PyObject
* obj0
= 0 ;
23602 PyObject
* obj1
= 0 ;
23603 char *kwnames
[] = {
23604 (char *) "self",(char *) "v", NULL
23607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23609 if (SWIG_arg_fail(1)) SWIG_fail
;
23611 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23612 if (SWIG_arg_fail(2)) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 (arg1
)->SetFromPage(arg2
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 Py_INCREF(Py_None
); resultobj
= Py_None
;
23628 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
= NULL
;
23630 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23632 PyObject
* obj0
= 0 ;
23633 PyObject
* obj1
= 0 ;
23634 char *kwnames
[] = {
23635 (char *) "self",(char *) "v", NULL
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23640 if (SWIG_arg_fail(1)) SWIG_fail
;
23642 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23643 if (SWIG_arg_fail(2)) SWIG_fail
;
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 (arg1
)->SetToPage(arg2
);
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 Py_INCREF(Py_None
); resultobj
= Py_None
;
23659 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
= NULL
;
23661 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23663 PyObject
* obj0
= 0 ;
23664 PyObject
* obj1
= 0 ;
23665 char *kwnames
[] = {
23666 (char *) "self",(char *) "v", NULL
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23671 if (SWIG_arg_fail(1)) SWIG_fail
;
23673 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23674 if (SWIG_arg_fail(2)) SWIG_fail
;
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 (arg1
)->SetMinPage(arg2
);
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 Py_INCREF(Py_None
); resultobj
= Py_None
;
23690 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
= NULL
;
23692 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23694 PyObject
* obj0
= 0 ;
23695 PyObject
* obj1
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self",(char *) "v", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23702 if (SWIG_arg_fail(1)) SWIG_fail
;
23704 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23705 if (SWIG_arg_fail(2)) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 (arg1
)->SetMaxPage(arg2
);
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23714 Py_INCREF(Py_None
); resultobj
= Py_None
;
23721 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
= NULL
;
23723 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 PyObject
* obj1
= 0 ;
23727 char *kwnames
[] = {
23728 (char *) "self",(char *) "v", NULL
23731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23733 if (SWIG_arg_fail(1)) SWIG_fail
;
23735 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23736 if (SWIG_arg_fail(2)) SWIG_fail
;
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 (arg1
)->SetNoCopies(arg2
);
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 Py_INCREF(Py_None
); resultobj
= Py_None
;
23752 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
= NULL
;
23754 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self",(char *) "flag", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23764 if (SWIG_arg_fail(1)) SWIG_fail
;
23766 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23767 if (SWIG_arg_fail(2)) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 (arg1
)->SetAllPages(arg2
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 Py_INCREF(Py_None
); resultobj
= Py_None
;
23783 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
= NULL
;
23785 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23787 PyObject
* obj0
= 0 ;
23788 PyObject
* obj1
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self",(char *) "flag", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23795 if (SWIG_arg_fail(1)) SWIG_fail
;
23797 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23798 if (SWIG_arg_fail(2)) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 (arg1
)->SetSelection(arg2
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 Py_INCREF(Py_None
); resultobj
= Py_None
;
23814 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
= NULL
;
23816 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self",(char *) "flag", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23826 if (SWIG_arg_fail(1)) SWIG_fail
;
23828 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23829 if (SWIG_arg_fail(2)) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 (arg1
)->SetCollate(arg2
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 Py_INCREF(Py_None
); resultobj
= Py_None
;
23845 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
= NULL
;
23847 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23849 PyObject
* obj0
= 0 ;
23850 PyObject
* obj1
= 0 ;
23851 char *kwnames
[] = {
23852 (char *) "self",(char *) "flag", NULL
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23857 if (SWIG_arg_fail(1)) SWIG_fail
;
23859 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23860 if (SWIG_arg_fail(2)) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 (arg1
)->SetPrintToFile(arg2
);
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 Py_INCREF(Py_None
); resultobj
= Py_None
;
23876 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
= NULL
;
23878 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23880 PyObject
* obj0
= 0 ;
23881 PyObject
* obj1
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "self",(char *) "flag", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23888 if (SWIG_arg_fail(1)) SWIG_fail
;
23890 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23891 if (SWIG_arg_fail(2)) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 (arg1
)->EnablePrintToFile(arg2
);
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23900 Py_INCREF(Py_None
); resultobj
= Py_None
;
23907 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
= NULL
;
23909 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23911 PyObject
* obj0
= 0 ;
23912 PyObject
* obj1
= 0 ;
23913 char *kwnames
[] = {
23914 (char *) "self",(char *) "flag", NULL
23917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23919 if (SWIG_arg_fail(1)) SWIG_fail
;
23921 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23922 if (SWIG_arg_fail(2)) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 (arg1
)->EnableSelection(arg2
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 Py_INCREF(Py_None
); resultobj
= Py_None
;
23938 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
= NULL
;
23940 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 char *kwnames
[] = {
23945 (char *) "self",(char *) "flag", NULL
23948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23950 if (SWIG_arg_fail(1)) SWIG_fail
;
23952 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23953 if (SWIG_arg_fail(2)) SWIG_fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 (arg1
)->EnablePageNumbers(arg2
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23962 Py_INCREF(Py_None
); resultobj
= Py_None
;
23969 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
= NULL
;
23971 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 char *kwnames
[] = {
23976 (char *) "self",(char *) "flag", NULL
23979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23981 if (SWIG_arg_fail(1)) SWIG_fail
;
23983 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23984 if (SWIG_arg_fail(2)) SWIG_fail
;
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 (arg1
)->EnableHelp(arg2
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23993 Py_INCREF(Py_None
); resultobj
= Py_None
;
24000 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
= NULL
;
24002 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24004 PyObject
* obj0
= 0 ;
24005 char *kwnames
[] = {
24006 (char *) "self", NULL
24009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
24010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24011 if (SWIG_arg_fail(1)) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24028 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
= NULL
;
24030 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24032 PyObject
* obj0
= 0 ;
24033 char *kwnames
[] = {
24034 (char *) "self", NULL
24037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
24038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24039 if (SWIG_arg_fail(1)) SWIG_fail
;
24041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24056 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
= NULL
;
24058 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24060 PyObject
* obj0
= 0 ;
24061 char *kwnames
[] = {
24062 (char *) "self", NULL
24065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
24066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24067 if (SWIG_arg_fail(1)) SWIG_fail
;
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24070 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24084 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24085 PyObject
*resultobj
= NULL
;
24086 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24088 PyObject
* obj0
= 0 ;
24089 char *kwnames
[] = {
24090 (char *) "self", NULL
24093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
24094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24095 if (SWIG_arg_fail(1)) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24112 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
= NULL
;
24114 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24116 PyObject
* obj0
= 0 ;
24117 char *kwnames
[] = {
24118 (char *) "self", NULL
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
24122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24123 if (SWIG_arg_fail(1)) SWIG_fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24140 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
= NULL
;
24142 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24143 wxPrintData
*result
;
24144 PyObject
* obj0
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "self", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
24150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24156 result
= (wxPrintData
*) &_result_ref
;
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24169 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
= NULL
;
24171 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24172 wxPrintData
*arg2
= 0 ;
24173 PyObject
* obj0
= 0 ;
24174 PyObject
* obj1
= 0 ;
24175 char *kwnames
[] = {
24176 (char *) "self",(char *) "printData", NULL
24179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24181 if (SWIG_arg_fail(1)) SWIG_fail
;
24183 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24184 if (SWIG_arg_fail(2)) SWIG_fail
;
24185 if (arg2
== NULL
) {
24186 SWIG_null_ref("wxPrintData");
24188 if (SWIG_arg_fail(2)) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24197 Py_INCREF(Py_None
); resultobj
= Py_None
;
24204 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24207 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24209 return Py_BuildValue((char *)"");
24211 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
= NULL
;
24213 wxWindow
*arg1
= (wxWindow
*) 0 ;
24214 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24215 wxPrintDialog
*result
;
24216 PyObject
* obj0
= 0 ;
24217 PyObject
* obj1
= 0 ;
24218 char *kwnames
[] = {
24219 (char *) "parent",(char *) "data", NULL
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24224 if (SWIG_arg_fail(1)) SWIG_fail
;
24226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24227 if (SWIG_arg_fail(2)) SWIG_fail
;
24230 if (!wxPyCheckForApp()) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24244 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
= NULL
;
24246 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24248 PyObject
* obj0
= 0 ;
24249 char *kwnames
[] = {
24250 (char *) "self", NULL
24253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24255 if (SWIG_arg_fail(1)) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 result
= (int)(arg1
)->ShowModal();
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24264 resultobj
= SWIG_From_int(static_cast<int >(result
));
24272 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
= NULL
;
24274 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24275 wxPrintDialogData
*result
;
24276 PyObject
* obj0
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24283 if (SWIG_arg_fail(1)) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24288 result
= (wxPrintDialogData
*) &_result_ref
;
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24301 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
= NULL
;
24303 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24304 wxPrintData
*result
;
24305 PyObject
* obj0
= 0 ;
24306 char *kwnames
[] = {
24307 (char *) "self", NULL
24310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24312 if (SWIG_arg_fail(1)) SWIG_fail
;
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24317 result
= (wxPrintData
*) &_result_ref
;
24320 wxPyEndAllowThreads(__tstate
);
24321 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24330 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24331 PyObject
*resultobj
= NULL
;
24332 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24334 PyObject
* obj0
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24341 if (SWIG_arg_fail(1)) SWIG_fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 result
= (wxDC
*)(arg1
)->GetPrintDC();
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24358 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24361 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24363 return Py_BuildValue((char *)"");
24365 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
= NULL
;
24367 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24369 PyObject
* obj0
= 0 ;
24370 char *kwnames
[] = {
24371 (char *) "data", NULL
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24377 if (SWIG_arg_fail(1)) SWIG_fail
;
24380 if (!wxPyCheckForApp()) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 result
= (wxPrinter
*)new wxPrinter(arg1
);
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24394 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
= NULL
;
24396 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24397 PyObject
* obj0
= 0 ;
24398 char *kwnames
[] = {
24399 (char *) "self", NULL
24402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24404 if (SWIG_arg_fail(1)) SWIG_fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 Py_INCREF(Py_None
); resultobj
= Py_None
;
24419 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
= NULL
;
24421 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24422 wxWindow
*arg2
= (wxWindow
*) 0 ;
24423 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 PyObject
* obj1
= 0 ;
24427 PyObject
* obj2
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "parent",(char *) "printout", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24434 if (SWIG_arg_fail(1)) SWIG_fail
;
24435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24436 if (SWIG_arg_fail(2)) SWIG_fail
;
24437 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24438 if (SWIG_arg_fail(3)) SWIG_fail
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= wxPyMake_wxObject(result
, 0);
24455 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24456 PyObject
*resultobj
= NULL
;
24457 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24458 wxWindow
*arg2
= (wxWindow
*) 0 ;
24459 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24460 wxString
*arg4
= 0 ;
24461 bool temp4
= false ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 PyObject
* obj2
= 0 ;
24465 PyObject
* obj3
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24472 if (SWIG_arg_fail(1)) SWIG_fail
;
24473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24474 if (SWIG_arg_fail(2)) SWIG_fail
;
24475 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24476 if (SWIG_arg_fail(3)) SWIG_fail
;
24478 arg4
= wxString_in_helper(obj3
);
24479 if (arg4
== NULL
) SWIG_fail
;
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24486 wxPyEndAllowThreads(__tstate
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24489 Py_INCREF(Py_None
); resultobj
= Py_None
;
24504 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24505 PyObject
*resultobj
= NULL
;
24506 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24507 wxWindow
*arg2
= (wxWindow
*) 0 ;
24509 PyObject
* obj0
= 0 ;
24510 PyObject
* obj1
= 0 ;
24511 char *kwnames
[] = {
24512 (char *) "self",(char *) "parent", NULL
24515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24517 if (SWIG_arg_fail(1)) SWIG_fail
;
24518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24519 if (SWIG_arg_fail(2)) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (bool)(arg1
)->Setup(arg2
);
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24536 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
= NULL
;
24538 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24539 wxWindow
*arg2
= (wxWindow
*) 0 ;
24540 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24541 bool arg4
= (bool) true ;
24543 PyObject
* obj0
= 0 ;
24544 PyObject
* obj1
= 0 ;
24545 PyObject
* obj2
= 0 ;
24546 PyObject
* obj3
= 0 ;
24547 char *kwnames
[] = {
24548 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24553 if (SWIG_arg_fail(1)) SWIG_fail
;
24554 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24555 if (SWIG_arg_fail(2)) SWIG_fail
;
24556 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24557 if (SWIG_arg_fail(3)) SWIG_fail
;
24560 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
24561 if (SWIG_arg_fail(4)) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24580 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
= NULL
;
24582 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24583 wxWindow
*arg2
= (wxWindow
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 PyObject
* obj1
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self",(char *) "parent", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24593 if (SWIG_arg_fail(1)) SWIG_fail
;
24594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24595 if (SWIG_arg_fail(2)) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24604 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24612 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
= NULL
;
24614 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24615 wxPrintDialogData
*result
;
24616 PyObject
* obj0
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24623 if (SWIG_arg_fail(1)) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24628 result
= (wxPrintDialogData
*) &_result_ref
;
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24641 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
= NULL
;
24643 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= (bool)(arg1
)->GetAbort();
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24669 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
= NULL
;
24671 wxPrinterError result
;
24672 char *kwnames
[] = {
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 result
= (wxPrinterError
)wxPrinter::GetLastError();
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24684 resultobj
= SWIG_From_int((result
));
24691 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24694 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24696 return Py_BuildValue((char *)"");
24698 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
= NULL
;
24700 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24701 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24702 wxPyPrintout
*result
;
24703 bool temp1
= false ;
24704 PyObject
* obj0
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "title", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24712 arg1
= wxString_in_helper(obj0
);
24713 if (arg1
== NULL
) SWIG_fail
;
24718 if (!wxPyCheckForApp()) SWIG_fail
;
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24720 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24726 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24742 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
= NULL
;
24744 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24745 PyObject
*arg2
= (PyObject
*) 0 ;
24746 PyObject
*arg3
= (PyObject
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 PyObject
* obj1
= 0 ;
24749 PyObject
* obj2
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self",(char *) "self",(char *) "_class", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 Py_INCREF(Py_None
); resultobj
= Py_None
;
24773 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= NULL
;
24775 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "self", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24784 if (SWIG_arg_fail(1)) SWIG_fail
;
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24805 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
= NULL
;
24807 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24809 PyObject
* obj0
= 0 ;
24810 char *kwnames
[] = {
24811 (char *) "self", NULL
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24816 if (SWIG_arg_fail(1)) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (wxDC
*)(arg1
)->GetDC();
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24833 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
= NULL
;
24835 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24836 wxDC
*arg2
= (wxDC
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 PyObject
* obj1
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "self",(char *) "dc", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24845 if (SWIG_arg_fail(1)) SWIG_fail
;
24846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24847 if (SWIG_arg_fail(2)) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 (arg1
)->SetDC(arg2
);
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24855 Py_INCREF(Py_None
); resultobj
= Py_None
;
24862 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24863 PyObject
*resultobj
= NULL
;
24864 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24867 PyObject
* obj0
= 0 ;
24868 PyObject
* obj1
= 0 ;
24869 PyObject
* obj2
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self",(char *) "w",(char *) "h", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24876 if (SWIG_arg_fail(1)) SWIG_fail
;
24878 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24879 if (SWIG_arg_fail(2)) SWIG_fail
;
24882 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24883 if (SWIG_arg_fail(3)) SWIG_fail
;
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24892 Py_INCREF(Py_None
); resultobj
= Py_None
;
24899 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
= NULL
;
24901 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24902 int *arg2
= (int *) 0 ;
24903 int *arg3
= (int *) 0 ;
24908 PyObject
* obj0
= 0 ;
24909 char *kwnames
[] = {
24910 (char *) "self", NULL
24913 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24914 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24917 if (SWIG_arg_fail(1)) SWIG_fail
;
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 Py_INCREF(Py_None
); resultobj
= Py_None
;
24926 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24927 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24928 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24929 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24936 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
= NULL
;
24938 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24941 PyObject
* obj0
= 0 ;
24942 PyObject
* obj1
= 0 ;
24943 PyObject
* obj2
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self",(char *) "w",(char *) "h", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24950 if (SWIG_arg_fail(1)) SWIG_fail
;
24952 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24953 if (SWIG_arg_fail(2)) SWIG_fail
;
24956 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24957 if (SWIG_arg_fail(3)) SWIG_fail
;
24960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24966 Py_INCREF(Py_None
); resultobj
= Py_None
;
24973 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24974 PyObject
*resultobj
= NULL
;
24975 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24976 int *arg2
= (int *) 0 ;
24977 int *arg3
= (int *) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 char *kwnames
[] = {
24984 (char *) "self", NULL
24987 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24988 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24991 if (SWIG_arg_fail(1)) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 Py_INCREF(Py_None
); resultobj
= Py_None
;
25000 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25001 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25002 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25003 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25010 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
= NULL
;
25012 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 PyObject
* obj2
= 0 ;
25018 char *kwnames
[] = {
25019 (char *) "self",(char *) "x",(char *) "y", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25024 if (SWIG_arg_fail(1)) SWIG_fail
;
25026 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25027 if (SWIG_arg_fail(2)) SWIG_fail
;
25030 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25031 if (SWIG_arg_fail(3)) SWIG_fail
;
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 (arg1
)->SetPPIScreen(arg2
,arg3
);
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25040 Py_INCREF(Py_None
); resultobj
= Py_None
;
25047 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25048 PyObject
*resultobj
= NULL
;
25049 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25050 int *arg2
= (int *) 0 ;
25051 int *arg3
= (int *) 0 ;
25056 PyObject
* obj0
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "self", NULL
25061 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25062 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
25064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25065 if (SWIG_arg_fail(1)) SWIG_fail
;
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 (arg1
)->GetPPIScreen(arg2
,arg3
);
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 Py_INCREF(Py_None
); resultobj
= Py_None
;
25074 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25075 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25076 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25077 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25084 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
= NULL
;
25086 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25089 PyObject
* obj0
= 0 ;
25090 PyObject
* obj1
= 0 ;
25091 PyObject
* obj2
= 0 ;
25092 char *kwnames
[] = {
25093 (char *) "self",(char *) "x",(char *) "y", NULL
25096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25098 if (SWIG_arg_fail(1)) SWIG_fail
;
25100 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25101 if (SWIG_arg_fail(2)) SWIG_fail
;
25104 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25105 if (SWIG_arg_fail(3)) SWIG_fail
;
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 (arg1
)->SetPPIPrinter(arg2
,arg3
);
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 Py_INCREF(Py_None
); resultobj
= Py_None
;
25121 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
= NULL
;
25123 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25124 int *arg2
= (int *) 0 ;
25125 int *arg3
= (int *) 0 ;
25130 PyObject
* obj0
= 0 ;
25131 char *kwnames
[] = {
25132 (char *) "self", NULL
25135 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25136 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
25138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25139 if (SWIG_arg_fail(1)) SWIG_fail
;
25141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 (arg1
)->GetPPIPrinter(arg2
,arg3
);
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25147 Py_INCREF(Py_None
); resultobj
= Py_None
;
25148 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25149 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25150 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25151 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25158 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
= NULL
;
25160 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25169 if (SWIG_arg_fail(1)) SWIG_fail
;
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 result
= (bool)(arg1
)->IsPreview();
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25186 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
= NULL
;
25188 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25190 PyObject
* obj0
= 0 ;
25191 PyObject
* obj1
= 0 ;
25192 char *kwnames
[] = {
25193 (char *) "self",(char *) "p", NULL
25196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25198 if (SWIG_arg_fail(1)) SWIG_fail
;
25200 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
25201 if (SWIG_arg_fail(2)) SWIG_fail
;
25204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25205 (arg1
)->SetIsPreview(arg2
);
25207 wxPyEndAllowThreads(__tstate
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25210 Py_INCREF(Py_None
); resultobj
= Py_None
;
25217 static PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
= NULL
;
25219 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25223 PyObject
* obj0
= 0 ;
25224 PyObject
* obj1
= 0 ;
25225 PyObject
* obj2
= 0 ;
25226 char *kwnames
[] = {
25227 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25232 if (SWIG_arg_fail(1)) SWIG_fail
;
25234 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25235 if (SWIG_arg_fail(2)) SWIG_fail
;
25238 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25239 if (SWIG_arg_fail(3)) SWIG_fail
;
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25257 static PyObject
*_wrap_Printout_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
= NULL
;
25259 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25260 PyObject
* obj0
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25267 if (SWIG_arg_fail(1)) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 (arg1
)->OnEndDocument();
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 Py_INCREF(Py_None
); resultobj
= Py_None
;
25282 static PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
= NULL
;
25284 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25285 PyObject
* obj0
= 0 ;
25286 char *kwnames
[] = {
25287 (char *) "self", NULL
25290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25292 if (SWIG_arg_fail(1)) SWIG_fail
;
25294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25295 (arg1
)->OnBeginPrinting();
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25300 Py_INCREF(Py_None
); resultobj
= Py_None
;
25307 static PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25308 PyObject
*resultobj
= NULL
;
25309 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25310 PyObject
* obj0
= 0 ;
25311 char *kwnames
[] = {
25312 (char *) "self", NULL
25315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25317 if (SWIG_arg_fail(1)) SWIG_fail
;
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 (arg1
)->OnEndPrinting();
25322 wxPyEndAllowThreads(__tstate
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 Py_INCREF(Py_None
); resultobj
= Py_None
;
25332 static PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
= NULL
;
25334 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25342 if (SWIG_arg_fail(1)) SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 (arg1
)->OnPreparePrinting();
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25350 Py_INCREF(Py_None
); resultobj
= Py_None
;
25357 static PyObject
*_wrap_Printout_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25358 PyObject
*resultobj
= NULL
;
25359 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25362 PyObject
* obj0
= 0 ;
25363 PyObject
* obj1
= 0 ;
25364 char *kwnames
[] = {
25365 (char *) "self",(char *) "page", NULL
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25370 if (SWIG_arg_fail(1)) SWIG_fail
;
25372 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25373 if (SWIG_arg_fail(2)) SWIG_fail
;
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25377 result
= (bool)(arg1
)->HasPage(arg2
);
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25391 static PyObject
*_wrap_Printout_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
= NULL
;
25393 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25394 int *arg2
= (int *) 0 ;
25395 int *arg3
= (int *) 0 ;
25396 int *arg4
= (int *) 0 ;
25397 int *arg5
= (int *) 0 ;
25406 PyObject
* obj0
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self", NULL
25411 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25412 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25413 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25414 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25417 if (SWIG_arg_fail(1)) SWIG_fail
;
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 Py_INCREF(Py_None
); resultobj
= Py_None
;
25426 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25427 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25428 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25429 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25430 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25431 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25432 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25433 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25440 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25443 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25445 return Py_BuildValue((char *)"");
25447 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25448 PyObject
*resultobj
= NULL
;
25449 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25450 wxWindow
*arg2
= (wxWindow
*) 0 ;
25451 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25452 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25453 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25454 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25455 long arg5
= (long) 0 ;
25456 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25457 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25458 wxPreviewCanvas
*result
;
25461 bool temp6
= false ;
25462 PyObject
* obj0
= 0 ;
25463 PyObject
* obj1
= 0 ;
25464 PyObject
* obj2
= 0 ;
25465 PyObject
* obj3
= 0 ;
25466 PyObject
* obj4
= 0 ;
25467 PyObject
* obj5
= 0 ;
25468 char *kwnames
[] = {
25469 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25474 if (SWIG_arg_fail(1)) SWIG_fail
;
25475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25476 if (SWIG_arg_fail(2)) SWIG_fail
;
25480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25486 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25491 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25492 if (SWIG_arg_fail(5)) SWIG_fail
;
25497 arg6
= wxString_in_helper(obj5
);
25498 if (arg6
== NULL
) SWIG_fail
;
25503 if (!wxPyCheckForApp()) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25525 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25528 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25530 return Py_BuildValue((char *)"");
25532 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25533 PyObject
*resultobj
= NULL
;
25534 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25535 wxFrame
*arg2
= (wxFrame
*) 0 ;
25536 wxString
*arg3
= 0 ;
25537 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25538 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25539 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25540 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25541 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25542 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25543 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25544 wxPreviewFrame
*result
;
25545 bool temp3
= false ;
25548 bool temp7
= false ;
25549 PyObject
* obj0
= 0 ;
25550 PyObject
* obj1
= 0 ;
25551 PyObject
* obj2
= 0 ;
25552 PyObject
* obj3
= 0 ;
25553 PyObject
* obj4
= 0 ;
25554 PyObject
* obj5
= 0 ;
25555 PyObject
* obj6
= 0 ;
25556 char *kwnames
[] = {
25557 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25562 if (SWIG_arg_fail(1)) SWIG_fail
;
25563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25564 if (SWIG_arg_fail(2)) SWIG_fail
;
25566 arg3
= wxString_in_helper(obj2
);
25567 if (arg3
== NULL
) SWIG_fail
;
25573 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25579 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25584 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25585 if (SWIG_arg_fail(6)) SWIG_fail
;
25590 arg7
= wxString_in_helper(obj6
);
25591 if (arg7
== NULL
) SWIG_fail
;
25596 if (!wxPyCheckForApp()) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25626 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
= NULL
;
25628 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25629 PyObject
* obj0
= 0 ;
25630 char *kwnames
[] = {
25631 (char *) "self", NULL
25634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25636 if (SWIG_arg_fail(1)) SWIG_fail
;
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25639 (arg1
)->Initialize();
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 Py_INCREF(Py_None
); resultobj
= Py_None
;
25651 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25652 PyObject
*resultobj
= NULL
;
25653 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25654 PyObject
* obj0
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "self", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25661 if (SWIG_arg_fail(1)) SWIG_fail
;
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 (arg1
)->CreateControlBar();
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 Py_INCREF(Py_None
); resultobj
= Py_None
;
25676 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25677 PyObject
*resultobj
= NULL
;
25678 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25679 PyObject
* obj0
= 0 ;
25680 char *kwnames
[] = {
25681 (char *) "self", NULL
25684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25686 if (SWIG_arg_fail(1)) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 (arg1
)->CreateCanvas();
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 Py_INCREF(Py_None
); resultobj
= Py_None
;
25701 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
= NULL
;
25703 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25704 wxPreviewControlBar
*result
;
25705 PyObject
* obj0
= 0 ;
25706 char *kwnames
[] = {
25707 (char *) "self", NULL
25710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25712 if (SWIG_arg_fail(1)) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25727 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25730 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25732 return Py_BuildValue((char *)"");
25734 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25735 PyObject
*resultobj
= NULL
;
25736 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25738 wxWindow
*arg3
= (wxWindow
*) 0 ;
25739 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25740 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25741 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25742 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25743 long arg6
= (long) wxTAB_TRAVERSAL
;
25744 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25745 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25746 wxPreviewControlBar
*result
;
25749 bool temp7
= false ;
25750 PyObject
* obj0
= 0 ;
25751 PyObject
* obj1
= 0 ;
25752 PyObject
* obj2
= 0 ;
25753 PyObject
* obj3
= 0 ;
25754 PyObject
* obj4
= 0 ;
25755 PyObject
* obj5
= 0 ;
25756 PyObject
* obj6
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25763 if (SWIG_arg_fail(1)) SWIG_fail
;
25765 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25766 if (SWIG_arg_fail(2)) SWIG_fail
;
25768 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25769 if (SWIG_arg_fail(3)) SWIG_fail
;
25773 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25779 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25784 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25785 if (SWIG_arg_fail(6)) SWIG_fail
;
25790 arg7
= wxString_in_helper(obj6
);
25791 if (arg7
== NULL
) SWIG_fail
;
25796 if (!wxPyCheckForApp()) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25818 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25819 PyObject
*resultobj
= NULL
;
25820 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25822 PyObject
* obj0
= 0 ;
25823 char *kwnames
[] = {
25824 (char *) "self", NULL
25827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25829 if (SWIG_arg_fail(1)) SWIG_fail
;
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 result
= (int)(arg1
)->GetZoomControl();
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25838 resultobj
= SWIG_From_int(static_cast<int >(result
));
25846 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
= NULL
;
25848 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25850 PyObject
* obj0
= 0 ;
25851 PyObject
* obj1
= 0 ;
25852 char *kwnames
[] = {
25853 (char *) "self",(char *) "zoom", NULL
25856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25858 if (SWIG_arg_fail(1)) SWIG_fail
;
25860 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25861 if (SWIG_arg_fail(2)) SWIG_fail
;
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 (arg1
)->SetZoomControl(arg2
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 Py_INCREF(Py_None
); resultobj
= Py_None
;
25877 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25878 PyObject
*resultobj
= NULL
;
25879 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25880 wxPrintPreview
*result
;
25881 PyObject
* obj0
= 0 ;
25882 char *kwnames
[] = {
25883 (char *) "self", NULL
25886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25888 if (SWIG_arg_fail(1)) SWIG_fail
;
25890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25891 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25903 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25904 PyObject
*resultobj
= NULL
;
25905 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25906 PyObject
* obj0
= 0 ;
25907 char *kwnames
[] = {
25908 (char *) "self", NULL
25911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail
;
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 Py_INCREF(Py_None
); resultobj
= Py_None
;
25928 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
= NULL
;
25930 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25931 PyObject
* obj0
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "self", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25938 if (SWIG_arg_fail(1)) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->OnPrevious();
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 Py_INCREF(Py_None
); resultobj
= Py_None
;
25953 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
= NULL
;
25955 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25956 PyObject
* obj0
= 0 ;
25957 char *kwnames
[] = {
25958 (char *) "self", NULL
25961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25963 if (SWIG_arg_fail(1)) SWIG_fail
;
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25971 Py_INCREF(Py_None
); resultobj
= Py_None
;
25978 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
= NULL
;
25980 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25981 PyObject
* obj0
= 0 ;
25982 char *kwnames
[] = {
25983 (char *) "self", NULL
25986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25988 if (SWIG_arg_fail(1)) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 Py_INCREF(Py_None
); resultobj
= Py_None
;
26003 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
= NULL
;
26005 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
26006 PyObject
* obj0
= 0 ;
26007 char *kwnames
[] = {
26008 (char *) "self", NULL
26011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
26012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
26013 if (SWIG_arg_fail(1)) SWIG_fail
;
26015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 wxPyEndAllowThreads(__tstate
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26021 Py_INCREF(Py_None
); resultobj
= Py_None
;
26028 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
26030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26031 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
26033 return Py_BuildValue((char *)"");
26035 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26036 PyObject
*resultobj
= NULL
;
26037 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26038 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26039 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26040 wxPrintPreview
*result
;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 PyObject
* obj2
= 0 ;
26045 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26047 if (SWIG_arg_fail(1)) SWIG_fail
;
26048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26049 if (SWIG_arg_fail(2)) SWIG_fail
;
26051 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26052 if (SWIG_arg_fail(3)) SWIG_fail
;
26055 if (!wxPyCheckForApp()) SWIG_fail
;
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26069 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26070 PyObject
*resultobj
= NULL
;
26071 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26072 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26073 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26074 wxPrintPreview
*result
;
26075 PyObject
* obj0
= 0 ;
26076 PyObject
* obj1
= 0 ;
26077 PyObject
* obj2
= 0 ;
26079 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26081 if (SWIG_arg_fail(1)) SWIG_fail
;
26082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26083 if (SWIG_arg_fail(2)) SWIG_fail
;
26084 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26085 if (SWIG_arg_fail(3)) SWIG_fail
;
26087 if (!wxPyCheckForApp()) SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
26101 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
26106 argc
= PyObject_Length(args
);
26107 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26108 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26110 if ((argc
>= 2) && (argc
<= 3)) {
26114 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26124 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26133 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26137 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26145 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26154 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26164 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26174 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26182 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26188 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26193 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
= NULL
;
26195 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26198 PyObject
* obj0
= 0 ;
26199 PyObject
* obj1
= 0 ;
26200 char *kwnames
[] = {
26201 (char *) "self",(char *) "pageNum", NULL
26204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26206 if (SWIG_arg_fail(1)) SWIG_fail
;
26208 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26209 if (SWIG_arg_fail(2)) SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26227 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
= NULL
;
26229 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26231 PyObject
* obj0
= 0 ;
26232 char *kwnames
[] = {
26233 (char *) "self", NULL
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26238 if (SWIG_arg_fail(1)) SWIG_fail
;
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 result
= (int)(arg1
)->GetCurrentPage();
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26247 resultobj
= SWIG_From_int(static_cast<int >(result
));
26255 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
= NULL
;
26257 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26258 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26259 PyObject
* obj0
= 0 ;
26260 PyObject
* obj1
= 0 ;
26261 char *kwnames
[] = {
26262 (char *) "self",(char *) "printout", NULL
26265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26267 if (SWIG_arg_fail(1)) SWIG_fail
;
26268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26269 if (SWIG_arg_fail(2)) SWIG_fail
;
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 (arg1
)->SetPrintout(arg2
);
26274 wxPyEndAllowThreads(__tstate
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26277 Py_INCREF(Py_None
); resultobj
= Py_None
;
26284 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
= NULL
;
26286 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26287 wxPyPrintout
*result
;
26288 PyObject
* obj0
= 0 ;
26289 char *kwnames
[] = {
26290 (char *) "self", NULL
26293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26295 if (SWIG_arg_fail(1)) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26304 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26312 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
= NULL
;
26314 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26315 wxPyPrintout
*result
;
26316 PyObject
* obj0
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "self", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26323 if (SWIG_arg_fail(1)) SWIG_fail
;
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26332 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26340 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
= NULL
;
26342 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26343 wxFrame
*arg2
= (wxFrame
*) 0 ;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 char *kwnames
[] = {
26347 (char *) "self",(char *) "frame", NULL
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26352 if (SWIG_arg_fail(1)) SWIG_fail
;
26353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26354 if (SWIG_arg_fail(2)) SWIG_fail
;
26356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26357 (arg1
)->SetFrame(arg2
);
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 Py_INCREF(Py_None
); resultobj
= Py_None
;
26369 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
= NULL
;
26371 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26372 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "canvas", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26381 if (SWIG_arg_fail(1)) SWIG_fail
;
26382 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26383 if (SWIG_arg_fail(2)) SWIG_fail
;
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 (arg1
)->SetCanvas(arg2
);
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26391 Py_INCREF(Py_None
); resultobj
= Py_None
;
26398 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26399 PyObject
*resultobj
= NULL
;
26400 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26402 PyObject
* obj0
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26409 if (SWIG_arg_fail(1)) SWIG_fail
;
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 result
= (wxFrame
*)(arg1
)->GetFrame();
26414 wxPyEndAllowThreads(__tstate
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26418 resultobj
= wxPyMake_wxObject(result
, 0);
26426 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
= NULL
;
26428 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26429 wxPreviewCanvas
*result
;
26430 PyObject
* obj0
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26437 if (SWIG_arg_fail(1)) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26452 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
= NULL
;
26454 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26455 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 PyObject
* obj2
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26467 if (SWIG_arg_fail(1)) SWIG_fail
;
26468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26469 if (SWIG_arg_fail(2)) SWIG_fail
;
26471 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26472 if (SWIG_arg_fail(3)) SWIG_fail
;
26473 if (arg3
== NULL
) {
26474 SWIG_null_ref("wxDC");
26476 if (SWIG_arg_fail(3)) SWIG_fail
;
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26494 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
= NULL
;
26496 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26497 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 PyObject
* obj2
= 0 ;
26503 char *kwnames
[] = {
26504 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26509 if (SWIG_arg_fail(1)) SWIG_fail
;
26510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26511 if (SWIG_arg_fail(2)) SWIG_fail
;
26513 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26514 if (SWIG_arg_fail(3)) SWIG_fail
;
26515 if (arg3
== NULL
) {
26516 SWIG_null_ref("wxDC");
26518 if (SWIG_arg_fail(3)) SWIG_fail
;
26521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26522 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26536 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26537 PyObject
*resultobj
= NULL
;
26538 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 PyObject
* obj1
= 0 ;
26543 char *kwnames
[] = {
26544 (char *) "self",(char *) "pageNum", NULL
26547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26549 if (SWIG_arg_fail(1)) SWIG_fail
;
26551 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26552 if (SWIG_arg_fail(2)) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 result
= (bool)(arg1
)->RenderPage(arg2
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26570 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
= NULL
;
26572 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26573 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26574 PyObject
* obj0
= 0 ;
26575 PyObject
* obj1
= 0 ;
26576 char *kwnames
[] = {
26577 (char *) "self",(char *) "canvas", NULL
26580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26582 if (SWIG_arg_fail(1)) SWIG_fail
;
26583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26584 if (SWIG_arg_fail(2)) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->AdjustScrollbars(arg2
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 Py_INCREF(Py_None
); resultobj
= Py_None
;
26599 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
= NULL
;
26601 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26602 wxPrintDialogData
*result
;
26603 PyObject
* obj0
= 0 ;
26604 char *kwnames
[] = {
26605 (char *) "self", NULL
26608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26610 if (SWIG_arg_fail(1)) SWIG_fail
;
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26615 result
= (wxPrintDialogData
*) &_result_ref
;
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26628 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
= NULL
;
26630 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26632 PyObject
* obj0
= 0 ;
26633 PyObject
* obj1
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "self",(char *) "percent", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26640 if (SWIG_arg_fail(1)) SWIG_fail
;
26642 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26643 if (SWIG_arg_fail(2)) SWIG_fail
;
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 (arg1
)->SetZoom(arg2
);
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 Py_INCREF(Py_None
); resultobj
= Py_None
;
26659 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
= NULL
;
26661 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26663 PyObject
* obj0
= 0 ;
26664 char *kwnames
[] = {
26665 (char *) "self", NULL
26668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26670 if (SWIG_arg_fail(1)) SWIG_fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 result
= (int)(arg1
)->GetZoom();
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26679 resultobj
= SWIG_From_int(static_cast<int >(result
));
26687 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
= NULL
;
26689 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26691 PyObject
* obj0
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26698 if (SWIG_arg_fail(1)) SWIG_fail
;
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 result
= (int)(arg1
)->GetMaxPage();
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26707 resultobj
= SWIG_From_int(static_cast<int >(result
));
26715 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26716 PyObject
*resultobj
= NULL
;
26717 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26719 PyObject
* obj0
= 0 ;
26720 char *kwnames
[] = {
26721 (char *) "self", NULL
26724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26726 if (SWIG_arg_fail(1)) SWIG_fail
;
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26729 result
= (int)(arg1
)->GetMinPage();
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26735 resultobj
= SWIG_From_int(static_cast<int >(result
));
26743 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
= NULL
;
26745 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26747 PyObject
* obj0
= 0 ;
26748 char *kwnames
[] = {
26749 (char *) "self", NULL
26752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26754 if (SWIG_arg_fail(1)) SWIG_fail
;
26756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26757 result
= (bool)(arg1
)->Ok();
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26771 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26772 PyObject
*resultobj
= NULL
;
26773 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26775 PyObject
* obj0
= 0 ;
26776 PyObject
* obj1
= 0 ;
26777 char *kwnames
[] = {
26778 (char *) "self",(char *) "ok", NULL
26781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail
;
26785 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26786 if (SWIG_arg_fail(2)) SWIG_fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 (arg1
)->SetOk(arg2
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 Py_INCREF(Py_None
); resultobj
= Py_None
;
26802 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
= NULL
;
26804 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "self",(char *) "interactive", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26815 if (SWIG_arg_fail(1)) SWIG_fail
;
26817 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26818 if (SWIG_arg_fail(2)) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= (bool)(arg1
)->Print(arg2
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26836 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
= NULL
;
26838 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26839 PyObject
* obj0
= 0 ;
26840 char *kwnames
[] = {
26841 (char *) "self", NULL
26844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26846 if (SWIG_arg_fail(1)) SWIG_fail
;
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 (arg1
)->DetermineScaling();
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 Py_INCREF(Py_None
); resultobj
= Py_None
;
26861 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26864 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26866 return Py_BuildValue((char *)"");
26868 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26869 PyObject
*resultobj
= NULL
;
26870 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26871 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26872 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26873 wxPyPrintPreview
*result
;
26874 PyObject
* obj0
= 0 ;
26875 PyObject
* obj1
= 0 ;
26876 PyObject
* obj2
= 0 ;
26878 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26880 if (SWIG_arg_fail(1)) SWIG_fail
;
26881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(2)) SWIG_fail
;
26884 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26885 if (SWIG_arg_fail(3)) SWIG_fail
;
26888 if (!wxPyCheckForApp()) SWIG_fail
;
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26902 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26903 PyObject
*resultobj
= NULL
;
26904 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26905 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26906 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26907 wxPyPrintPreview
*result
;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 PyObject
* obj2
= 0 ;
26912 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail
;
26915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26916 if (SWIG_arg_fail(2)) SWIG_fail
;
26917 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26918 if (SWIG_arg_fail(3)) SWIG_fail
;
26920 if (!wxPyCheckForApp()) SWIG_fail
;
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26934 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26939 argc
= PyObject_Length(args
);
26940 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26941 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26943 if ((argc
>= 2) && (argc
<= 3)) {
26947 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26957 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26966 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26970 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26978 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26987 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26997 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
27007 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
27015 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
27021 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
27026 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27027 PyObject
*resultobj
= NULL
;
27028 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27029 PyObject
*arg2
= (PyObject
*) 0 ;
27030 PyObject
*arg3
= (PyObject
*) 0 ;
27031 PyObject
* obj0
= 0 ;
27032 PyObject
* obj1
= 0 ;
27033 PyObject
* obj2
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self",(char *) "self",(char *) "_class", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27040 if (SWIG_arg_fail(1)) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27050 Py_INCREF(Py_None
); resultobj
= Py_None
;
27057 static PyObject
*_wrap_PyPrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27058 PyObject
*resultobj
= NULL
;
27059 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27062 PyObject
* obj0
= 0 ;
27063 PyObject
* obj1
= 0 ;
27064 char *kwnames
[] = {
27065 (char *) "self",(char *) "pageNum", NULL
27068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27070 if (SWIG_arg_fail(1)) SWIG_fail
;
27072 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27073 if (SWIG_arg_fail(2)) SWIG_fail
;
27076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27077 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27091 static PyObject
*_wrap_PyPrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27092 PyObject
*resultobj
= NULL
;
27093 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27094 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 PyObject
* obj2
= 0 ;
27100 char *kwnames
[] = {
27101 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27106 if (SWIG_arg_fail(1)) SWIG_fail
;
27107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27108 if (SWIG_arg_fail(2)) SWIG_fail
;
27110 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27111 if (SWIG_arg_fail(3)) SWIG_fail
;
27112 if (arg3
== NULL
) {
27113 SWIG_null_ref("wxDC");
27115 if (SWIG_arg_fail(3)) SWIG_fail
;
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27133 static PyObject
*_wrap_PyPrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
= NULL
;
27135 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27136 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27139 PyObject
* obj0
= 0 ;
27140 PyObject
* obj1
= 0 ;
27141 PyObject
* obj2
= 0 ;
27142 char *kwnames
[] = {
27143 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27148 if (SWIG_arg_fail(1)) SWIG_fail
;
27149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27150 if (SWIG_arg_fail(2)) SWIG_fail
;
27152 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27153 if (SWIG_arg_fail(3)) SWIG_fail
;
27154 if (arg3
== NULL
) {
27155 SWIG_null_ref("wxDC");
27157 if (SWIG_arg_fail(3)) SWIG_fail
;
27160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27161 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
27163 wxPyEndAllowThreads(__tstate
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27175 static PyObject
*_wrap_PyPrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
= NULL
;
27177 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27180 PyObject
* obj0
= 0 ;
27181 PyObject
* obj1
= 0 ;
27182 char *kwnames
[] = {
27183 (char *) "self",(char *) "pageNum", NULL
27186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27188 if (SWIG_arg_fail(1)) SWIG_fail
;
27190 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27191 if (SWIG_arg_fail(2)) SWIG_fail
;
27194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 result
= (bool)(arg1
)->RenderPage(arg2
);
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27209 static PyObject
*_wrap_PyPrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
= NULL
;
27211 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 char *kwnames
[] = {
27216 (char *) "self",(char *) "percent", NULL
27219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail
;
27223 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27224 if (SWIG_arg_fail(2)) SWIG_fail
;
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 (arg1
)->SetZoom(arg2
);
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 Py_INCREF(Py_None
); resultobj
= Py_None
;
27240 static PyObject
*_wrap_PyPrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27241 PyObject
*resultobj
= NULL
;
27242 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27245 PyObject
* obj0
= 0 ;
27246 PyObject
* obj1
= 0 ;
27247 char *kwnames
[] = {
27248 (char *) "self",(char *) "interactive", NULL
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail
;
27255 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
27256 if (SWIG_arg_fail(2)) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (bool)(arg1
)->Print(arg2
);
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27274 static PyObject
*_wrap_PyPrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
= NULL
;
27276 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27277 PyObject
* obj0
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "self", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27284 if (SWIG_arg_fail(1)) SWIG_fail
;
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 (arg1
)->DetermineScaling();
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27292 Py_INCREF(Py_None
); resultobj
= Py_None
;
27299 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27302 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27304 return Py_BuildValue((char *)"");
27306 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27307 PyObject
*resultobj
= NULL
;
27308 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27309 wxFrame
*arg2
= (wxFrame
*) 0 ;
27310 wxString
*arg3
= 0 ;
27311 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27312 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27313 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27314 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27315 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27316 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27317 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27318 wxPyPreviewFrame
*result
;
27319 bool temp3
= false ;
27322 bool temp7
= false ;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 PyObject
* obj2
= 0 ;
27326 PyObject
* obj3
= 0 ;
27327 PyObject
* obj4
= 0 ;
27328 PyObject
* obj5
= 0 ;
27329 PyObject
* obj6
= 0 ;
27330 char *kwnames
[] = {
27331 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27336 if (SWIG_arg_fail(1)) SWIG_fail
;
27337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27338 if (SWIG_arg_fail(2)) SWIG_fail
;
27340 arg3
= wxString_in_helper(obj2
);
27341 if (arg3
== NULL
) SWIG_fail
;
27347 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27353 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27358 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27359 if (SWIG_arg_fail(6)) SWIG_fail
;
27364 arg7
= wxString_in_helper(obj6
);
27365 if (arg7
== NULL
) SWIG_fail
;
27370 if (!wxPyCheckForApp()) SWIG_fail
;
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27400 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
= NULL
;
27402 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27403 PyObject
*arg2
= (PyObject
*) 0 ;
27404 PyObject
*arg3
= (PyObject
*) 0 ;
27405 PyObject
* obj0
= 0 ;
27406 PyObject
* obj1
= 0 ;
27407 PyObject
* obj2
= 0 ;
27408 char *kwnames
[] = {
27409 (char *) "self",(char *) "self",(char *) "_class", NULL
27412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27414 if (SWIG_arg_fail(1)) SWIG_fail
;
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27424 Py_INCREF(Py_None
); resultobj
= Py_None
;
27431 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27432 PyObject
*resultobj
= NULL
;
27433 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27434 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27435 PyObject
* obj0
= 0 ;
27436 PyObject
* obj1
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self",(char *) "canvas", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27443 if (SWIG_arg_fail(1)) SWIG_fail
;
27444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27445 if (SWIG_arg_fail(2)) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 (arg1
)->SetPreviewCanvas(arg2
);
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 Py_INCREF(Py_None
); resultobj
= Py_None
;
27460 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
= NULL
;
27462 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27463 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27464 PyObject
* obj0
= 0 ;
27465 PyObject
* obj1
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self",(char *) "bar", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27472 if (SWIG_arg_fail(1)) SWIG_fail
;
27473 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27474 if (SWIG_arg_fail(2)) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 (arg1
)->SetControlBar(arg2
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 Py_INCREF(Py_None
); resultobj
= Py_None
;
27489 static PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
= NULL
;
27491 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
27498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail
;
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 (arg1
)->Initialize();
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 Py_INCREF(Py_None
); resultobj
= Py_None
;
27514 static PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
= NULL
;
27516 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27524 if (SWIG_arg_fail(1)) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 (arg1
)->CreateCanvas();
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 Py_INCREF(Py_None
); resultobj
= Py_None
;
27539 static PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
= NULL
;
27541 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 char *kwnames
[] = {
27544 (char *) "self", NULL
27547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27549 if (SWIG_arg_fail(1)) SWIG_fail
;
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 (arg1
)->CreateControlBar();
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27557 Py_INCREF(Py_None
); resultobj
= Py_None
;
27564 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27567 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27569 return Py_BuildValue((char *)"");
27571 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27572 PyObject
*resultobj
= NULL
;
27573 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27575 wxWindow
*arg3
= (wxWindow
*) 0 ;
27576 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27577 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27578 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27579 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27580 long arg6
= (long) 0 ;
27581 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27582 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27583 wxPyPreviewControlBar
*result
;
27586 bool temp7
= false ;
27587 PyObject
* obj0
= 0 ;
27588 PyObject
* obj1
= 0 ;
27589 PyObject
* obj2
= 0 ;
27590 PyObject
* obj3
= 0 ;
27591 PyObject
* obj4
= 0 ;
27592 PyObject
* obj5
= 0 ;
27593 PyObject
* obj6
= 0 ;
27594 char *kwnames
[] = {
27595 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27600 if (SWIG_arg_fail(1)) SWIG_fail
;
27602 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27603 if (SWIG_arg_fail(2)) SWIG_fail
;
27605 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27606 if (SWIG_arg_fail(3)) SWIG_fail
;
27610 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27616 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27621 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27622 if (SWIG_arg_fail(6)) SWIG_fail
;
27627 arg7
= wxString_in_helper(obj6
);
27628 if (arg7
== NULL
) SWIG_fail
;
27633 if (!wxPyCheckForApp()) SWIG_fail
;
27634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27655 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
= NULL
;
27657 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27658 PyObject
*arg2
= (PyObject
*) 0 ;
27659 PyObject
*arg3
= (PyObject
*) 0 ;
27660 PyObject
* obj0
= 0 ;
27661 PyObject
* obj1
= 0 ;
27662 PyObject
* obj2
= 0 ;
27663 char *kwnames
[] = {
27664 (char *) "self",(char *) "self",(char *) "_class", NULL
27667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27669 if (SWIG_arg_fail(1)) SWIG_fail
;
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27679 Py_INCREF(Py_None
); resultobj
= Py_None
;
27686 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
= NULL
;
27688 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27689 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27690 PyObject
* obj0
= 0 ;
27691 PyObject
* obj1
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "self",(char *) "preview", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27698 if (SWIG_arg_fail(1)) SWIG_fail
;
27699 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27700 if (SWIG_arg_fail(2)) SWIG_fail
;
27702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27703 (arg1
)->SetPrintPreview(arg2
);
27705 wxPyEndAllowThreads(__tstate
);
27706 if (PyErr_Occurred()) SWIG_fail
;
27708 Py_INCREF(Py_None
); resultobj
= Py_None
;
27715 static PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27716 PyObject
*resultobj
= NULL
;
27717 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27718 PyObject
* obj0
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "self", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_CreateButtons",kwnames
,&obj0
)) goto fail
;
27724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27725 if (SWIG_arg_fail(1)) SWIG_fail
;
27727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 (arg1
)->CreateButtons();
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27733 Py_INCREF(Py_None
); resultobj
= Py_None
;
27740 static PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
= NULL
;
27742 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27744 PyObject
* obj0
= 0 ;
27745 PyObject
* obj1
= 0 ;
27746 char *kwnames
[] = {
27747 (char *) "self",(char *) "zoom", NULL
27750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27752 if (SWIG_arg_fail(1)) SWIG_fail
;
27754 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27755 if (SWIG_arg_fail(2)) SWIG_fail
;
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 (arg1
)->SetZoomControl(arg2
);
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27764 Py_INCREF(Py_None
); resultobj
= Py_None
;
27771 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27774 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27776 return Py_BuildValue((char *)"");
27778 static PyMethodDef SwigMethods
[] = {
27779 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27787 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27802 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27803 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27812 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27831 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27855 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
) _wrap_Dialog_GetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"Dialog_GetEscapeId", (PyCFunction
) _wrap_Dialog_GetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27872 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27876 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27880 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27885 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27902 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27932 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27939 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27962 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27970 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27982 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27988 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27997 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
28003 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
28008 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
28014 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
28018 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28038 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
28064 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
28072 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
28082 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
28084 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
28093 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
28096 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
28104 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
28122 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28126 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
28131 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28135 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
28137 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
28153 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
28156 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
28159 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
28163 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
28172 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28181 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28187 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28202 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28209 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28213 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PyWindow_DoGetSize", (PyCFunction
) _wrap_PyWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PyWindow_DoGetPosition", (PyCFunction
) _wrap_PyWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PyWindow_InitDialog", (PyCFunction
) _wrap_PyWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PyWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PyWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"PyWindow_Validate", (PyCFunction
) _wrap_PyWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"PyWindow_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"PyWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"PyWindow_GetMaxSize", (PyCFunction
) _wrap_PyWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PyWindow_AddChild", (PyCFunction
) _wrap_PyWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PyWindow_RemoveChild", (PyCFunction
) _wrap_PyWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PyWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
) _wrap_PyWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28240 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"PyPanel_DoGetSize", (PyCFunction
) _wrap_PyPanel_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"PyPanel_DoGetPosition", (PyCFunction
) _wrap_PyPanel_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"PyPanel_InitDialog", (PyCFunction
) _wrap_PyPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"PyPanel_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"PyPanel_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"PyPanel_Validate", (PyCFunction
) _wrap_PyPanel_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"PyPanel_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"PyPanel_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"PyPanel_GetMaxSize", (PyCFunction
) _wrap_PyPanel_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"PyPanel_AddChild", (PyCFunction
) _wrap_PyPanel_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"PyPanel_RemoveChild", (PyCFunction
) _wrap_PyPanel_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"PyPanel_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
) _wrap_PyPanel_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28267 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"PyScrolledWindow_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"PyScrolledWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"PyScrolledWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"PyScrolledWindow_Validate", (PyCFunction
) _wrap_PyScrolledWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"PyScrolledWindow_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"PyScrolledWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"PyScrolledWindow_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"PyScrolledWindow_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"PyScrolledWindow_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"PyScrolledWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
) _wrap_PyScrolledWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28294 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28295 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28324 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28325 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28333 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28334 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28349 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28350 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28352 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28353 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28355 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28356 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28358 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28359 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28360 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28361 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28362 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28363 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28364 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28365 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28366 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28367 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28370 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28372 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28373 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28378 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28379 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28381 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28383 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28384 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28385 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28386 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28387 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28388 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28389 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28390 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28391 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28392 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28393 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28394 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28395 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28396 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28397 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28398 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28399 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28400 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28401 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28402 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28403 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28404 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28405 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28406 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28407 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28408 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28409 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28410 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28411 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28412 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28413 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28414 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28415 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28416 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28417 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28418 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28419 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28420 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28421 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28422 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28423 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28424 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28425 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28426 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28427 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28428 { (char *)"Printout_OnEndDocument", (PyCFunction
) _wrap_Printout_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28429 { (char *)"Printout_OnBeginPrinting", (PyCFunction
) _wrap_Printout_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28430 { (char *)"Printout_OnEndPrinting", (PyCFunction
) _wrap_Printout_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28431 { (char *)"Printout_OnPreparePrinting", (PyCFunction
) _wrap_Printout_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28432 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28433 { (char *)"Printout_GetPageInfo", (PyCFunction
) _wrap_Printout_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28434 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28435 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28436 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28437 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28438 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28439 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28440 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28441 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28442 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28443 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28444 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28445 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28446 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28447 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28448 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28449 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28450 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28451 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28452 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28453 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28454 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28455 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28456 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28457 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28458 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28459 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28460 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28461 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28462 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28463 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28464 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28465 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28466 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28467 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28468 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28469 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28470 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28471 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28472 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28473 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28474 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28475 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28476 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28477 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28478 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28479 { (char *)"PyPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28480 { (char *)"PyPrintPreview_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28481 { (char *)"PyPrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28482 { (char *)"PyPrintPreview_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28483 { (char *)"PyPrintPreview_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28484 { (char *)"PyPrintPreview_Print", (PyCFunction
) _wrap_PyPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28485 { (char *)"PyPrintPreview_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28486 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28487 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28488 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28489 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28490 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28491 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28492 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28493 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28494 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28495 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28496 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28497 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28498 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28499 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28500 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28501 { NULL
, NULL
, 0, NULL
}
28505 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28507 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28508 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28510 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28511 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28513 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28514 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28516 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28517 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28519 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28520 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28522 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28523 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28525 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28526 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28528 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28529 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28531 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28532 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28534 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28535 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28537 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28538 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28540 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28541 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28543 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28544 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28546 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28547 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28549 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28550 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28552 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28553 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28555 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28556 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28558 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28559 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28561 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28562 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28564 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28565 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28567 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28568 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28570 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28571 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28573 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28574 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28576 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28577 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28579 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28580 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28582 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28583 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28585 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28586 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28588 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28589 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28591 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28592 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28594 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28595 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28597 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28598 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28600 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28601 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28603 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28604 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28606 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28607 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28609 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28610 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28612 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28613 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28615 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28616 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28618 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28619 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28621 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28622 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28624 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28625 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28627 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28628 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28630 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28631 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28633 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28634 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28636 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28637 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28639 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28640 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28642 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28645 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28646 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28648 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28651 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28652 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28654 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28655 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28657 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28658 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28660 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28661 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28663 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28664 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28666 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28669 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28672 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28673 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28675 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28678 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28679 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28681 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28682 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28684 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28687 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28688 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28690 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28691 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28693 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28696 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28699 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28700 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28702 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28703 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28705 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28708 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28709 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28711 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28712 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28714 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28715 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28717 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28718 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28720 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28723 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28724 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28726 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28727 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28729 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28732 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28733 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28735 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28738 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28741 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28744 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28745 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28747 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28748 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28750 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28751 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28753 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28754 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28756 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28757 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28759 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28760 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28762 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28763 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28765 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28766 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28768 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28769 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28771 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28772 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28774 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28777 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28780 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28783 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28784 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28786 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28789 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28790 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28792 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28793 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28795 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28796 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28798 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28799 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28801 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28802 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28804 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28805 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28807 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28808 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28810 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28811 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28813 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28814 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28816 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28817 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28819 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28822 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28825 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28826 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28828 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28829 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28831 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28834 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28835 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28837 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28838 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28840 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28841 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28843 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28844 return (void *)((wxObject
*) ((wxSizer
*) x
));
28846 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28847 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28849 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28852 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28855 static void *_p_wxEventTo_p_wxObject(void *x
) {
28856 return (void *)((wxObject
*) ((wxEvent
*) x
));
28858 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28859 return (void *)((wxObject
*) ((wxFontData
*) x
));
28861 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28862 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28864 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28865 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28867 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28868 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28870 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28871 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28873 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28874 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28876 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28877 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28879 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28880 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28882 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28883 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28885 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28886 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28888 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28889 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28891 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28892 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28894 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28895 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28897 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28898 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28900 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28903 static void *_p_wxControlTo_p_wxObject(void *x
) {
28904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28906 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28907 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28909 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28912 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28913 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28915 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28916 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28918 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28919 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28921 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28924 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28925 return (void *)((wxObject
*) ((wxColourData
*) x
));
28927 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28928 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28930 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28933 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28936 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28939 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28942 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28945 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28948 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28951 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28954 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28957 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28960 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28963 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28964 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28966 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28967 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28969 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28970 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28972 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28973 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28975 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28976 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28978 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28981 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28982 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28984 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28985 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28987 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28988 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28990 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28991 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28993 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28994 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28996 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28997 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28999 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29000 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29002 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29003 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29005 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29006 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29008 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29009 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29011 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29012 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29014 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29015 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29017 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29018 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29020 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29021 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29023 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29024 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29026 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
29027 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
29029 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29030 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29032 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29033 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29035 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29036 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29038 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29039 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29041 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
29042 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
29044 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
29045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29047 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
29048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29050 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
29051 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
29053 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29054 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29056 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
29057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29059 static void *_p_wxImageTo_p_wxObject(void *x
) {
29060 return (void *)((wxObject
*) ((wxImage
*) x
));
29062 static void *_p_wxFrameTo_p_wxObject(void *x
) {
29063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
29065 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
29066 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
29068 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29069 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29071 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
29072 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
29074 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
29075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
29077 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
29078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29080 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29081 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29083 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29084 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29086 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29087 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29089 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29090 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29092 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29093 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29095 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29098 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
29099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
29101 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
29102 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
29104 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
29105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
29107 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
29108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
29110 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
29111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
29113 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
29114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29116 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
29117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
29119 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
29120 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29122 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
29123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29125 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
29126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29128 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
29129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
29131 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
29132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29134 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
29135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
29137 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
29138 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
29140 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
29141 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29143 static void *_p_wxPanelTo_p_wxObject(void *x
) {
29144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
29146 static void *_p_wxDialogTo_p_wxObject(void *x
) {
29147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
29149 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
29150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29152 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
29153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29155 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
29156 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29158 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
29159 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
29161 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
29162 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
29164 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29165 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29167 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29168 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29170 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29171 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29173 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29174 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29176 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29177 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29179 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29180 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29182 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29183 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29185 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29186 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29188 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29189 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29191 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29192 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29194 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29197 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29198 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29200 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29201 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29203 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29204 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29206 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29209 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29210 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29212 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29213 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29215 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29216 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29218 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29219 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29221 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29222 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29224 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29225 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29227 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
29228 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29230 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29231 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29233 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29234 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29236 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29237 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29239 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29240 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29242 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29243 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29245 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29246 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29248 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29249 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29251 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29252 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29254 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29255 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29257 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29258 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29260 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29261 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29263 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29264 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29266 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29267 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29269 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29270 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29272 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29273 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29275 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29276 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29278 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29279 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29281 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29282 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29284 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29285 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29287 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29288 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29290 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29291 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29293 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29294 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29296 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29297 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29299 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29300 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29302 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29303 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29305 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29306 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29308 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29309 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29311 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29312 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29314 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29315 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29317 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29318 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29320 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29321 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29323 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29324 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29326 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29327 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29329 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29330 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29332 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29333 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29335 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29336 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29338 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29339 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29341 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29342 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29344 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29345 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29347 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29348 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29350 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29351 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29353 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29354 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29356 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29357 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29359 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29360 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29362 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29363 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29365 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29366 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29368 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29369 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29371 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29372 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29374 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29375 return (void *)((wxWindow
*) ((wxControl
*) x
));
29377 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29378 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29380 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29381 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29383 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29384 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29386 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29387 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29389 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29390 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29392 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29393 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29395 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29396 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29398 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29399 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29401 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29402 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29404 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29405 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29407 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29408 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29410 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29411 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29413 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29414 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29416 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29417 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29419 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29420 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29422 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29423 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29425 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29426 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29428 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29429 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29431 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29432 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29434 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29435 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29437 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29438 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29440 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29441 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29443 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29444 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29446 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29447 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29449 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29450 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29452 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29453 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29455 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29456 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29458 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29459 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29461 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29462 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29464 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29465 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29467 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29468 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29470 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29471 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29473 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29474 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29476 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29477 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29479 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29480 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29482 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29483 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29485 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29486 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29488 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29489 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29491 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29492 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29494 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29495 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29497 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29498 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29500 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29501 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29503 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29504 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29506 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29507 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29509 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29510 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29512 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29513 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29515 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29516 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29518 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29519 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29521 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29522 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29524 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29525 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29527 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29528 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29530 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
29531 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29532 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
29533 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29534 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29535 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29536 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29537 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29538 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29539 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
29540 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29541 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29542 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29543 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29544 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
29545 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29546 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
29547 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29548 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29549 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29550 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29551 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
29552 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29553 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29554 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29555 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29556 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
29557 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
29558 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
29559 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
29560 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29561 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29562 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
29563 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
29564 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29565 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29566 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
29567 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
29568 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
29569 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
29570 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
29571 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29572 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29573 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29574 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29575 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29576 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29577 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
29578 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
29579 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29580 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
29581 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29582 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
29583 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
29584 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
29585 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
29586 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
29587 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29588 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29589 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29590 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29591 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29592 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
29593 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29594 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29595 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29596 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29597 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29598 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29599 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29600 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29601 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29602 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29603 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29604 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29605 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29606 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29607 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29608 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
29609 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29610 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
29611 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
29612 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29613 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29614 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
29615 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
29616 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
29617 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
29618 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29619 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
29620 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
29621 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
29622 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
29623 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
29624 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
29625 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
29626 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
29627 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
29628 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
29629 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
29630 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
29631 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
29632 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
29633 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
29634 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
29635 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29636 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
29637 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29638 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29639 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29640 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29641 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29642 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29643 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29644 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29645 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29646 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29647 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29648 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29649 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29650 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29651 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29652 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29653 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29654 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29655 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29656 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29657 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29658 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29659 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29660 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29661 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29662 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29663 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29664 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29665 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29666 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
29667 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29668 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29669 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29670 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29671 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29672 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29673 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29674 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
29675 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29676 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29677 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29678 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29679 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29680 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29681 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
29682 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29683 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29684 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29685 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29686 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29687 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29688 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29689 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29690 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29691 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29692 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29694 static swig_type_info
*swig_type_initial
[] = {
29696 &_swigt__p_form_ops_t
,
29698 &_swigt__p_unsigned_char
,
29699 &_swigt__p_unsigned_int
,
29700 &_swigt__p_unsigned_long
,
29701 &_swigt__p_wxANIHandler
,
29702 &_swigt__p_wxAcceleratorTable
,
29703 &_swigt__p_wxActivateEvent
,
29704 &_swigt__p_wxArrayInt
,
29705 &_swigt__p_wxBMPHandler
,
29706 &_swigt__p_wxBitmap
,
29707 &_swigt__p_wxBoxSizer
,
29708 &_swigt__p_wxCURHandler
,
29709 &_swigt__p_wxCalculateLayoutEvent
,
29710 &_swigt__p_wxChildFocusEvent
,
29711 &_swigt__p_wxCloseEvent
,
29712 &_swigt__p_wxColour
,
29713 &_swigt__p_wxColourData
,
29714 &_swigt__p_wxColourDialog
,
29715 &_swigt__p_wxCommandEvent
,
29716 &_swigt__p_wxContextMenuEvent
,
29717 &_swigt__p_wxControl
,
29718 &_swigt__p_wxControlWithItems
,
29720 &_swigt__p_wxDateEvent
,
29721 &_swigt__p_wxDialog
,
29722 &_swigt__p_wxDirDialog
,
29723 &_swigt__p_wxDisplayChangedEvent
,
29724 &_swigt__p_wxDropFilesEvent
,
29725 &_swigt__p_wxDuplexMode
,
29726 &_swigt__p_wxEraseEvent
,
29727 &_swigt__p_wxEvent
,
29728 &_swigt__p_wxEvtHandler
,
29729 &_swigt__p_wxFSFile
,
29730 &_swigt__p_wxFileDialog
,
29731 &_swigt__p_wxFileSystem
,
29732 &_swigt__p_wxFindDialogEvent
,
29733 &_swigt__p_wxFindReplaceData
,
29734 &_swigt__p_wxFindReplaceDialog
,
29735 &_swigt__p_wxFlexGridSizer
,
29736 &_swigt__p_wxFocusEvent
,
29738 &_swigt__p_wxFontData
,
29739 &_swigt__p_wxFontDialog
,
29740 &_swigt__p_wxFrame
,
29741 &_swigt__p_wxGBSizerItem
,
29742 &_swigt__p_wxGIFHandler
,
29743 &_swigt__p_wxGridBagSizer
,
29744 &_swigt__p_wxGridSizer
,
29745 &_swigt__p_wxICOHandler
,
29747 &_swigt__p_wxIconBundle
,
29748 &_swigt__p_wxIconizeEvent
,
29749 &_swigt__p_wxIdleEvent
,
29750 &_swigt__p_wxImage
,
29751 &_swigt__p_wxImageHandler
,
29752 &_swigt__p_wxIndividualLayoutConstraint
,
29753 &_swigt__p_wxInitDialogEvent
,
29754 &_swigt__p_wxJPEGHandler
,
29755 &_swigt__p_wxKeyEvent
,
29756 &_swigt__p_wxLayoutAlgorithm
,
29757 &_swigt__p_wxLayoutConstraints
,
29758 &_swigt__p_wxMDIChildFrame
,
29759 &_swigt__p_wxMDIClientWindow
,
29760 &_swigt__p_wxMDIParentFrame
,
29761 &_swigt__p_wxMaximizeEvent
,
29763 &_swigt__p_wxMenuBar
,
29764 &_swigt__p_wxMenuEvent
,
29765 &_swigt__p_wxMenuItem
,
29766 &_swigt__p_wxMessageDialog
,
29767 &_swigt__p_wxMiniFrame
,
29768 &_swigt__p_wxMouseCaptureChangedEvent
,
29769 &_swigt__p_wxMouseEvent
,
29770 &_swigt__p_wxMoveEvent
,
29771 &_swigt__p_wxMultiChoiceDialog
,
29772 &_swigt__p_wxNavigationKeyEvent
,
29773 &_swigt__p_wxNcPaintEvent
,
29774 &_swigt__p_wxNotifyEvent
,
29775 &_swigt__p_wxObject
,
29776 &_swigt__p_wxPCXHandler
,
29777 &_swigt__p_wxPNGHandler
,
29778 &_swigt__p_wxPNMHandler
,
29779 &_swigt__p_wxPageSetupDialog
,
29780 &_swigt__p_wxPageSetupDialogData
,
29781 &_swigt__p_wxPaintEvent
,
29782 &_swigt__p_wxPaletteChangedEvent
,
29783 &_swigt__p_wxPanel
,
29784 &_swigt__p_wxPaperSize
,
29785 &_swigt__p_wxPasswordEntryDialog
,
29786 &_swigt__p_wxPoint
,
29787 &_swigt__p_wxPopupWindow
,
29788 &_swigt__p_wxPreviewCanvas
,
29789 &_swigt__p_wxPreviewControlBar
,
29790 &_swigt__p_wxPreviewFrame
,
29791 &_swigt__p_wxPrintData
,
29792 &_swigt__p_wxPrintDialog
,
29793 &_swigt__p_wxPrintDialogData
,
29794 &_swigt__p_wxPrintPreview
,
29795 &_swigt__p_wxPrinter
,
29796 &_swigt__p_wxProgressDialog
,
29797 &_swigt__p_wxPyApp
,
29798 &_swigt__p_wxPyCommandEvent
,
29799 &_swigt__p_wxPyEvent
,
29800 &_swigt__p_wxPyHtmlListBox
,
29801 &_swigt__p_wxPyImageHandler
,
29802 &_swigt__p_wxPyPanel
,
29803 &_swigt__p_wxPyPopupTransientWindow
,
29804 &_swigt__p_wxPyPreviewControlBar
,
29805 &_swigt__p_wxPyPreviewFrame
,
29806 &_swigt__p_wxPyPrintPreview
,
29807 &_swigt__p_wxPyPrintout
,
29808 &_swigt__p_wxPyScrolledWindow
,
29809 &_swigt__p_wxPySizer
,
29810 &_swigt__p_wxPyTaskBarIcon
,
29811 &_swigt__p_wxPyVListBox
,
29812 &_swigt__p_wxPyVScrolledWindow
,
29813 &_swigt__p_wxPyValidator
,
29814 &_swigt__p_wxPyWindow
,
29815 &_swigt__p_wxQueryLayoutInfoEvent
,
29816 &_swigt__p_wxQueryNewPaletteEvent
,
29818 &_swigt__p_wxRegion
,
29819 &_swigt__p_wxSashEvent
,
29820 &_swigt__p_wxSashLayoutWindow
,
29821 &_swigt__p_wxSashWindow
,
29822 &_swigt__p_wxScrollEvent
,
29823 &_swigt__p_wxScrollWinEvent
,
29824 &_swigt__p_wxScrolledWindow
,
29825 &_swigt__p_wxSetCursorEvent
,
29826 &_swigt__p_wxShowEvent
,
29827 &_swigt__p_wxSingleChoiceDialog
,
29829 &_swigt__p_wxSizeEvent
,
29830 &_swigt__p_wxSizer
,
29831 &_swigt__p_wxSizerItem
,
29832 &_swigt__p_wxSplashScreen
,
29833 &_swigt__p_wxSplashScreenWindow
,
29834 &_swigt__p_wxSplitterEvent
,
29835 &_swigt__p_wxSplitterWindow
,
29836 &_swigt__p_wxStaticBoxSizer
,
29837 &_swigt__p_wxStatusBar
,
29838 &_swigt__p_wxStdDialogButtonSizer
,
29839 &_swigt__p_wxString
,
29840 &_swigt__p_wxSysColourChangedEvent
,
29841 &_swigt__p_wxTIFFHandler
,
29842 &_swigt__p_wxTaskBarIcon
,
29843 &_swigt__p_wxTaskBarIconEvent
,
29844 &_swigt__p_wxTextEntryDialog
,
29845 &_swigt__p_wxTipWindow
,
29846 &_swigt__p_wxToolBar
,
29847 &_swigt__p_wxTopLevelWindow
,
29848 &_swigt__p_wxUpdateUIEvent
,
29849 &_swigt__p_wxValidator
,
29850 &_swigt__p_wxVisualAttributes
,
29851 &_swigt__p_wxWindow
,
29852 &_swigt__p_wxWindowCreateEvent
,
29853 &_swigt__p_wxWindowDestroyEvent
,
29854 &_swigt__p_wxXPMHandler
,
29855 &_swigt__ptrdiff_t
,
29856 &_swigt__std__ptrdiff_t
,
29857 &_swigt__unsigned_int
,
29860 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
29861 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
29862 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
29863 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
29864 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29865 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
29866 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
29867 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
29868 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
29869 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
29870 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
29871 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
29872 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29873 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
29874 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29875 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29876 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
29877 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29878 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29879 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29880 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}};
29881 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
29882 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}};
29883 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
29884 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
29885 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29886 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29887 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29888 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29889 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
29890 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29891 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29892 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
29893 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
29894 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29895 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29896 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29897 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29898 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
29899 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29900 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29901 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29902 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29903 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29904 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29905 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
29906 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29907 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
29908 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29909 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29910 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}};
29911 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
29912 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
29913 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
29914 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
29915 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
29916 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}};
29917 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
29918 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
29919 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29920 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
29921 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29922 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
29923 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
29924 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
29925 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}};
29926 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
29927 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
29928 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
29929 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
29930 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29931 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
29932 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
29933 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
29934 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
29935 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
29936 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29937 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}};
29938 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
29939 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29940 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29941 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
29942 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29943 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29944 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29945 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
29946 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29947 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29948 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
29949 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
29950 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
29951 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29952 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29953 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
29954 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
29955 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
29956 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
29957 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29958 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29959 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
29960 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29961 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29962 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29963 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29964 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
29965 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
29966 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}};
29967 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
29968 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29969 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}};
29970 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
29971 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
29972 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
29973 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}};
29974 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
29975 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}};
29976 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}};
29977 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
29978 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
29979 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29980 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}};
29981 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
29982 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
29983 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
29984 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
29985 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}};
29986 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
29987 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
29988 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
29989 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
29990 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
29991 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29992 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}};
29993 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}};
29994 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
29995 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
29996 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
29997 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
29998 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
29999 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
30000 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}};
30001 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
30002 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}};
30003 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
30004 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
30005 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
30006 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
30007 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
30008 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
30009 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
30010 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
30011 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
30012 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
30013 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
30014 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}};
30015 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
30016 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
30017 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}};
30018 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
30019 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}};
30020 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
30021 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
30022 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
30024 static swig_cast_info
*swig_cast_initial
[] = {
30026 _swigc__p_form_ops_t
,
30028 _swigc__p_unsigned_char
,
30029 _swigc__p_unsigned_int
,
30030 _swigc__p_unsigned_long
,
30031 _swigc__p_wxANIHandler
,
30032 _swigc__p_wxAcceleratorTable
,
30033 _swigc__p_wxActivateEvent
,
30034 _swigc__p_wxArrayInt
,
30035 _swigc__p_wxBMPHandler
,
30036 _swigc__p_wxBitmap
,
30037 _swigc__p_wxBoxSizer
,
30038 _swigc__p_wxCURHandler
,
30039 _swigc__p_wxCalculateLayoutEvent
,
30040 _swigc__p_wxChildFocusEvent
,
30041 _swigc__p_wxCloseEvent
,
30042 _swigc__p_wxColour
,
30043 _swigc__p_wxColourData
,
30044 _swigc__p_wxColourDialog
,
30045 _swigc__p_wxCommandEvent
,
30046 _swigc__p_wxContextMenuEvent
,
30047 _swigc__p_wxControl
,
30048 _swigc__p_wxControlWithItems
,
30050 _swigc__p_wxDateEvent
,
30051 _swigc__p_wxDialog
,
30052 _swigc__p_wxDirDialog
,
30053 _swigc__p_wxDisplayChangedEvent
,
30054 _swigc__p_wxDropFilesEvent
,
30055 _swigc__p_wxDuplexMode
,
30056 _swigc__p_wxEraseEvent
,
30058 _swigc__p_wxEvtHandler
,
30059 _swigc__p_wxFSFile
,
30060 _swigc__p_wxFileDialog
,
30061 _swigc__p_wxFileSystem
,
30062 _swigc__p_wxFindDialogEvent
,
30063 _swigc__p_wxFindReplaceData
,
30064 _swigc__p_wxFindReplaceDialog
,
30065 _swigc__p_wxFlexGridSizer
,
30066 _swigc__p_wxFocusEvent
,
30068 _swigc__p_wxFontData
,
30069 _swigc__p_wxFontDialog
,
30071 _swigc__p_wxGBSizerItem
,
30072 _swigc__p_wxGIFHandler
,
30073 _swigc__p_wxGridBagSizer
,
30074 _swigc__p_wxGridSizer
,
30075 _swigc__p_wxICOHandler
,
30077 _swigc__p_wxIconBundle
,
30078 _swigc__p_wxIconizeEvent
,
30079 _swigc__p_wxIdleEvent
,
30081 _swigc__p_wxImageHandler
,
30082 _swigc__p_wxIndividualLayoutConstraint
,
30083 _swigc__p_wxInitDialogEvent
,
30084 _swigc__p_wxJPEGHandler
,
30085 _swigc__p_wxKeyEvent
,
30086 _swigc__p_wxLayoutAlgorithm
,
30087 _swigc__p_wxLayoutConstraints
,
30088 _swigc__p_wxMDIChildFrame
,
30089 _swigc__p_wxMDIClientWindow
,
30090 _swigc__p_wxMDIParentFrame
,
30091 _swigc__p_wxMaximizeEvent
,
30093 _swigc__p_wxMenuBar
,
30094 _swigc__p_wxMenuEvent
,
30095 _swigc__p_wxMenuItem
,
30096 _swigc__p_wxMessageDialog
,
30097 _swigc__p_wxMiniFrame
,
30098 _swigc__p_wxMouseCaptureChangedEvent
,
30099 _swigc__p_wxMouseEvent
,
30100 _swigc__p_wxMoveEvent
,
30101 _swigc__p_wxMultiChoiceDialog
,
30102 _swigc__p_wxNavigationKeyEvent
,
30103 _swigc__p_wxNcPaintEvent
,
30104 _swigc__p_wxNotifyEvent
,
30105 _swigc__p_wxObject
,
30106 _swigc__p_wxPCXHandler
,
30107 _swigc__p_wxPNGHandler
,
30108 _swigc__p_wxPNMHandler
,
30109 _swigc__p_wxPageSetupDialog
,
30110 _swigc__p_wxPageSetupDialogData
,
30111 _swigc__p_wxPaintEvent
,
30112 _swigc__p_wxPaletteChangedEvent
,
30114 _swigc__p_wxPaperSize
,
30115 _swigc__p_wxPasswordEntryDialog
,
30117 _swigc__p_wxPopupWindow
,
30118 _swigc__p_wxPreviewCanvas
,
30119 _swigc__p_wxPreviewControlBar
,
30120 _swigc__p_wxPreviewFrame
,
30121 _swigc__p_wxPrintData
,
30122 _swigc__p_wxPrintDialog
,
30123 _swigc__p_wxPrintDialogData
,
30124 _swigc__p_wxPrintPreview
,
30125 _swigc__p_wxPrinter
,
30126 _swigc__p_wxProgressDialog
,
30128 _swigc__p_wxPyCommandEvent
,
30129 _swigc__p_wxPyEvent
,
30130 _swigc__p_wxPyHtmlListBox
,
30131 _swigc__p_wxPyImageHandler
,
30132 _swigc__p_wxPyPanel
,
30133 _swigc__p_wxPyPopupTransientWindow
,
30134 _swigc__p_wxPyPreviewControlBar
,
30135 _swigc__p_wxPyPreviewFrame
,
30136 _swigc__p_wxPyPrintPreview
,
30137 _swigc__p_wxPyPrintout
,
30138 _swigc__p_wxPyScrolledWindow
,
30139 _swigc__p_wxPySizer
,
30140 _swigc__p_wxPyTaskBarIcon
,
30141 _swigc__p_wxPyVListBox
,
30142 _swigc__p_wxPyVScrolledWindow
,
30143 _swigc__p_wxPyValidator
,
30144 _swigc__p_wxPyWindow
,
30145 _swigc__p_wxQueryLayoutInfoEvent
,
30146 _swigc__p_wxQueryNewPaletteEvent
,
30148 _swigc__p_wxRegion
,
30149 _swigc__p_wxSashEvent
,
30150 _swigc__p_wxSashLayoutWindow
,
30151 _swigc__p_wxSashWindow
,
30152 _swigc__p_wxScrollEvent
,
30153 _swigc__p_wxScrollWinEvent
,
30154 _swigc__p_wxScrolledWindow
,
30155 _swigc__p_wxSetCursorEvent
,
30156 _swigc__p_wxShowEvent
,
30157 _swigc__p_wxSingleChoiceDialog
,
30159 _swigc__p_wxSizeEvent
,
30161 _swigc__p_wxSizerItem
,
30162 _swigc__p_wxSplashScreen
,
30163 _swigc__p_wxSplashScreenWindow
,
30164 _swigc__p_wxSplitterEvent
,
30165 _swigc__p_wxSplitterWindow
,
30166 _swigc__p_wxStaticBoxSizer
,
30167 _swigc__p_wxStatusBar
,
30168 _swigc__p_wxStdDialogButtonSizer
,
30169 _swigc__p_wxString
,
30170 _swigc__p_wxSysColourChangedEvent
,
30171 _swigc__p_wxTIFFHandler
,
30172 _swigc__p_wxTaskBarIcon
,
30173 _swigc__p_wxTaskBarIconEvent
,
30174 _swigc__p_wxTextEntryDialog
,
30175 _swigc__p_wxTipWindow
,
30176 _swigc__p_wxToolBar
,
30177 _swigc__p_wxTopLevelWindow
,
30178 _swigc__p_wxUpdateUIEvent
,
30179 _swigc__p_wxValidator
,
30180 _swigc__p_wxVisualAttributes
,
30181 _swigc__p_wxWindow
,
30182 _swigc__p_wxWindowCreateEvent
,
30183 _swigc__p_wxWindowDestroyEvent
,
30184 _swigc__p_wxXPMHandler
,
30186 _swigc__std__ptrdiff_t
,
30187 _swigc__unsigned_int
,
30191 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30193 static swig_const_info swig_const_table
[] = {
30194 {0, 0, 0, 0.0, 0, 0}};
30199 /*************************************************************************
30200 * Type initialization:
30201 * This problem is tough by the requirement that no dynamic
30202 * memory is used. Also, since swig_type_info structures store pointers to
30203 * swig_cast_info structures and swig_cast_info structures store pointers back
30204 * to swig_type_info structures, we need some lookup code at initialization.
30205 * The idea is that swig generates all the structures that are needed.
30206 * The runtime then collects these partially filled structures.
30207 * The SWIG_InitializeModule function takes these initial arrays out of
30208 * swig_module, and does all the lookup, filling in the swig_module.types
30209 * array with the correct data and linking the correct swig_cast_info
30210 * structures together.
30212 * The generated swig_type_info structures are assigned staticly to an initial
30213 * array. We just loop though that array, and handle each type individually.
30214 * First we lookup if this type has been already loaded, and if so, use the
30215 * loaded structure instead of the generated one. Then we have to fill in the
30216 * cast linked list. The cast data is initially stored in something like a
30217 * two-dimensional array. Each row corresponds to a type (there are the same
30218 * number of rows as there are in the swig_type_initial array). Each entry in
30219 * a column is one of the swig_cast_info structures for that type.
30220 * The cast_initial array is actually an array of arrays, because each row has
30221 * a variable number of columns. So to actually build the cast linked list,
30222 * we find the array of casts associated with the type, and loop through it
30223 * adding the casts to the list. The one last trick we need to do is making
30224 * sure the type pointer in the swig_cast_info struct is correct.
30226 * First off, we lookup the cast->type name to see if it is already loaded.
30227 * There are three cases to handle:
30228 * 1) If the cast->type has already been loaded AND the type we are adding
30229 * casting info to has not been loaded (it is in this module), THEN we
30230 * replace the cast->type pointer with the type pointer that has already
30232 * 2) If BOTH types (the one we are adding casting info to, and the
30233 * cast->type) are loaded, THEN the cast info has already been loaded by
30234 * the previous module so we just ignore it.
30235 * 3) Finally, if cast->type has not already been loaded, then we add that
30236 * swig_cast_info to the linked list (because the cast->type) pointer will
30248 #define SWIGRUNTIME_DEBUG
30252 SWIG_InitializeModule(void *clientdata
) {
30254 swig_module_info
*module_head
;
30255 static int init_run
= 0;
30257 clientdata
= clientdata
;
30259 if (init_run
) return;
30262 /* Initialize the swig_module */
30263 swig_module
.type_initial
= swig_type_initial
;
30264 swig_module
.cast_initial
= swig_cast_initial
;
30266 /* Try and load any already created modules */
30267 module_head
= SWIG_GetModule(clientdata
);
30269 swig_module
.next
= module_head
->next
;
30270 module_head
->next
= &swig_module
;
30272 /* This is the first module loaded */
30273 swig_module
.next
= &swig_module
;
30274 SWIG_SetModule(clientdata
, &swig_module
);
30277 /* Now work on filling in swig_module.types */
30278 #ifdef SWIGRUNTIME_DEBUG
30279 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
30281 for (i
= 0; i
< swig_module
.size
; ++i
) {
30282 swig_type_info
*type
= 0;
30283 swig_type_info
*ret
;
30284 swig_cast_info
*cast
;
30286 #ifdef SWIGRUNTIME_DEBUG
30287 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30290 /* if there is another module already loaded */
30291 if (swig_module
.next
!= &swig_module
) {
30292 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
30295 /* Overwrite clientdata field */
30296 #ifdef SWIGRUNTIME_DEBUG
30297 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
30299 if (swig_module
.type_initial
[i
]->clientdata
) {
30300 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
30301 #ifdef SWIGRUNTIME_DEBUG
30302 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
30306 type
= swig_module
.type_initial
[i
];
30309 /* Insert casting types */
30310 cast
= swig_module
.cast_initial
[i
];
30311 while (cast
->type
) {
30312 /* Don't need to add information already in the list */
30314 #ifdef SWIGRUNTIME_DEBUG
30315 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
30317 if (swig_module
.next
!= &swig_module
) {
30318 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
30319 #ifdef SWIGRUNTIME_DEBUG
30320 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
30324 if (type
== swig_module
.type_initial
[i
]) {
30325 #ifdef SWIGRUNTIME_DEBUG
30326 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
30331 /* Check for casting already in the list */
30332 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
30333 #ifdef SWIGRUNTIME_DEBUG
30334 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
30336 if (!ocast
) ret
= 0;
30341 #ifdef SWIGRUNTIME_DEBUG
30342 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
30345 type
->cast
->prev
= cast
;
30346 cast
->next
= type
->cast
;
30352 /* Set entry in modules->types array equal to the type */
30353 swig_module
.types
[i
] = type
;
30355 swig_module
.types
[i
] = 0;
30357 #ifdef SWIGRUNTIME_DEBUG
30358 printf("**** SWIG_InitializeModule: Cast List ******\n");
30359 for (i
= 0; i
< swig_module
.size
; ++i
) {
30361 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
30362 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30363 while (cast
->type
) {
30364 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
30368 printf("---- Total casts: %d\n",j
);
30370 printf("**** SWIG_InitializeModule: Cast List ******\n");
30374 /* This function will propagate the clientdata field of type to
30375 * any new swig_type_info structures that have been added into the list
30376 * of equivalent types. It is like calling
30377 * SWIG_TypeClientData(type, clientdata) a second time.
30380 SWIG_PropagateClientData(void) {
30382 swig_cast_info
*equiv
;
30383 static int init_run
= 0;
30385 if (init_run
) return;
30388 for (i
= 0; i
< swig_module
.size
; i
++) {
30389 if (swig_module
.types
[i
]->clientdata
) {
30390 equiv
= swig_module
.types
[i
]->cast
;
30392 if (!equiv
->converter
) {
30393 if (equiv
->type
&& !equiv
->type
->clientdata
)
30394 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
30396 equiv
= equiv
->next
;
30416 /* Python-specific SWIG API */
30417 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30418 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30419 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30421 /* -----------------------------------------------------------------------------
30422 * global variable support code.
30423 * ----------------------------------------------------------------------------- */
30425 typedef struct swig_globalvar
{
30426 char *name
; /* Name of global variable */
30427 PyObject
*(*get_attr
)(void); /* Return the current value */
30428 int (*set_attr
)(PyObject
*); /* Set the value */
30429 struct swig_globalvar
*next
;
30432 typedef struct swig_varlinkobject
{
30434 swig_globalvar
*vars
;
30435 } swig_varlinkobject
;
30437 SWIGINTERN PyObject
*
30438 swig_varlink_repr(swig_varlinkobject
*v
) {
30440 return PyString_FromString("<Swig global variables>");
30444 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
30445 swig_globalvar
*var
;
30447 fprintf(fp
,"Swig global variables { ");
30448 for (var
= v
->vars
; var
; var
=var
->next
) {
30449 fprintf(fp
,"%s", var
->name
);
30450 if (var
->next
) fprintf(fp
,", ");
30452 fprintf(fp
," }\n");
30456 SWIGINTERN PyObject
*
30457 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30458 swig_globalvar
*var
= v
->vars
;
30460 if (strcmp(var
->name
,n
) == 0) {
30461 return (*var
->get_attr
)();
30465 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30470 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30471 swig_globalvar
*var
= v
->vars
;
30473 if (strcmp(var
->name
,n
) == 0) {
30474 return (*var
->set_attr
)(p
);
30478 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30482 SWIGINTERN PyTypeObject
*
30483 swig_varlink_type(void) {
30484 static char varlink__doc__
[] = "Swig var link object";
30485 static PyTypeObject varlink_type
30486 #if !defined(__cplusplus)
30488 static int type_init
= 0;
30493 PyObject_HEAD_INIT(&PyType_Type
)
30494 0, /* Number of items in variable part (ob_size) */
30495 (char *)"swigvarlink", /* Type name (tp_name) */
30496 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30497 0, /* Itemsize (tp_itemsize) */
30498 0, /* Deallocator (tp_dealloc) */
30499 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30500 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30501 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30502 0, /* tp_compare */
30503 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30504 0, /* tp_as_number */
30505 0, /* tp_as_sequence */
30506 0, /* tp_as_mapping */
30510 0, /* tp_getattro */
30511 0, /* tp_setattro */
30512 0, /* tp_as_buffer */
30514 varlink__doc__
, /* tp_doc */
30515 #if PY_VERSION_HEX >= 0x02000000
30516 0, /* tp_traverse */
30519 #if PY_VERSION_HEX >= 0x02010000
30520 0, /* tp_richcompare */
30521 0, /* tp_weaklistoffset */
30523 #if PY_VERSION_HEX >= 0x02020000
30524 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30526 #if PY_VERSION_HEX >= 0x02030000
30529 #ifdef COUNT_ALLOCS
30530 0,0,0,0 /* tp_alloc -> tp_next */
30533 #if !defined(__cplusplus)
30534 varlink_type
= tmp
;
30538 return &varlink_type
;
30541 /* Create a variable linking object for use later */
30542 SWIGINTERN PyObject
*
30543 SWIG_Python_newvarlink(void) {
30544 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
30548 return ((PyObject
*) result
);
30552 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
30553 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
30554 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
30556 size_t size
= strlen(name
)+1;
30557 gv
->name
= (char *)malloc(size
);
30559 strncpy(gv
->name
,name
,size
);
30560 gv
->get_attr
= get_attr
;
30561 gv
->set_attr
= set_attr
;
30562 gv
->next
= v
->vars
;
30568 /* -----------------------------------------------------------------------------
30569 * constants/methods manipulation
30570 * ----------------------------------------------------------------------------- */
30572 /* Install Constants */
30574 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30577 for (i
= 0; constants
[i
].type
; ++i
) {
30578 switch(constants
[i
].type
) {
30580 obj
= PyInt_FromLong(constants
[i
].lvalue
);
30582 case SWIG_PY_FLOAT
:
30583 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
30585 case SWIG_PY_STRING
:
30586 if (constants
[i
].pvalue
) {
30587 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
30589 Py_INCREF(Py_None
);
30593 case SWIG_PY_POINTER
:
30594 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30596 case SWIG_PY_BINARY
:
30597 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30604 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
30610 /* -----------------------------------------------------------------------------*/
30611 /* Fix SwigMethods to carry the callback ptrs when needed */
30612 /* -----------------------------------------------------------------------------*/
30615 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30616 swig_const_info
*const_table
,
30617 swig_type_info
**types
,
30618 swig_type_info
**types_initial
) {
30620 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30621 char *c
= methods
[i
].ml_doc
;
30622 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30624 swig_const_info
*ci
= 0;
30625 char *name
= c
+ 10;
30626 for (j
= 0; const_table
[j
].type
; ++j
) {
30627 if (strncmp(const_table
[j
].name
, name
,
30628 strlen(const_table
[j
].name
)) == 0) {
30629 ci
= &(const_table
[j
]);
30634 size_t shift
= (ci
->ptype
) - types
;
30635 swig_type_info
*ty
= types_initial
[shift
];
30636 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30637 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30638 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30641 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
30643 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30645 strncpy(buff
, "swig_ptr: ", 10);
30647 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30648 methods
[i
].ml_doc
= ndoc
;
30656 /* -----------------------------------------------------------------------------*
30657 * Initialize type list
30658 * -----------------------------------------------------------------------------*/
30664 /* -----------------------------------------------------------------------------*
30665 * Partial Init method
30666 * -----------------------------------------------------------------------------*/
30671 SWIGEXPORT
void SWIG_init(void) {
30672 static PyObject
*SWIG_globals
= 0;
30674 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30676 /* Fix SwigMethods to carry the callback ptrs when needed */
30677 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
30679 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30680 d
= PyModule_GetDict(m
);
30682 SWIG_InitializeModule(0);
30683 SWIG_InstallConstants(d
,swig_const_table
);
30685 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30686 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30687 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30688 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30689 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30691 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP
)));
30694 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE
)));
30697 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE
)));
30700 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE
)));
30703 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX
)));
30706 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME
)));
30709 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU
)));
30712 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX
)));
30715 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX
)));
30718 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ
)));
30721 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT
)));
30724 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX
)));
30727 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER
)));
30730 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT
)));
30733 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE
)));
30736 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE
)));
30739 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW
)));
30742 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT
)));
30745 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU
)));
30748 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR
)));
30751 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED
)));
30754 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER
)));
30757 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL
)));
30760 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL
)));
30763 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL
)));
30766 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS
)));
30769 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS
)));
30772 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D
)));
30775 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR
)));
30778 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR
)));
30781 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR
)));
30784 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER
)));
30787 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION
)));
30790 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL
)));
30793 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG
)));
30796 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO
)));
30799 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR
)));
30802 PyDict_SetItemString(d
,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags
)));
30805 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT
)));
30808 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN
)));
30811 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE
)));
30814 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT
)));
30817 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT
)));
30820 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL
)));
30823 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT
)));
30826 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED
)));
30828 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30830 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER
)));
30833 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH
)));
30836 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT
)));
30839 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE
)));
30842 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH
)));
30845 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER
)));
30848 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME
)));
30851 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER
)));
30854 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D
)));
30857 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL
)));
30860 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL
)));
30863 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE
)));
30866 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING
)));
30869 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN
)));
30871 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30872 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30873 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30874 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30875 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30876 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30878 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE
)));
30881 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING
)));
30884 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN
)));
30887 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER
)));
30890 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER
)));
30893 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH
)));
30896 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER
)));
30899 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D
)));
30902 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP
)));
30905 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT
)));
30908 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM
)));
30911 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT
)));
30914 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE
)));
30917 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK
)));
30920 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE
)));
30922 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30924 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL
)));
30927 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL
)));
30930 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE
)));
30933 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP
)));
30936 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT
)));
30939 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT
)));
30942 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM
)));
30945 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y
)));
30948 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X
)));
30951 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH
)));
30954 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY
)));
30956 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30957 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30958 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30960 // Map renamed classes back to their common name for OOR
30961 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30962 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30963 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30965 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30966 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30967 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30968 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30969 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30970 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30971 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30972 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30973 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30974 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30975 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30976 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30977 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30979 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE
)));
30982 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle
)));
30984 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30986 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN
)));
30989 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD
)));
30992 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE
)));
30995 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG
)));
30998 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN
)));
31001 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE
)));
31004 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD
)));
31006 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
31007 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
31008 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
31009 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
31010 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
31012 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
31015 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
31018 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
31021 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
31024 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
31027 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
31030 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
31033 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
31036 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
31038 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
31039 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
31041 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE
)));
31044 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW
)));
31047 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE
)));
31050 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER
)));
31053 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM
)));
31056 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT
)));
31059 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE
)));
31062 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER
)));
31065 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE
)));
31068 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL
)));
31071 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE
)));
31074 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL
)));
31077 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO
)));
31080 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR
)));
31083 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT
)));
31086 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT
)));
31089 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY
)));
31092 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE
)));
31095 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE
)));
31098 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER
)));
31101 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR
)));
31104 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED
)));
31107 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR
)));
31110 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT
)));
31113 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS
)));
31116 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT
)));
31119 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM
)));
31122 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST
)));
31125 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST
)));
31128 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO
)));
31131 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT
)));
31134 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE
)));
31137 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT
)));
31140 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS
)));
31143 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT
)));
31146 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM
)));
31149 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST
)));
31152 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST
)));
31155 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO
)));
31158 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");