1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info
*swig_types
[165];
2631 static swig_module_info swig_module
= {swig_types
, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635 /* -------- TYPES TABLE (END) -------- */
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2657 #define SWIG_name "_windows_"
2659 #define SWIGVERSION 0x010329
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2666 #include <stdexcept>
2670 class PyObject_ptr
{
2675 PyObject_ptr() :_obj(0)
2679 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2684 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2686 if (initial_ref
) Py_XINCREF(_obj
);
2689 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2691 Py_XINCREF(item
._obj
);
2702 operator PyObject
*() const
2707 PyObject
*operator->() const
2716 struct PyObject_var
: PyObject_ptr
{
2717 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2719 PyObject_var
& operator = (PyObject
* obj
)
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2733 static const wxString
wxPyEmptyString(wxEmptyString
);
2734 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 # define LLONG_MIN LONG_LONG_MIN
2743 # define LLONG_MAX LONG_LONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2751 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2753 if (PyNumber_Check(obj
)) {
2754 if (val
) *val
= PyInt_AsLong(obj
);
2757 return SWIG_TypeError
;
2762 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2765 int res
= SWIG_AsVal_long (obj
, &v
);
2766 if (SWIG_IsOK(res
)) {
2767 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2768 return SWIG_OverflowError
;
2770 if (val
) *val
= static_cast< int >(v
);
2778 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2780 if (obj
== Py_True
) {
2781 if (val
) *val
= true;
2783 } else if (obj
== Py_False
) {
2784 if (val
) *val
= false;
2788 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2789 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2795 #define SWIG_From_long PyInt_FromLong
2798 SWIGINTERNINLINE PyObject
*
2799 SWIG_From_int (int value
)
2801 return SWIG_From_long (value
);
2806 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2808 if (PyNumber_Check(obj
)) {
2809 if (val
) *val
= PyFloat_AsDouble(obj
);
2812 return SWIG_TypeError
;
2816 #define SWIG_From_double PyFloat_FromDouble
2818 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2819 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2820 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2821 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2822 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2823 int style
= self
->GetExtraStyle();
2825 style
|= wxFRAME_EX_METAL
;
2827 style
&= ~wxFRAME_EX_METAL
;
2828 self
->SetExtraStyle(style
);
2830 SWIGINTERN
bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow
*self
,bool enable
=true){ return false; }
2833 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2836 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2837 return SWIG_TypeError
;
2840 *val
= (unsigned long)v
;
2846 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2849 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2850 if (SWIG_IsOK(res
)) {
2851 if ((v
> UCHAR_MAX
)) {
2852 return SWIG_OverflowError
;
2854 if (val
) *val
= static_cast< unsigned char >(v
);
2862 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2864 self
->GetFieldRect(i
, r
);
2867 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2868 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2869 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2871 #include <wx/popupwin.h>
2874 class wxPopupWindow
: public wxWindow
{
2876 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2877 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2880 class wxPyPopupTransientWindow
: public wxPopupWindow
2883 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2884 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2888 #include <wx/tipwin.h>
2890 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2891 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2894 #include <wx/tipwin.h>
2897 #include <wx/vscroll.h>
2900 class wxPyVScrolledWindow
: public wxVScrolledWindow
2902 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2904 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2906 wxPyVScrolledWindow(wxWindow
*parent
,
2907 wxWindowID id
= wxID_ANY
,
2908 const wxPoint
& pos
= wxDefaultPosition
,
2909 const wxSize
& size
= wxDefaultSize
,
2911 const wxString
& name
= wxPyPanelNameStr
)
2912 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2915 // Overridable virtuals
2917 // this function must be overridden in the derived class and it should
2918 // return the height of the given line in pixels
2919 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2922 // this function doesn't have to be overridden but it may be useful to do
2923 // it if calculating the lines heights is a relatively expensive operation
2924 // as it gives the user code a possibility to calculate several of them at
2927 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2928 // shouldn't rely on the latter being called for all lines in the interval
2929 // specified here. It is also possible that OnGetLineHeight() will be
2930 // called for the lines outside of this interval, so this is really just a
2931 // hint, not a promise.
2933 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2935 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2938 // when the number of lines changes, we try to estimate the total height
2939 // of all lines which is a rather expensive operation in terms of lines
2940 // access, so if the user code may estimate the average height
2941 // better/faster than we do, it should override this function to implement
2944 // this function should return the best guess for the total height it may
2946 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2949 // Also expose some other interesting protected methods
2952 // find the index of the line we need to show at the top of the window such
2953 // that the last (fully or partially) visible line is the given one
2954 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2955 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2957 // get the total height of the lines between lineMin (inclusive) and
2958 // lineMax (exclusive)
2959 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2960 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2962 // update the thumb size shown by the scrollbar
2963 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2965 // remove the scrollbar completely because we don't need it
2966 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2971 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2973 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2974 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2975 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2978 SWIGINTERNINLINE
int
2979 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2982 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2983 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2988 SWIGINTERNINLINE PyObject
*
2989 SWIG_From_unsigned_SS_long (unsigned long value
)
2991 return (value
> LONG_MAX
) ?
2992 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2996 SWIGINTERNINLINE PyObject
*
2997 SWIG_From_size_t (size_t value
)
2999 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3003 #include <wx/vlbox.h>
3005 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
3007 class wxPyVListBox
: public wxVListBox
3009 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3011 wxPyVListBox() : wxVListBox() {}
3013 wxPyVListBox(wxWindow
*parent
,
3014 wxWindowID id
= wxID_ANY
,
3015 const wxPoint
& pos
= wxDefaultPosition
,
3016 const wxSize
& size
= wxDefaultSize
,
3018 const wxString
& name
= wxPyVListBoxNameStr
)
3019 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3022 // Overridable virtuals
3024 // the derived class must implement this function to actually draw the item
3025 // with the given index on the provided DC
3026 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3027 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3030 // the derived class must implement this method to return the height of the
3032 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3033 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3036 // this method may be used to draw separators between the lines; note that
3037 // the rectangle may be modified, typically to deflate it a bit before
3038 // passing to OnDrawItem()
3040 // the base class version doesn't do anything
3041 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3042 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3045 // this method is used to draw the items background and, maybe, a border
3048 // the base class version implements a reasonable default behaviour which
3049 // consists in drawing the selected item with the standard background
3050 // colour and drawing a border around the item if it is either selected or
3052 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3053 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3059 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3061 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3062 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3063 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3064 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3067 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3068 unsigned long cookie
= 0;
3069 int selected
= self
->GetFirstSelected(cookie
);
3070 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3071 PyObject
* tup
= PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3073 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3074 wxPyEndBlockThreads(blocked
);
3077 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3078 int selected
= self
->GetNextSelected(cookie
);
3079 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3080 PyObject
* tup
= PyTuple_New(2);
3081 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3082 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3083 wxPyEndBlockThreads(blocked
);
3087 #include <wx/htmllbox.h>
3090 class wxPyHtmlListBox
: public wxHtmlListBox
3092 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3094 wxPyHtmlListBox() : wxHtmlListBox() {}
3096 wxPyHtmlListBox(wxWindow
*parent
,
3097 wxWindowID id
= wxID_ANY
,
3098 const wxPoint
& pos
= wxDefaultPosition
,
3099 const wxSize
& size
= wxDefaultSize
,
3101 const wxString
& name
= wxPyVListBoxNameStr
)
3102 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3105 // Overridable virtuals
3107 // this method must be implemented in the derived class and should return
3108 // the body (i.e. without <html>) of the HTML for the given item
3109 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3111 // this function may be overridden to decorate HTML returned by OnGetItem()
3112 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3114 // These are from wxVListBox
3115 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3116 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3119 // // this method allows to customize the selection appearance: it may be used
3120 // // to specify the colour of the text which normally has the given colour
3121 // // colFg when it is inside the selection
3123 // // by default, the original colour is not used at all and all text has the
3124 // // same (default for this system) colour inside selection
3125 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3127 // // this is the same as GetSelectedTextColour() but allows to customize the
3128 // // background colour -- this is even more rarely used as you can change it
3129 // // globally using SetSelectionBackground()
3130 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3133 // This method may be overriden to handle clicking on a link in
3134 // the listbox. By default, clicking links is ignored.
3135 virtual void OnLinkClicked(size_t n
,
3136 const wxHtmlLinkInfo
& link
);
3142 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3144 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3145 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3146 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3147 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3150 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3151 const wxHtmlLinkInfo
& link
) {
3153 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3154 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3155 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3156 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3159 wxPyEndBlockThreads(blocked
);
3161 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3168 #ifndef wxHAS_TASK_BAR_ICON
3169 // implement dummy classes for platforms that don't have it
3171 class wxTaskBarIcon
: public wxEvtHandler
3174 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3178 class wxTaskBarIconEvent
: public wxEvent
3181 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3182 { wxPyRaiseNotImplemented(); }
3183 virtual wxEvent
* Clone() const { return NULL
; }
3184 bool IsOk() const { return false; }
3185 bool IsIconInstalled() const { return false; }
3186 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3187 bool RemoveIcon() { return false; }
3188 bool PopupMenu(wxMenu
*menu
) { return false; }
3192 wxEVT_TASKBAR_MOVE
= 0,
3193 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3194 wxEVT_TASKBAR_LEFT_UP
= 0,
3195 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3196 wxEVT_TASKBAR_RIGHT_UP
= 0,
3197 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3198 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3203 // Otherwise make a class that can virtualize CreatePopupMenu
3204 class wxPyTaskBarIcon
: public wxTaskBarIcon
3206 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3208 wxPyTaskBarIcon() : wxTaskBarIcon()
3211 wxMenu
* CreatePopupMenu() {
3212 wxMenu
*rval
= NULL
;
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3218 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3220 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3225 wxPyEndBlockThreads(blocked
);
3227 rval
= wxTaskBarIcon::CreatePopupMenu();
3234 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3238 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3242 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3243 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3244 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3245 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3246 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3247 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3249 // for compatibility only
3250 #define wxHIDE_READONLY 0
3252 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3254 self
->GetFilenames(arr
);
3255 return wxArrayString2PyList_helper(arr
);
3257 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3259 self
->GetPaths(arr
);
3260 return wxArrayString2PyList_helper(arr
);
3262 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3263 return wxArrayInt2PyList_helper(self
->GetSelections());
3265 SWIGINTERN wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
3266 return new wxSingleChoiceDialog(parent
, message
, caption
,
3267 choices
, choices_array
, NULL
, style
, pos
);
3269 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3271 SWIGINTERNINLINE PyObject
*
3272 SWIG_From_bool (bool value
)
3274 return PyBool_FromLong(value
? 1 : 0);
3280 // C++ version of Python aware wxWindow
3281 class wxPyWindow
: public wxWindow
3283 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3285 wxPyWindow() : wxWindow() {}
3286 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3287 const wxPoint
& pos
= wxDefaultPosition
,
3288 const wxSize
& size
= wxDefaultSize
,
3290 const wxString
& name
= wxPyPanelNameStr
)
3291 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3293 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3295 bool DoEraseBackground(wxDC
* dc
) {
3297 return wxWindow::DoEraseBackground(dc
->GetHDC());
3299 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3305 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3306 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3307 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3308 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3312 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3314 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3315 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3317 DEC_PYCALLBACK__(InitDialog
);
3318 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3319 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3320 DEC_PYCALLBACK_BOOL_(Validate
);
3322 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3323 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3324 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3326 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3327 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3329 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3330 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3332 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3334 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3339 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3341 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3342 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3343 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3344 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3347 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3348 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3350 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3351 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3353 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3356 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3360 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3362 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3363 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3365 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3366 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3368 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3370 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3372 // C++ version of Python aware wxPanel
3373 class wxPyPanel
: public wxPanel
3375 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3377 wxPyPanel() : wxPanel() {}
3378 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3379 const wxPoint
& pos
= wxDefaultPosition
,
3380 const wxSize
& size
= wxDefaultSize
,
3382 const wxString
& name
= wxPyPanelNameStr
)
3383 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3385 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3386 bool DoEraseBackground(wxDC
* dc
) {
3388 return wxWindow::DoEraseBackground(dc
->GetHDC());
3390 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3397 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3398 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3399 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3400 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3404 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3406 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3407 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3409 DEC_PYCALLBACK__(InitDialog
);
3410 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3411 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3412 DEC_PYCALLBACK_BOOL_(Validate
);
3414 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3415 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3416 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3418 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3419 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3421 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3422 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3424 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3426 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3431 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3433 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3434 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3435 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3436 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3439 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3440 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3442 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3443 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3445 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3447 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3448 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3451 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3452 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3454 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3455 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3457 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3458 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3460 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3462 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3464 // C++ version of Python aware wxScrolledWindow
3465 class wxPyScrolledWindow
: public wxScrolledWindow
3467 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3469 wxPyScrolledWindow() : wxScrolledWindow() {}
3470 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3471 const wxPoint
& pos
= wxDefaultPosition
,
3472 const wxSize
& size
= wxDefaultSize
,
3474 const wxString
& name
= wxPyPanelNameStr
)
3475 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3477 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3478 bool DoEraseBackground(wxDC
* dc
) {
3480 return wxWindow::DoEraseBackground(dc
->GetHDC());
3482 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3488 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3489 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3490 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3491 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3495 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3497 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3498 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3500 DEC_PYCALLBACK__(InitDialog
);
3501 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3502 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3503 DEC_PYCALLBACK_BOOL_(Validate
);
3505 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3506 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3507 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3509 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3510 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3512 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3513 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3515 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3517 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3522 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3524 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3525 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3526 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3527 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3530 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3531 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3533 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3534 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3536 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3538 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3539 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3542 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3543 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3545 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3546 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3548 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3549 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3551 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3553 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3556 #include "wx/wxPython/printfw.h"
3559 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3560 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3561 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3563 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3564 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3565 self
->GetPrivDataLen());
3566 wxPyEndBlockThreads(blocked
);
3569 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3570 if (! PyString_Check(data
)) {
3571 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3572 "Expected string object"));
3576 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3577 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3578 wxPyEndBlockThreads(blocked
);
3582 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3584 // Since this one would be tough and ugly to do with the Macros...
3585 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3586 bool hadErr
= false;
3589 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3590 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3591 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3592 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3595 val
= PyTuple_GetItem(result
, 0);
3596 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3599 val
= PyTuple_GetItem(result
, 1);
3600 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3603 val
= PyTuple_GetItem(result
, 2);
3604 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3607 val
= PyTuple_GetItem(result
, 3);
3608 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3615 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3620 wxPyEndBlockThreads(blocked
);
3622 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3627 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3628 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3629 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3630 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3631 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3632 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3633 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3639 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3640 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3643 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3644 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3647 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3648 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3649 PyObject* win = wxPyMake_wxObject(a,false); \
3650 PyObject* dc = wxPyMake_wxObject(&b,false); \
3651 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3655 wxPyEndBlockThreads(blocked); \
3657 rval = PCLASS::CBNAME(a, b); \
3664 class wxPyPrintPreview
: public wxPrintPreview
3666 DECLARE_CLASS(wxPyPrintPreview
)
3668 wxPyPrintPreview(wxPyPrintout
* printout
,
3669 wxPyPrintout
* printoutForPrinting
,
3670 wxPrintDialogData
* data
=NULL
)
3671 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3673 wxPyPrintPreview(wxPyPrintout
* printout
,
3674 wxPyPrintout
* printoutForPrinting
,
3676 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3679 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3680 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3681 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3682 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3683 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3684 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3685 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3690 // Stupid renamed classes... Fix this in 2.5...
3691 #if defined(__WXMSW__)
3692 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3693 #elif defined(__WXMAC__)
3694 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3696 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3699 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3700 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3701 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3702 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3703 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3704 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3705 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3708 class wxPyPreviewFrame
: public wxPreviewFrame
3710 DECLARE_CLASS(wxPyPreviewFrame
)
3712 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3713 const wxString
& title
,
3714 const wxPoint
& pos
= wxDefaultPosition
,
3715 const wxSize
& size
= wxDefaultSize
,
3716 long style
= wxDEFAULT_FRAME_STYLE
,
3717 const wxString
& name
= wxPyFrameNameStr
)
3718 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3721 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3722 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3724 DEC_PYCALLBACK_VOID_(Initialize
);
3725 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3726 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3731 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3735 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3738 class wxPyPreviewControlBar
: public wxPreviewControlBar
3740 DECLARE_CLASS(wxPyPreviewControlBar
)
3742 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3745 const wxPoint
& pos
= wxDefaultPosition
,
3746 const wxSize
& size
= wxDefaultSize
,
3748 const wxString
& name
= wxPyPanelNameStr
)
3749 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3752 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3754 DEC_PYCALLBACK_VOID_(CreateButtons
);
3755 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3760 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3761 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3762 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3767 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
*resultobj
= 0;
3769 wxWindow
*arg1
= (wxWindow
*) 0 ;
3770 int arg2
= (int) (int)-1 ;
3771 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3772 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3773 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3774 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3775 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3776 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3777 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3778 wxPanel
*result
= 0 ;
3787 bool temp6
= false ;
3788 PyObject
* obj0
= 0 ;
3789 PyObject
* obj1
= 0 ;
3790 PyObject
* obj2
= 0 ;
3791 PyObject
* obj3
= 0 ;
3792 PyObject
* obj4
= 0 ;
3793 PyObject
* obj5
= 0 ;
3794 char * kwnames
[] = {
3795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3800 if (!SWIG_IsOK(res1
)) {
3801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3803 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3806 if (!SWIG_IsOK(ecode2
)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3809 arg2
= static_cast< int >(val2
);
3814 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3820 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3824 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3825 if (!SWIG_IsOK(ecode5
)) {
3826 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3828 arg5
= static_cast< long >(val5
);
3832 arg6
= wxString_in_helper(obj5
);
3833 if (arg6
== NULL
) SWIG_fail
;
3838 if (!wxPyCheckForApp()) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3859 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3860 PyObject
*resultobj
= 0;
3861 wxPanel
*result
= 0 ;
3863 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3865 if (!wxPyCheckForApp()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 result
= (wxPanel
*)new wxPanel();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3878 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
= 0;
3880 wxPanel
*arg1
= (wxPanel
*) 0 ;
3881 wxWindow
*arg2
= (wxWindow
*) 0 ;
3882 int arg3
= (int) (int)-1 ;
3883 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3884 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3885 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3886 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3887 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3888 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3889 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3901 bool temp7
= false ;
3902 PyObject
* obj0
= 0 ;
3903 PyObject
* obj1
= 0 ;
3904 PyObject
* obj2
= 0 ;
3905 PyObject
* obj3
= 0 ;
3906 PyObject
* obj4
= 0 ;
3907 PyObject
* obj5
= 0 ;
3908 PyObject
* obj6
= 0 ;
3909 char * kwnames
[] = {
3910 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3915 if (!SWIG_IsOK(res1
)) {
3916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3918 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3920 if (!SWIG_IsOK(res2
)) {
3921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3923 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3926 if (!SWIG_IsOK(ecode3
)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3929 arg3
= static_cast< int >(val3
);
3934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3944 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3945 if (!SWIG_IsOK(ecode6
)) {
3946 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3948 arg6
= static_cast< long >(val6
);
3952 arg7
= wxString_in_helper(obj6
);
3953 if (arg7
== NULL
) SWIG_fail
;
3958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3959 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3980 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3981 PyObject
*resultobj
= 0;
3982 wxPanel
*arg1
= (wxPanel
*) 0 ;
3985 PyObject
*swig_obj
[1] ;
3987 if (!args
) SWIG_fail
;
3989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3990 if (!SWIG_IsOK(res1
)) {
3991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3993 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3996 (arg1
)->SetFocusIgnoringChildren();
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4000 resultobj
= SWIG_Py_Void();
4007 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
= 0;
4009 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4010 SwigValueWrapper
<wxVisualAttributes
> result
;
4013 PyObject
* obj0
= 0 ;
4014 char * kwnames
[] = {
4015 (char *) "variant", NULL
4018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4020 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4021 if (!SWIG_IsOK(ecode1
)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4024 arg1
= static_cast< wxWindowVariant
>(val1
);
4027 if (!wxPyCheckForApp()) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4040 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4043 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4044 return SWIG_Py_Void();
4047 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4048 return SWIG_Python_InitShadowInstance(args
);
4051 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
= 0;
4053 wxWindow
*arg1
= (wxWindow
*) 0 ;
4054 int arg2
= (int) (int)-1 ;
4055 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4056 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4057 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4058 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4059 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4060 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4061 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4062 wxScrolledWindow
*result
= 0 ;
4071 bool temp6
= false ;
4072 PyObject
* obj0
= 0 ;
4073 PyObject
* obj1
= 0 ;
4074 PyObject
* obj2
= 0 ;
4075 PyObject
* obj3
= 0 ;
4076 PyObject
* obj4
= 0 ;
4077 PyObject
* obj5
= 0 ;
4078 char * kwnames
[] = {
4079 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4084 if (!SWIG_IsOK(res1
)) {
4085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4090 if (!SWIG_IsOK(ecode2
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4093 arg2
= static_cast< int >(val2
);
4098 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4104 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4108 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4109 if (!SWIG_IsOK(ecode5
)) {
4110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4112 arg5
= static_cast< long >(val5
);
4116 arg6
= wxString_in_helper(obj5
);
4117 if (arg6
== NULL
) SWIG_fail
;
4122 if (!wxPyCheckForApp()) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4143 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4144 PyObject
*resultobj
= 0;
4145 wxScrolledWindow
*result
= 0 ;
4147 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4149 if (!wxPyCheckForApp()) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4162 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
= 0;
4164 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4165 wxWindow
*arg2
= (wxWindow
*) 0 ;
4166 int arg3
= (int) (int)-1 ;
4167 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4168 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4169 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4170 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4171 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4172 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4173 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4185 bool temp7
= false ;
4186 PyObject
* obj0
= 0 ;
4187 PyObject
* obj1
= 0 ;
4188 PyObject
* obj2
= 0 ;
4189 PyObject
* obj3
= 0 ;
4190 PyObject
* obj4
= 0 ;
4191 PyObject
* obj5
= 0 ;
4192 PyObject
* obj6
= 0 ;
4193 char * kwnames
[] = {
4194 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4199 if (!SWIG_IsOK(res1
)) {
4200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4202 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4204 if (!SWIG_IsOK(res2
)) {
4205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4207 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4210 if (!SWIG_IsOK(ecode3
)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4213 arg3
= static_cast< int >(val3
);
4218 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4224 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4228 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4229 if (!SWIG_IsOK(ecode6
)) {
4230 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4232 arg6
= static_cast< long >(val6
);
4236 arg7
= wxString_in_helper(obj6
);
4237 if (arg7
== NULL
) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4264 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
= 0;
4266 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4271 int arg6
= (int) 0 ;
4272 int arg7
= (int) 0 ;
4273 bool arg8
= (bool) false ;
4290 PyObject
* obj0
= 0 ;
4291 PyObject
* obj1
= 0 ;
4292 PyObject
* obj2
= 0 ;
4293 PyObject
* obj3
= 0 ;
4294 PyObject
* obj4
= 0 ;
4295 PyObject
* obj5
= 0 ;
4296 PyObject
* obj6
= 0 ;
4297 PyObject
* obj7
= 0 ;
4298 char * kwnames
[] = {
4299 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4304 if (!SWIG_IsOK(res1
)) {
4305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4307 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4309 if (!SWIG_IsOK(ecode2
)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4312 arg2
= static_cast< int >(val2
);
4313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4314 if (!SWIG_IsOK(ecode3
)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4317 arg3
= static_cast< int >(val3
);
4318 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4319 if (!SWIG_IsOK(ecode4
)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4322 arg4
= static_cast< int >(val4
);
4323 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4324 if (!SWIG_IsOK(ecode5
)) {
4325 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4327 arg5
= static_cast< int >(val5
);
4329 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4330 if (!SWIG_IsOK(ecode6
)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4333 arg6
= static_cast< int >(val6
);
4336 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4337 if (!SWIG_IsOK(ecode7
)) {
4338 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4340 arg7
= static_cast< int >(val7
);
4343 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4344 if (!SWIG_IsOK(ecode8
)) {
4345 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4347 arg8
= static_cast< bool >(val8
);
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4355 resultobj
= SWIG_Py_Void();
4362 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
= 0;
4364 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4374 PyObject
* obj1
= 0 ;
4375 PyObject
* obj2
= 0 ;
4376 char * kwnames
[] = {
4377 (char *) "self",(char *) "x",(char *) "y", NULL
4380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4382 if (!SWIG_IsOK(res1
)) {
4383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4385 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4387 if (!SWIG_IsOK(ecode2
)) {
4388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4390 arg2
= static_cast< int >(val2
);
4391 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4392 if (!SWIG_IsOK(ecode3
)) {
4393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4395 arg3
= static_cast< int >(val3
);
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 (arg1
)->Scroll(arg2
,arg3
);
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= SWIG_Py_Void();
4409 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
= 0;
4411 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4419 PyObject
* obj1
= 0 ;
4420 char * kwnames
[] = {
4421 (char *) "self",(char *) "orient", NULL
4424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4426 if (!SWIG_IsOK(res1
)) {
4427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4429 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4431 if (!SWIG_IsOK(ecode2
)) {
4432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4434 arg2
= static_cast< int >(val2
);
4436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4437 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 resultobj
= SWIG_From_int(static_cast< int >(result
));
4448 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
*resultobj
= 0;
4450 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4460 PyObject
* obj1
= 0 ;
4461 PyObject
* obj2
= 0 ;
4462 char * kwnames
[] = {
4463 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4468 if (!SWIG_IsOK(res1
)) {
4469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4471 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4473 if (!SWIG_IsOK(ecode2
)) {
4474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4476 arg2
= static_cast< int >(val2
);
4477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4478 if (!SWIG_IsOK(ecode3
)) {
4479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4481 arg3
= static_cast< int >(val3
);
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4485 wxPyEndAllowThreads(__tstate
);
4486 if (PyErr_Occurred()) SWIG_fail
;
4488 resultobj
= SWIG_Py_Void();
4495 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
*resultobj
= 0;
4497 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4508 PyObject
* obj2
= 0 ;
4509 char * kwnames
[] = {
4510 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4515 if (!SWIG_IsOK(res1
)) {
4516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4518 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4520 if (!SWIG_IsOK(ecode2
)) {
4521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4523 arg2
= static_cast< int >(val2
);
4524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4525 if (!SWIG_IsOK(ecode3
)) {
4526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4528 arg3
= static_cast< int >(val3
);
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 (arg1
)->SetScrollRate(arg2
,arg3
);
4532 wxPyEndAllowThreads(__tstate
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= SWIG_Py_Void();
4542 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4543 PyObject
*resultobj
= 0;
4544 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4545 int *arg2
= (int *) 0 ;
4546 int *arg3
= (int *) 0 ;
4550 int res2
= SWIG_TMPOBJ
;
4552 int res3
= SWIG_TMPOBJ
;
4553 PyObject
*swig_obj
[1] ;
4557 if (!args
) SWIG_fail
;
4559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4560 if (!SWIG_IsOK(res1
)) {
4561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4563 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= SWIG_Py_Void();
4571 if (SWIG_IsTmpObj(res2
)) {
4572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4574 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4577 if (SWIG_IsTmpObj(res3
)) {
4578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4580 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4589 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
= 0;
4591 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4600 PyObject
* obj0
= 0 ;
4601 PyObject
* obj1
= 0 ;
4602 PyObject
* obj2
= 0 ;
4603 char * kwnames
[] = {
4604 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4609 if (!SWIG_IsOK(res1
)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4612 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4613 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4614 if (!SWIG_IsOK(ecode2
)) {
4615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4617 arg2
= static_cast< bool >(val2
);
4618 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4619 if (!SWIG_IsOK(ecode3
)) {
4620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4622 arg3
= static_cast< bool >(val3
);
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 (arg1
)->EnableScrolling(arg2
,arg3
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_Py_Void();
4636 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4637 PyObject
*resultobj
= 0;
4638 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4639 int *arg2
= (int *) 0 ;
4640 int *arg3
= (int *) 0 ;
4644 int res2
= SWIG_TMPOBJ
;
4646 int res3
= SWIG_TMPOBJ
;
4647 PyObject
*swig_obj
[1] ;
4651 if (!args
) SWIG_fail
;
4653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4654 if (!SWIG_IsOK(res1
)) {
4655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4657 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4664 resultobj
= SWIG_Py_Void();
4665 if (SWIG_IsTmpObj(res2
)) {
4666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4668 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4671 if (SWIG_IsTmpObj(res3
)) {
4672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4674 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4683 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
= 0;
4685 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4694 PyObject
* obj0
= 0 ;
4695 PyObject
* obj1
= 0 ;
4696 PyObject
* obj2
= 0 ;
4697 char * kwnames
[] = {
4698 (char *) "self",(char *) "xs",(char *) "ys", NULL
4701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4703 if (!SWIG_IsOK(res1
)) {
4704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4706 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4707 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4708 if (!SWIG_IsOK(ecode2
)) {
4709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4711 arg2
= static_cast< double >(val2
);
4712 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4713 if (!SWIG_IsOK(ecode3
)) {
4714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4716 arg3
= static_cast< double >(val3
);
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 (arg1
)->SetScale(arg2
,arg3
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_Py_Void();
4730 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4731 PyObject
*resultobj
= 0;
4732 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4736 PyObject
*swig_obj
[1] ;
4738 if (!args
) SWIG_fail
;
4740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4741 if (!SWIG_IsOK(res1
)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4744 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= SWIG_From_double(static_cast< double >(result
));
4758 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4759 PyObject
*resultobj
= 0;
4760 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4764 PyObject
*swig_obj
[1] ;
4766 if (!args
) SWIG_fail
;
4768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4769 if (!SWIG_IsOK(res1
)) {
4770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4772 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= SWIG_From_double(static_cast< double >(result
));
4786 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4787 PyObject
*resultobj
= 0;
4788 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4795 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4797 if (!SWIG_IsOK(res1
)) {
4798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4800 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4803 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4818 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4819 PyObject
*resultobj
= 0;
4820 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4823 int *arg4
= (int *) 0 ;
4824 int *arg5
= (int *) 0 ;
4832 int res4
= SWIG_TMPOBJ
;
4834 int res5
= SWIG_TMPOBJ
;
4838 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4840 if (!SWIG_IsOK(res1
)) {
4841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4843 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4844 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4845 if (!SWIG_IsOK(ecode2
)) {
4846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4848 arg2
= static_cast< int >(val2
);
4849 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4850 if (!SWIG_IsOK(ecode3
)) {
4851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4853 arg3
= static_cast< int >(val3
);
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 resultobj
= SWIG_Py_Void();
4861 if (SWIG_IsTmpObj(res4
)) {
4862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4864 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4867 if (SWIG_IsTmpObj(res5
)) {
4868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4870 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4879 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4883 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4886 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4889 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4893 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4898 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4899 PyObject
*resultobj
= 0;
4900 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4907 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4912 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4915 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4930 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4931 PyObject
*resultobj
= 0;
4932 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4935 int *arg4
= (int *) 0 ;
4936 int *arg5
= (int *) 0 ;
4944 int res4
= SWIG_TMPOBJ
;
4946 int res5
= SWIG_TMPOBJ
;
4950 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4952 if (!SWIG_IsOK(res1
)) {
4953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4955 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4956 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4957 if (!SWIG_IsOK(ecode2
)) {
4958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4960 arg2
= static_cast< int >(val2
);
4961 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4962 if (!SWIG_IsOK(ecode3
)) {
4963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4965 arg3
= static_cast< int >(val3
);
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= SWIG_Py_Void();
4973 if (SWIG_IsTmpObj(res4
)) {
4974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4976 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4979 if (SWIG_IsTmpObj(res5
)) {
4980 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4982 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4991 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4995 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4998 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
5001 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
5005 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5010 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5011 PyObject
*resultobj
= 0;
5012 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5015 PyObject
*swig_obj
[1] ;
5017 if (!args
) SWIG_fail
;
5019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5020 if (!SWIG_IsOK(res1
)) {
5021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5023 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 (arg1
)->AdjustScrollbars();
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= SWIG_Py_Void();
5037 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
= 0;
5039 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5040 wxScrollWinEvent
*arg2
= 0 ;
5046 PyObject
* obj0
= 0 ;
5047 PyObject
* obj1
= 0 ;
5048 char * kwnames
[] = {
5049 (char *) "self",(char *) "event", NULL
5052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5054 if (!SWIG_IsOK(res1
)) {
5055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5057 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5058 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5059 if (!SWIG_IsOK(res2
)) {
5060 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5065 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 resultobj
= SWIG_From_int(static_cast< int >(result
));
5079 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
= 0;
5081 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5082 wxWindow
*arg2
= (wxWindow
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5089 char * kwnames
[] = {
5090 (char *) "self",(char *) "target", NULL
5093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5095 if (!SWIG_IsOK(res1
)) {
5096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5098 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5099 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5100 if (!SWIG_IsOK(res2
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5103 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5106 (arg1
)->SetTargetWindow(arg2
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= SWIG_Py_Void();
5117 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5118 PyObject
*resultobj
= 0;
5119 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5120 wxWindow
*result
= 0 ;
5123 PyObject
*swig_obj
[1] ;
5125 if (!args
) SWIG_fail
;
5127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5128 if (!SWIG_IsOK(res1
)) {
5129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5131 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= wxPyMake_wxObject(result
, 0);
5147 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
= 0;
5149 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5154 PyObject
* obj0
= 0 ;
5155 PyObject
* obj1
= 0 ;
5156 char * kwnames
[] = {
5157 (char *) "self",(char *) "rect", NULL
5160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5162 if (!SWIG_IsOK(res1
)) {
5163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5165 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5168 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_Py_Void();
5183 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5184 PyObject
*resultobj
= 0;
5185 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5189 PyObject
*swig_obj
[1] ;
5191 if (!args
) SWIG_fail
;
5193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5194 if (!SWIG_IsOK(res1
)) {
5195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5197 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5211 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
= 0;
5213 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5219 PyObject
* obj0
= 0 ;
5220 PyObject
* obj1
= 0 ;
5221 char * kwnames
[] = {
5222 (char *) "self",(char *) "dc", NULL
5225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5227 if (!SWIG_IsOK(res1
)) {
5228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5230 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5231 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5232 if (!SWIG_IsOK(res2
)) {
5233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5236 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5238 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 (arg1
)->DoPrepareDC(*arg2
);
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_Py_Void();
5252 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
= 0;
5254 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5255 SwigValueWrapper
<wxVisualAttributes
> result
;
5258 PyObject
* obj0
= 0 ;
5259 char * kwnames
[] = {
5260 (char *) "variant", NULL
5263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5265 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5266 if (!SWIG_IsOK(ecode1
)) {
5267 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5269 arg1
= static_cast< wxWindowVariant
>(val1
);
5272 if (!wxPyCheckForApp()) SWIG_fail
;
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5285 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5288 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5289 return SWIG_Py_Void();
5292 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5293 return SWIG_Python_InitShadowInstance(args
);
5296 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5297 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5302 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5303 PyObject
*pyobj
= 0;
5307 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5309 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5316 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5317 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5322 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5323 PyObject
*pyobj
= 0;
5327 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5329 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5336 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5337 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5342 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5343 PyObject
*pyobj
= 0;
5347 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5349 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5356 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5357 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5362 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5363 PyObject
*pyobj
= 0;
5367 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5369 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5376 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
= 0;
5378 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5379 bool arg2
= (bool) true ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5386 char * kwnames
[] = {
5387 (char *) "self",(char *) "maximize", NULL
5390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5392 if (!SWIG_IsOK(res1
)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5395 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5397 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5398 if (!SWIG_IsOK(ecode2
)) {
5399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5401 arg2
= static_cast< bool >(val2
);
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 (arg1
)->Maximize(arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_Py_Void();
5416 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5417 PyObject
*resultobj
= 0;
5418 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5421 PyObject
*swig_obj
[1] ;
5423 if (!args
) SWIG_fail
;
5425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5426 if (!SWIG_IsOK(res1
)) {
5427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5429 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 resultobj
= SWIG_Py_Void();
5443 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
= 0;
5445 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5446 bool arg2
= (bool) true ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 char * kwnames
[] = {
5454 (char *) "self",(char *) "iconize", NULL
5457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5459 if (!SWIG_IsOK(res1
)) {
5460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5462 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5464 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5465 if (!SWIG_IsOK(ecode2
)) {
5466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5468 arg2
= static_cast< bool >(val2
);
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 (arg1
)->Iconize(arg2
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_Py_Void();
5483 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5484 PyObject
*resultobj
= 0;
5485 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5489 PyObject
*swig_obj
[1] ;
5491 if (!args
) SWIG_fail
;
5493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5494 if (!SWIG_IsOK(res1
)) {
5495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5497 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5500 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5513 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5514 PyObject
*resultobj
= 0;
5515 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5519 PyObject
*swig_obj
[1] ;
5521 if (!args
) SWIG_fail
;
5523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5524 if (!SWIG_IsOK(res1
)) {
5525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5527 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5530 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5543 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5544 PyObject
*resultobj
= 0;
5545 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5549 PyObject
*swig_obj
[1] ;
5551 if (!args
) SWIG_fail
;
5553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5554 if (!SWIG_IsOK(res1
)) {
5555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5557 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5573 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5574 PyObject
*resultobj
= 0;
5575 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5579 PyObject
*swig_obj
[1] ;
5581 if (!args
) SWIG_fail
;
5583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5584 if (!SWIG_IsOK(res1
)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5587 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5601 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
= 0;
5603 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5609 PyObject
* obj0
= 0 ;
5610 PyObject
* obj1
= 0 ;
5611 char * kwnames
[] = {
5612 (char *) "self",(char *) "icon", NULL
5615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5617 if (!SWIG_IsOK(res1
)) {
5618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5620 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5622 if (!SWIG_IsOK(res2
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5628 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5632 wxPyEndAllowThreads(__tstate
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5635 resultobj
= SWIG_Py_Void();
5642 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
= 0;
5644 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5645 wxIconBundle
*arg2
= 0 ;
5650 PyObject
* obj0
= 0 ;
5651 PyObject
* obj1
= 0 ;
5652 char * kwnames
[] = {
5653 (char *) "self",(char *) "icons", NULL
5656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5658 if (!SWIG_IsOK(res1
)) {
5659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5661 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5662 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5663 if (!SWIG_IsOK(res2
)) {
5664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5669 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 resultobj
= SWIG_Py_Void();
5683 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
= 0;
5685 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5687 long arg3
= (long) wxFULLSCREEN_ALL
;
5695 PyObject
* obj0
= 0 ;
5696 PyObject
* obj1
= 0 ;
5697 PyObject
* obj2
= 0 ;
5698 char * kwnames
[] = {
5699 (char *) "self",(char *) "show",(char *) "style", NULL
5702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5704 if (!SWIG_IsOK(res1
)) {
5705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5707 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5708 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5709 if (!SWIG_IsOK(ecode2
)) {
5710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5712 arg2
= static_cast< bool >(val2
);
5714 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5715 if (!SWIG_IsOK(ecode3
)) {
5716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5718 arg3
= static_cast< long >(val3
);
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5735 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5736 PyObject
*resultobj
= 0;
5737 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5741 PyObject
*swig_obj
[1] ;
5743 if (!args
) SWIG_fail
;
5745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5746 if (!SWIG_IsOK(res1
)) {
5747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5749 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5765 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
= 0;
5767 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5768 wxString
*arg2
= 0 ;
5771 bool temp2
= false ;
5772 PyObject
* obj0
= 0 ;
5773 PyObject
* obj1
= 0 ;
5774 char * kwnames
[] = {
5775 (char *) "self",(char *) "title", NULL
5778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5780 if (!SWIG_IsOK(res1
)) {
5781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5783 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5785 arg2
= wxString_in_helper(obj1
);
5786 if (arg2
== NULL
) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 (arg1
)->SetTitle((wxString
const &)*arg2
);
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= SWIG_Py_Void();
5810 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5811 PyObject
*resultobj
= 0;
5812 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5816 PyObject
*swig_obj
[1] ;
5818 if (!args
) SWIG_fail
;
5820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5821 if (!SWIG_IsOK(res1
)) {
5822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5824 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5844 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
= 0;
5846 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5847 wxRegion
*arg2
= 0 ;
5853 PyObject
* obj0
= 0 ;
5854 PyObject
* obj1
= 0 ;
5855 char * kwnames
[] = {
5856 (char *) "self",(char *) "region", NULL
5859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5861 if (!SWIG_IsOK(res1
)) {
5862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5864 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5866 if (!SWIG_IsOK(res2
)) {
5867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5872 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5888 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
= 0;
5890 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5891 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5898 char * kwnames
[] = {
5899 (char *) "self",(char *) "flags", NULL
5902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5904 if (!SWIG_IsOK(res1
)) {
5905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5907 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5910 if (!SWIG_IsOK(ecode2
)) {
5911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5913 arg2
= static_cast< int >(val2
);
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 (arg1
)->RequestUserAttention(arg2
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_Py_Void();
5928 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5929 PyObject
*resultobj
= 0;
5930 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5934 PyObject
*swig_obj
[1] ;
5936 if (!args
) SWIG_fail
;
5938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5939 if (!SWIG_IsOK(res1
)) {
5940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5942 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= (bool)(arg1
)->IsActive();
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5958 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
= 0;
5960 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5967 PyObject
* obj1
= 0 ;
5968 char * kwnames
[] = {
5969 (char *) "self",(char *) "on", NULL
5972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5974 if (!SWIG_IsOK(res1
)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5977 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5978 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5979 if (!SWIG_IsOK(ecode2
)) {
5980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5982 arg2
= static_cast< bool >(val2
);
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_Py_Void();
5996 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5997 PyObject
*resultobj
= 0;
5998 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6002 PyObject
*swig_obj
[1] ;
6004 if (!args
) SWIG_fail
;
6006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6007 if (!SWIG_IsOK(res1
)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6010 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6026 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
*resultobj
= 0;
6028 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6029 int arg2
= (int) wxBOTH
;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6036 char * kwnames
[] = {
6037 (char *) "self",(char *) "dir", NULL
6040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6042 if (!SWIG_IsOK(res1
)) {
6043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6045 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6048 if (!SWIG_IsOK(ecode2
)) {
6049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6051 arg2
= static_cast< int >(val2
);
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 (arg1
)->CenterOnScreen(arg2
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_Py_Void();
6066 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
= 0;
6068 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6069 bool arg2
= (bool) true ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6077 char * kwnames
[] = {
6078 (char *) "self",(char *) "enable", NULL
6081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6083 if (!SWIG_IsOK(res1
)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6086 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6088 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6089 if (!SWIG_IsOK(ecode2
)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6092 arg2
= static_cast< bool >(val2
);
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (bool)wxTopLevelWindow_EnableCloseButton(arg1
,arg2
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6109 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
= 0;
6111 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6116 unsigned char val2
;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6120 char * kwnames
[] = {
6121 (char *) "self",(char *) "alpha", NULL
6124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6126 if (!SWIG_IsOK(res1
)) {
6127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6129 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6130 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
6131 if (!SWIG_IsOK(ecode2
)) {
6132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6134 arg2
= static_cast< byte
>(val2
);
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (bool)(arg1
)->SetTransparent(arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6150 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6151 PyObject
*resultobj
= 0;
6152 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6156 PyObject
*swig_obj
[1] ;
6158 if (!args
) SWIG_fail
;
6160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6161 if (!SWIG_IsOK(res1
)) {
6162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6164 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= (bool)(arg1
)->CanSetTransparent();
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6180 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6183 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6184 return SWIG_Py_Void();
6187 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
= 0;
6189 wxWindow
*arg1
= (wxWindow
*) 0 ;
6190 int arg2
= (int) (int)-1 ;
6191 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6192 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6193 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6194 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6195 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6196 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6197 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6198 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6199 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6200 wxFrame
*result
= 0 ;
6205 bool temp3
= false ;
6210 bool temp7
= false ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 PyObject
* obj2
= 0 ;
6214 PyObject
* obj3
= 0 ;
6215 PyObject
* obj4
= 0 ;
6216 PyObject
* obj5
= 0 ;
6217 PyObject
* obj6
= 0 ;
6218 char * kwnames
[] = {
6219 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6224 if (!SWIG_IsOK(res1
)) {
6225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6227 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6230 if (!SWIG_IsOK(ecode2
)) {
6231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6233 arg2
= static_cast< int >(val2
);
6237 arg3
= wxString_in_helper(obj2
);
6238 if (arg3
== NULL
) SWIG_fail
;
6245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6251 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6255 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6256 if (!SWIG_IsOK(ecode6
)) {
6257 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6259 arg6
= static_cast< long >(val6
);
6263 arg7
= wxString_in_helper(obj6
);
6264 if (arg7
== NULL
) SWIG_fail
;
6269 if (!wxPyCheckForApp()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6298 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6299 PyObject
*resultobj
= 0;
6300 wxFrame
*result
= 0 ;
6302 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6304 if (!wxPyCheckForApp()) SWIG_fail
;
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (wxFrame
*)new wxFrame();
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6317 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
= 0;
6319 wxFrame
*arg1
= (wxFrame
*) 0 ;
6320 wxWindow
*arg2
= (wxWindow
*) 0 ;
6321 int arg3
= (int) (int)-1 ;
6322 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6323 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6324 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6325 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6326 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6327 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6328 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6329 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6330 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6338 bool temp4
= false ;
6343 bool temp8
= false ;
6344 PyObject
* obj0
= 0 ;
6345 PyObject
* obj1
= 0 ;
6346 PyObject
* obj2
= 0 ;
6347 PyObject
* obj3
= 0 ;
6348 PyObject
* obj4
= 0 ;
6349 PyObject
* obj5
= 0 ;
6350 PyObject
* obj6
= 0 ;
6351 PyObject
* obj7
= 0 ;
6352 char * kwnames
[] = {
6353 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6358 if (!SWIG_IsOK(res1
)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6361 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6363 if (!SWIG_IsOK(res2
)) {
6364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6366 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6369 if (!SWIG_IsOK(ecode3
)) {
6370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6372 arg3
= static_cast< int >(val3
);
6376 arg4
= wxString_in_helper(obj3
);
6377 if (arg4
== NULL
) SWIG_fail
;
6384 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6390 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6394 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6395 if (!SWIG_IsOK(ecode7
)) {
6396 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6398 arg7
= static_cast< long >(val7
);
6402 arg8
= wxString_in_helper(obj7
);
6403 if (arg8
== NULL
) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6438 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6439 PyObject
*resultobj
= 0;
6440 wxFrame
*arg1
= (wxFrame
*) 0 ;
6443 PyObject
*swig_obj
[1] ;
6445 if (!args
) SWIG_fail
;
6447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6448 if (!SWIG_IsOK(res1
)) {
6449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6451 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 (arg1
)->SendSizeEvent();
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= SWIG_Py_Void();
6465 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
= 0;
6467 wxFrame
*arg1
= (wxFrame
*) 0 ;
6468 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6474 PyObject
* obj1
= 0 ;
6475 char * kwnames
[] = {
6476 (char *) "self",(char *) "menubar", NULL
6479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6481 if (!SWIG_IsOK(res1
)) {
6482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6484 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6485 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6486 if (!SWIG_IsOK(res2
)) {
6487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6489 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 (arg1
)->SetMenuBar(arg2
);
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 resultobj
= SWIG_Py_Void();
6503 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6504 PyObject
*resultobj
= 0;
6505 wxFrame
*arg1
= (wxFrame
*) 0 ;
6506 wxMenuBar
*result
= 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6517 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6520 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6525 resultobj
= wxPyMake_wxObject(result
, 0);
6533 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
= 0;
6535 wxFrame
*arg1
= (wxFrame
*) 0 ;
6542 PyObject
* obj0
= 0 ;
6543 PyObject
* obj1
= 0 ;
6544 char * kwnames
[] = {
6545 (char *) "self",(char *) "winid", NULL
6548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6550 if (!SWIG_IsOK(res1
)) {
6551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6553 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6555 if (!SWIG_IsOK(ecode2
)) {
6556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6558 arg2
= static_cast< int >(val2
);
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6562 wxPyEndAllowThreads(__tstate
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6574 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
= 0;
6576 wxFrame
*arg1
= (wxFrame
*) 0 ;
6577 int arg2
= (int) 1 ;
6578 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6579 int arg4
= (int) 0 ;
6580 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6581 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6582 wxStatusBar
*result
= 0 ;
6591 bool temp5
= false ;
6592 PyObject
* obj0
= 0 ;
6593 PyObject
* obj1
= 0 ;
6594 PyObject
* obj2
= 0 ;
6595 PyObject
* obj3
= 0 ;
6596 PyObject
* obj4
= 0 ;
6597 char * kwnames
[] = {
6598 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6603 if (!SWIG_IsOK(res1
)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6606 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6609 if (!SWIG_IsOK(ecode2
)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6612 arg2
= static_cast< int >(val2
);
6615 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6616 if (!SWIG_IsOK(ecode3
)) {
6617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6619 arg3
= static_cast< long >(val3
);
6622 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6623 if (!SWIG_IsOK(ecode4
)) {
6624 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6626 arg4
= static_cast< int >(val4
);
6630 arg5
= wxString_in_helper(obj4
);
6631 if (arg5
== NULL
) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6642 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6658 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6659 PyObject
*resultobj
= 0;
6660 wxFrame
*arg1
= (wxFrame
*) 0 ;
6661 wxStatusBar
*result
= 0 ;
6664 PyObject
*swig_obj
[1] ;
6666 if (!args
) SWIG_fail
;
6668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6669 if (!SWIG_IsOK(res1
)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6672 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6688 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
*resultobj
= 0;
6690 wxFrame
*arg1
= (wxFrame
*) 0 ;
6691 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6696 PyObject
* obj0
= 0 ;
6697 PyObject
* obj1
= 0 ;
6698 char * kwnames
[] = {
6699 (char *) "self",(char *) "statBar", NULL
6702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6704 if (!SWIG_IsOK(res1
)) {
6705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6707 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6708 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6709 if (!SWIG_IsOK(res2
)) {
6710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6712 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 (arg1
)->SetStatusBar(arg2
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= SWIG_Py_Void();
6726 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
= 0;
6728 wxFrame
*arg1
= (wxFrame
*) 0 ;
6729 wxString
*arg2
= 0 ;
6730 int arg3
= (int) 0 ;
6733 bool temp2
= false ;
6736 PyObject
* obj0
= 0 ;
6737 PyObject
* obj1
= 0 ;
6738 PyObject
* obj2
= 0 ;
6739 char * kwnames
[] = {
6740 (char *) "self",(char *) "text",(char *) "number", NULL
6743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6745 if (!SWIG_IsOK(res1
)) {
6746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6748 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6750 arg2
= wxString_in_helper(obj1
);
6751 if (arg2
== NULL
) SWIG_fail
;
6755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6756 if (!SWIG_IsOK(ecode3
)) {
6757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6759 arg3
= static_cast< int >(val3
);
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= SWIG_Py_Void();
6782 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
= 0;
6784 wxFrame
*arg1
= (wxFrame
*) 0 ;
6786 int *arg3
= (int *) 0 ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 char * kwnames
[] = {
6792 (char *) "self",(char *) "widths", NULL
6795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6800 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6802 arg2
= PyList_Size(obj1
);
6803 arg3
= int_LIST_helper(obj1
);
6804 if (arg3
== NULL
) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_Py_Void();
6814 if (arg3
) delete [] arg3
;
6819 if (arg3
) delete [] arg3
;
6825 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
= 0;
6827 wxFrame
*arg1
= (wxFrame
*) 0 ;
6828 wxString
*arg2
= 0 ;
6829 int arg3
= (int) 0 ;
6832 bool temp2
= false ;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6837 PyObject
* obj2
= 0 ;
6838 char * kwnames
[] = {
6839 (char *) "self",(char *) "text",(char *) "number", NULL
6842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6844 if (!SWIG_IsOK(res1
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6847 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6849 arg2
= wxString_in_helper(obj1
);
6850 if (arg2
== NULL
) SWIG_fail
;
6854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6855 if (!SWIG_IsOK(ecode3
)) {
6856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6858 arg3
= static_cast< int >(val3
);
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 resultobj
= SWIG_Py_Void();
6881 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
= 0;
6883 wxFrame
*arg1
= (wxFrame
*) 0 ;
6884 int arg2
= (int) 0 ;
6889 PyObject
* obj0
= 0 ;
6890 PyObject
* obj1
= 0 ;
6891 char * kwnames
[] = {
6892 (char *) "self",(char *) "number", NULL
6895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6897 if (!SWIG_IsOK(res1
)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6900 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6903 if (!SWIG_IsOK(ecode2
)) {
6904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6906 arg2
= static_cast< int >(val2
);
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 (arg1
)->PopStatusText(arg2
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_Py_Void();
6921 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
= 0;
6923 wxFrame
*arg1
= (wxFrame
*) 0 ;
6929 PyObject
* obj0
= 0 ;
6930 PyObject
* obj1
= 0 ;
6931 char * kwnames
[] = {
6932 (char *) "self",(char *) "n", NULL
6935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6937 if (!SWIG_IsOK(res1
)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6940 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6942 if (!SWIG_IsOK(ecode2
)) {
6943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6945 arg2
= static_cast< int >(val2
);
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 (arg1
)->SetStatusBarPane(arg2
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= SWIG_Py_Void();
6959 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6960 PyObject
*resultobj
= 0;
6961 wxFrame
*arg1
= (wxFrame
*) 0 ;
6965 PyObject
*swig_obj
[1] ;
6967 if (!args
) SWIG_fail
;
6969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6970 if (!SWIG_IsOK(res1
)) {
6971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6973 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= SWIG_From_int(static_cast< int >(result
));
6987 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
= 0;
6989 wxFrame
*arg1
= (wxFrame
*) 0 ;
6990 long arg2
= (long) -1 ;
6991 int arg3
= (int) -1 ;
6992 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6993 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6994 wxToolBar
*result
= 0 ;
7001 bool temp4
= false ;
7002 PyObject
* obj0
= 0 ;
7003 PyObject
* obj1
= 0 ;
7004 PyObject
* obj2
= 0 ;
7005 PyObject
* obj3
= 0 ;
7006 char * kwnames
[] = {
7007 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7012 if (!SWIG_IsOK(res1
)) {
7013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7015 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7017 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7018 if (!SWIG_IsOK(ecode2
)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7021 arg2
= static_cast< long >(val2
);
7024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7025 if (!SWIG_IsOK(ecode3
)) {
7026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7028 arg3
= static_cast< int >(val3
);
7032 arg4
= wxString_in_helper(obj3
);
7033 if (arg4
== NULL
) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7060 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7061 PyObject
*resultobj
= 0;
7062 wxFrame
*arg1
= (wxFrame
*) 0 ;
7063 wxToolBar
*result
= 0 ;
7066 PyObject
*swig_obj
[1] ;
7068 if (!args
) SWIG_fail
;
7070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7071 if (!SWIG_IsOK(res1
)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7074 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7090 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
= 0;
7092 wxFrame
*arg1
= (wxFrame
*) 0 ;
7093 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7098 PyObject
* obj0
= 0 ;
7099 PyObject
* obj1
= 0 ;
7100 char * kwnames
[] = {
7101 (char *) "self",(char *) "toolbar", NULL
7104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7106 if (!SWIG_IsOK(res1
)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7109 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7111 if (!SWIG_IsOK(res2
)) {
7112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7114 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 (arg1
)->SetToolBar(arg2
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= SWIG_Py_Void();
7128 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
= 0;
7130 wxFrame
*arg1
= (wxFrame
*) 0 ;
7131 wxString
*arg2
= 0 ;
7135 bool temp2
= false ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 PyObject
* obj2
= 0 ;
7141 char * kwnames
[] = {
7142 (char *) "self",(char *) "text",(char *) "show", NULL
7145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7147 if (!SWIG_IsOK(res1
)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7150 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7152 arg2
= wxString_in_helper(obj1
);
7153 if (arg2
== NULL
) SWIG_fail
;
7156 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7157 if (!SWIG_IsOK(ecode3
)) {
7158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7160 arg3
= static_cast< bool >(val3
);
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= SWIG_Py_Void();
7182 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
*resultobj
= 0;
7184 wxFrame
*arg1
= (wxFrame
*) 0 ;
7185 wxMenu
*arg2
= (wxMenu
*) NULL
;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7192 char * kwnames
[] = {
7193 (char *) "self",(char *) "menu", NULL
7196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7198 if (!SWIG_IsOK(res1
)) {
7199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7201 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7204 if (!SWIG_IsOK(res2
)) {
7205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7207 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 (arg1
)->DoMenuUpdates(arg2
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= SWIG_Py_Void();
7222 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
= 0;
7224 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7225 SwigValueWrapper
<wxVisualAttributes
> result
;
7228 PyObject
* obj0
= 0 ;
7229 char * kwnames
[] = {
7230 (char *) "variant", NULL
7233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7235 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7236 if (!SWIG_IsOK(ecode1
)) {
7237 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7239 arg1
= static_cast< wxWindowVariant
>(val1
);
7242 if (!wxPyCheckForApp()) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7255 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7257 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7258 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7259 return SWIG_Py_Void();
7262 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7263 return SWIG_Python_InitShadowInstance(args
);
7266 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
= 0;
7268 wxWindow
*arg1
= (wxWindow
*) 0 ;
7269 int arg2
= (int) (int)-1 ;
7270 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7271 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7272 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7273 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7274 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7275 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7276 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7277 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7278 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7279 wxDialog
*result
= 0 ;
7284 bool temp3
= false ;
7289 bool temp7
= false ;
7290 PyObject
* obj0
= 0 ;
7291 PyObject
* obj1
= 0 ;
7292 PyObject
* obj2
= 0 ;
7293 PyObject
* obj3
= 0 ;
7294 PyObject
* obj4
= 0 ;
7295 PyObject
* obj5
= 0 ;
7296 PyObject
* obj6
= 0 ;
7297 char * kwnames
[] = {
7298 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7303 if (!SWIG_IsOK(res1
)) {
7304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7306 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7309 if (!SWIG_IsOK(ecode2
)) {
7310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7312 arg2
= static_cast< int >(val2
);
7316 arg3
= wxString_in_helper(obj2
);
7317 if (arg3
== NULL
) SWIG_fail
;
7324 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7330 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7334 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7335 if (!SWIG_IsOK(ecode6
)) {
7336 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7338 arg6
= static_cast< long >(val6
);
7342 arg7
= wxString_in_helper(obj6
);
7343 if (arg7
== NULL
) SWIG_fail
;
7348 if (!wxPyCheckForApp()) SWIG_fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7377 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7378 PyObject
*resultobj
= 0;
7379 wxDialog
*result
= 0 ;
7381 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7383 if (!wxPyCheckForApp()) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 result
= (wxDialog
*)new wxDialog();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7396 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
= 0;
7398 wxDialog
*arg1
= (wxDialog
*) 0 ;
7399 wxWindow
*arg2
= (wxWindow
*) 0 ;
7400 int arg3
= (int) (int)-1 ;
7401 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7402 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7403 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7404 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7405 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7406 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7407 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7408 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7409 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7417 bool temp4
= false ;
7422 bool temp8
= false ;
7423 PyObject
* obj0
= 0 ;
7424 PyObject
* obj1
= 0 ;
7425 PyObject
* obj2
= 0 ;
7426 PyObject
* obj3
= 0 ;
7427 PyObject
* obj4
= 0 ;
7428 PyObject
* obj5
= 0 ;
7429 PyObject
* obj6
= 0 ;
7430 PyObject
* obj7
= 0 ;
7431 char * kwnames
[] = {
7432 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7437 if (!SWIG_IsOK(res1
)) {
7438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7440 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7441 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7442 if (!SWIG_IsOK(res2
)) {
7443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7445 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7448 if (!SWIG_IsOK(ecode3
)) {
7449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7451 arg3
= static_cast< int >(val3
);
7455 arg4
= wxString_in_helper(obj3
);
7456 if (arg4
== NULL
) SWIG_fail
;
7463 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7469 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7473 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7474 if (!SWIG_IsOK(ecode7
)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7477 arg7
= static_cast< long >(val7
);
7481 arg8
= wxString_in_helper(obj7
);
7482 if (arg8
== NULL
) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7517 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
*resultobj
= 0;
7519 wxDialog
*arg1
= (wxDialog
*) 0 ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7527 char * kwnames
[] = {
7528 (char *) "self",(char *) "returnCode", NULL
7531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7533 if (!SWIG_IsOK(res1
)) {
7534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7536 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7538 if (!SWIG_IsOK(ecode2
)) {
7539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7541 arg2
= static_cast< int >(val2
);
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 (arg1
)->SetReturnCode(arg2
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= SWIG_Py_Void();
7555 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7556 PyObject
*resultobj
= 0;
7557 wxDialog
*arg1
= (wxDialog
*) 0 ;
7561 PyObject
*swig_obj
[1] ;
7563 if (!args
) SWIG_fail
;
7565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7566 if (!SWIG_IsOK(res1
)) {
7567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7569 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7576 resultobj
= SWIG_From_int(static_cast< int >(result
));
7583 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
= 0;
7585 wxDialog
*arg1
= (wxDialog
*) 0 ;
7591 PyObject
* obj0
= 0 ;
7592 PyObject
* obj1
= 0 ;
7593 char * kwnames
[] = {
7594 (char *) "self",(char *) "affirmativeId", NULL
7597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7599 if (!SWIG_IsOK(res1
)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7602 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7604 if (!SWIG_IsOK(ecode2
)) {
7605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7607 arg2
= static_cast< int >(val2
);
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 (arg1
)->SetAffirmativeId(arg2
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= SWIG_Py_Void();
7621 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7622 PyObject
*resultobj
= 0;
7623 wxDialog
*arg1
= (wxDialog
*) 0 ;
7627 PyObject
*swig_obj
[1] ;
7629 if (!args
) SWIG_fail
;
7631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7632 if (!SWIG_IsOK(res1
)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7635 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_From_int(static_cast< int >(result
));
7649 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
= 0;
7651 wxDialog
*arg1
= (wxDialog
*) 0 ;
7657 PyObject
* obj0
= 0 ;
7658 PyObject
* obj1
= 0 ;
7659 char * kwnames
[] = {
7660 (char *) "self",(char *) "escapeId", NULL
7663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7665 if (!SWIG_IsOK(res1
)) {
7666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7668 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7670 if (!SWIG_IsOK(ecode2
)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7673 arg2
= static_cast< int >(val2
);
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 (arg1
)->SetEscapeId(arg2
);
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= SWIG_Py_Void();
7687 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7688 PyObject
*resultobj
= 0;
7689 wxDialog
*arg1
= (wxDialog
*) 0 ;
7693 PyObject
*swig_obj
[1] ;
7695 if (!args
) SWIG_fail
;
7697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7698 if (!SWIG_IsOK(res1
)) {
7699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7701 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= SWIG_From_int(static_cast< int >(result
));
7715 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
= 0;
7717 wxDialog
*arg1
= (wxDialog
*) 0 ;
7718 wxString
*arg2
= 0 ;
7719 wxSizer
*result
= 0 ;
7722 bool temp2
= false ;
7723 PyObject
* obj0
= 0 ;
7724 PyObject
* obj1
= 0 ;
7725 char * kwnames
[] = {
7726 (char *) "self",(char *) "message", NULL
7729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7731 if (!SWIG_IsOK(res1
)) {
7732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7734 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7736 arg2
= wxString_in_helper(obj1
);
7737 if (arg2
== NULL
) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7763 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
= 0;
7765 wxDialog
*arg1
= (wxDialog
*) 0 ;
7767 bool arg3
= (bool) false ;
7768 int arg4
= (int) 0 ;
7769 wxSizer
*result
= 0 ;
7778 PyObject
* obj0
= 0 ;
7779 PyObject
* obj1
= 0 ;
7780 PyObject
* obj2
= 0 ;
7781 PyObject
* obj3
= 0 ;
7782 char * kwnames
[] = {
7783 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7788 if (!SWIG_IsOK(res1
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7791 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7792 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7793 if (!SWIG_IsOK(ecode2
)) {
7794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7796 arg2
= static_cast< long >(val2
);
7798 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7799 if (!SWIG_IsOK(ecode3
)) {
7800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7802 arg3
= static_cast< bool >(val3
);
7805 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7806 if (!SWIG_IsOK(ecode4
)) {
7807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7809 arg4
= static_cast< int >(val4
);
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7826 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
= 0;
7828 wxDialog
*arg1
= (wxDialog
*) 0 ;
7830 wxStdDialogButtonSizer
*result
= 0 ;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7837 char * kwnames
[] = {
7838 (char *) "self",(char *) "flags", NULL
7841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7843 if (!SWIG_IsOK(res1
)) {
7844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7846 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7847 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7848 if (!SWIG_IsOK(ecode2
)) {
7849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7851 arg2
= static_cast< long >(val2
);
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7865 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7866 PyObject
*resultobj
= 0;
7867 wxDialog
*arg1
= (wxDialog
*) 0 ;
7871 PyObject
*swig_obj
[1] ;
7873 if (!args
) SWIG_fail
;
7875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7876 if (!SWIG_IsOK(res1
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7879 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7895 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7896 PyObject
*resultobj
= 0;
7897 wxDialog
*arg1
= (wxDialog
*) 0 ;
7901 PyObject
*swig_obj
[1] ;
7903 if (!args
) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7909 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 result
= (int)(arg1
)->ShowModal();
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= SWIG_From_int(static_cast< int >(result
));
7923 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
= 0;
7925 wxDialog
*arg1
= (wxDialog
*) 0 ;
7931 PyObject
* obj0
= 0 ;
7932 PyObject
* obj1
= 0 ;
7933 char * kwnames
[] = {
7934 (char *) "self",(char *) "retCode", NULL
7937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7939 if (!SWIG_IsOK(res1
)) {
7940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7942 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7944 if (!SWIG_IsOK(ecode2
)) {
7945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7947 arg2
= static_cast< int >(val2
);
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 (arg1
)->EndModal(arg2
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= SWIG_Py_Void();
7961 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
= 0;
7963 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7964 SwigValueWrapper
<wxVisualAttributes
> result
;
7967 PyObject
* obj0
= 0 ;
7968 char * kwnames
[] = {
7969 (char *) "variant", NULL
7972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7974 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7975 if (!SWIG_IsOK(ecode1
)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7978 arg1
= static_cast< wxWindowVariant
>(val1
);
7981 if (!wxPyCheckForApp()) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7994 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7997 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7998 return SWIG_Py_Void();
8001 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8002 return SWIG_Python_InitShadowInstance(args
);
8005 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
= 0;
8007 wxWindow
*arg1
= (wxWindow
*) 0 ;
8008 int arg2
= (int) (int)-1 ;
8009 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8010 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8011 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8012 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8013 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8014 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8015 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8016 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8017 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8018 wxMiniFrame
*result
= 0 ;
8023 bool temp3
= false ;
8028 bool temp7
= false ;
8029 PyObject
* obj0
= 0 ;
8030 PyObject
* obj1
= 0 ;
8031 PyObject
* obj2
= 0 ;
8032 PyObject
* obj3
= 0 ;
8033 PyObject
* obj4
= 0 ;
8034 PyObject
* obj5
= 0 ;
8035 PyObject
* obj6
= 0 ;
8036 char * kwnames
[] = {
8037 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8042 if (!SWIG_IsOK(res1
)) {
8043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8045 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8048 if (!SWIG_IsOK(ecode2
)) {
8049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8051 arg2
= static_cast< int >(val2
);
8055 arg3
= wxString_in_helper(obj2
);
8056 if (arg3
== NULL
) SWIG_fail
;
8063 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8069 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8073 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8074 if (!SWIG_IsOK(ecode6
)) {
8075 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8077 arg6
= static_cast< long >(val6
);
8081 arg7
= wxString_in_helper(obj6
);
8082 if (arg7
== NULL
) SWIG_fail
;
8087 if (!wxPyCheckForApp()) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8116 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8117 PyObject
*resultobj
= 0;
8118 wxMiniFrame
*result
= 0 ;
8120 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8122 if (!wxPyCheckForApp()) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 result
= (wxMiniFrame
*)new wxMiniFrame();
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8135 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
= 0;
8137 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8138 wxWindow
*arg2
= (wxWindow
*) 0 ;
8139 int arg3
= (int) (int)-1 ;
8140 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8141 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8142 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8143 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8144 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8145 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8146 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8147 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8148 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8156 bool temp4
= false ;
8161 bool temp8
= false ;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8164 PyObject
* obj2
= 0 ;
8165 PyObject
* obj3
= 0 ;
8166 PyObject
* obj4
= 0 ;
8167 PyObject
* obj5
= 0 ;
8168 PyObject
* obj6
= 0 ;
8169 PyObject
* obj7
= 0 ;
8170 char * kwnames
[] = {
8171 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8176 if (!SWIG_IsOK(res1
)) {
8177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8179 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8180 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8181 if (!SWIG_IsOK(res2
)) {
8182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8184 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8187 if (!SWIG_IsOK(ecode3
)) {
8188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8190 arg3
= static_cast< int >(val3
);
8194 arg4
= wxString_in_helper(obj3
);
8195 if (arg4
== NULL
) SWIG_fail
;
8202 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8208 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8212 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8213 if (!SWIG_IsOK(ecode7
)) {
8214 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8216 arg7
= static_cast< long >(val7
);
8220 arg8
= wxString_in_helper(obj7
);
8221 if (arg8
== NULL
) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8256 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8258 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8259 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8260 return SWIG_Py_Void();
8263 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8264 return SWIG_Python_InitShadowInstance(args
);
8267 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
= 0;
8269 wxBitmap
*arg1
= 0 ;
8270 wxWindow
*arg2
= (wxWindow
*) 0 ;
8272 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8273 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8274 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8275 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8276 long arg6
= (long) wxNO_BORDER
;
8277 wxSplashScreenWindow
*result
= 0 ;
8288 PyObject
* obj0
= 0 ;
8289 PyObject
* obj1
= 0 ;
8290 PyObject
* obj2
= 0 ;
8291 PyObject
* obj3
= 0 ;
8292 PyObject
* obj4
= 0 ;
8293 PyObject
* obj5
= 0 ;
8294 char * kwnames
[] = {
8295 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8299 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8300 if (!SWIG_IsOK(res1
)) {
8301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8306 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8308 if (!SWIG_IsOK(res2
)) {
8309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8311 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8313 if (!SWIG_IsOK(ecode3
)) {
8314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8316 arg3
= static_cast< int >(val3
);
8320 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8326 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8330 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8331 if (!SWIG_IsOK(ecode6
)) {
8332 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8334 arg6
= static_cast< long >(val6
);
8337 if (!wxPyCheckForApp()) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8340 wxPyEndAllowThreads(__tstate
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8350 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
= 0;
8352 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8353 wxBitmap
*arg2
= 0 ;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8360 char * kwnames
[] = {
8361 (char *) "self",(char *) "bitmap", NULL
8364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8366 if (!SWIG_IsOK(res1
)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8369 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8371 if (!SWIG_IsOK(res2
)) {
8372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8377 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= SWIG_Py_Void();
8391 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8392 PyObject
*resultobj
= 0;
8393 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8394 wxBitmap
*result
= 0 ;
8397 PyObject
*swig_obj
[1] ;
8399 if (!args
) SWIG_fail
;
8401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8402 if (!SWIG_IsOK(res1
)) {
8403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8405 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8410 result
= (wxBitmap
*) &_result_ref
;
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8416 wxBitmap
* resultptr
= new wxBitmap(*result
);
8417 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8425 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8428 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8429 return SWIG_Py_Void();
8432 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8433 return SWIG_Python_InitShadowInstance(args
);
8436 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
= 0;
8438 wxBitmap
*arg1
= 0 ;
8441 wxWindow
*arg4
= (wxWindow
*) 0 ;
8442 int arg5
= (int) -1 ;
8443 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8444 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8445 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8446 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8447 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8448 wxSplashScreen
*result
= 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 PyObject
* obj2
= 0 ;
8466 PyObject
* obj3
= 0 ;
8467 PyObject
* obj4
= 0 ;
8468 PyObject
* obj5
= 0 ;
8469 PyObject
* obj6
= 0 ;
8470 PyObject
* obj7
= 0 ;
8471 char * kwnames
[] = {
8472 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8476 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8477 if (!SWIG_IsOK(res1
)) {
8478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8483 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8484 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8485 if (!SWIG_IsOK(ecode2
)) {
8486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8488 arg2
= static_cast< long >(val2
);
8489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8490 if (!SWIG_IsOK(ecode3
)) {
8491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8493 arg3
= static_cast< int >(val3
);
8494 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8495 if (!SWIG_IsOK(res4
)) {
8496 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8498 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8500 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8501 if (!SWIG_IsOK(ecode5
)) {
8502 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8504 arg5
= static_cast< int >(val5
);
8509 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8515 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8519 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8520 if (!SWIG_IsOK(ecode8
)) {
8521 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8523 arg8
= static_cast< long >(val8
);
8526 if (!wxPyCheckForApp()) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8539 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8540 PyObject
*resultobj
= 0;
8541 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8545 PyObject
*swig_obj
[1] ;
8547 if (!args
) SWIG_fail
;
8549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8550 if (!SWIG_IsOK(res1
)) {
8551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8553 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= SWIG_From_long(static_cast< long >(result
));
8567 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8568 PyObject
*resultobj
= 0;
8569 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8570 wxSplashScreenWindow
*result
= 0 ;
8573 PyObject
*swig_obj
[1] ;
8575 if (!args
) SWIG_fail
;
8577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8578 if (!SWIG_IsOK(res1
)) {
8579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8581 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8595 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8596 PyObject
*resultobj
= 0;
8597 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8601 PyObject
*swig_obj
[1] ;
8603 if (!args
) SWIG_fail
;
8605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8606 if (!SWIG_IsOK(res1
)) {
8607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8609 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= SWIG_From_int(static_cast< int >(result
));
8623 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8626 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8627 return SWIG_Py_Void();
8630 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8631 return SWIG_Python_InitShadowInstance(args
);
8634 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
= 0;
8636 wxWindow
*arg1
= (wxWindow
*) 0 ;
8637 int arg2
= (int) -1 ;
8638 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8639 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8640 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8641 wxStatusBar
*result
= 0 ;
8648 bool temp4
= false ;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8651 PyObject
* obj2
= 0 ;
8652 PyObject
* obj3
= 0 ;
8653 char * kwnames
[] = {
8654 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8659 if (!SWIG_IsOK(res1
)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8662 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8665 if (!SWIG_IsOK(ecode2
)) {
8666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8668 arg2
= static_cast< int >(val2
);
8671 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8672 if (!SWIG_IsOK(ecode3
)) {
8673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8675 arg3
= static_cast< long >(val3
);
8679 arg4
= wxString_in_helper(obj3
);
8680 if (arg4
== NULL
) SWIG_fail
;
8685 if (!wxPyCheckForApp()) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8688 wxPyEndAllowThreads(__tstate
);
8689 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8706 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8707 PyObject
*resultobj
= 0;
8708 wxStatusBar
*result
= 0 ;
8710 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8712 if (!wxPyCheckForApp()) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 result
= (wxStatusBar
*)new wxStatusBar();
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8725 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= 0;
8727 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8728 wxWindow
*arg2
= (wxWindow
*) 0 ;
8729 int arg3
= (int) -1 ;
8730 long arg4
= (long) wxST_SIZEGRIP
;
8731 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8732 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8742 bool temp5
= false ;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8745 PyObject
* obj2
= 0 ;
8746 PyObject
* obj3
= 0 ;
8747 PyObject
* obj4
= 0 ;
8748 char * kwnames
[] = {
8749 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8754 if (!SWIG_IsOK(res1
)) {
8755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8757 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8758 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8759 if (!SWIG_IsOK(res2
)) {
8760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8762 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8765 if (!SWIG_IsOK(ecode3
)) {
8766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8768 arg3
= static_cast< int >(val3
);
8771 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8772 if (!SWIG_IsOK(ecode4
)) {
8773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8775 arg4
= static_cast< long >(val4
);
8779 arg5
= wxString_in_helper(obj4
);
8780 if (arg5
== NULL
) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8807 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
= 0;
8809 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8810 int arg2
= (int) 1 ;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8817 char * kwnames
[] = {
8818 (char *) "self",(char *) "number", NULL
8821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8823 if (!SWIG_IsOK(res1
)) {
8824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8826 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8829 if (!SWIG_IsOK(ecode2
)) {
8830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8832 arg2
= static_cast< int >(val2
);
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 (arg1
)->SetFieldsCount(arg2
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_Py_Void();
8847 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8848 PyObject
*resultobj
= 0;
8849 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8853 PyObject
*swig_obj
[1] ;
8855 if (!args
) SWIG_fail
;
8857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8858 if (!SWIG_IsOK(res1
)) {
8859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8861 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= SWIG_From_int(static_cast< int >(result
));
8875 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
= 0;
8877 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8878 wxString
*arg2
= 0 ;
8879 int arg3
= (int) 0 ;
8882 bool temp2
= false ;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8887 PyObject
* obj2
= 0 ;
8888 char * kwnames
[] = {
8889 (char *) "self",(char *) "text",(char *) "number", NULL
8892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8894 if (!SWIG_IsOK(res1
)) {
8895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8897 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8899 arg2
= wxString_in_helper(obj1
);
8900 if (arg2
== NULL
) SWIG_fail
;
8904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8905 if (!SWIG_IsOK(ecode3
)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8908 arg3
= static_cast< int >(val3
);
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_Py_Void();
8931 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
= 0;
8933 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8934 int arg2
= (int) 0 ;
8940 PyObject
* obj0
= 0 ;
8941 PyObject
* obj1
= 0 ;
8942 char * kwnames
[] = {
8943 (char *) "self",(char *) "number", NULL
8946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8948 if (!SWIG_IsOK(res1
)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8951 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8954 if (!SWIG_IsOK(ecode2
)) {
8955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8957 arg2
= static_cast< int >(val2
);
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8978 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
= 0;
8980 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8981 wxString
*arg2
= 0 ;
8982 int arg3
= (int) 0 ;
8985 bool temp2
= false ;
8988 PyObject
* obj0
= 0 ;
8989 PyObject
* obj1
= 0 ;
8990 PyObject
* obj2
= 0 ;
8991 char * kwnames
[] = {
8992 (char *) "self",(char *) "text",(char *) "number", NULL
8995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8997 if (!SWIG_IsOK(res1
)) {
8998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9000 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9002 arg2
= wxString_in_helper(obj1
);
9003 if (arg2
== NULL
) SWIG_fail
;
9007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9008 if (!SWIG_IsOK(ecode3
)) {
9009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9011 arg3
= static_cast< int >(val3
);
9014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_Py_Void();
9034 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
= 0;
9036 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9037 int arg2
= (int) 0 ;
9042 PyObject
* obj0
= 0 ;
9043 PyObject
* obj1
= 0 ;
9044 char * kwnames
[] = {
9045 (char *) "self",(char *) "number", NULL
9048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9050 if (!SWIG_IsOK(res1
)) {
9051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9053 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9056 if (!SWIG_IsOK(ecode2
)) {
9057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9059 arg2
= static_cast< int >(val2
);
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 (arg1
)->PopStatusText(arg2
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= SWIG_Py_Void();
9074 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9075 PyObject
*resultobj
= 0;
9076 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9078 int *arg3
= (int *) 0 ;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9083 char * kwnames
[] = {
9084 (char *) "self",(char *) "widths", NULL
9087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9089 if (!SWIG_IsOK(res1
)) {
9090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9092 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9094 arg2
= PyList_Size(obj1
);
9095 arg3
= int_LIST_helper(obj1
);
9096 if (arg3
== NULL
) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 resultobj
= SWIG_Py_Void();
9106 if (arg3
) delete [] arg3
;
9111 if (arg3
) delete [] arg3
;
9117 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
= 0;
9119 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9121 int *arg3
= (int *) 0 ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9126 char * kwnames
[] = {
9127 (char *) "self",(char *) "styles", NULL
9130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9132 if (!SWIG_IsOK(res1
)) {
9133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9135 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9137 arg2
= PyList_Size(obj1
);
9138 arg3
= int_LIST_helper(obj1
);
9139 if (arg3
== NULL
) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 resultobj
= SWIG_Py_Void();
9149 if (arg3
) delete [] arg3
;
9154 if (arg3
) delete [] arg3
;
9160 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
= 0;
9162 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9170 PyObject
* obj1
= 0 ;
9171 char * kwnames
[] = {
9172 (char *) "self",(char *) "i", NULL
9175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9177 if (!SWIG_IsOK(res1
)) {
9178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9180 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9182 if (!SWIG_IsOK(ecode2
)) {
9183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9185 arg2
= static_cast< int >(val2
);
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9199 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
= 0;
9201 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9207 PyObject
* obj0
= 0 ;
9208 PyObject
* obj1
= 0 ;
9209 char * kwnames
[] = {
9210 (char *) "self",(char *) "height", NULL
9213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9215 if (!SWIG_IsOK(res1
)) {
9216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9218 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9220 if (!SWIG_IsOK(ecode2
)) {
9221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9223 arg2
= static_cast< int >(val2
);
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 (arg1
)->SetMinHeight(arg2
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= SWIG_Py_Void();
9237 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9238 PyObject
*resultobj
= 0;
9239 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9243 PyObject
*swig_obj
[1] ;
9245 if (!args
) SWIG_fail
;
9247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9248 if (!SWIG_IsOK(res1
)) {
9249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9251 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 resultobj
= SWIG_From_int(static_cast< int >(result
));
9265 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9266 PyObject
*resultobj
= 0;
9267 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9271 PyObject
*swig_obj
[1] ;
9273 if (!args
) SWIG_fail
;
9275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9276 if (!SWIG_IsOK(res1
)) {
9277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9279 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9286 resultobj
= SWIG_From_int(static_cast< int >(result
));
9293 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
= 0;
9295 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9296 SwigValueWrapper
<wxVisualAttributes
> result
;
9299 PyObject
* obj0
= 0 ;
9300 char * kwnames
[] = {
9301 (char *) "variant", NULL
9304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9306 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9307 if (!SWIG_IsOK(ecode1
)) {
9308 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9310 arg1
= static_cast< wxWindowVariant
>(val1
);
9313 if (!wxPyCheckForApp()) SWIG_fail
;
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9326 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9329 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9330 return SWIG_Py_Void();
9333 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9334 return SWIG_Python_InitShadowInstance(args
);
9337 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9338 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9343 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9344 PyObject
*pyobj
= 0;
9348 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9350 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9357 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
= 0;
9359 wxWindow
*arg1
= (wxWindow
*) 0 ;
9360 int arg2
= (int) -1 ;
9361 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9362 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9363 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9364 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9365 long arg5
= (long) wxSP_3D
;
9366 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9367 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9368 wxSplitterWindow
*result
= 0 ;
9377 bool temp6
= false ;
9378 PyObject
* obj0
= 0 ;
9379 PyObject
* obj1
= 0 ;
9380 PyObject
* obj2
= 0 ;
9381 PyObject
* obj3
= 0 ;
9382 PyObject
* obj4
= 0 ;
9383 PyObject
* obj5
= 0 ;
9384 char * kwnames
[] = {
9385 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9390 if (!SWIG_IsOK(res1
)) {
9391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9393 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9396 if (!SWIG_IsOK(ecode2
)) {
9397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9399 arg2
= static_cast< int >(val2
);
9404 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9410 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9414 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9415 if (!SWIG_IsOK(ecode5
)) {
9416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9418 arg5
= static_cast< long >(val5
);
9422 arg6
= wxString_in_helper(obj5
);
9423 if (arg6
== NULL
) SWIG_fail
;
9428 if (!wxPyCheckForApp()) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9449 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9450 PyObject
*resultobj
= 0;
9451 wxSplitterWindow
*result
= 0 ;
9453 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9455 if (!wxPyCheckForApp()) SWIG_fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9468 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
= 0;
9470 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9471 wxWindow
*arg2
= (wxWindow
*) 0 ;
9472 int arg3
= (int) -1 ;
9473 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9474 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9475 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9476 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9477 long arg6
= (long) wxSP_3D
;
9478 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9479 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9491 bool temp7
= false ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9494 PyObject
* obj2
= 0 ;
9495 PyObject
* obj3
= 0 ;
9496 PyObject
* obj4
= 0 ;
9497 PyObject
* obj5
= 0 ;
9498 PyObject
* obj6
= 0 ;
9499 char * kwnames
[] = {
9500 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9505 if (!SWIG_IsOK(res1
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9508 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9510 if (!SWIG_IsOK(res2
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9513 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9516 if (!SWIG_IsOK(ecode3
)) {
9517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9519 arg3
= static_cast< int >(val3
);
9524 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9530 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9534 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9535 if (!SWIG_IsOK(ecode6
)) {
9536 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9538 arg6
= static_cast< long >(val6
);
9542 arg7
= wxString_in_helper(obj6
);
9543 if (arg7
== NULL
) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9570 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9571 PyObject
*resultobj
= 0;
9572 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9573 wxWindow
*result
= 0 ;
9576 PyObject
*swig_obj
[1] ;
9578 if (!args
) SWIG_fail
;
9580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9581 if (!SWIG_IsOK(res1
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9584 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= wxPyMake_wxObject(result
, 0);
9600 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9601 PyObject
*resultobj
= 0;
9602 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9603 wxWindow
*result
= 0 ;
9606 PyObject
*swig_obj
[1] ;
9608 if (!args
) SWIG_fail
;
9610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9611 if (!SWIG_IsOK(res1
)) {
9612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9614 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= wxPyMake_wxObject(result
, 0);
9630 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
= 0;
9632 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9640 char * kwnames
[] = {
9641 (char *) "self",(char *) "mode", NULL
9644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9646 if (!SWIG_IsOK(res1
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9649 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9651 if (!SWIG_IsOK(ecode2
)) {
9652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9654 arg2
= static_cast< int >(val2
);
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 (arg1
)->SetSplitMode(arg2
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_Py_Void();
9668 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9669 PyObject
*resultobj
= 0;
9670 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9674 PyObject
*swig_obj
[1] ;
9676 if (!args
) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9682 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9685 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= SWIG_From_int(static_cast< int >(result
));
9696 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
= 0;
9698 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9699 wxWindow
*arg2
= (wxWindow
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9706 char * kwnames
[] = {
9707 (char *) "self",(char *) "window", NULL
9710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9712 if (!SWIG_IsOK(res1
)) {
9713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9715 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9717 if (!SWIG_IsOK(res2
)) {
9718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9720 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 (arg1
)->Initialize(arg2
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_Py_Void();
9734 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
= 0;
9736 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9737 wxWindow
*arg2
= (wxWindow
*) 0 ;
9738 wxWindow
*arg3
= (wxWindow
*) 0 ;
9739 int arg4
= (int) 0 ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9751 PyObject
* obj2
= 0 ;
9752 PyObject
* obj3
= 0 ;
9753 char * kwnames
[] = {
9754 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9759 if (!SWIG_IsOK(res1
)) {
9760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9762 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9764 if (!SWIG_IsOK(res2
)) {
9765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9767 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9768 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9769 if (!SWIG_IsOK(res3
)) {
9770 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9772 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9774 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9775 if (!SWIG_IsOK(ecode4
)) {
9776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9778 arg4
= static_cast< int >(val4
);
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9795 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
= 0;
9797 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9798 wxWindow
*arg2
= (wxWindow
*) 0 ;
9799 wxWindow
*arg3
= (wxWindow
*) 0 ;
9800 int arg4
= (int) 0 ;
9810 PyObject
* obj0
= 0 ;
9811 PyObject
* obj1
= 0 ;
9812 PyObject
* obj2
= 0 ;
9813 PyObject
* obj3
= 0 ;
9814 char * kwnames
[] = {
9815 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9820 if (!SWIG_IsOK(res1
)) {
9821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9823 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9824 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9825 if (!SWIG_IsOK(res2
)) {
9826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9828 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9829 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9830 if (!SWIG_IsOK(res3
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9833 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9836 if (!SWIG_IsOK(ecode4
)) {
9837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9839 arg4
= static_cast< int >(val4
);
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9856 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
= 0;
9858 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9859 wxWindow
*arg2
= (wxWindow
*) NULL
;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9867 char * kwnames
[] = {
9868 (char *) "self",(char *) "toRemove", NULL
9871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9873 if (!SWIG_IsOK(res1
)) {
9874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9876 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9879 if (!SWIG_IsOK(res2
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (bool)(arg1
)->Unsplit(arg2
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9899 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
= 0;
9901 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9902 wxWindow
*arg2
= (wxWindow
*) 0 ;
9903 wxWindow
*arg3
= (wxWindow
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9912 PyObject
* obj1
= 0 ;
9913 PyObject
* obj2
= 0 ;
9914 char * kwnames
[] = {
9915 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9920 if (!SWIG_IsOK(res1
)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9923 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9924 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9925 if (!SWIG_IsOK(res2
)) {
9926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9928 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9929 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9930 if (!SWIG_IsOK(res3
)) {
9931 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9933 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9949 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9950 PyObject
*resultobj
= 0;
9951 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9954 PyObject
*swig_obj
[1] ;
9956 if (!args
) SWIG_fail
;
9958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9959 if (!SWIG_IsOK(res1
)) {
9960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9962 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 (arg1
)->UpdateSize();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_Py_Void();
9976 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9977 PyObject
*resultobj
= 0;
9978 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9982 PyObject
*swig_obj
[1] ;
9984 if (!args
) SWIG_fail
;
9986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9987 if (!SWIG_IsOK(res1
)) {
9988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9990 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10006 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
= 0;
10008 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10014 PyObject
* obj0
= 0 ;
10015 PyObject
* obj1
= 0 ;
10016 char * kwnames
[] = {
10017 (char *) "self",(char *) "width", NULL
10020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10022 if (!SWIG_IsOK(res1
)) {
10023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10025 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10027 if (!SWIG_IsOK(ecode2
)) {
10028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10030 arg2
= static_cast< int >(val2
);
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 (arg1
)->SetSashSize(arg2
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= SWIG_Py_Void();
10044 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
*resultobj
= 0;
10046 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10052 PyObject
* obj0
= 0 ;
10053 PyObject
* obj1
= 0 ;
10054 char * kwnames
[] = {
10055 (char *) "self",(char *) "width", NULL
10058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10060 if (!SWIG_IsOK(res1
)) {
10061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10063 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10065 if (!SWIG_IsOK(ecode2
)) {
10066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10068 arg2
= static_cast< int >(val2
);
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 (arg1
)->SetBorderSize(arg2
);
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_Py_Void();
10082 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10083 PyObject
*resultobj
= 0;
10084 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10088 PyObject
*swig_obj
[1] ;
10090 if (!args
) SWIG_fail
;
10091 swig_obj
[0] = args
;
10092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10093 if (!SWIG_IsOK(res1
)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10096 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= SWIG_From_int(static_cast< int >(result
));
10110 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10111 PyObject
*resultobj
= 0;
10112 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10116 PyObject
*swig_obj
[1] ;
10118 if (!args
) SWIG_fail
;
10119 swig_obj
[0] = args
;
10120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10121 if (!SWIG_IsOK(res1
)) {
10122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10124 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 resultobj
= SWIG_From_int(static_cast< int >(result
));
10138 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
*resultobj
= 0;
10140 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10142 bool arg3
= (bool) true ;
10149 PyObject
* obj0
= 0 ;
10150 PyObject
* obj1
= 0 ;
10151 PyObject
* obj2
= 0 ;
10152 char * kwnames
[] = {
10153 (char *) "self",(char *) "position",(char *) "redraw", NULL
10156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10158 if (!SWIG_IsOK(res1
)) {
10159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10161 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10163 if (!SWIG_IsOK(ecode2
)) {
10164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10166 arg2
= static_cast< int >(val2
);
10168 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10169 if (!SWIG_IsOK(ecode3
)) {
10170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10172 arg3
= static_cast< bool >(val3
);
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 (arg1
)->SetSashPosition(arg2
,arg3
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= SWIG_Py_Void();
10187 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10188 PyObject
*resultobj
= 0;
10189 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10193 PyObject
*swig_obj
[1] ;
10195 if (!args
) SWIG_fail
;
10196 swig_obj
[0] = args
;
10197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10201 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_From_int(static_cast< int >(result
));
10215 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
= 0;
10217 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "self",(char *) "gravity", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10231 if (!SWIG_IsOK(res1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10234 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10235 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10236 if (!SWIG_IsOK(ecode2
)) {
10237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10239 arg2
= static_cast< double >(val2
);
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 (arg1
)->SetSashGravity(arg2
);
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 resultobj
= SWIG_Py_Void();
10253 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10254 PyObject
*resultobj
= 0;
10255 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10259 PyObject
*swig_obj
[1] ;
10261 if (!args
) SWIG_fail
;
10262 swig_obj
[0] = args
;
10263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10264 if (!SWIG_IsOK(res1
)) {
10265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10267 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_From_double(static_cast< double >(result
));
10281 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
= 0;
10283 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 char * kwnames
[] = {
10292 (char *) "self",(char *) "min", NULL
10295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10297 if (!SWIG_IsOK(res1
)) {
10298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10300 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10302 if (!SWIG_IsOK(ecode2
)) {
10303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10305 arg2
= static_cast< int >(val2
);
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->SetMinimumPaneSize(arg2
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= SWIG_Py_Void();
10319 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10320 PyObject
*resultobj
= 0;
10321 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10325 PyObject
*swig_obj
[1] ;
10327 if (!args
) SWIG_fail
;
10328 swig_obj
[0] = args
;
10329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10330 if (!SWIG_IsOK(res1
)) {
10331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10333 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= SWIG_From_int(static_cast< int >(result
));
10347 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
= 0;
10349 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10352 int arg4
= (int) 5 ;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 PyObject
* obj2
= 0 ;
10365 PyObject
* obj3
= 0 ;
10366 char * kwnames
[] = {
10367 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10372 if (!SWIG_IsOK(res1
)) {
10373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10375 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10377 if (!SWIG_IsOK(ecode2
)) {
10378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10380 arg2
= static_cast< int >(val2
);
10381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10382 if (!SWIG_IsOK(ecode3
)) {
10383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10385 arg3
= static_cast< int >(val3
);
10387 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10388 if (!SWIG_IsOK(ecode4
)) {
10389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10391 arg4
= static_cast< int >(val4
);
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10408 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10409 PyObject
*resultobj
= 0;
10410 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10413 PyObject
*swig_obj
[1] ;
10415 if (!args
) SWIG_fail
;
10416 swig_obj
[0] = args
;
10417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10418 if (!SWIG_IsOK(res1
)) {
10419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10421 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 (arg1
)->SizeWindows();
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_Py_Void();
10435 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
= 0;
10437 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 char * kwnames
[] = {
10446 (char *) "self",(char *) "needUpdating", NULL
10449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10451 if (!SWIG_IsOK(res1
)) {
10452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10454 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10455 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10456 if (!SWIG_IsOK(ecode2
)) {
10457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10459 arg2
= static_cast< bool >(val2
);
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 (arg1
)->SetNeedUpdating(arg2
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= SWIG_Py_Void();
10473 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10474 PyObject
*resultobj
= 0;
10475 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10479 PyObject
*swig_obj
[1] ;
10481 if (!args
) SWIG_fail
;
10482 swig_obj
[0] = args
;
10483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10484 if (!SWIG_IsOK(res1
)) {
10485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10487 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10503 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
= 0;
10505 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10506 SwigValueWrapper
<wxVisualAttributes
> result
;
10509 PyObject
* obj0
= 0 ;
10510 char * kwnames
[] = {
10511 (char *) "variant", NULL
10514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10516 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10517 if (!SWIG_IsOK(ecode1
)) {
10518 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10520 arg1
= static_cast< wxWindowVariant
>(val1
);
10523 if (!wxPyCheckForApp()) SWIG_fail
;
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10536 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10539 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10540 return SWIG_Py_Void();
10543 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10544 return SWIG_Python_InitShadowInstance(args
);
10547 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
= 0;
10549 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10550 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10551 wxSplitterEvent
*result
= 0 ;
10556 PyObject
* obj0
= 0 ;
10557 PyObject
* obj1
= 0 ;
10558 char * kwnames
[] = {
10559 (char *) "type",(char *) "splitter", NULL
10562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10564 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10565 if (!SWIG_IsOK(ecode1
)) {
10566 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10568 arg1
= static_cast< wxEventType
>(val1
);
10571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10572 if (!SWIG_IsOK(res2
)) {
10573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10575 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10590 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
= 0;
10592 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 char * kwnames
[] = {
10601 (char *) "self",(char *) "pos", NULL
10604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10606 if (!SWIG_IsOK(res1
)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10609 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10611 if (!SWIG_IsOK(ecode2
)) {
10612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10614 arg2
= static_cast< int >(val2
);
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 (arg1
)->SetSashPosition(arg2
);
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_Py_Void();
10628 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10629 PyObject
*resultobj
= 0;
10630 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10634 PyObject
*swig_obj
[1] ;
10636 if (!args
) SWIG_fail
;
10637 swig_obj
[0] = args
;
10638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10639 if (!SWIG_IsOK(res1
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10642 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 resultobj
= SWIG_From_int(static_cast< int >(result
));
10656 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10657 PyObject
*resultobj
= 0;
10658 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10659 wxWindow
*result
= 0 ;
10662 PyObject
*swig_obj
[1] ;
10664 if (!args
) SWIG_fail
;
10665 swig_obj
[0] = args
;
10666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10667 if (!SWIG_IsOK(res1
)) {
10668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10670 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= wxPyMake_wxObject(result
, 0);
10686 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10687 PyObject
*resultobj
= 0;
10688 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10692 PyObject
*swig_obj
[1] ;
10694 if (!args
) SWIG_fail
;
10695 swig_obj
[0] = args
;
10696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10697 if (!SWIG_IsOK(res1
)) {
10698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10700 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10707 resultobj
= SWIG_From_int(static_cast< int >(result
));
10714 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10715 PyObject
*resultobj
= 0;
10716 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10720 PyObject
*swig_obj
[1] ;
10722 if (!args
) SWIG_fail
;
10723 swig_obj
[0] = args
;
10724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10725 if (!SWIG_IsOK(res1
)) {
10726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10728 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_From_int(static_cast< int >(result
));
10742 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10745 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10746 return SWIG_Py_Void();
10749 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10750 return SWIG_Python_InitShadowInstance(args
);
10753 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10754 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10759 SWIGINTERN PyObject
*SashNameStr_get(void) {
10760 PyObject
*pyobj
= 0;
10764 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10766 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10773 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10774 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10779 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10780 PyObject
*pyobj
= 0;
10784 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10786 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10793 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
= 0;
10795 wxWindow
*arg1
= (wxWindow
*) 0 ;
10796 int arg2
= (int) -1 ;
10797 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10798 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10799 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10800 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10801 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10802 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10803 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10804 wxSashWindow
*result
= 0 ;
10813 bool temp6
= false ;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 PyObject
* obj2
= 0 ;
10817 PyObject
* obj3
= 0 ;
10818 PyObject
* obj4
= 0 ;
10819 PyObject
* obj5
= 0 ;
10820 char * kwnames
[] = {
10821 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10826 if (!SWIG_IsOK(res1
)) {
10827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10829 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10832 if (!SWIG_IsOK(ecode2
)) {
10833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10835 arg2
= static_cast< int >(val2
);
10840 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10846 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10850 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10851 if (!SWIG_IsOK(ecode5
)) {
10852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10854 arg5
= static_cast< long >(val5
);
10858 arg6
= wxString_in_helper(obj5
);
10859 if (arg6
== NULL
) SWIG_fail
;
10864 if (!wxPyCheckForApp()) SWIG_fail
;
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10885 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10886 PyObject
*resultobj
= 0;
10887 wxSashWindow
*result
= 0 ;
10889 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10891 if (!wxPyCheckForApp()) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (wxSashWindow
*)new wxSashWindow();
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10904 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
= 0;
10906 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10907 wxWindow
*arg2
= (wxWindow
*) 0 ;
10908 int arg3
= (int) -1 ;
10909 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10910 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10911 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10912 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10913 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10914 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10915 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10927 bool temp7
= false ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 PyObject
* obj2
= 0 ;
10931 PyObject
* obj3
= 0 ;
10932 PyObject
* obj4
= 0 ;
10933 PyObject
* obj5
= 0 ;
10934 PyObject
* obj6
= 0 ;
10935 char * kwnames
[] = {
10936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10941 if (!SWIG_IsOK(res1
)) {
10942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10944 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10946 if (!SWIG_IsOK(res2
)) {
10947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10949 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10951 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10952 if (!SWIG_IsOK(ecode3
)) {
10953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10955 arg3
= static_cast< int >(val3
);
10960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10970 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10971 if (!SWIG_IsOK(ecode6
)) {
10972 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10974 arg6
= static_cast< long >(val6
);
10978 arg7
= wxString_in_helper(obj6
);
10979 if (arg7
== NULL
) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11006 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
= 0;
11008 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11009 wxSashEdgePosition arg2
;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 PyObject
* obj2
= 0 ;
11020 char * kwnames
[] = {
11021 (char *) "self",(char *) "edge",(char *) "sash", NULL
11024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11026 if (!SWIG_IsOK(res1
)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11029 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11031 if (!SWIG_IsOK(ecode2
)) {
11032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11034 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11035 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11036 if (!SWIG_IsOK(ecode3
)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11039 arg3
= static_cast< bool >(val3
);
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 (arg1
)->SetSashVisible(arg2
,arg3
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= SWIG_Py_Void();
11053 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
= 0;
11055 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11056 wxSashEdgePosition arg2
;
11062 PyObject
* obj0
= 0 ;
11063 PyObject
* obj1
= 0 ;
11064 char * kwnames
[] = {
11065 (char *) "self",(char *) "edge", NULL
11068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11070 if (!SWIG_IsOK(res1
)) {
11071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11073 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11075 if (!SWIG_IsOK(ecode2
)) {
11076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11078 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11094 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
= 0;
11096 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11097 wxSashEdgePosition arg2
;
11105 PyObject
* obj0
= 0 ;
11106 PyObject
* obj1
= 0 ;
11107 PyObject
* obj2
= 0 ;
11108 char * kwnames
[] = {
11109 (char *) "self",(char *) "edge",(char *) "border", NULL
11112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11114 if (!SWIG_IsOK(res1
)) {
11115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11117 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11119 if (!SWIG_IsOK(ecode2
)) {
11120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11122 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11123 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11124 if (!SWIG_IsOK(ecode3
)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11127 arg3
= static_cast< bool >(val3
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 (arg1
)->SetSashBorder(arg2
,arg3
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= SWIG_Py_Void();
11141 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
= 0;
11143 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11144 wxSashEdgePosition arg2
;
11150 PyObject
* obj0
= 0 ;
11151 PyObject
* obj1
= 0 ;
11152 char * kwnames
[] = {
11153 (char *) "self",(char *) "edge", NULL
11156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11158 if (!SWIG_IsOK(res1
)) {
11159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11161 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11163 if (!SWIG_IsOK(ecode2
)) {
11164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11166 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11182 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
= 0;
11184 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11185 wxSashEdgePosition arg2
;
11191 PyObject
* obj0
= 0 ;
11192 PyObject
* obj1
= 0 ;
11193 char * kwnames
[] = {
11194 (char *) "self",(char *) "edge", NULL
11197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11199 if (!SWIG_IsOK(res1
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11202 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11204 if (!SWIG_IsOK(ecode2
)) {
11205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11207 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= SWIG_From_int(static_cast< int >(result
));
11221 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
= 0;
11223 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11229 PyObject
* obj0
= 0 ;
11230 PyObject
* obj1
= 0 ;
11231 char * kwnames
[] = {
11232 (char *) "self",(char *) "width", NULL
11235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11237 if (!SWIG_IsOK(res1
)) {
11238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11240 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11242 if (!SWIG_IsOK(ecode2
)) {
11243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11245 arg2
= static_cast< int >(val2
);
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 (arg1
)->SetDefaultBorderSize(arg2
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 resultobj
= SWIG_Py_Void();
11259 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11260 PyObject
*resultobj
= 0;
11261 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11265 PyObject
*swig_obj
[1] ;
11267 if (!args
) SWIG_fail
;
11268 swig_obj
[0] = args
;
11269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11270 if (!SWIG_IsOK(res1
)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11273 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_From_int(static_cast< int >(result
));
11287 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
= 0;
11289 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char * kwnames
[] = {
11298 (char *) "self",(char *) "width", NULL
11301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11303 if (!SWIG_IsOK(res1
)) {
11304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11306 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11308 if (!SWIG_IsOK(ecode2
)) {
11309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11311 arg2
= static_cast< int >(val2
);
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 (arg1
)->SetExtraBorderSize(arg2
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_Py_Void();
11325 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11327 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11331 PyObject
*swig_obj
[1] ;
11333 if (!args
) SWIG_fail
;
11334 swig_obj
[0] = args
;
11335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11339 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_From_int(static_cast< int >(result
));
11353 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
= 0;
11355 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 char * kwnames
[] = {
11364 (char *) "self",(char *) "min", NULL
11367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11369 if (!SWIG_IsOK(res1
)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11372 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11374 if (!SWIG_IsOK(ecode2
)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11377 arg2
= static_cast< int >(val2
);
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 (arg1
)->SetMinimumSizeX(arg2
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= SWIG_Py_Void();
11391 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
= 0;
11393 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 char * kwnames
[] = {
11402 (char *) "self",(char *) "min", NULL
11405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11407 if (!SWIG_IsOK(res1
)) {
11408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11410 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11412 if (!SWIG_IsOK(ecode2
)) {
11413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11415 arg2
= static_cast< int >(val2
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 (arg1
)->SetMinimumSizeY(arg2
);
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_Py_Void();
11429 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11430 PyObject
*resultobj
= 0;
11431 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11435 PyObject
*swig_obj
[1] ;
11437 if (!args
) SWIG_fail
;
11438 swig_obj
[0] = args
;
11439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11440 if (!SWIG_IsOK(res1
)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11443 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_From_int(static_cast< int >(result
));
11457 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11458 PyObject
*resultobj
= 0;
11459 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11463 PyObject
*swig_obj
[1] ;
11465 if (!args
) SWIG_fail
;
11466 swig_obj
[0] = args
;
11467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11468 if (!SWIG_IsOK(res1
)) {
11469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11471 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11475 wxPyEndAllowThreads(__tstate
);
11476 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= SWIG_From_int(static_cast< int >(result
));
11485 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
= 0;
11487 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 char * kwnames
[] = {
11496 (char *) "self",(char *) "max", NULL
11499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11501 if (!SWIG_IsOK(res1
)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11504 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11506 if (!SWIG_IsOK(ecode2
)) {
11507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11509 arg2
= static_cast< int >(val2
);
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 (arg1
)->SetMaximumSizeX(arg2
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= SWIG_Py_Void();
11523 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
= 0;
11525 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11531 PyObject
* obj0
= 0 ;
11532 PyObject
* obj1
= 0 ;
11533 char * kwnames
[] = {
11534 (char *) "self",(char *) "max", NULL
11537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11539 if (!SWIG_IsOK(res1
)) {
11540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11542 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11544 if (!SWIG_IsOK(ecode2
)) {
11545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11547 arg2
= static_cast< int >(val2
);
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 (arg1
)->SetMaximumSizeY(arg2
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= SWIG_Py_Void();
11561 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11562 PyObject
*resultobj
= 0;
11563 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11567 PyObject
*swig_obj
[1] ;
11569 if (!args
) SWIG_fail
;
11570 swig_obj
[0] = args
;
11571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11572 if (!SWIG_IsOK(res1
)) {
11573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11575 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_From_int(static_cast< int >(result
));
11589 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11590 PyObject
*resultobj
= 0;
11591 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11595 PyObject
*swig_obj
[1] ;
11597 if (!args
) SWIG_fail
;
11598 swig_obj
[0] = args
;
11599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11600 if (!SWIG_IsOK(res1
)) {
11601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11603 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_From_int(static_cast< int >(result
));
11617 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
= 0;
11619 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11622 int arg4
= (int) 2 ;
11623 wxSashEdgePosition result
;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 PyObject
* obj2
= 0 ;
11635 PyObject
* obj3
= 0 ;
11636 char * kwnames
[] = {
11637 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11642 if (!SWIG_IsOK(res1
)) {
11643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11645 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11647 if (!SWIG_IsOK(ecode2
)) {
11648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11650 arg2
= static_cast< int >(val2
);
11651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11652 if (!SWIG_IsOK(ecode3
)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11655 arg3
= static_cast< int >(val3
);
11657 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11658 if (!SWIG_IsOK(ecode4
)) {
11659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11661 arg4
= static_cast< int >(val4
);
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11669 resultobj
= SWIG_From_int(static_cast< int >(result
));
11676 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11677 PyObject
*resultobj
= 0;
11678 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11681 PyObject
*swig_obj
[1] ;
11683 if (!args
) SWIG_fail
;
11684 swig_obj
[0] = args
;
11685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11686 if (!SWIG_IsOK(res1
)) {
11687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11689 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 (arg1
)->SizeWindows();
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 resultobj
= SWIG_Py_Void();
11703 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11706 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11707 return SWIG_Py_Void();
11710 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11711 return SWIG_Python_InitShadowInstance(args
);
11714 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
= 0;
11716 int arg1
= (int) 0 ;
11717 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11718 wxSashEvent
*result
= 0 ;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 char * kwnames
[] = {
11726 (char *) "id",(char *) "edge", NULL
11729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11731 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11732 if (!SWIG_IsOK(ecode1
)) {
11733 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11735 arg1
= static_cast< int >(val1
);
11738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11739 if (!SWIG_IsOK(ecode2
)) {
11740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11742 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11757 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
= 0;
11759 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11760 wxSashEdgePosition arg2
;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 char * kwnames
[] = {
11768 (char *) "self",(char *) "edge", NULL
11771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11773 if (!SWIG_IsOK(res1
)) {
11774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11776 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11778 if (!SWIG_IsOK(ecode2
)) {
11779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11781 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 (arg1
)->SetEdge(arg2
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_Py_Void();
11795 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11796 PyObject
*resultobj
= 0;
11797 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11798 wxSashEdgePosition result
;
11801 PyObject
*swig_obj
[1] ;
11803 if (!args
) SWIG_fail
;
11804 swig_obj
[0] = args
;
11805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11809 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11813 wxPyEndAllowThreads(__tstate
);
11814 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= SWIG_From_int(static_cast< int >(result
));
11823 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
= 0;
11825 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11830 PyObject
* obj0
= 0 ;
11831 PyObject
* obj1
= 0 ;
11832 char * kwnames
[] = {
11833 (char *) "self",(char *) "rect", NULL
11836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11838 if (!SWIG_IsOK(res1
)) {
11839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11841 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11844 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_Py_Void();
11859 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11860 PyObject
*resultobj
= 0;
11861 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11865 PyObject
*swig_obj
[1] ;
11867 if (!args
) SWIG_fail
;
11868 swig_obj
[0] = args
;
11869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11870 if (!SWIG_IsOK(res1
)) {
11871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11873 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11887 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
= 0;
11889 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11890 wxSashDragStatus arg2
;
11895 PyObject
* obj0
= 0 ;
11896 PyObject
* obj1
= 0 ;
11897 char * kwnames
[] = {
11898 (char *) "self",(char *) "status", NULL
11901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11903 if (!SWIG_IsOK(res1
)) {
11904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11906 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11908 if (!SWIG_IsOK(ecode2
)) {
11909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11911 arg2
= static_cast< wxSashDragStatus
>(val2
);
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 (arg1
)->SetDragStatus(arg2
);
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= SWIG_Py_Void();
11925 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11926 PyObject
*resultobj
= 0;
11927 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11928 wxSashDragStatus result
;
11931 PyObject
*swig_obj
[1] ;
11933 if (!args
) SWIG_fail
;
11934 swig_obj
[0] = args
;
11935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11936 if (!SWIG_IsOK(res1
)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11939 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_From_int(static_cast< int >(result
));
11953 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11956 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11957 return SWIG_Py_Void();
11960 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11961 return SWIG_Python_InitShadowInstance(args
);
11964 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
= 0;
11966 int arg1
= (int) 0 ;
11967 wxQueryLayoutInfoEvent
*result
= 0 ;
11970 PyObject
* obj0
= 0 ;
11971 char * kwnames
[] = {
11972 (char *) "id", NULL
11975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11977 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11978 if (!SWIG_IsOK(ecode1
)) {
11979 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11981 arg1
= static_cast< int >(val1
);
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11996 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
= 0;
11998 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 char * kwnames
[] = {
12007 (char *) "self",(char *) "length", NULL
12010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12012 if (!SWIG_IsOK(res1
)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12015 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12017 if (!SWIG_IsOK(ecode2
)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12020 arg2
= static_cast< int >(val2
);
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->SetRequestedLength(arg2
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_Py_Void();
12034 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12035 PyObject
*resultobj
= 0;
12036 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12040 PyObject
*swig_obj
[1] ;
12042 if (!args
) SWIG_fail
;
12043 swig_obj
[0] = args
;
12044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12045 if (!SWIG_IsOK(res1
)) {
12046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12048 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_From_int(static_cast< int >(result
));
12062 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
= 0;
12064 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 char * kwnames
[] = {
12073 (char *) "self",(char *) "flags", NULL
12076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12078 if (!SWIG_IsOK(res1
)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12081 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12083 if (!SWIG_IsOK(ecode2
)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12086 arg2
= static_cast< int >(val2
);
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->SetFlags(arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= SWIG_Py_Void();
12100 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12101 PyObject
*resultobj
= 0;
12102 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12106 PyObject
*swig_obj
[1] ;
12108 if (!args
) SWIG_fail
;
12109 swig_obj
[0] = args
;
12110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12111 if (!SWIG_IsOK(res1
)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12114 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= SWIG_From_int(static_cast< int >(result
));
12128 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
= 0;
12130 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12135 PyObject
* obj0
= 0 ;
12136 PyObject
* obj1
= 0 ;
12137 char * kwnames
[] = {
12138 (char *) "self",(char *) "size", NULL
12141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12146 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12149 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->SetSize((wxSize
const &)*arg2
);
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= SWIG_Py_Void();
12164 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12165 PyObject
*resultobj
= 0;
12166 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12170 PyObject
*swig_obj
[1] ;
12172 if (!args
) SWIG_fail
;
12173 swig_obj
[0] = args
;
12174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12175 if (!SWIG_IsOK(res1
)) {
12176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12178 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12192 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
= 0;
12194 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12195 wxLayoutOrientation arg2
;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 char * kwnames
[] = {
12203 (char *) "self",(char *) "orient", NULL
12206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12211 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12213 if (!SWIG_IsOK(ecode2
)) {
12214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12216 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 (arg1
)->SetOrientation(arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_Py_Void();
12230 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12231 PyObject
*resultobj
= 0;
12232 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12233 wxLayoutOrientation result
;
12236 PyObject
*swig_obj
[1] ;
12238 if (!args
) SWIG_fail
;
12239 swig_obj
[0] = args
;
12240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12241 if (!SWIG_IsOK(res1
)) {
12242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12244 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= SWIG_From_int(static_cast< int >(result
));
12258 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= 0;
12260 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12261 wxLayoutAlignment arg2
;
12266 PyObject
* obj0
= 0 ;
12267 PyObject
* obj1
= 0 ;
12268 char * kwnames
[] = {
12269 (char *) "self",(char *) "align", NULL
12272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12274 if (!SWIG_IsOK(res1
)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12277 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12279 if (!SWIG_IsOK(ecode2
)) {
12280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12282 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 (arg1
)->SetAlignment(arg2
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 resultobj
= SWIG_Py_Void();
12296 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12297 PyObject
*resultobj
= 0;
12298 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12299 wxLayoutAlignment result
;
12302 PyObject
*swig_obj
[1] ;
12304 if (!args
) SWIG_fail
;
12305 swig_obj
[0] = args
;
12306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12307 if (!SWIG_IsOK(res1
)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12310 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= SWIG_From_int(static_cast< int >(result
));
12324 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12327 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12328 return SWIG_Py_Void();
12331 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12332 return SWIG_Python_InitShadowInstance(args
);
12335 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
= 0;
12337 int arg1
= (int) 0 ;
12338 wxCalculateLayoutEvent
*result
= 0 ;
12341 PyObject
* obj0
= 0 ;
12342 char * kwnames
[] = {
12343 (char *) "id", NULL
12346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12349 if (!SWIG_IsOK(ecode1
)) {
12350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12352 arg1
= static_cast< int >(val1
);
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12367 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
= 0;
12369 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12375 PyObject
* obj0
= 0 ;
12376 PyObject
* obj1
= 0 ;
12377 char * kwnames
[] = {
12378 (char *) "self",(char *) "flags", NULL
12381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12383 if (!SWIG_IsOK(res1
)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12386 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12388 if (!SWIG_IsOK(ecode2
)) {
12389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12391 arg2
= static_cast< int >(val2
);
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 (arg1
)->SetFlags(arg2
);
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= SWIG_Py_Void();
12405 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12406 PyObject
*resultobj
= 0;
12407 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12411 PyObject
*swig_obj
[1] ;
12413 if (!args
) SWIG_fail
;
12414 swig_obj
[0] = args
;
12415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12416 if (!SWIG_IsOK(res1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12419 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_From_int(static_cast< int >(result
));
12433 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
= 0;
12435 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 PyObject
* obj1
= 0 ;
12442 char * kwnames
[] = {
12443 (char *) "self",(char *) "rect", NULL
12446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12448 if (!SWIG_IsOK(res1
)) {
12449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12451 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12454 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 (arg1
)->SetRect((wxRect
const &)*arg2
);
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= SWIG_Py_Void();
12469 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12470 PyObject
*resultobj
= 0;
12471 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12475 PyObject
*swig_obj
[1] ;
12477 if (!args
) SWIG_fail
;
12478 swig_obj
[0] = args
;
12479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12480 if (!SWIG_IsOK(res1
)) {
12481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12483 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12497 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12500 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12501 return SWIG_Py_Void();
12504 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12505 return SWIG_Python_InitShadowInstance(args
);
12508 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
= 0;
12510 wxWindow
*arg1
= (wxWindow
*) 0 ;
12511 int arg2
= (int) -1 ;
12512 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12513 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12514 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12515 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12516 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12517 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12518 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12519 wxSashLayoutWindow
*result
= 0 ;
12528 bool temp6
= false ;
12529 PyObject
* obj0
= 0 ;
12530 PyObject
* obj1
= 0 ;
12531 PyObject
* obj2
= 0 ;
12532 PyObject
* obj3
= 0 ;
12533 PyObject
* obj4
= 0 ;
12534 PyObject
* obj5
= 0 ;
12535 char * kwnames
[] = {
12536 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12541 if (!SWIG_IsOK(res1
)) {
12542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12544 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12547 if (!SWIG_IsOK(ecode2
)) {
12548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12550 arg2
= static_cast< int >(val2
);
12555 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12561 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12565 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12566 if (!SWIG_IsOK(ecode5
)) {
12567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12569 arg5
= static_cast< long >(val5
);
12573 arg6
= wxString_in_helper(obj5
);
12574 if (arg6
== NULL
) SWIG_fail
;
12579 if (!wxPyCheckForApp()) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12600 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12601 PyObject
*resultobj
= 0;
12602 wxSashLayoutWindow
*result
= 0 ;
12604 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12606 if (!wxPyCheckForApp()) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12619 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
= 0;
12621 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12622 wxWindow
*arg2
= (wxWindow
*) 0 ;
12623 int arg3
= (int) -1 ;
12624 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12625 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12626 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12627 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12628 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12629 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12630 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12642 bool temp7
= false ;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 PyObject
* obj2
= 0 ;
12646 PyObject
* obj3
= 0 ;
12647 PyObject
* obj4
= 0 ;
12648 PyObject
* obj5
= 0 ;
12649 PyObject
* obj6
= 0 ;
12650 char * kwnames
[] = {
12651 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12656 if (!SWIG_IsOK(res1
)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12659 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12661 if (!SWIG_IsOK(res2
)) {
12662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12664 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12667 if (!SWIG_IsOK(ecode3
)) {
12668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12670 arg3
= static_cast< int >(val3
);
12675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12685 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12686 if (!SWIG_IsOK(ecode6
)) {
12687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12689 arg6
= static_cast< long >(val6
);
12693 arg7
= wxString_in_helper(obj6
);
12694 if (arg7
== NULL
) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12721 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12722 PyObject
*resultobj
= 0;
12723 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12724 wxLayoutAlignment result
;
12727 PyObject
*swig_obj
[1] ;
12729 if (!args
) SWIG_fail
;
12730 swig_obj
[0] = args
;
12731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12732 if (!SWIG_IsOK(res1
)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12735 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_From_int(static_cast< int >(result
));
12749 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12750 PyObject
*resultobj
= 0;
12751 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12752 wxLayoutOrientation result
;
12755 PyObject
*swig_obj
[1] ;
12757 if (!args
) SWIG_fail
;
12758 swig_obj
[0] = args
;
12759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12760 if (!SWIG_IsOK(res1
)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12763 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_From_int(static_cast< int >(result
));
12777 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12778 PyObject
*resultobj
= 0;
12779 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12780 wxLayoutAlignment arg2
;
12785 PyObject
* obj0
= 0 ;
12786 PyObject
* obj1
= 0 ;
12787 char * kwnames
[] = {
12788 (char *) "self",(char *) "alignment", NULL
12791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12793 if (!SWIG_IsOK(res1
)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12796 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12798 if (!SWIG_IsOK(ecode2
)) {
12799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12801 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 (arg1
)->SetAlignment(arg2
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= SWIG_Py_Void();
12815 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
= 0;
12817 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 char * kwnames
[] = {
12825 (char *) "self",(char *) "size", NULL
12828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12830 if (!SWIG_IsOK(res1
)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12833 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12836 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12841 wxPyEndAllowThreads(__tstate
);
12842 if (PyErr_Occurred()) SWIG_fail
;
12844 resultobj
= SWIG_Py_Void();
12851 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12852 PyObject
*resultobj
= 0;
12853 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12854 wxLayoutOrientation arg2
;
12859 PyObject
* obj0
= 0 ;
12860 PyObject
* obj1
= 0 ;
12861 char * kwnames
[] = {
12862 (char *) "self",(char *) "orientation", NULL
12865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12867 if (!SWIG_IsOK(res1
)) {
12868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12870 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12872 if (!SWIG_IsOK(ecode2
)) {
12873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12875 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 (arg1
)->SetOrientation(arg2
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= SWIG_Py_Void();
12889 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12892 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12893 return SWIG_Py_Void();
12896 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12897 return SWIG_Python_InitShadowInstance(args
);
12900 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12901 PyObject
*resultobj
= 0;
12902 wxLayoutAlgorithm
*result
= 0 ;
12904 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12907 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12918 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12919 PyObject
*resultobj
= 0;
12920 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12923 PyObject
*swig_obj
[1] ;
12925 if (!args
) SWIG_fail
;
12926 swig_obj
[0] = args
;
12927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12928 if (!SWIG_IsOK(res1
)) {
12929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12931 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 resultobj
= SWIG_Py_Void();
12946 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12947 PyObject
*resultobj
= 0;
12948 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12949 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12950 wxRect
*arg3
= (wxRect
*) NULL
;
12958 PyObject
* obj0
= 0 ;
12959 PyObject
* obj1
= 0 ;
12960 PyObject
* obj2
= 0 ;
12961 char * kwnames
[] = {
12962 (char *) "self",(char *) "frame",(char *) "rect", NULL
12965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12967 if (!SWIG_IsOK(res1
)) {
12968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12970 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12971 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12972 if (!SWIG_IsOK(res2
)) {
12973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12975 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12977 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12978 if (!SWIG_IsOK(res3
)) {
12979 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12981 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12998 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
= 0;
13000 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13001 wxFrame
*arg2
= (wxFrame
*) 0 ;
13002 wxWindow
*arg3
= (wxWindow
*) NULL
;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 PyObject
* obj2
= 0 ;
13013 char * kwnames
[] = {
13014 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13019 if (!SWIG_IsOK(res1
)) {
13020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13022 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13024 if (!SWIG_IsOK(res2
)) {
13025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13027 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13029 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13030 if (!SWIG_IsOK(res3
)) {
13031 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13033 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13038 wxPyEndAllowThreads(__tstate
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13050 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
= 0;
13052 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13053 wxWindow
*arg2
= (wxWindow
*) 0 ;
13054 wxWindow
*arg3
= (wxWindow
*) NULL
;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 PyObject
* obj2
= 0 ;
13065 char * kwnames
[] = {
13066 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13071 if (!SWIG_IsOK(res1
)) {
13072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13074 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13076 if (!SWIG_IsOK(res2
)) {
13077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13079 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13081 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13082 if (!SWIG_IsOK(res3
)) {
13083 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13085 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13102 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13105 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13106 return SWIG_Py_Void();
13109 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13110 return SWIG_Python_InitShadowInstance(args
);
13113 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
= 0;
13115 wxWindow
*arg1
= (wxWindow
*) 0 ;
13116 int arg2
= (int) wxBORDER_NONE
;
13117 wxPopupWindow
*result
= 0 ;
13122 PyObject
* obj0
= 0 ;
13123 PyObject
* obj1
= 0 ;
13124 char * kwnames
[] = {
13125 (char *) "parent",(char *) "flags", NULL
13128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13130 if (!SWIG_IsOK(res1
)) {
13131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13133 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13136 if (!SWIG_IsOK(ecode2
)) {
13137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13139 arg2
= static_cast< int >(val2
);
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13154 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13155 PyObject
*resultobj
= 0;
13156 wxPopupWindow
*result
= 0 ;
13158 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (wxPopupWindow
*)new wxPopupWindow();
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13172 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13175 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13176 return SWIG_Py_Void();
13179 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13180 return SWIG_Python_InitShadowInstance(args
);
13183 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
= 0;
13185 wxWindow
*arg1
= (wxWindow
*) 0 ;
13186 int arg2
= (int) wxBORDER_NONE
;
13187 wxPyPopupTransientWindow
*result
= 0 ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 char * kwnames
[] = {
13195 (char *) "parent",(char *) "style", NULL
13198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13200 if (!SWIG_IsOK(res1
)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13206 if (!SWIG_IsOK(ecode2
)) {
13207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13209 arg2
= static_cast< int >(val2
);
13212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13213 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13224 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13225 PyObject
*resultobj
= 0;
13226 wxPyPopupTransientWindow
*result
= 0 ;
13228 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13242 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13245 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13246 return SWIG_Py_Void();
13249 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13250 return SWIG_Python_InitShadowInstance(args
);
13253 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
= 0;
13255 wxWindow
*arg1
= (wxWindow
*) 0 ;
13256 wxString
*arg2
= 0 ;
13257 int arg3
= (int) 100 ;
13258 wxRect
*arg4
= (wxRect
*) NULL
;
13259 wxTipWindow
*result
= 0 ;
13262 bool temp2
= false ;
13267 PyObject
* obj0
= 0 ;
13268 PyObject
* obj1
= 0 ;
13269 PyObject
* obj2
= 0 ;
13270 PyObject
* obj3
= 0 ;
13271 char * kwnames
[] = {
13272 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13277 if (!SWIG_IsOK(res1
)) {
13278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13282 arg2
= wxString_in_helper(obj1
);
13283 if (arg2
== NULL
) SWIG_fail
;
13287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13288 if (!SWIG_IsOK(ecode3
)) {
13289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13291 arg3
= static_cast< int >(val3
);
13294 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13295 if (!SWIG_IsOK(res4
)) {
13296 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13298 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13301 if (!wxPyCheckForApp()) SWIG_fail
;
13302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13322 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
= 0;
13324 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 char * kwnames
[] = {
13332 (char *) "self",(char *) "rectBound", NULL
13335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13337 if (!SWIG_IsOK(res1
)) {
13338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13340 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13343 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13347 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 resultobj
= SWIG_Py_Void();
13358 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13359 PyObject
*resultobj
= 0;
13360 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13363 PyObject
*swig_obj
[1] ;
13365 if (!args
) SWIG_fail
;
13366 swig_obj
[0] = args
;
13367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13368 if (!SWIG_IsOK(res1
)) {
13369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13371 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= SWIG_Py_Void();
13385 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13388 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13389 return SWIG_Py_Void();
13392 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13393 return SWIG_Python_InitShadowInstance(args
);
13396 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13397 PyObject
*resultobj
= 0;
13398 wxWindow
*arg1
= (wxWindow
*) 0 ;
13399 int arg2
= (int) wxID_ANY
;
13400 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13401 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13402 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13403 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13404 long arg5
= (long) 0 ;
13405 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13406 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13407 wxPyVScrolledWindow
*result
= 0 ;
13416 bool temp6
= false ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 PyObject
* obj2
= 0 ;
13420 PyObject
* obj3
= 0 ;
13421 PyObject
* obj4
= 0 ;
13422 PyObject
* obj5
= 0 ;
13423 char * kwnames
[] = {
13424 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13429 if (!SWIG_IsOK(res1
)) {
13430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13435 if (!SWIG_IsOK(ecode2
)) {
13436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13438 arg2
= static_cast< int >(val2
);
13443 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13449 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13453 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13454 if (!SWIG_IsOK(ecode5
)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13457 arg5
= static_cast< long >(val5
);
13461 arg6
= wxString_in_helper(obj5
);
13462 if (arg6
== NULL
) SWIG_fail
;
13467 if (!wxPyCheckForApp()) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13488 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13489 PyObject
*resultobj
= 0;
13490 wxPyVScrolledWindow
*result
= 0 ;
13492 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13494 if (!wxPyCheckForApp()) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13507 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13508 PyObject
*resultobj
= 0;
13509 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13510 PyObject
*arg2
= (PyObject
*) 0 ;
13511 PyObject
*arg3
= (PyObject
*) 0 ;
13514 PyObject
* obj0
= 0 ;
13515 PyObject
* obj1
= 0 ;
13516 PyObject
* obj2
= 0 ;
13517 char * kwnames
[] = {
13518 (char *) "self",(char *) "self",(char *) "_class", NULL
13521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13523 if (!SWIG_IsOK(res1
)) {
13524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13526 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_Py_Void();
13542 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
= 0;
13544 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13545 wxWindow
*arg2
= (wxWindow
*) 0 ;
13546 int arg3
= (int) wxID_ANY
;
13547 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13548 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13549 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13550 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13551 long arg6
= (long) 0 ;
13552 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13553 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13565 bool temp7
= false ;
13566 PyObject
* obj0
= 0 ;
13567 PyObject
* obj1
= 0 ;
13568 PyObject
* obj2
= 0 ;
13569 PyObject
* obj3
= 0 ;
13570 PyObject
* obj4
= 0 ;
13571 PyObject
* obj5
= 0 ;
13572 PyObject
* obj6
= 0 ;
13573 char * kwnames
[] = {
13574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13579 if (!SWIG_IsOK(res1
)) {
13580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13582 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13584 if (!SWIG_IsOK(res2
)) {
13585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13587 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13590 if (!SWIG_IsOK(ecode3
)) {
13591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13593 arg3
= static_cast< int >(val3
);
13598 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13604 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13608 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13609 if (!SWIG_IsOK(ecode6
)) {
13610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13612 arg6
= static_cast< long >(val6
);
13616 arg7
= wxString_in_helper(obj6
);
13617 if (arg7
== NULL
) SWIG_fail
;
13622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13644 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
= 0;
13646 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13652 PyObject
* obj0
= 0 ;
13653 PyObject
* obj1
= 0 ;
13654 char * kwnames
[] = {
13655 (char *) "self",(char *) "count", NULL
13658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13660 if (!SWIG_IsOK(res1
)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13663 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13664 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13665 if (!SWIG_IsOK(ecode2
)) {
13666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13668 arg2
= static_cast< size_t >(val2
);
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 (arg1
)->SetLineCount(arg2
);
13672 wxPyEndAllowThreads(__tstate
);
13673 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= SWIG_Py_Void();
13682 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
= 0;
13684 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 char * kwnames
[] = {
13694 (char *) "self",(char *) "line", NULL
13697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13702 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13703 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13704 if (!SWIG_IsOK(ecode2
)) {
13705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13707 arg2
= static_cast< size_t >(val2
);
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13723 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
= 0;
13725 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13731 PyObject
* obj0
= 0 ;
13732 PyObject
* obj1
= 0 ;
13733 char * kwnames
[] = {
13734 (char *) "self",(char *) "line", NULL
13737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13739 if (!SWIG_IsOK(res1
)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13742 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13743 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13744 if (!SWIG_IsOK(ecode2
)) {
13745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13747 arg2
= static_cast< size_t >(val2
);
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 (arg1
)->RefreshLine(arg2
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_Py_Void();
13761 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
= 0;
13763 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13772 PyObject
* obj0
= 0 ;
13773 PyObject
* obj1
= 0 ;
13774 PyObject
* obj2
= 0 ;
13775 char * kwnames
[] = {
13776 (char *) "self",(char *) "from",(char *) "to", NULL
13779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13781 if (!SWIG_IsOK(res1
)) {
13782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13784 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13785 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13786 if (!SWIG_IsOK(ecode2
)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13789 arg2
= static_cast< size_t >(val2
);
13790 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13791 if (!SWIG_IsOK(ecode3
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13794 arg3
= static_cast< size_t >(val3
);
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 (arg1
)->RefreshLines(arg2
,arg3
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_Py_Void();
13808 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
= 0;
13810 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 PyObject
* obj1
= 0 ;
13822 PyObject
* obj2
= 0 ;
13823 char * kwnames
[] = {
13824 (char *) "self",(char *) "x",(char *) "y", NULL
13827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13829 if (!SWIG_IsOK(res1
)) {
13830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13832 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13834 if (!SWIG_IsOK(ecode2
)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13837 arg2
= static_cast< int >(val2
);
13838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13839 if (!SWIG_IsOK(ecode3
)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13842 arg3
= static_cast< int >(val3
);
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_From_int(static_cast< int >(result
));
13856 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
= 0;
13858 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13859 wxPoint
*arg2
= 0 ;
13864 PyObject
* obj0
= 0 ;
13865 PyObject
* obj1
= 0 ;
13866 char * kwnames
[] = {
13867 (char *) "self",(char *) "pt", NULL
13870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13872 if (!SWIG_IsOK(res1
)) {
13873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13875 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= SWIG_From_int(static_cast< int >(result
));
13893 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13894 PyObject
*resultobj
= 0;
13895 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13898 PyObject
*swig_obj
[1] ;
13900 if (!args
) SWIG_fail
;
13901 swig_obj
[0] = args
;
13902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13903 if (!SWIG_IsOK(res1
)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13906 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 (arg1
)->RefreshAll();
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= SWIG_Py_Void();
13920 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13921 PyObject
*resultobj
= 0;
13922 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13926 PyObject
*swig_obj
[1] ;
13928 if (!args
) SWIG_fail
;
13929 swig_obj
[0] = args
;
13930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13931 if (!SWIG_IsOK(res1
)) {
13932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13934 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13937 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13948 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13949 PyObject
*resultobj
= 0;
13950 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13954 PyObject
*swig_obj
[1] ;
13956 if (!args
) SWIG_fail
;
13957 swig_obj
[0] = args
;
13958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13959 if (!SWIG_IsOK(res1
)) {
13960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13962 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13965 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13976 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13977 PyObject
*resultobj
= 0;
13978 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13982 PyObject
*swig_obj
[1] ;
13984 if (!args
) SWIG_fail
;
13985 swig_obj
[0] = args
;
13986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13987 if (!SWIG_IsOK(res1
)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13990 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14004 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
= 0;
14006 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14013 PyObject
* obj0
= 0 ;
14014 PyObject
* obj1
= 0 ;
14015 char * kwnames
[] = {
14016 (char *) "self",(char *) "line", NULL
14019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14021 if (!SWIG_IsOK(res1
)) {
14022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14024 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14025 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14026 if (!SWIG_IsOK(ecode2
)) {
14027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14029 arg2
= static_cast< size_t >(val2
);
14031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14032 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14045 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14046 PyObject
*resultobj
= 0;
14047 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14051 PyObject
*swig_obj
[1] ;
14053 if (!args
) SWIG_fail
;
14054 swig_obj
[0] = args
;
14055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14056 if (!SWIG_IsOK(res1
)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14059 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14073 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14074 PyObject
*resultobj
= 0;
14075 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14079 PyObject
*swig_obj
[1] ;
14081 if (!args
) SWIG_fail
;
14082 swig_obj
[0] = args
;
14083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14084 if (!SWIG_IsOK(res1
)) {
14085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14087 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14101 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
= 0;
14103 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14105 bool arg3
= (bool) false ;
14113 PyObject
* obj0
= 0 ;
14114 PyObject
* obj1
= 0 ;
14115 PyObject
* obj2
= 0 ;
14116 char * kwnames
[] = {
14117 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14122 if (!SWIG_IsOK(res1
)) {
14123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14125 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14126 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14127 if (!SWIG_IsOK(ecode2
)) {
14128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14130 arg2
= static_cast< size_t >(val2
);
14132 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14133 if (!SWIG_IsOK(ecode3
)) {
14134 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14136 arg3
= static_cast< bool >(val3
);
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14151 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
= 0;
14153 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14163 PyObject
* obj0
= 0 ;
14164 PyObject
* obj1
= 0 ;
14165 PyObject
* obj2
= 0 ;
14166 char * kwnames
[] = {
14167 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14172 if (!SWIG_IsOK(res1
)) {
14173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14175 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14176 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14177 if (!SWIG_IsOK(ecode2
)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14180 arg2
= static_cast< size_t >(val2
);
14181 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14182 if (!SWIG_IsOK(ecode3
)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14185 arg3
= static_cast< size_t >(val3
);
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= SWIG_From_int(static_cast< int >(result
));
14199 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14201 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14202 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14203 return SWIG_Py_Void();
14206 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14207 return SWIG_Python_InitShadowInstance(args
);
14210 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14211 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14216 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14217 PyObject
*pyobj
= 0;
14221 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14223 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14230 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
= 0;
14232 wxWindow
*arg1
= (wxWindow
*) 0 ;
14233 int arg2
= (int) wxID_ANY
;
14234 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14235 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14236 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14237 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14238 long arg5
= (long) 0 ;
14239 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14240 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14241 wxPyVListBox
*result
= 0 ;
14250 bool temp6
= false ;
14251 PyObject
* obj0
= 0 ;
14252 PyObject
* obj1
= 0 ;
14253 PyObject
* obj2
= 0 ;
14254 PyObject
* obj3
= 0 ;
14255 PyObject
* obj4
= 0 ;
14256 PyObject
* obj5
= 0 ;
14257 char * kwnames
[] = {
14258 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14263 if (!SWIG_IsOK(res1
)) {
14264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14266 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14269 if (!SWIG_IsOK(ecode2
)) {
14270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14272 arg2
= static_cast< int >(val2
);
14277 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14283 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14287 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14288 if (!SWIG_IsOK(ecode5
)) {
14289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14291 arg5
= static_cast< long >(val5
);
14295 arg6
= wxString_in_helper(obj5
);
14296 if (arg6
== NULL
) SWIG_fail
;
14301 if (!wxPyCheckForApp()) SWIG_fail
;
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14322 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14323 PyObject
*resultobj
= 0;
14324 wxPyVListBox
*result
= 0 ;
14326 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14328 if (!wxPyCheckForApp()) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (wxPyVListBox
*)new wxPyVListBox();
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14341 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
= 0;
14343 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14344 PyObject
*arg2
= (PyObject
*) 0 ;
14345 PyObject
*arg3
= (PyObject
*) 0 ;
14348 PyObject
* obj0
= 0 ;
14349 PyObject
* obj1
= 0 ;
14350 PyObject
* obj2
= 0 ;
14351 char * kwnames
[] = {
14352 (char *) "self",(char *) "self",(char *) "_class", NULL
14355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14357 if (!SWIG_IsOK(res1
)) {
14358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14360 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14365 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= SWIG_Py_Void();
14376 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
= 0;
14378 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14379 wxWindow
*arg2
= (wxWindow
*) 0 ;
14380 int arg3
= (int) wxID_ANY
;
14381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14385 long arg6
= (long) 0 ;
14386 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14399 bool temp7
= false ;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 PyObject
* obj2
= 0 ;
14403 PyObject
* obj3
= 0 ;
14404 PyObject
* obj4
= 0 ;
14405 PyObject
* obj5
= 0 ;
14406 PyObject
* obj6
= 0 ;
14407 char * kwnames
[] = {
14408 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14413 if (!SWIG_IsOK(res1
)) {
14414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14416 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14418 if (!SWIG_IsOK(res2
)) {
14419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14421 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14424 if (!SWIG_IsOK(ecode3
)) {
14425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14427 arg3
= static_cast< int >(val3
);
14432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14442 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14443 if (!SWIG_IsOK(ecode6
)) {
14444 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14446 arg6
= static_cast< long >(val6
);
14450 arg7
= wxString_in_helper(obj6
);
14451 if (arg7
== NULL
) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14478 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14479 PyObject
*resultobj
= 0;
14480 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14484 PyObject
*swig_obj
[1] ;
14486 if (!args
) SWIG_fail
;
14487 swig_obj
[0] = args
;
14488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14489 if (!SWIG_IsOK(res1
)) {
14490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14492 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14506 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14507 PyObject
*resultobj
= 0;
14508 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14512 PyObject
*swig_obj
[1] ;
14514 if (!args
) SWIG_fail
;
14515 swig_obj
[0] = args
;
14516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14517 if (!SWIG_IsOK(res1
)) {
14518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14520 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14536 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14537 PyObject
*resultobj
= 0;
14538 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14542 PyObject
*swig_obj
[1] ;
14544 if (!args
) SWIG_fail
;
14545 swig_obj
[0] = args
;
14546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14550 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_From_int(static_cast< int >(result
));
14564 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
= 0;
14566 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14573 PyObject
* obj0
= 0 ;
14574 PyObject
* obj1
= 0 ;
14575 char * kwnames
[] = {
14576 (char *) "self",(char *) "item", NULL
14579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14581 if (!SWIG_IsOK(res1
)) {
14582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14584 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14585 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14586 if (!SWIG_IsOK(ecode2
)) {
14587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14589 arg2
= static_cast< size_t >(val2
);
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14605 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
= 0;
14607 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 PyObject
* obj1
= 0 ;
14616 char * kwnames
[] = {
14617 (char *) "self",(char *) "item", NULL
14620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14622 if (!SWIG_IsOK(res1
)) {
14623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14625 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14626 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14627 if (!SWIG_IsOK(ecode2
)) {
14628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14630 arg2
= static_cast< size_t >(val2
);
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14646 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14647 PyObject
*resultobj
= 0;
14648 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14652 PyObject
*swig_obj
[1] ;
14654 if (!args
) SWIG_fail
;
14655 swig_obj
[0] = args
;
14656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14657 if (!SWIG_IsOK(res1
)) {
14658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14660 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14674 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14675 PyObject
*resultobj
= 0;
14676 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14677 PyObject
*result
= 0 ;
14680 PyObject
*swig_obj
[1] ;
14682 if (!args
) SWIG_fail
;
14683 swig_obj
[0] = args
;
14684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14685 if (!SWIG_IsOK(res1
)) {
14686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14688 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 resultobj
= result
;
14702 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
= 0;
14704 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14705 unsigned long arg2
;
14706 PyObject
*result
= 0 ;
14709 unsigned long val2
;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 char * kwnames
[] = {
14714 (char *) "self",(char *) "cookie", NULL
14717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14719 if (!SWIG_IsOK(res1
)) {
14720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14722 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14723 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14724 if (!SWIG_IsOK(ecode2
)) {
14725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14727 arg2
= static_cast< unsigned long >(val2
);
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= result
;
14741 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14742 PyObject
*resultobj
= 0;
14743 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14747 PyObject
*swig_obj
[1] ;
14749 if (!args
) SWIG_fail
;
14750 swig_obj
[0] = args
;
14751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14752 if (!SWIG_IsOK(res1
)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14755 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14759 wxPyEndAllowThreads(__tstate
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14769 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14770 PyObject
*resultobj
= 0;
14771 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14772 wxColour
*result
= 0 ;
14775 PyObject
*swig_obj
[1] ;
14777 if (!args
) SWIG_fail
;
14778 swig_obj
[0] = args
;
14779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14780 if (!SWIG_IsOK(res1
)) {
14781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14783 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14788 result
= (wxColour
*) &_result_ref
;
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14800 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
= 0;
14802 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14808 PyObject
* obj0
= 0 ;
14809 PyObject
* obj1
= 0 ;
14810 char * kwnames
[] = {
14811 (char *) "self",(char *) "count", NULL
14814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14816 if (!SWIG_IsOK(res1
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14819 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14820 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14821 if (!SWIG_IsOK(ecode2
)) {
14822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14824 arg2
= static_cast< size_t >(val2
);
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 (arg1
)->SetItemCount(arg2
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 resultobj
= SWIG_Py_Void();
14838 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14839 PyObject
*resultobj
= 0;
14840 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14843 PyObject
*swig_obj
[1] ;
14845 if (!args
) SWIG_fail
;
14846 swig_obj
[0] = args
;
14847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14848 if (!SWIG_IsOK(res1
)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14851 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= SWIG_Py_Void();
14865 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
= 0;
14867 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 PyObject
* obj1
= 0 ;
14875 char * kwnames
[] = {
14876 (char *) "self",(char *) "selection", NULL
14879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14881 if (!SWIG_IsOK(res1
)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14884 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14886 if (!SWIG_IsOK(ecode2
)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14889 arg2
= static_cast< int >(val2
);
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 (arg1
)->SetSelection(arg2
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_Py_Void();
14903 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
= 0;
14905 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14907 bool arg3
= (bool) true ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 PyObject
* obj2
= 0 ;
14918 char * kwnames
[] = {
14919 (char *) "self",(char *) "item",(char *) "select", NULL
14922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14924 if (!SWIG_IsOK(res1
)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14927 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14928 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14929 if (!SWIG_IsOK(ecode2
)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14932 arg2
= static_cast< size_t >(val2
);
14934 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14935 if (!SWIG_IsOK(ecode3
)) {
14936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14938 arg3
= static_cast< bool >(val3
);
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14955 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
= 0;
14957 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14967 PyObject
* obj0
= 0 ;
14968 PyObject
* obj1
= 0 ;
14969 PyObject
* obj2
= 0 ;
14970 char * kwnames
[] = {
14971 (char *) "self",(char *) "from",(char *) "to", NULL
14974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14976 if (!SWIG_IsOK(res1
)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14979 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14980 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14981 if (!SWIG_IsOK(ecode2
)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14984 arg2
= static_cast< size_t >(val2
);
14985 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14986 if (!SWIG_IsOK(ecode3
)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14989 arg3
= static_cast< size_t >(val3
);
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15005 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
= 0;
15007 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 char * kwnames
[] = {
15016 (char *) "self",(char *) "item", NULL
15019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15021 if (!SWIG_IsOK(res1
)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15024 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15025 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15026 if (!SWIG_IsOK(ecode2
)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15029 arg2
= static_cast< size_t >(val2
);
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 (arg1
)->Toggle(arg2
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_Py_Void();
15043 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15044 PyObject
*resultobj
= 0;
15045 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15049 PyObject
*swig_obj
[1] ;
15051 if (!args
) SWIG_fail
;
15052 swig_obj
[0] = args
;
15053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15054 if (!SWIG_IsOK(res1
)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15057 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (bool)(arg1
)->SelectAll();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15073 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15074 PyObject
*resultobj
= 0;
15075 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15079 PyObject
*swig_obj
[1] ;
15081 if (!args
) SWIG_fail
;
15082 swig_obj
[0] = args
;
15083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15084 if (!SWIG_IsOK(res1
)) {
15085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15087 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (bool)(arg1
)->DeselectAll();
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15103 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15104 PyObject
*resultobj
= 0;
15105 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15106 wxPoint
*arg2
= 0 ;
15110 PyObject
* obj0
= 0 ;
15111 PyObject
* obj1
= 0 ;
15112 char * kwnames
[] = {
15113 (char *) "self",(char *) "pt", NULL
15116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15118 if (!SWIG_IsOK(res1
)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15121 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15124 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_Py_Void();
15139 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
= 0;
15141 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 PyObject
* obj2
= 0 ;
15153 char * kwnames
[] = {
15154 (char *) "self",(char *) "x",(char *) "y", NULL
15157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15159 if (!SWIG_IsOK(res1
)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15162 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15164 if (!SWIG_IsOK(ecode2
)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15167 arg2
= static_cast< int >(val2
);
15168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15169 if (!SWIG_IsOK(ecode3
)) {
15170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15172 arg3
= static_cast< int >(val3
);
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 (arg1
)->SetMargins(arg2
,arg3
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_Py_Void();
15186 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
= 0;
15188 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15189 wxColour
*arg2
= 0 ;
15193 PyObject
* obj0
= 0 ;
15194 PyObject
* obj1
= 0 ;
15195 char * kwnames
[] = {
15196 (char *) "self",(char *) "col", NULL
15199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15201 if (!SWIG_IsOK(res1
)) {
15202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15204 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15207 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= SWIG_Py_Void();
15222 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
= 0;
15224 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 PyObject
* obj1
= 0 ;
15237 PyObject
* obj2
= 0 ;
15238 PyObject
* obj3
= 0 ;
15239 char * kwnames
[] = {
15240 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15245 if (!SWIG_IsOK(res1
)) {
15246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15248 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15250 if (!SWIG_IsOK(res2
)) {
15251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15256 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15259 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15261 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15262 if (!SWIG_IsOK(ecode4
)) {
15263 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15265 arg4
= static_cast< size_t >(val4
);
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_Py_Void();
15279 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15280 PyObject
*resultobj
= 0;
15281 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 PyObject
* obj2
= 0 ;
15295 PyObject
* obj3
= 0 ;
15296 char * kwnames
[] = {
15297 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15302 if (!SWIG_IsOK(res1
)) {
15303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15305 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15307 if (!SWIG_IsOK(res2
)) {
15308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15313 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15316 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15318 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15319 if (!SWIG_IsOK(ecode4
)) {
15320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15322 arg4
= static_cast< size_t >(val4
);
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= SWIG_Py_Void();
15336 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15339 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15340 return SWIG_Py_Void();
15343 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15344 return SWIG_Python_InitShadowInstance(args
);
15347 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
= 0;
15349 wxWindow
*arg1
= (wxWindow
*) 0 ;
15350 int arg2
= (int) wxID_ANY
;
15351 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15352 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15353 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15354 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15355 long arg5
= (long) 0 ;
15356 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15357 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15358 wxPyHtmlListBox
*result
= 0 ;
15367 bool temp6
= false ;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 PyObject
* obj2
= 0 ;
15371 PyObject
* obj3
= 0 ;
15372 PyObject
* obj4
= 0 ;
15373 PyObject
* obj5
= 0 ;
15374 char * kwnames
[] = {
15375 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15380 if (!SWIG_IsOK(res1
)) {
15381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15383 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15386 if (!SWIG_IsOK(ecode2
)) {
15387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15389 arg2
= static_cast< int >(val2
);
15394 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15400 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15404 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15405 if (!SWIG_IsOK(ecode5
)) {
15406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15408 arg5
= static_cast< long >(val5
);
15412 arg6
= wxString_in_helper(obj5
);
15413 if (arg6
== NULL
) SWIG_fail
;
15418 if (!wxPyCheckForApp()) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15439 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15440 PyObject
*resultobj
= 0;
15441 wxPyHtmlListBox
*result
= 0 ;
15443 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15445 if (!wxPyCheckForApp()) SWIG_fail
;
15446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15447 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15458 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
= 0;
15460 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15461 PyObject
*arg2
= (PyObject
*) 0 ;
15462 PyObject
*arg3
= (PyObject
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 PyObject
* obj2
= 0 ;
15468 char * kwnames
[] = {
15469 (char *) "self",(char *) "self",(char *) "_class", NULL
15472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15474 if (!SWIG_IsOK(res1
)) {
15475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15477 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_Py_Void();
15493 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
= 0;
15495 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15496 wxWindow
*arg2
= (wxWindow
*) 0 ;
15497 int arg3
= (int) wxID_ANY
;
15498 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15499 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15500 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15501 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15502 long arg6
= (long) 0 ;
15503 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15504 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15516 bool temp7
= false ;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 PyObject
* obj2
= 0 ;
15520 PyObject
* obj3
= 0 ;
15521 PyObject
* obj4
= 0 ;
15522 PyObject
* obj5
= 0 ;
15523 PyObject
* obj6
= 0 ;
15524 char * kwnames
[] = {
15525 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15530 if (!SWIG_IsOK(res1
)) {
15531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15533 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15535 if (!SWIG_IsOK(res2
)) {
15536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15538 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15540 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15541 if (!SWIG_IsOK(ecode3
)) {
15542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15544 arg3
= static_cast< int >(val3
);
15549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15559 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15560 if (!SWIG_IsOK(ecode6
)) {
15561 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15563 arg6
= static_cast< long >(val6
);
15567 arg7
= wxString_in_helper(obj6
);
15568 if (arg7
== NULL
) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15595 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15596 PyObject
*resultobj
= 0;
15597 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 char * kwnames
[] = {
15606 (char *) "self",(char *) "count", NULL
15609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15611 if (!SWIG_IsOK(res1
)) {
15612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15614 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15615 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15616 if (!SWIG_IsOK(ecode2
)) {
15617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15619 arg2
= static_cast< size_t >(val2
);
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 (arg1
)->SetItemCount(arg2
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_Py_Void();
15633 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15634 PyObject
*resultobj
= 0;
15635 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15636 wxFileSystem
*result
= 0 ;
15639 PyObject
*swig_obj
[1] ;
15641 if (!args
) SWIG_fail
;
15642 swig_obj
[0] = args
;
15643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15644 if (!SWIG_IsOK(res1
)) {
15645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15647 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15652 result
= (wxFileSystem
*) &_result_ref
;
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15664 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
= 0;
15666 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15668 wxHtmlLinkInfo
*arg3
= 0 ;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 PyObject
* obj2
= 0 ;
15678 char * kwnames
[] = {
15679 (char *) "self",(char *) "n",(char *) "link", NULL
15682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15684 if (!SWIG_IsOK(res1
)) {
15685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15687 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15688 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15689 if (!SWIG_IsOK(ecode2
)) {
15690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15692 arg2
= static_cast< size_t >(val2
);
15693 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15694 if (!SWIG_IsOK(res3
)) {
15695 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15700 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= SWIG_Py_Void();
15714 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15717 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15718 return SWIG_Py_Void();
15721 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15722 return SWIG_Python_InitShadowInstance(args
);
15725 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15726 PyObject
*resultobj
= 0;
15727 wxPyTaskBarIcon
*result
= 0 ;
15729 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15731 if (!wxPyCheckForApp()) SWIG_fail
;
15732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15733 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15744 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15745 PyObject
*resultobj
= 0;
15746 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15749 PyObject
*swig_obj
[1] ;
15751 if (!args
) SWIG_fail
;
15752 swig_obj
[0] = args
;
15753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15754 if (!SWIG_IsOK(res1
)) {
15755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15757 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 resultobj
= SWIG_Py_Void();
15772 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
= 0;
15774 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15775 PyObject
*arg2
= (PyObject
*) 0 ;
15776 PyObject
*arg3
= (PyObject
*) 0 ;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 PyObject
* obj2
= 0 ;
15785 PyObject
* obj3
= 0 ;
15786 char * kwnames
[] = {
15787 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15792 if (!SWIG_IsOK(res1
)) {
15793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15795 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15799 if (!SWIG_IsOK(ecode4
)) {
15800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15802 arg4
= static_cast< int >(val4
);
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= SWIG_Py_Void();
15816 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15817 PyObject
*resultobj
= 0;
15818 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15821 PyObject
*swig_obj
[1] ;
15823 if (!args
) SWIG_fail
;
15824 swig_obj
[0] = args
;
15825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15826 if (!SWIG_IsOK(res1
)) {
15827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15829 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 wxPyTaskBarIcon_Destroy(arg1
);
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15836 resultobj
= SWIG_Py_Void();
15843 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15844 PyObject
*resultobj
= 0;
15845 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15849 PyObject
*swig_obj
[1] ;
15851 if (!args
) SWIG_fail
;
15852 swig_obj
[0] = args
;
15853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15854 if (!SWIG_IsOK(res1
)) {
15855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15857 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15873 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15874 PyObject
*resultobj
= 0;
15875 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15879 PyObject
*swig_obj
[1] ;
15881 if (!args
) SWIG_fail
;
15882 swig_obj
[0] = args
;
15883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15884 if (!SWIG_IsOK(res1
)) {
15885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15887 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15891 wxPyEndAllowThreads(__tstate
);
15892 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15903 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
= 0;
15905 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15907 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15908 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15914 bool temp3
= false ;
15915 PyObject
* obj0
= 0 ;
15916 PyObject
* obj1
= 0 ;
15917 PyObject
* obj2
= 0 ;
15918 char * kwnames
[] = {
15919 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15924 if (!SWIG_IsOK(res1
)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15927 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15928 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15929 if (!SWIG_IsOK(res2
)) {
15930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15935 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15938 arg3
= wxString_in_helper(obj2
);
15939 if (arg3
== NULL
) SWIG_fail
;
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15966 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15967 PyObject
*resultobj
= 0;
15968 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15972 PyObject
*swig_obj
[1] ;
15974 if (!args
) SWIG_fail
;
15975 swig_obj
[0] = args
;
15976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15977 if (!SWIG_IsOK(res1
)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15980 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 result
= (bool)(arg1
)->RemoveIcon();
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15996 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
= 0;
15998 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15999 wxMenu
*arg2
= (wxMenu
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 char * kwnames
[] = {
16008 (char *) "self",(char *) "menu", NULL
16011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16013 if (!SWIG_IsOK(res1
)) {
16014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16016 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16018 if (!SWIG_IsOK(res2
)) {
16019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16021 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (bool)(arg1
)->PopupMenu(arg2
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16037 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16041 return SWIG_Py_Void();
16044 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16045 return SWIG_Python_InitShadowInstance(args
);
16048 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
= 0;
16051 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16052 wxTaskBarIconEvent
*result
= 0 ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 char * kwnames
[] = {
16060 (char *) "evtType",(char *) "tbIcon", NULL
16063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16064 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16065 if (!SWIG_IsOK(ecode1
)) {
16066 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16068 arg1
= static_cast< wxEventType
>(val1
);
16069 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16070 if (!SWIG_IsOK(res2
)) {
16071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16073 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16087 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16090 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16091 return SWIG_Py_Void();
16094 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16095 return SWIG_Python_InitShadowInstance(args
);
16098 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16099 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16104 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16105 PyObject
*pyobj
= 0;
16109 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16111 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16118 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16119 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16124 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16125 PyObject
*pyobj
= 0;
16129 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16131 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16138 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16139 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16144 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16145 PyObject
*pyobj
= 0;
16149 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16151 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16158 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16159 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16164 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16165 PyObject
*pyobj
= 0;
16169 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16171 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16178 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16179 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16184 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16185 PyObject
*pyobj
= 0;
16189 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16191 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16198 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16199 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16204 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16205 PyObject
*pyobj
= 0;
16209 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16211 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16218 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16219 PyObject
*resultobj
= 0;
16220 wxColourData
*result
= 0 ;
16222 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= (wxColourData
*)new wxColourData();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16236 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16237 PyObject
*resultobj
= 0;
16238 wxColourData
*arg1
= (wxColourData
*) 0 ;
16241 PyObject
*swig_obj
[1] ;
16243 if (!args
) SWIG_fail
;
16244 swig_obj
[0] = args
;
16245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16246 if (!SWIG_IsOK(res1
)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16249 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= SWIG_Py_Void();
16264 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16265 PyObject
*resultobj
= 0;
16266 wxColourData
*arg1
= (wxColourData
*) 0 ;
16270 PyObject
*swig_obj
[1] ;
16272 if (!args
) SWIG_fail
;
16273 swig_obj
[0] = args
;
16274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16275 if (!SWIG_IsOK(res1
)) {
16276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16278 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (bool)(arg1
)->GetChooseFull();
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16294 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16295 PyObject
*resultobj
= 0;
16296 wxColourData
*arg1
= (wxColourData
*) 0 ;
16300 PyObject
*swig_obj
[1] ;
16302 if (!args
) SWIG_fail
;
16303 swig_obj
[0] = args
;
16304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16305 if (!SWIG_IsOK(res1
)) {
16306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16308 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= (arg1
)->GetColour();
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16315 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16322 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
= 0;
16324 wxColourData
*arg1
= (wxColourData
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 char * kwnames
[] = {
16334 (char *) "self",(char *) "i", NULL
16337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16339 if (!SWIG_IsOK(res1
)) {
16340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16342 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16344 if (!SWIG_IsOK(ecode2
)) {
16345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16347 arg2
= static_cast< int >(val2
);
16349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 result
= (arg1
)->GetCustomColour(arg2
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16361 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
= 0;
16363 wxColourData
*arg1
= (wxColourData
*) 0 ;
16369 PyObject
* obj0
= 0 ;
16370 PyObject
* obj1
= 0 ;
16371 char * kwnames
[] = {
16372 (char *) "self",(char *) "flag", NULL
16375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16380 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16382 if (!SWIG_IsOK(ecode2
)) {
16383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16385 arg2
= static_cast< int >(val2
);
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 (arg1
)->SetChooseFull(arg2
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= SWIG_Py_Void();
16399 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
= 0;
16401 wxColourData
*arg1
= (wxColourData
*) 0 ;
16402 wxColour
*arg2
= 0 ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 char * kwnames
[] = {
16409 (char *) "self",(char *) "colour", NULL
16412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16414 if (!SWIG_IsOK(res1
)) {
16415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16417 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16420 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 (arg1
)->SetColour((wxColour
const &)*arg2
);
16425 wxPyEndAllowThreads(__tstate
);
16426 if (PyErr_Occurred()) SWIG_fail
;
16428 resultobj
= SWIG_Py_Void();
16435 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
= 0;
16437 wxColourData
*arg1
= (wxColourData
*) 0 ;
16439 wxColour
*arg3
= 0 ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 PyObject
* obj2
= 0 ;
16448 char * kwnames
[] = {
16449 (char *) "self",(char *) "i",(char *) "colour", NULL
16452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16454 if (!SWIG_IsOK(res1
)) {
16455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16457 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16459 if (!SWIG_IsOK(ecode2
)) {
16460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16462 arg2
= static_cast< int >(val2
);
16465 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 resultobj
= SWIG_Py_Void();
16480 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16483 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16484 return SWIG_Py_Void();
16487 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16488 return SWIG_Python_InitShadowInstance(args
);
16491 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
= 0;
16493 wxWindow
*arg1
= (wxWindow
*) 0 ;
16494 wxColourData
*arg2
= (wxColourData
*) NULL
;
16495 wxColourDialog
*result
= 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 char * kwnames
[] = {
16503 (char *) "parent",(char *) "data", NULL
16506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16508 if (!SWIG_IsOK(res1
)) {
16509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16511 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16514 if (!SWIG_IsOK(res2
)) {
16515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16517 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16520 if (!wxPyCheckForApp()) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16533 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16534 PyObject
*resultobj
= 0;
16535 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16536 wxColourData
*result
= 0 ;
16539 PyObject
*swig_obj
[1] ;
16541 if (!args
) SWIG_fail
;
16542 swig_obj
[0] = args
;
16543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16544 if (!SWIG_IsOK(res1
)) {
16545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16547 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16552 result
= (wxColourData
*) &_result_ref
;
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16564 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16567 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16568 return SWIG_Py_Void();
16571 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16572 return SWIG_Python_InitShadowInstance(args
);
16575 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
= 0;
16577 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16578 wxColour
const &arg2_defvalue
= wxNullColour
;
16579 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16580 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16581 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16586 bool temp3
= false ;
16587 PyObject
* obj0
= 0 ;
16588 PyObject
* obj1
= 0 ;
16589 PyObject
* obj2
= 0 ;
16590 char * kwnames
[] = {
16591 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16597 if (!SWIG_IsOK(res1
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16600 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16605 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16610 arg3
= wxString_in_helper(obj2
);
16611 if (arg3
== NULL
) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16636 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
= 0;
16638 wxWindow
*arg1
= (wxWindow
*) 0 ;
16639 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16640 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16641 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16642 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16643 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16644 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16645 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16646 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16647 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16648 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16650 wxDirDialog
*result
= 0 ;
16653 bool temp2
= false ;
16654 bool temp3
= false ;
16659 bool temp7
= false ;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 PyObject
* obj2
= 0 ;
16663 PyObject
* obj3
= 0 ;
16664 PyObject
* obj4
= 0 ;
16665 PyObject
* obj5
= 0 ;
16666 PyObject
* obj6
= 0 ;
16667 char * kwnames
[] = {
16668 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16673 if (!SWIG_IsOK(res1
)) {
16674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16676 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16679 arg2
= wxString_in_helper(obj1
);
16680 if (arg2
== NULL
) SWIG_fail
;
16686 arg3
= wxString_in_helper(obj2
);
16687 if (arg3
== NULL
) SWIG_fail
;
16692 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16693 if (!SWIG_IsOK(ecode4
)) {
16694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16696 arg4
= static_cast< long >(val4
);
16701 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16707 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16712 arg7
= wxString_in_helper(obj6
);
16713 if (arg7
== NULL
) SWIG_fail
;
16718 if (!wxPyCheckForApp()) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16755 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16756 PyObject
*resultobj
= 0;
16757 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16761 PyObject
*swig_obj
[1] ;
16763 if (!args
) SWIG_fail
;
16764 swig_obj
[0] = args
;
16765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16766 if (!SWIG_IsOK(res1
)) {
16767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16769 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (arg1
)->GetPath();
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16789 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16790 PyObject
*resultobj
= 0;
16791 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16795 PyObject
*swig_obj
[1] ;
16797 if (!args
) SWIG_fail
;
16798 swig_obj
[0] = args
;
16799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16800 if (!SWIG_IsOK(res1
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16803 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (arg1
)->GetMessage();
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16823 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
= 0;
16825 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16826 wxString
*arg2
= 0 ;
16829 bool temp2
= false ;
16830 PyObject
* obj0
= 0 ;
16831 PyObject
* obj1
= 0 ;
16832 char * kwnames
[] = {
16833 (char *) "self",(char *) "message", NULL
16836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16838 if (!SWIG_IsOK(res1
)) {
16839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16841 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16843 arg2
= wxString_in_helper(obj1
);
16844 if (arg2
== NULL
) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 (arg1
)->SetMessage((wxString
const &)*arg2
);
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_Py_Void();
16868 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16869 PyObject
*resultobj
= 0;
16870 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16871 wxString
*arg2
= 0 ;
16874 bool temp2
= false ;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 char * kwnames
[] = {
16878 (char *) "self",(char *) "path", NULL
16881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16883 if (!SWIG_IsOK(res1
)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16886 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16888 arg2
= wxString_in_helper(obj1
);
16889 if (arg2
== NULL
) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 (arg1
)->SetPath((wxString
const &)*arg2
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 resultobj
= SWIG_Py_Void();
16913 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16916 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16917 return SWIG_Py_Void();
16920 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16921 return SWIG_Python_InitShadowInstance(args
);
16924 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16925 PyObject
*resultobj
= 0;
16926 wxWindow
*arg1
= (wxWindow
*) 0 ;
16927 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16928 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16929 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16930 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16931 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16932 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16933 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16934 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16935 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16936 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16937 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16938 wxFileDialog
*result
= 0 ;
16941 bool temp2
= false ;
16942 bool temp3
= false ;
16943 bool temp4
= false ;
16944 bool temp5
= false ;
16948 PyObject
* obj0
= 0 ;
16949 PyObject
* obj1
= 0 ;
16950 PyObject
* obj2
= 0 ;
16951 PyObject
* obj3
= 0 ;
16952 PyObject
* obj4
= 0 ;
16953 PyObject
* obj5
= 0 ;
16954 PyObject
* obj6
= 0 ;
16955 char * kwnames
[] = {
16956 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16961 if (!SWIG_IsOK(res1
)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16964 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16967 arg2
= wxString_in_helper(obj1
);
16968 if (arg2
== NULL
) SWIG_fail
;
16974 arg3
= wxString_in_helper(obj2
);
16975 if (arg3
== NULL
) SWIG_fail
;
16981 arg4
= wxString_in_helper(obj3
);
16982 if (arg4
== NULL
) SWIG_fail
;
16988 arg5
= wxString_in_helper(obj4
);
16989 if (arg5
== NULL
) SWIG_fail
;
16994 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16995 if (!SWIG_IsOK(ecode6
)) {
16996 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16998 arg6
= static_cast< long >(val6
);
17003 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17007 if (!wxPyCheckForApp()) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17052 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
= 0;
17054 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17055 wxString
*arg2
= 0 ;
17058 bool temp2
= false ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char * kwnames
[] = {
17062 (char *) "self",(char *) "message", NULL
17065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17067 if (!SWIG_IsOK(res1
)) {
17068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17070 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17072 arg2
= wxString_in_helper(obj1
);
17073 if (arg2
== NULL
) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 (arg1
)->SetMessage((wxString
const &)*arg2
);
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= SWIG_Py_Void();
17097 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
= 0;
17099 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17100 wxString
*arg2
= 0 ;
17103 bool temp2
= false ;
17104 PyObject
* obj0
= 0 ;
17105 PyObject
* obj1
= 0 ;
17106 char * kwnames
[] = {
17107 (char *) "self",(char *) "path", NULL
17110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17112 if (!SWIG_IsOK(res1
)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17115 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17117 arg2
= wxString_in_helper(obj1
);
17118 if (arg2
== NULL
) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 (arg1
)->SetPath((wxString
const &)*arg2
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= SWIG_Py_Void();
17142 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
= 0;
17144 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17145 wxString
*arg2
= 0 ;
17148 bool temp2
= false ;
17149 PyObject
* obj0
= 0 ;
17150 PyObject
* obj1
= 0 ;
17151 char * kwnames
[] = {
17152 (char *) "self",(char *) "dir", NULL
17155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17157 if (!SWIG_IsOK(res1
)) {
17158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17160 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17162 arg2
= wxString_in_helper(obj1
);
17163 if (arg2
== NULL
) SWIG_fail
;
17167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17168 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_Py_Void();
17187 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
= 0;
17189 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17190 wxString
*arg2
= 0 ;
17193 bool temp2
= false ;
17194 PyObject
* obj0
= 0 ;
17195 PyObject
* obj1
= 0 ;
17196 char * kwnames
[] = {
17197 (char *) "self",(char *) "name", NULL
17200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17202 if (!SWIG_IsOK(res1
)) {
17203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17205 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17207 arg2
= wxString_in_helper(obj1
);
17208 if (arg2
== NULL
) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 (arg1
)->SetFilename((wxString
const &)*arg2
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= SWIG_Py_Void();
17232 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
= 0;
17234 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17235 wxString
*arg2
= 0 ;
17238 bool temp2
= false ;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char * kwnames
[] = {
17242 (char *) "self",(char *) "wildCard", NULL
17245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17247 if (!SWIG_IsOK(res1
)) {
17248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17250 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17252 arg2
= wxString_in_helper(obj1
);
17253 if (arg2
== NULL
) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= SWIG_Py_Void();
17277 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
= 0;
17279 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 char * kwnames
[] = {
17288 (char *) "self",(char *) "filterIndex", NULL
17291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17293 if (!SWIG_IsOK(res1
)) {
17294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17296 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17298 if (!SWIG_IsOK(ecode2
)) {
17299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17301 arg2
= static_cast< int >(val2
);
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17304 (arg1
)->SetFilterIndex(arg2
);
17305 wxPyEndAllowThreads(__tstate
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= SWIG_Py_Void();
17315 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17316 PyObject
*resultobj
= 0;
17317 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17321 PyObject
*swig_obj
[1] ;
17323 if (!args
) SWIG_fail
;
17324 swig_obj
[0] = args
;
17325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17326 if (!SWIG_IsOK(res1
)) {
17327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17329 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17349 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17350 PyObject
*resultobj
= 0;
17351 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17355 PyObject
*swig_obj
[1] ;
17357 if (!args
) SWIG_fail
;
17358 swig_obj
[0] = args
;
17359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17360 if (!SWIG_IsOK(res1
)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17363 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17383 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17384 PyObject
*resultobj
= 0;
17385 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17389 PyObject
*swig_obj
[1] ;
17391 if (!args
) SWIG_fail
;
17392 swig_obj
[0] = args
;
17393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17394 if (!SWIG_IsOK(res1
)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17397 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17417 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17418 PyObject
*resultobj
= 0;
17419 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17423 PyObject
*swig_obj
[1] ;
17425 if (!args
) SWIG_fail
;
17426 swig_obj
[0] = args
;
17427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17428 if (!SWIG_IsOK(res1
)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17431 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17451 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17452 PyObject
*resultobj
= 0;
17453 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17457 PyObject
*swig_obj
[1] ;
17459 if (!args
) SWIG_fail
;
17460 swig_obj
[0] = args
;
17461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17462 if (!SWIG_IsOK(res1
)) {
17463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17465 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17485 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17486 PyObject
*resultobj
= 0;
17487 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17491 PyObject
*swig_obj
[1] ;
17493 if (!args
) SWIG_fail
;
17494 swig_obj
[0] = args
;
17495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17496 if (!SWIG_IsOK(res1
)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17499 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= SWIG_From_int(static_cast< int >(result
));
17513 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17514 PyObject
*resultobj
= 0;
17515 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17516 PyObject
*result
= 0 ;
17519 PyObject
*swig_obj
[1] ;
17521 if (!args
) SWIG_fail
;
17522 swig_obj
[0] = args
;
17523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17524 if (!SWIG_IsOK(res1
)) {
17525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17527 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= result
;
17541 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17542 PyObject
*resultobj
= 0;
17543 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17544 PyObject
*result
= 0 ;
17547 PyObject
*swig_obj
[1] ;
17549 if (!args
) SWIG_fail
;
17550 swig_obj
[0] = args
;
17551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17552 if (!SWIG_IsOK(res1
)) {
17553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17555 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= result
;
17569 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17572 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17573 return SWIG_Py_Void();
17576 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17577 return SWIG_Python_InitShadowInstance(args
);
17580 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
= 0;
17582 wxWindow
*arg1
= (wxWindow
*) 0 ;
17583 wxString
*arg2
= 0 ;
17584 wxString
*arg3
= 0 ;
17585 int arg4
= (int) 0 ;
17586 wxString
*arg5
= (wxString
*) NULL
;
17587 long arg6
= (long) wxCHOICEDLG_STYLE
;
17588 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17589 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17590 wxMultiChoiceDialog
*result
= 0 ;
17593 bool temp2
= false ;
17594 bool temp3
= false ;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 PyObject
* obj2
= 0 ;
17601 PyObject
* obj3
= 0 ;
17602 PyObject
* obj4
= 0 ;
17603 PyObject
* obj5
= 0 ;
17604 char * kwnames
[] = {
17605 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17610 if (!SWIG_IsOK(res1
)) {
17611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17613 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17615 arg2
= wxString_in_helper(obj1
);
17616 if (arg2
== NULL
) SWIG_fail
;
17620 arg3
= wxString_in_helper(obj2
);
17621 if (arg3
== NULL
) SWIG_fail
;
17626 arg4
= PyList_Size(obj3
);
17627 arg5
= wxString_LIST_helper(obj3
);
17628 if (arg5
== NULL
) SWIG_fail
;
17632 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17633 if (!SWIG_IsOK(ecode6
)) {
17634 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17636 arg6
= static_cast< long >(val6
);
17641 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17645 if (!wxPyCheckForApp()) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17661 if (arg5
) delete [] arg5
;
17674 if (arg5
) delete [] arg5
;
17680 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
= 0;
17682 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17683 wxArrayInt
*arg2
= 0 ;
17686 bool temp2
= false ;
17687 PyObject
* obj0
= 0 ;
17688 PyObject
* obj1
= 0 ;
17689 char * kwnames
[] = {
17690 (char *) "self",(char *) "selections", NULL
17693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17695 if (!SWIG_IsOK(res1
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17698 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17700 if (! PySequence_Check(obj1
)) {
17701 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17704 arg2
= new wxArrayInt
;
17706 int i
, len
=PySequence_Length(obj1
);
17707 for (i
=0; i
<len
; i
++) {
17708 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17709 PyObject
* number
= PyNumber_Int(item
);
17710 arg2
->Add(PyInt_AS_LONG(number
));
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17721 resultobj
= SWIG_Py_Void();
17723 if (temp2
) delete arg2
;
17728 if (temp2
) delete arg2
;
17734 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17735 PyObject
*resultobj
= 0;
17736 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17737 PyObject
*result
= 0 ;
17740 PyObject
*swig_obj
[1] ;
17742 if (!args
) SWIG_fail
;
17743 swig_obj
[0] = args
;
17744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17745 if (!SWIG_IsOK(res1
)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17748 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= result
;
17762 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17765 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17766 return SWIG_Py_Void();
17769 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17770 return SWIG_Python_InitShadowInstance(args
);
17773 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
= 0;
17775 wxWindow
*arg1
= (wxWindow
*) 0 ;
17776 wxString
*arg2
= 0 ;
17777 wxString
*arg3
= 0 ;
17779 wxString
*arg5
= (wxString
*) 0 ;
17780 long arg6
= (long) wxCHOICEDLG_STYLE
;
17781 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17782 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17783 wxSingleChoiceDialog
*result
= 0 ;
17786 bool temp2
= false ;
17787 bool temp3
= false ;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 PyObject
* obj2
= 0 ;
17794 PyObject
* obj3
= 0 ;
17795 PyObject
* obj4
= 0 ;
17796 PyObject
* obj5
= 0 ;
17797 char * kwnames
[] = {
17798 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17803 if (!SWIG_IsOK(res1
)) {
17804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17808 arg2
= wxString_in_helper(obj1
);
17809 if (arg2
== NULL
) SWIG_fail
;
17813 arg3
= wxString_in_helper(obj2
);
17814 if (arg3
== NULL
) SWIG_fail
;
17818 arg4
= PyList_Size(obj3
);
17819 arg5
= wxString_LIST_helper(obj3
);
17820 if (arg5
== NULL
) SWIG_fail
;
17823 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17824 if (!SWIG_IsOK(ecode6
)) {
17825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17827 arg6
= static_cast< long >(val6
);
17832 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17836 if (!wxPyCheckForApp()) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17852 if (arg5
) delete [] arg5
;
17865 if (arg5
) delete [] arg5
;
17871 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17872 PyObject
*resultobj
= 0;
17873 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17877 PyObject
*swig_obj
[1] ;
17879 if (!args
) SWIG_fail
;
17880 swig_obj
[0] = args
;
17881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17882 if (!SWIG_IsOK(res1
)) {
17883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17885 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= (int)(arg1
)->GetSelection();
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= SWIG_From_int(static_cast< int >(result
));
17899 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17900 PyObject
*resultobj
= 0;
17901 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17905 PyObject
*swig_obj
[1] ;
17907 if (!args
) SWIG_fail
;
17908 swig_obj
[0] = args
;
17909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17910 if (!SWIG_IsOK(res1
)) {
17911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17913 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 result
= (arg1
)->GetStringSelection();
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17933 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
= 0;
17935 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "sel", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17952 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17954 if (!SWIG_IsOK(ecode2
)) {
17955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17957 arg2
= static_cast< int >(val2
);
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->SetSelection(arg2
);
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= SWIG_Py_Void();
17971 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17974 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17975 return SWIG_Py_Void();
17978 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17979 return SWIG_Python_InitShadowInstance(args
);
17982 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
= 0;
17984 wxWindow
*arg1
= (wxWindow
*) 0 ;
17985 wxString
*arg2
= 0 ;
17986 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17987 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17988 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17989 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17990 long arg5
= (long) wxTextEntryDialogStyle
;
17991 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17992 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17993 wxTextEntryDialog
*result
= 0 ;
17996 bool temp2
= false ;
17997 bool temp3
= false ;
17998 bool temp4
= false ;
18002 PyObject
* obj0
= 0 ;
18003 PyObject
* obj1
= 0 ;
18004 PyObject
* obj2
= 0 ;
18005 PyObject
* obj3
= 0 ;
18006 PyObject
* obj4
= 0 ;
18007 PyObject
* obj5
= 0 ;
18008 char * kwnames
[] = {
18009 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18014 if (!SWIG_IsOK(res1
)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18017 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18019 arg2
= wxString_in_helper(obj1
);
18020 if (arg2
== NULL
) SWIG_fail
;
18025 arg3
= wxString_in_helper(obj2
);
18026 if (arg3
== NULL
) SWIG_fail
;
18032 arg4
= wxString_in_helper(obj3
);
18033 if (arg4
== NULL
) SWIG_fail
;
18038 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18039 if (!SWIG_IsOK(ecode5
)) {
18040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18042 arg5
= static_cast< long >(val5
);
18047 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18051 if (!wxPyCheckForApp()) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18088 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18089 PyObject
*resultobj
= 0;
18090 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18094 PyObject
*swig_obj
[1] ;
18096 if (!args
) SWIG_fail
;
18097 swig_obj
[0] = args
;
18098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18099 if (!SWIG_IsOK(res1
)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18102 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (arg1
)->GetValue();
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18122 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
= 0;
18124 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18125 wxString
*arg2
= 0 ;
18128 bool temp2
= false ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 char * kwnames
[] = {
18132 (char *) "self",(char *) "value", NULL
18135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18137 if (!SWIG_IsOK(res1
)) {
18138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18140 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18142 arg2
= wxString_in_helper(obj1
);
18143 if (arg2
== NULL
) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 (arg1
)->SetValue((wxString
const &)*arg2
);
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 resultobj
= SWIG_Py_Void();
18167 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18170 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18171 return SWIG_Py_Void();
18174 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18175 return SWIG_Python_InitShadowInstance(args
);
18178 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18179 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18184 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18185 PyObject
*pyobj
= 0;
18189 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18191 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18198 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
= 0;
18200 wxWindow
*arg1
= (wxWindow
*) 0 ;
18201 wxString
*arg2
= 0 ;
18202 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18203 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18204 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18205 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18206 long arg5
= (long) wxTextEntryDialogStyle
;
18207 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18208 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18209 wxPasswordEntryDialog
*result
= 0 ;
18212 bool temp2
= false ;
18213 bool temp3
= false ;
18214 bool temp4
= false ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 PyObject
* obj2
= 0 ;
18221 PyObject
* obj3
= 0 ;
18222 PyObject
* obj4
= 0 ;
18223 PyObject
* obj5
= 0 ;
18224 char * kwnames
[] = {
18225 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18230 if (!SWIG_IsOK(res1
)) {
18231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18233 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18235 arg2
= wxString_in_helper(obj1
);
18236 if (arg2
== NULL
) SWIG_fail
;
18241 arg3
= wxString_in_helper(obj2
);
18242 if (arg3
== NULL
) SWIG_fail
;
18248 arg4
= wxString_in_helper(obj3
);
18249 if (arg4
== NULL
) SWIG_fail
;
18254 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18255 if (!SWIG_IsOK(ecode5
)) {
18256 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18258 arg5
= static_cast< long >(val5
);
18263 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18303 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18306 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18307 return SWIG_Py_Void();
18310 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18311 return SWIG_Python_InitShadowInstance(args
);
18314 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
= 0;
18316 wxWindow
*arg1
= (wxWindow
*) 0 ;
18317 wxString
*arg2
= 0 ;
18318 wxString
*arg3
= 0 ;
18319 wxString
*arg4
= 0 ;
18323 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18324 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18325 wxNumberEntryDialog
*result
= 0 ;
18328 bool temp2
= false ;
18329 bool temp3
= false ;
18330 bool temp4
= false ;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 PyObject
* obj2
= 0 ;
18341 PyObject
* obj3
= 0 ;
18342 PyObject
* obj4
= 0 ;
18343 PyObject
* obj5
= 0 ;
18344 PyObject
* obj6
= 0 ;
18345 PyObject
* obj7
= 0 ;
18346 char * kwnames
[] = {
18347 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18352 if (!SWIG_IsOK(res1
)) {
18353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18355 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18357 arg2
= wxString_in_helper(obj1
);
18358 if (arg2
== NULL
) SWIG_fail
;
18362 arg3
= wxString_in_helper(obj2
);
18363 if (arg3
== NULL
) SWIG_fail
;
18367 arg4
= wxString_in_helper(obj3
);
18368 if (arg4
== NULL
) SWIG_fail
;
18371 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18372 if (!SWIG_IsOK(ecode5
)) {
18373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18375 arg5
= static_cast< long >(val5
);
18376 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18377 if (!SWIG_IsOK(ecode6
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18380 arg6
= static_cast< long >(val6
);
18381 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18382 if (!SWIG_IsOK(ecode7
)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18385 arg7
= static_cast< long >(val7
);
18389 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18393 if (!wxPyCheckForApp()) SWIG_fail
;
18394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18430 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18431 PyObject
*resultobj
= 0;
18432 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18436 PyObject
*swig_obj
[1] ;
18438 if (!args
) SWIG_fail
;
18439 swig_obj
[0] = args
;
18440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18441 if (!SWIG_IsOK(res1
)) {
18442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18444 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (long)(arg1
)->GetValue();
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= SWIG_From_long(static_cast< long >(result
));
18458 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18461 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18462 return SWIG_Py_Void();
18465 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18466 return SWIG_Python_InitShadowInstance(args
);
18469 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18470 PyObject
*resultobj
= 0;
18471 wxFontData
*result
= 0 ;
18473 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (wxFontData
*)new wxFontData();
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18487 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18488 PyObject
*resultobj
= 0;
18489 wxFontData
*arg1
= (wxFontData
*) 0 ;
18492 PyObject
*swig_obj
[1] ;
18494 if (!args
) SWIG_fail
;
18495 swig_obj
[0] = args
;
18496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18497 if (!SWIG_IsOK(res1
)) {
18498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18500 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= SWIG_Py_Void();
18515 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
= 0;
18517 wxFontData
*arg1
= (wxFontData
*) 0 ;
18523 PyObject
* obj0
= 0 ;
18524 PyObject
* obj1
= 0 ;
18525 char * kwnames
[] = {
18526 (char *) "self",(char *) "enable", NULL
18529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18531 if (!SWIG_IsOK(res1
)) {
18532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18534 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18535 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18536 if (!SWIG_IsOK(ecode2
)) {
18537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18539 arg2
= static_cast< bool >(val2
);
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 (arg1
)->EnableEffects(arg2
);
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= SWIG_Py_Void();
18553 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18554 PyObject
*resultobj
= 0;
18555 wxFontData
*arg1
= (wxFontData
*) 0 ;
18559 PyObject
*swig_obj
[1] ;
18561 if (!args
) SWIG_fail
;
18562 swig_obj
[0] = args
;
18563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18564 if (!SWIG_IsOK(res1
)) {
18565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18567 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 result
= (bool)(arg1
)->GetAllowSymbols();
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18583 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18584 PyObject
*resultobj
= 0;
18585 wxFontData
*arg1
= (wxFontData
*) 0 ;
18589 PyObject
*swig_obj
[1] ;
18591 if (!args
) SWIG_fail
;
18592 swig_obj
[0] = args
;
18593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18594 if (!SWIG_IsOK(res1
)) {
18595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18597 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= (arg1
)->GetColour();
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18604 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18611 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18612 PyObject
*resultobj
= 0;
18613 wxFontData
*arg1
= (wxFontData
*) 0 ;
18617 PyObject
*swig_obj
[1] ;
18619 if (!args
) SWIG_fail
;
18620 swig_obj
[0] = args
;
18621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18622 if (!SWIG_IsOK(res1
)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18625 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= (arg1
)->GetChosenFont();
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18639 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18640 PyObject
*resultobj
= 0;
18641 wxFontData
*arg1
= (wxFontData
*) 0 ;
18645 PyObject
*swig_obj
[1] ;
18647 if (!args
) SWIG_fail
;
18648 swig_obj
[0] = args
;
18649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18650 if (!SWIG_IsOK(res1
)) {
18651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18653 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (bool)(arg1
)->GetEnableEffects();
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18669 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18670 PyObject
*resultobj
= 0;
18671 wxFontData
*arg1
= (wxFontData
*) 0 ;
18675 PyObject
*swig_obj
[1] ;
18677 if (!args
) SWIG_fail
;
18678 swig_obj
[0] = args
;
18679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18680 if (!SWIG_IsOK(res1
)) {
18681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18683 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= (arg1
)->GetInitialFont();
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18697 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18698 PyObject
*resultobj
= 0;
18699 wxFontData
*arg1
= (wxFontData
*) 0 ;
18703 PyObject
*swig_obj
[1] ;
18705 if (!args
) SWIG_fail
;
18706 swig_obj
[0] = args
;
18707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18708 if (!SWIG_IsOK(res1
)) {
18709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18711 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (bool)(arg1
)->GetShowHelp();
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18727 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
= 0;
18729 wxFontData
*arg1
= (wxFontData
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj1
= 0 ;
18737 char * kwnames
[] = {
18738 (char *) "self",(char *) "allowSymbols", NULL
18741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18743 if (!SWIG_IsOK(res1
)) {
18744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18746 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18747 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18748 if (!SWIG_IsOK(ecode2
)) {
18749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18751 arg2
= static_cast< bool >(val2
);
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 (arg1
)->SetAllowSymbols(arg2
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= SWIG_Py_Void();
18765 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
= 0;
18767 wxFontData
*arg1
= (wxFontData
*) 0 ;
18773 PyObject
* obj0
= 0 ;
18774 PyObject
* obj1
= 0 ;
18775 char * kwnames
[] = {
18776 (char *) "self",(char *) "font", NULL
18779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18781 if (!SWIG_IsOK(res1
)) {
18782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18784 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18786 if (!SWIG_IsOK(res2
)) {
18787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18792 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_Py_Void();
18806 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
= 0;
18808 wxFontData
*arg1
= (wxFontData
*) 0 ;
18809 wxColour
*arg2
= 0 ;
18813 PyObject
* obj0
= 0 ;
18814 PyObject
* obj1
= 0 ;
18815 char * kwnames
[] = {
18816 (char *) "self",(char *) "colour", NULL
18819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18821 if (!SWIG_IsOK(res1
)) {
18822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18824 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18827 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 (arg1
)->SetColour((wxColour
const &)*arg2
);
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= SWIG_Py_Void();
18842 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
= 0;
18844 wxFontData
*arg1
= (wxFontData
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 PyObject
* obj1
= 0 ;
18852 char * kwnames
[] = {
18853 (char *) "self",(char *) "font", NULL
18856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18858 if (!SWIG_IsOK(res1
)) {
18859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18861 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18863 if (!SWIG_IsOK(res2
)) {
18864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18869 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 resultobj
= SWIG_Py_Void();
18883 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
= 0;
18885 wxFontData
*arg1
= (wxFontData
*) 0 ;
18894 PyObject
* obj0
= 0 ;
18895 PyObject
* obj1
= 0 ;
18896 PyObject
* obj2
= 0 ;
18897 char * kwnames
[] = {
18898 (char *) "self",(char *) "min",(char *) "max", NULL
18901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18903 if (!SWIG_IsOK(res1
)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18906 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18908 if (!SWIG_IsOK(ecode2
)) {
18909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18911 arg2
= static_cast< int >(val2
);
18912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18913 if (!SWIG_IsOK(ecode3
)) {
18914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18916 arg3
= static_cast< int >(val3
);
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 (arg1
)->SetRange(arg2
,arg3
);
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= SWIG_Py_Void();
18930 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
= 0;
18932 wxFontData
*arg1
= (wxFontData
*) 0 ;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 char * kwnames
[] = {
18941 (char *) "self",(char *) "showHelp", NULL
18944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18946 if (!SWIG_IsOK(res1
)) {
18947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18949 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18950 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18951 if (!SWIG_IsOK(ecode2
)) {
18952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18954 arg2
= static_cast< bool >(val2
);
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 (arg1
)->SetShowHelp(arg2
);
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 resultobj
= SWIG_Py_Void();
18968 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18971 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18972 return SWIG_Py_Void();
18975 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18976 return SWIG_Python_InitShadowInstance(args
);
18979 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
= 0;
18981 wxWindow
*arg1
= (wxWindow
*) 0 ;
18982 wxFontData
*arg2
= 0 ;
18983 wxFontDialog
*result
= 0 ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 char * kwnames
[] = {
18991 (char *) "parent",(char *) "data", NULL
18994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18996 if (!SWIG_IsOK(res1
)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18999 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19001 if (!SWIG_IsOK(res2
)) {
19002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19007 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19009 if (!wxPyCheckForApp()) SWIG_fail
;
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19022 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19023 PyObject
*resultobj
= 0;
19024 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19025 wxFontData
*result
= 0 ;
19028 PyObject
*swig_obj
[1] ;
19030 if (!args
) SWIG_fail
;
19031 swig_obj
[0] = args
;
19032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19033 if (!SWIG_IsOK(res1
)) {
19034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19036 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19041 result
= (wxFontData
*) &_result_ref
;
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19053 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19056 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19057 return SWIG_Py_Void();
19060 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19061 return SWIG_Python_InitShadowInstance(args
);
19064 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
= 0;
19066 wxWindow
*arg1
= (wxWindow
*) NULL
;
19067 wxFont
const &arg2_defvalue
= wxNullFont
;
19068 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19069 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19070 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19076 bool temp3
= false ;
19077 PyObject
* obj0
= 0 ;
19078 PyObject
* obj1
= 0 ;
19079 PyObject
* obj2
= 0 ;
19080 char * kwnames
[] = {
19081 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19087 if (!SWIG_IsOK(res1
)) {
19088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19090 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19094 if (!SWIG_IsOK(res2
)) {
19095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19100 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19104 arg3
= wxString_in_helper(obj2
);
19105 if (arg3
== NULL
) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19130 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
= 0;
19132 wxWindow
*arg1
= (wxWindow
*) 0 ;
19133 wxString
*arg2
= 0 ;
19134 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19135 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19136 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19137 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19138 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19139 wxMessageDialog
*result
= 0 ;
19142 bool temp2
= false ;
19143 bool temp3
= false ;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 PyObject
* obj2
= 0 ;
19150 PyObject
* obj3
= 0 ;
19151 PyObject
* obj4
= 0 ;
19152 char * kwnames
[] = {
19153 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19158 if (!SWIG_IsOK(res1
)) {
19159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19161 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19163 arg2
= wxString_in_helper(obj1
);
19164 if (arg2
== NULL
) SWIG_fail
;
19169 arg3
= wxString_in_helper(obj2
);
19170 if (arg3
== NULL
) SWIG_fail
;
19175 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19176 if (!SWIG_IsOK(ecode4
)) {
19177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19179 arg4
= static_cast< long >(val4
);
19184 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19188 if (!wxPyCheckForApp()) SWIG_fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19217 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19220 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19221 return SWIG_Py_Void();
19224 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19225 return SWIG_Python_InitShadowInstance(args
);
19228 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
= 0;
19230 wxString
*arg1
= 0 ;
19231 wxString
*arg2
= 0 ;
19232 int arg3
= (int) 100 ;
19233 wxWindow
*arg4
= (wxWindow
*) NULL
;
19234 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19235 wxProgressDialog
*result
= 0 ;
19236 bool temp1
= false ;
19237 bool temp2
= false ;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 PyObject
* obj2
= 0 ;
19247 PyObject
* obj3
= 0 ;
19248 PyObject
* obj4
= 0 ;
19249 char * kwnames
[] = {
19250 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19255 arg1
= wxString_in_helper(obj0
);
19256 if (arg1
== NULL
) SWIG_fail
;
19260 arg2
= wxString_in_helper(obj1
);
19261 if (arg2
== NULL
) SWIG_fail
;
19265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19266 if (!SWIG_IsOK(ecode3
)) {
19267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19269 arg3
= static_cast< int >(val3
);
19272 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19273 if (!SWIG_IsOK(res4
)) {
19274 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19276 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19280 if (!SWIG_IsOK(ecode5
)) {
19281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19283 arg5
= static_cast< int >(val5
);
19286 if (!wxPyCheckForApp()) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19315 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
= 0;
19317 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19319 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19320 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19321 bool *arg4
= (bool *) 0 ;
19327 bool temp3
= false ;
19329 int res4
= SWIG_TMPOBJ
;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 PyObject
* obj2
= 0 ;
19333 char * kwnames
[] = {
19334 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19340 if (!SWIG_IsOK(res1
)) {
19341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19343 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19345 if (!SWIG_IsOK(ecode2
)) {
19346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19348 arg2
= static_cast< int >(val2
);
19351 arg3
= wxString_in_helper(obj2
);
19352 if (arg3
== NULL
) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19365 if (SWIG_IsTmpObj(res4
)) {
19366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19368 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19385 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19386 PyObject
*resultobj
= 0;
19387 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19390 PyObject
*swig_obj
[1] ;
19392 if (!args
) SWIG_fail
;
19393 swig_obj
[0] = args
;
19394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19395 if (!SWIG_IsOK(res1
)) {
19396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19398 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= SWIG_Py_Void();
19412 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19415 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19416 return SWIG_Py_Void();
19419 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19420 return SWIG_Python_InitShadowInstance(args
);
19423 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
= 0;
19425 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19426 int arg2
= (int) 0 ;
19427 wxFindDialogEvent
*result
= 0 ;
19432 PyObject
* obj0
= 0 ;
19433 PyObject
* obj1
= 0 ;
19434 char * kwnames
[] = {
19435 (char *) "commandType",(char *) "id", NULL
19438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19440 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19441 if (!SWIG_IsOK(ecode1
)) {
19442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19444 arg1
= static_cast< wxEventType
>(val1
);
19447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19448 if (!SWIG_IsOK(ecode2
)) {
19449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19451 arg2
= static_cast< int >(val2
);
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19466 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19467 PyObject
*resultobj
= 0;
19468 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19472 PyObject
*swig_obj
[1] ;
19474 if (!args
) SWIG_fail
;
19475 swig_obj
[0] = args
;
19476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19477 if (!SWIG_IsOK(res1
)) {
19478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19480 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19483 result
= (int)(arg1
)->GetFlags();
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= SWIG_From_int(static_cast< int >(result
));
19494 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19495 PyObject
*resultobj
= 0;
19496 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19497 wxString
*result
= 0 ;
19500 PyObject
*swig_obj
[1] ;
19502 if (!args
) SWIG_fail
;
19503 swig_obj
[0] = args
;
19504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19505 if (!SWIG_IsOK(res1
)) {
19506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19508 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 wxString
const &_result_ref
= (arg1
)->GetFindString();
19513 result
= (wxString
*) &_result_ref
;
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19522 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19531 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19532 PyObject
*resultobj
= 0;
19533 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19534 wxString
*result
= 0 ;
19537 PyObject
*swig_obj
[1] ;
19539 if (!args
) SWIG_fail
;
19540 swig_obj
[0] = args
;
19541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19542 if (!SWIG_IsOK(res1
)) {
19543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19545 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19550 result
= (wxString
*) &_result_ref
;
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19557 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19559 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19568 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19569 PyObject
*resultobj
= 0;
19570 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19571 wxFindReplaceDialog
*result
= 0 ;
19574 PyObject
*swig_obj
[1] ;
19576 if (!args
) SWIG_fail
;
19577 swig_obj
[0] = args
;
19578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19579 if (!SWIG_IsOK(res1
)) {
19580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19582 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19596 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
= 0;
19598 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 char * kwnames
[] = {
19607 (char *) "self",(char *) "flags", NULL
19610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19612 if (!SWIG_IsOK(res1
)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19615 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19617 if (!SWIG_IsOK(ecode2
)) {
19618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19620 arg2
= static_cast< int >(val2
);
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 (arg1
)->SetFlags(arg2
);
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 resultobj
= SWIG_Py_Void();
19634 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
= 0;
19636 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19637 wxString
*arg2
= 0 ;
19640 bool temp2
= false ;
19641 PyObject
* obj0
= 0 ;
19642 PyObject
* obj1
= 0 ;
19643 char * kwnames
[] = {
19644 (char *) "self",(char *) "str", NULL
19647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19649 if (!SWIG_IsOK(res1
)) {
19650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19652 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19654 arg2
= wxString_in_helper(obj1
);
19655 if (arg2
== NULL
) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 (arg1
)->SetFindString((wxString
const &)*arg2
);
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= SWIG_Py_Void();
19679 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
= 0;
19681 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19682 wxString
*arg2
= 0 ;
19685 bool temp2
= false ;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 char * kwnames
[] = {
19689 (char *) "self",(char *) "str", NULL
19692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19694 if (!SWIG_IsOK(res1
)) {
19695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19697 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19699 arg2
= wxString_in_helper(obj1
);
19700 if (arg2
== NULL
) SWIG_fail
;
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= SWIG_Py_Void();
19724 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19727 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19728 return SWIG_Py_Void();
19731 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19732 return SWIG_Python_InitShadowInstance(args
);
19735 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
= 0;
19737 int arg1
= (int) 0 ;
19738 wxFindReplaceData
*result
= 0 ;
19741 PyObject
* obj0
= 0 ;
19742 char * kwnames
[] = {
19743 (char *) "flags", NULL
19746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19749 if (!SWIG_IsOK(ecode1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19752 arg1
= static_cast< int >(val1
);
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19767 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19768 PyObject
*resultobj
= 0;
19769 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19772 PyObject
*swig_obj
[1] ;
19774 if (!args
) SWIG_fail
;
19775 swig_obj
[0] = args
;
19776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19777 if (!SWIG_IsOK(res1
)) {
19778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19780 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= SWIG_Py_Void();
19795 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19796 PyObject
*resultobj
= 0;
19797 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19798 wxString
*result
= 0 ;
19801 PyObject
*swig_obj
[1] ;
19803 if (!args
) SWIG_fail
;
19804 swig_obj
[0] = args
;
19805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19806 if (!SWIG_IsOK(res1
)) {
19807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19809 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 wxString
const &_result_ref
= (arg1
)->GetFindString();
19814 result
= (wxString
*) &_result_ref
;
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19823 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19832 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19833 PyObject
*resultobj
= 0;
19834 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19835 wxString
*result
= 0 ;
19838 PyObject
*swig_obj
[1] ;
19840 if (!args
) SWIG_fail
;
19841 swig_obj
[0] = args
;
19842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19843 if (!SWIG_IsOK(res1
)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19846 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19851 result
= (wxString
*) &_result_ref
;
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19860 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19869 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19870 PyObject
*resultobj
= 0;
19871 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19875 PyObject
*swig_obj
[1] ;
19877 if (!args
) SWIG_fail
;
19878 swig_obj
[0] = args
;
19879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19880 if (!SWIG_IsOK(res1
)) {
19881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19883 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19886 result
= (int)(arg1
)->GetFlags();
19887 wxPyEndAllowThreads(__tstate
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= SWIG_From_int(static_cast< int >(result
));
19897 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
= 0;
19899 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 char * kwnames
[] = {
19908 (char *) "self",(char *) "flags", NULL
19911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19913 if (!SWIG_IsOK(res1
)) {
19914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19916 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19918 if (!SWIG_IsOK(ecode2
)) {
19919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19921 arg2
= static_cast< int >(val2
);
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 (arg1
)->SetFlags(arg2
);
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 resultobj
= SWIG_Py_Void();
19935 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
= 0;
19937 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19938 wxString
*arg2
= 0 ;
19941 bool temp2
= false ;
19942 PyObject
* obj0
= 0 ;
19943 PyObject
* obj1
= 0 ;
19944 char * kwnames
[] = {
19945 (char *) "self",(char *) "str", NULL
19948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19950 if (!SWIG_IsOK(res1
)) {
19951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19953 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19955 arg2
= wxString_in_helper(obj1
);
19956 if (arg2
== NULL
) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 (arg1
)->SetFindString((wxString
const &)*arg2
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= SWIG_Py_Void();
19980 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
= 0;
19982 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19983 wxString
*arg2
= 0 ;
19986 bool temp2
= false ;
19987 PyObject
* obj0
= 0 ;
19988 PyObject
* obj1
= 0 ;
19989 char * kwnames
[] = {
19990 (char *) "self",(char *) "str", NULL
19993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19995 if (!SWIG_IsOK(res1
)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19998 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20000 arg2
= wxString_in_helper(obj1
);
20001 if (arg2
== NULL
) SWIG_fail
;
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20010 resultobj
= SWIG_Py_Void();
20025 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20028 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20029 return SWIG_Py_Void();
20032 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20033 return SWIG_Python_InitShadowInstance(args
);
20036 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
= 0;
20038 wxWindow
*arg1
= (wxWindow
*) 0 ;
20039 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20040 wxString
*arg3
= 0 ;
20041 int arg4
= (int) 0 ;
20042 wxFindReplaceDialog
*result
= 0 ;
20047 bool temp3
= false ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 PyObject
* obj2
= 0 ;
20053 PyObject
* obj3
= 0 ;
20054 char * kwnames
[] = {
20055 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20060 if (!SWIG_IsOK(res1
)) {
20061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20063 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20065 if (!SWIG_IsOK(res2
)) {
20066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20068 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20070 arg3
= wxString_in_helper(obj2
);
20071 if (arg3
== NULL
) SWIG_fail
;
20075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20076 if (!SWIG_IsOK(ecode4
)) {
20077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20079 arg4
= static_cast< int >(val4
);
20082 if (!wxPyCheckForApp()) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20103 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20104 PyObject
*resultobj
= 0;
20105 wxFindReplaceDialog
*result
= 0 ;
20107 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20109 if (!wxPyCheckForApp()) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20122 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20123 PyObject
*resultobj
= 0;
20124 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20125 wxWindow
*arg2
= (wxWindow
*) 0 ;
20126 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20127 wxString
*arg4
= 0 ;
20128 int arg5
= (int) 0 ;
20136 bool temp4
= false ;
20139 PyObject
* obj0
= 0 ;
20140 PyObject
* obj1
= 0 ;
20141 PyObject
* obj2
= 0 ;
20142 PyObject
* obj3
= 0 ;
20143 PyObject
* obj4
= 0 ;
20144 char * kwnames
[] = {
20145 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20150 if (!SWIG_IsOK(res1
)) {
20151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20153 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20155 if (!SWIG_IsOK(res2
)) {
20156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20158 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20159 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20160 if (!SWIG_IsOK(res3
)) {
20161 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20163 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20165 arg4
= wxString_in_helper(obj3
);
20166 if (arg4
== NULL
) SWIG_fail
;
20170 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20171 if (!SWIG_IsOK(ecode5
)) {
20172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20174 arg5
= static_cast< int >(val5
);
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20179 wxPyEndAllowThreads(__tstate
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20199 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20200 PyObject
*resultobj
= 0;
20201 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20202 wxFindReplaceData
*result
= 0 ;
20205 PyObject
*swig_obj
[1] ;
20207 if (!args
) SWIG_fail
;
20208 swig_obj
[0] = args
;
20209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20210 if (!SWIG_IsOK(res1
)) {
20211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20213 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20227 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
= 0;
20229 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20230 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 PyObject
* obj1
= 0 ;
20237 char * kwnames
[] = {
20238 (char *) "self",(char *) "data", NULL
20241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20243 if (!SWIG_IsOK(res1
)) {
20244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20246 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20248 if (!SWIG_IsOK(res2
)) {
20249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20251 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->SetData(arg2
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= SWIG_Py_Void();
20265 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20267 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20268 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20269 return SWIG_Py_Void();
20272 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20273 return SWIG_Python_InitShadowInstance(args
);
20276 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
= 0;
20278 wxWindow
*arg1
= (wxWindow
*) 0 ;
20279 int arg2
= (int) (int)-1 ;
20280 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20281 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20282 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20283 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20284 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20285 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20286 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20287 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20288 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20289 wxMDIParentFrame
*result
= 0 ;
20294 bool temp3
= false ;
20299 bool temp7
= false ;
20300 PyObject
* obj0
= 0 ;
20301 PyObject
* obj1
= 0 ;
20302 PyObject
* obj2
= 0 ;
20303 PyObject
* obj3
= 0 ;
20304 PyObject
* obj4
= 0 ;
20305 PyObject
* obj5
= 0 ;
20306 PyObject
* obj6
= 0 ;
20307 char * kwnames
[] = {
20308 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20313 if (!SWIG_IsOK(res1
)) {
20314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20316 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20319 if (!SWIG_IsOK(ecode2
)) {
20320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20322 arg2
= static_cast< int >(val2
);
20326 arg3
= wxString_in_helper(obj2
);
20327 if (arg3
== NULL
) SWIG_fail
;
20334 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20340 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20344 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20345 if (!SWIG_IsOK(ecode6
)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20348 arg6
= static_cast< long >(val6
);
20352 arg7
= wxString_in_helper(obj6
);
20353 if (arg7
== NULL
) SWIG_fail
;
20358 if (!wxPyCheckForApp()) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20387 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20388 PyObject
*resultobj
= 0;
20389 wxMDIParentFrame
*result
= 0 ;
20391 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20393 if (!wxPyCheckForApp()) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20406 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
= 0;
20408 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20409 wxWindow
*arg2
= (wxWindow
*) 0 ;
20410 int arg3
= (int) (int)-1 ;
20411 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20412 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20413 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20414 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20415 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20416 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20417 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20418 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20419 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20427 bool temp4
= false ;
20432 bool temp8
= false ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 PyObject
* obj2
= 0 ;
20436 PyObject
* obj3
= 0 ;
20437 PyObject
* obj4
= 0 ;
20438 PyObject
* obj5
= 0 ;
20439 PyObject
* obj6
= 0 ;
20440 PyObject
* obj7
= 0 ;
20441 char * kwnames
[] = {
20442 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20447 if (!SWIG_IsOK(res1
)) {
20448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20450 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20451 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20452 if (!SWIG_IsOK(res2
)) {
20453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20455 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20458 if (!SWIG_IsOK(ecode3
)) {
20459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20461 arg3
= static_cast< int >(val3
);
20465 arg4
= wxString_in_helper(obj3
);
20466 if (arg4
== NULL
) SWIG_fail
;
20473 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20479 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20483 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20484 if (!SWIG_IsOK(ecode7
)) {
20485 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20487 arg7
= static_cast< long >(val7
);
20491 arg8
= wxString_in_helper(obj7
);
20492 if (arg8
== NULL
) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20527 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20528 PyObject
*resultobj
= 0;
20529 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20532 PyObject
*swig_obj
[1] ;
20534 if (!args
) SWIG_fail
;
20535 swig_obj
[0] = args
;
20536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20537 if (!SWIG_IsOK(res1
)) {
20538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20540 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 (arg1
)->ActivateNext();
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= SWIG_Py_Void();
20554 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20555 PyObject
*resultobj
= 0;
20556 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20559 PyObject
*swig_obj
[1] ;
20561 if (!args
) SWIG_fail
;
20562 swig_obj
[0] = args
;
20563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20564 if (!SWIG_IsOK(res1
)) {
20565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20567 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 (arg1
)->ActivatePrevious();
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20574 resultobj
= SWIG_Py_Void();
20581 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20582 PyObject
*resultobj
= 0;
20583 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20586 PyObject
*swig_obj
[1] ;
20588 if (!args
) SWIG_fail
;
20589 swig_obj
[0] = args
;
20590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20591 if (!SWIG_IsOK(res1
)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20594 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 (arg1
)->ArrangeIcons();
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= SWIG_Py_Void();
20608 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20609 PyObject
*resultobj
= 0;
20610 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20613 PyObject
*swig_obj
[1] ;
20615 if (!args
) SWIG_fail
;
20616 swig_obj
[0] = args
;
20617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20618 if (!SWIG_IsOK(res1
)) {
20619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20621 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 resultobj
= SWIG_Py_Void();
20635 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20636 PyObject
*resultobj
= 0;
20637 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20638 wxMDIChildFrame
*result
= 0 ;
20641 PyObject
*swig_obj
[1] ;
20643 if (!args
) SWIG_fail
;
20644 swig_obj
[0] = args
;
20645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20646 if (!SWIG_IsOK(res1
)) {
20647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20649 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20665 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20666 PyObject
*resultobj
= 0;
20667 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20668 wxMDIClientWindow
*result
= 0 ;
20671 PyObject
*swig_obj
[1] ;
20673 if (!args
) SWIG_fail
;
20674 swig_obj
[0] = args
;
20675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20676 if (!SWIG_IsOK(res1
)) {
20677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20679 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20695 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20696 PyObject
*resultobj
= 0;
20697 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20698 wxWindow
*result
= 0 ;
20701 PyObject
*swig_obj
[1] ;
20703 if (!args
) SWIG_fail
;
20704 swig_obj
[0] = args
;
20705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20706 if (!SWIG_IsOK(res1
)) {
20707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20709 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= (wxWindow
*)(arg1
)->GetToolBar();
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= wxPyMake_wxObject(result
, 0);
20725 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
= 0;
20727 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20728 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20733 PyObject
* obj0
= 0 ;
20734 PyObject
* obj1
= 0 ;
20735 char * kwnames
[] = {
20736 (char *) "self",(char *) "orient", NULL
20739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20741 if (!SWIG_IsOK(res1
)) {
20742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20744 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20747 if (!SWIG_IsOK(ecode2
)) {
20748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20750 arg2
= static_cast< wxOrientation
>(val2
);
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 (arg1
)->Tile(arg2
);
20755 wxPyEndAllowThreads(__tstate
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20758 resultobj
= SWIG_Py_Void();
20765 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20768 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20769 return SWIG_Py_Void();
20772 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20773 return SWIG_Python_InitShadowInstance(args
);
20776 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
= 0;
20778 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20779 int arg2
= (int) (int)-1 ;
20780 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20781 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20782 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20783 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20784 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20785 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20786 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20787 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20788 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20789 wxMDIChildFrame
*result
= 0 ;
20794 bool temp3
= false ;
20799 bool temp7
= false ;
20800 PyObject
* obj0
= 0 ;
20801 PyObject
* obj1
= 0 ;
20802 PyObject
* obj2
= 0 ;
20803 PyObject
* obj3
= 0 ;
20804 PyObject
* obj4
= 0 ;
20805 PyObject
* obj5
= 0 ;
20806 PyObject
* obj6
= 0 ;
20807 char * kwnames
[] = {
20808 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20813 if (!SWIG_IsOK(res1
)) {
20814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20816 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20819 if (!SWIG_IsOK(ecode2
)) {
20820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20822 arg2
= static_cast< int >(val2
);
20826 arg3
= wxString_in_helper(obj2
);
20827 if (arg3
== NULL
) SWIG_fail
;
20834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20840 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20844 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20845 if (!SWIG_IsOK(ecode6
)) {
20846 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20848 arg6
= static_cast< long >(val6
);
20852 arg7
= wxString_in_helper(obj6
);
20853 if (arg7
== NULL
) SWIG_fail
;
20858 if (!wxPyCheckForApp()) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20887 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20888 PyObject
*resultobj
= 0;
20889 wxMDIChildFrame
*result
= 0 ;
20891 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20893 if (!wxPyCheckForApp()) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20906 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
= 0;
20908 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20909 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20910 int arg3
= (int) (int)-1 ;
20911 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20912 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20913 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20914 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20915 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20916 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20917 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20918 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20919 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20927 bool temp4
= false ;
20932 bool temp8
= false ;
20933 PyObject
* obj0
= 0 ;
20934 PyObject
* obj1
= 0 ;
20935 PyObject
* obj2
= 0 ;
20936 PyObject
* obj3
= 0 ;
20937 PyObject
* obj4
= 0 ;
20938 PyObject
* obj5
= 0 ;
20939 PyObject
* obj6
= 0 ;
20940 PyObject
* obj7
= 0 ;
20941 char * kwnames
[] = {
20942 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20947 if (!SWIG_IsOK(res1
)) {
20948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20950 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20952 if (!SWIG_IsOK(res2
)) {
20953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20955 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20958 if (!SWIG_IsOK(ecode3
)) {
20959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20961 arg3
= static_cast< int >(val3
);
20965 arg4
= wxString_in_helper(obj3
);
20966 if (arg4
== NULL
) SWIG_fail
;
20973 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20979 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20983 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20984 if (!SWIG_IsOK(ecode7
)) {
20985 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20987 arg7
= static_cast< long >(val7
);
20991 arg8
= wxString_in_helper(obj7
);
20992 if (arg8
== NULL
) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21027 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21028 PyObject
*resultobj
= 0;
21029 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21032 PyObject
*swig_obj
[1] ;
21034 if (!args
) SWIG_fail
;
21035 swig_obj
[0] = args
;
21036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21037 if (!SWIG_IsOK(res1
)) {
21038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21040 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 (arg1
)->Activate();
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= SWIG_Py_Void();
21054 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21056 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21057 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21058 return SWIG_Py_Void();
21061 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21062 return SWIG_Python_InitShadowInstance(args
);
21065 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21066 PyObject
*resultobj
= 0;
21067 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21068 long arg2
= (long) 0 ;
21069 wxMDIClientWindow
*result
= 0 ;
21074 PyObject
* obj0
= 0 ;
21075 PyObject
* obj1
= 0 ;
21076 char * kwnames
[] = {
21077 (char *) "parent",(char *) "style", NULL
21080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21082 if (!SWIG_IsOK(res1
)) {
21083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21085 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21087 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21088 if (!SWIG_IsOK(ecode2
)) {
21089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21091 arg2
= static_cast< long >(val2
);
21094 if (!wxPyCheckForApp()) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21107 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21108 PyObject
*resultobj
= 0;
21109 wxMDIClientWindow
*result
= 0 ;
21111 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21113 if (!wxPyCheckForApp()) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21126 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
= 0;
21128 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21129 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21130 long arg3
= (long) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21140 PyObject
* obj2
= 0 ;
21141 char * kwnames
[] = {
21142 (char *) "self",(char *) "parent",(char *) "style", NULL
21145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21147 if (!SWIG_IsOK(res1
)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21150 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21152 if (!SWIG_IsOK(res2
)) {
21153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21155 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21157 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21158 if (!SWIG_IsOK(ecode3
)) {
21159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21161 arg3
= static_cast< long >(val3
);
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21178 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21181 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21182 return SWIG_Py_Void();
21185 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21186 return SWIG_Python_InitShadowInstance(args
);
21189 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
= 0;
21191 wxWindow
*arg1
= (wxWindow
*) 0 ;
21192 int arg2
= (int) (int)-1 ;
21193 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21194 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21195 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21196 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21197 long arg5
= (long) 0 ;
21198 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21199 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21200 wxPyWindow
*result
= 0 ;
21209 bool temp6
= false ;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 PyObject
* obj2
= 0 ;
21213 PyObject
* obj3
= 0 ;
21214 PyObject
* obj4
= 0 ;
21215 PyObject
* obj5
= 0 ;
21216 char * kwnames
[] = {
21217 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21222 if (!SWIG_IsOK(res1
)) {
21223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21228 if (!SWIG_IsOK(ecode2
)) {
21229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21231 arg2
= static_cast< int >(val2
);
21236 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21242 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21246 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21247 if (!SWIG_IsOK(ecode5
)) {
21248 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21250 arg5
= static_cast< long >(val5
);
21254 arg6
= wxString_in_helper(obj5
);
21255 if (arg6
== NULL
) SWIG_fail
;
21260 if (!wxPyCheckForApp()) SWIG_fail
;
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21281 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21282 PyObject
*resultobj
= 0;
21283 wxPyWindow
*result
= 0 ;
21285 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21287 if (!wxPyCheckForApp()) SWIG_fail
;
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= (wxPyWindow
*)new wxPyWindow();
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21300 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
= 0;
21302 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21303 PyObject
*arg2
= (PyObject
*) 0 ;
21304 PyObject
*arg3
= (PyObject
*) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 PyObject
* obj2
= 0 ;
21310 char * kwnames
[] = {
21311 (char *) "self",(char *) "self",(char *) "_class", NULL
21314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21316 if (!SWIG_IsOK(res1
)) {
21317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21319 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= SWIG_Py_Void();
21335 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21336 PyObject
*resultobj
= 0;
21337 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 PyObject
* obj1
= 0 ;
21344 char * kwnames
[] = {
21345 (char *) "self",(char *) "size", NULL
21348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21350 if (!SWIG_IsOK(res1
)) {
21351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21353 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21356 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 resultobj
= SWIG_Py_Void();
21371 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
= 0;
21373 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21374 wxDC
*arg2
= (wxDC
*) 0 ;
21380 PyObject
* obj0
= 0 ;
21381 PyObject
* obj1
= 0 ;
21382 char * kwnames
[] = {
21383 (char *) "self",(char *) "dc", NULL
21386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21388 if (!SWIG_IsOK(res1
)) {
21389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21391 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21392 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21393 if (!SWIG_IsOK(res2
)) {
21394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21396 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21412 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
= 0;
21414 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21429 PyObject
* obj0
= 0 ;
21430 PyObject
* obj1
= 0 ;
21431 PyObject
* obj2
= 0 ;
21432 PyObject
* obj3
= 0 ;
21433 PyObject
* obj4
= 0 ;
21434 char * kwnames
[] = {
21435 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21440 if (!SWIG_IsOK(res1
)) {
21441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21443 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21445 if (!SWIG_IsOK(ecode2
)) {
21446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21448 arg2
= static_cast< int >(val2
);
21449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21450 if (!SWIG_IsOK(ecode3
)) {
21451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21453 arg3
= static_cast< int >(val3
);
21454 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21455 if (!SWIG_IsOK(ecode4
)) {
21456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21458 arg4
= static_cast< int >(val4
);
21459 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21460 if (!SWIG_IsOK(ecode5
)) {
21461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21463 arg5
= static_cast< int >(val5
);
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= SWIG_Py_Void();
21477 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
= 0;
21479 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21484 int arg6
= (int) wxSIZE_AUTO
;
21497 PyObject
* obj0
= 0 ;
21498 PyObject
* obj1
= 0 ;
21499 PyObject
* obj2
= 0 ;
21500 PyObject
* obj3
= 0 ;
21501 PyObject
* obj4
= 0 ;
21502 PyObject
* obj5
= 0 ;
21503 char * kwnames
[] = {
21504 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21509 if (!SWIG_IsOK(res1
)) {
21510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21512 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21514 if (!SWIG_IsOK(ecode2
)) {
21515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21517 arg2
= static_cast< int >(val2
);
21518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21519 if (!SWIG_IsOK(ecode3
)) {
21520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21522 arg3
= static_cast< int >(val3
);
21523 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21524 if (!SWIG_IsOK(ecode4
)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21527 arg4
= static_cast< int >(val4
);
21528 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21529 if (!SWIG_IsOK(ecode5
)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21532 arg5
= static_cast< int >(val5
);
21534 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21535 if (!SWIG_IsOK(ecode6
)) {
21536 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21538 arg6
= static_cast< int >(val6
);
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21546 resultobj
= SWIG_Py_Void();
21553 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21554 PyObject
*resultobj
= 0;
21555 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 PyObject
* obj2
= 0 ;
21567 char * kwnames
[] = {
21568 (char *) "self",(char *) "width",(char *) "height", NULL
21571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21573 if (!SWIG_IsOK(res1
)) {
21574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21576 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21578 if (!SWIG_IsOK(ecode2
)) {
21579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21581 arg2
= static_cast< int >(val2
);
21582 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21583 if (!SWIG_IsOK(ecode3
)) {
21584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21586 arg3
= static_cast< int >(val3
);
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 (arg1
)->DoSetClientSize(arg2
,arg3
);
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= SWIG_Py_Void();
21600 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
= 0;
21602 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 PyObject
* obj1
= 0 ;
21613 PyObject
* obj2
= 0 ;
21614 char * kwnames
[] = {
21615 (char *) "self",(char *) "x",(char *) "y", NULL
21618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21620 if (!SWIG_IsOK(res1
)) {
21621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21623 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21625 if (!SWIG_IsOK(ecode2
)) {
21626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21628 arg2
= static_cast< int >(val2
);
21629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21630 if (!SWIG_IsOK(ecode3
)) {
21631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21633 arg3
= static_cast< int >(val3
);
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= SWIG_Py_Void();
21647 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21648 PyObject
*resultobj
= 0;
21649 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21650 int *arg2
= (int *) 0 ;
21651 int *arg3
= (int *) 0 ;
21655 int res2
= SWIG_TMPOBJ
;
21657 int res3
= SWIG_TMPOBJ
;
21658 PyObject
*swig_obj
[1] ;
21662 if (!args
) SWIG_fail
;
21663 swig_obj
[0] = args
;
21664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21665 if (!SWIG_IsOK(res1
)) {
21666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21668 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_Py_Void();
21676 if (SWIG_IsTmpObj(res2
)) {
21677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21679 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21682 if (SWIG_IsTmpObj(res3
)) {
21683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21685 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21694 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21695 PyObject
*resultobj
= 0;
21696 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21697 int *arg2
= (int *) 0 ;
21698 int *arg3
= (int *) 0 ;
21702 int res2
= SWIG_TMPOBJ
;
21704 int res3
= SWIG_TMPOBJ
;
21705 PyObject
*swig_obj
[1] ;
21709 if (!args
) SWIG_fail
;
21710 swig_obj
[0] = args
;
21711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21712 if (!SWIG_IsOK(res1
)) {
21713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21715 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 resultobj
= SWIG_Py_Void();
21723 if (SWIG_IsTmpObj(res2
)) {
21724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21726 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21729 if (SWIG_IsTmpObj(res3
)) {
21730 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21732 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21741 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21742 PyObject
*resultobj
= 0;
21743 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21744 int *arg2
= (int *) 0 ;
21745 int *arg3
= (int *) 0 ;
21749 int res2
= SWIG_TMPOBJ
;
21751 int res3
= SWIG_TMPOBJ
;
21752 PyObject
*swig_obj
[1] ;
21756 if (!args
) SWIG_fail
;
21757 swig_obj
[0] = args
;
21758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21759 if (!SWIG_IsOK(res1
)) {
21760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21762 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 resultobj
= SWIG_Py_Void();
21770 if (SWIG_IsTmpObj(res2
)) {
21771 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21773 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21774 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21776 if (SWIG_IsTmpObj(res3
)) {
21777 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21779 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21788 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21789 PyObject
*resultobj
= 0;
21790 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21794 PyObject
*swig_obj
[1] ;
21796 if (!args
) SWIG_fail
;
21797 swig_obj
[0] = args
;
21798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21799 if (!SWIG_IsOK(res1
)) {
21800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21802 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21816 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21817 PyObject
*resultobj
= 0;
21818 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21822 PyObject
*swig_obj
[1] ;
21824 if (!args
) SWIG_fail
;
21825 swig_obj
[0] = args
;
21826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21827 if (!SWIG_IsOK(res1
)) {
21828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21830 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21844 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21845 PyObject
*resultobj
= 0;
21846 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21847 SwigValueWrapper
<wxVisualAttributes
> result
;
21850 PyObject
*swig_obj
[1] ;
21852 if (!args
) SWIG_fail
;
21853 swig_obj
[0] = args
;
21854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21855 if (!SWIG_IsOK(res1
)) {
21856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21858 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= (arg1
)->GetDefaultAttributes();
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21872 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21873 PyObject
*resultobj
= 0;
21874 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21877 PyObject
*swig_obj
[1] ;
21879 if (!args
) SWIG_fail
;
21880 swig_obj
[0] = args
;
21881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21885 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 (arg1
)->OnInternalIdle();
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= SWIG_Py_Void();
21899 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21902 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21903 return SWIG_Py_Void();
21906 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21907 return SWIG_Python_InitShadowInstance(args
);
21910 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
= 0;
21912 wxWindow
*arg1
= (wxWindow
*) 0 ;
21913 int arg2
= (int) (int)-1 ;
21914 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21915 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21916 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21917 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21918 long arg5
= (long) 0 ;
21919 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21920 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21921 wxPyPanel
*result
= 0 ;
21930 bool temp6
= false ;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 PyObject
* obj2
= 0 ;
21934 PyObject
* obj3
= 0 ;
21935 PyObject
* obj4
= 0 ;
21936 PyObject
* obj5
= 0 ;
21937 char * kwnames
[] = {
21938 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21943 if (!SWIG_IsOK(res1
)) {
21944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21946 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21949 if (!SWIG_IsOK(ecode2
)) {
21950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21952 arg2
= static_cast< int >(val2
);
21957 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21963 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21967 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21968 if (!SWIG_IsOK(ecode5
)) {
21969 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21971 arg5
= static_cast< long >(val5
);
21975 arg6
= wxString_in_helper(obj5
);
21976 if (arg6
== NULL
) SWIG_fail
;
21981 if (!wxPyCheckForApp()) SWIG_fail
;
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22002 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22003 PyObject
*resultobj
= 0;
22004 wxPyPanel
*result
= 0 ;
22006 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22008 if (!wxPyCheckForApp()) SWIG_fail
;
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 result
= (wxPyPanel
*)new wxPyPanel();
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22021 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
= 0;
22023 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22024 PyObject
*arg2
= (PyObject
*) 0 ;
22025 PyObject
*arg3
= (PyObject
*) 0 ;
22028 PyObject
* obj0
= 0 ;
22029 PyObject
* obj1
= 0 ;
22030 PyObject
* obj2
= 0 ;
22031 char * kwnames
[] = {
22032 (char *) "self",(char *) "self",(char *) "_class", NULL
22035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22037 if (!SWIG_IsOK(res1
)) {
22038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22040 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= SWIG_Py_Void();
22056 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
= 0;
22058 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 char * kwnames
[] = {
22066 (char *) "self",(char *) "size", NULL
22069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22071 if (!SWIG_IsOK(res1
)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22074 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22077 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= SWIG_Py_Void();
22092 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
= 0;
22094 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22095 wxDC
*arg2
= (wxDC
*) 0 ;
22101 PyObject
* obj0
= 0 ;
22102 PyObject
* obj1
= 0 ;
22103 char * kwnames
[] = {
22104 (char *) "self",(char *) "dc", NULL
22107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22109 if (!SWIG_IsOK(res1
)) {
22110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22112 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22113 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22114 if (!SWIG_IsOK(res2
)) {
22115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22117 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22133 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
= 0;
22135 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22150 PyObject
* obj0
= 0 ;
22151 PyObject
* obj1
= 0 ;
22152 PyObject
* obj2
= 0 ;
22153 PyObject
* obj3
= 0 ;
22154 PyObject
* obj4
= 0 ;
22155 char * kwnames
[] = {
22156 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22161 if (!SWIG_IsOK(res1
)) {
22162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22164 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22166 if (!SWIG_IsOK(ecode2
)) {
22167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22169 arg2
= static_cast< int >(val2
);
22170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22171 if (!SWIG_IsOK(ecode3
)) {
22172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22174 arg3
= static_cast< int >(val3
);
22175 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22176 if (!SWIG_IsOK(ecode4
)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22179 arg4
= static_cast< int >(val4
);
22180 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22181 if (!SWIG_IsOK(ecode5
)) {
22182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22184 arg5
= static_cast< int >(val5
);
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 resultobj
= SWIG_Py_Void();
22198 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
= 0;
22200 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22205 int arg6
= (int) wxSIZE_AUTO
;
22218 PyObject
* obj0
= 0 ;
22219 PyObject
* obj1
= 0 ;
22220 PyObject
* obj2
= 0 ;
22221 PyObject
* obj3
= 0 ;
22222 PyObject
* obj4
= 0 ;
22223 PyObject
* obj5
= 0 ;
22224 char * kwnames
[] = {
22225 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22230 if (!SWIG_IsOK(res1
)) {
22231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22233 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22235 if (!SWIG_IsOK(ecode2
)) {
22236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22238 arg2
= static_cast< int >(val2
);
22239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22240 if (!SWIG_IsOK(ecode3
)) {
22241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22243 arg3
= static_cast< int >(val3
);
22244 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22245 if (!SWIG_IsOK(ecode4
)) {
22246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22248 arg4
= static_cast< int >(val4
);
22249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22250 if (!SWIG_IsOK(ecode5
)) {
22251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22253 arg5
= static_cast< int >(val5
);
22255 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22256 if (!SWIG_IsOK(ecode6
)) {
22257 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22259 arg6
= static_cast< int >(val6
);
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22267 resultobj
= SWIG_Py_Void();
22274 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
= 0;
22276 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22285 PyObject
* obj0
= 0 ;
22286 PyObject
* obj1
= 0 ;
22287 PyObject
* obj2
= 0 ;
22288 char * kwnames
[] = {
22289 (char *) "self",(char *) "width",(char *) "height", NULL
22292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22294 if (!SWIG_IsOK(res1
)) {
22295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22297 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22299 if (!SWIG_IsOK(ecode2
)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22302 arg2
= static_cast< int >(val2
);
22303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22304 if (!SWIG_IsOK(ecode3
)) {
22305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22307 arg3
= static_cast< int >(val3
);
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 (arg1
)->DoSetClientSize(arg2
,arg3
);
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_Py_Void();
22321 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
= 0;
22323 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22332 PyObject
* obj0
= 0 ;
22333 PyObject
* obj1
= 0 ;
22334 PyObject
* obj2
= 0 ;
22335 char * kwnames
[] = {
22336 (char *) "self",(char *) "x",(char *) "y", NULL
22339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22341 if (!SWIG_IsOK(res1
)) {
22342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22344 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22346 if (!SWIG_IsOK(ecode2
)) {
22347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22349 arg2
= static_cast< int >(val2
);
22350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22351 if (!SWIG_IsOK(ecode3
)) {
22352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22354 arg3
= static_cast< int >(val3
);
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= SWIG_Py_Void();
22368 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22369 PyObject
*resultobj
= 0;
22370 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22371 int *arg2
= (int *) 0 ;
22372 int *arg3
= (int *) 0 ;
22376 int res2
= SWIG_TMPOBJ
;
22378 int res3
= SWIG_TMPOBJ
;
22379 PyObject
*swig_obj
[1] ;
22383 if (!args
) SWIG_fail
;
22384 swig_obj
[0] = args
;
22385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22386 if (!SWIG_IsOK(res1
)) {
22387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22389 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22396 resultobj
= SWIG_Py_Void();
22397 if (SWIG_IsTmpObj(res2
)) {
22398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22400 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22403 if (SWIG_IsTmpObj(res3
)) {
22404 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22406 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22415 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22416 PyObject
*resultobj
= 0;
22417 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22418 int *arg2
= (int *) 0 ;
22419 int *arg3
= (int *) 0 ;
22423 int res2
= SWIG_TMPOBJ
;
22425 int res3
= SWIG_TMPOBJ
;
22426 PyObject
*swig_obj
[1] ;
22430 if (!args
) SWIG_fail
;
22431 swig_obj
[0] = args
;
22432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22433 if (!SWIG_IsOK(res1
)) {
22434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22436 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= SWIG_Py_Void();
22444 if (SWIG_IsTmpObj(res2
)) {
22445 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22447 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22448 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22450 if (SWIG_IsTmpObj(res3
)) {
22451 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22453 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22454 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22462 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 PyObject
*resultobj
= 0;
22464 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22465 int *arg2
= (int *) 0 ;
22466 int *arg3
= (int *) 0 ;
22470 int res2
= SWIG_TMPOBJ
;
22472 int res3
= SWIG_TMPOBJ
;
22473 PyObject
*swig_obj
[1] ;
22477 if (!args
) SWIG_fail
;
22478 swig_obj
[0] = args
;
22479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22480 if (!SWIG_IsOK(res1
)) {
22481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22483 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_Py_Void();
22491 if (SWIG_IsTmpObj(res2
)) {
22492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22494 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22497 if (SWIG_IsTmpObj(res3
)) {
22498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22500 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22509 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22510 PyObject
*resultobj
= 0;
22511 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22515 PyObject
*swig_obj
[1] ;
22517 if (!args
) SWIG_fail
;
22518 swig_obj
[0] = args
;
22519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22520 if (!SWIG_IsOK(res1
)) {
22521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22523 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22537 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22538 PyObject
*resultobj
= 0;
22539 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22543 PyObject
*swig_obj
[1] ;
22545 if (!args
) SWIG_fail
;
22546 swig_obj
[0] = args
;
22547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22548 if (!SWIG_IsOK(res1
)) {
22549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22551 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22565 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22566 PyObject
*resultobj
= 0;
22567 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22568 SwigValueWrapper
<wxVisualAttributes
> result
;
22571 PyObject
*swig_obj
[1] ;
22573 if (!args
) SWIG_fail
;
22574 swig_obj
[0] = args
;
22575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22576 if (!SWIG_IsOK(res1
)) {
22577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22579 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= (arg1
)->GetDefaultAttributes();
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22593 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22594 PyObject
*resultobj
= 0;
22595 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22598 PyObject
*swig_obj
[1] ;
22600 if (!args
) SWIG_fail
;
22601 swig_obj
[0] = args
;
22602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22603 if (!SWIG_IsOK(res1
)) {
22604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22606 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 (arg1
)->OnInternalIdle();
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22613 resultobj
= SWIG_Py_Void();
22620 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22623 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22624 return SWIG_Py_Void();
22627 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22628 return SWIG_Python_InitShadowInstance(args
);
22631 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
= 0;
22633 wxWindow
*arg1
= (wxWindow
*) 0 ;
22634 int arg2
= (int) (int)-1 ;
22635 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22636 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22637 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22638 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22639 long arg5
= (long) 0 ;
22640 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22641 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22642 wxPyScrolledWindow
*result
= 0 ;
22651 bool temp6
= false ;
22652 PyObject
* obj0
= 0 ;
22653 PyObject
* obj1
= 0 ;
22654 PyObject
* obj2
= 0 ;
22655 PyObject
* obj3
= 0 ;
22656 PyObject
* obj4
= 0 ;
22657 PyObject
* obj5
= 0 ;
22658 char * kwnames
[] = {
22659 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22664 if (!SWIG_IsOK(res1
)) {
22665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22667 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22670 if (!SWIG_IsOK(ecode2
)) {
22671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22673 arg2
= static_cast< int >(val2
);
22678 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22684 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22688 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22689 if (!SWIG_IsOK(ecode5
)) {
22690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22692 arg5
= static_cast< long >(val5
);
22696 arg6
= wxString_in_helper(obj5
);
22697 if (arg6
== NULL
) SWIG_fail
;
22702 if (!wxPyCheckForApp()) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22723 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22724 PyObject
*resultobj
= 0;
22725 wxPyScrolledWindow
*result
= 0 ;
22727 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22729 if (!wxPyCheckForApp()) SWIG_fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22742 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
= 0;
22744 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22745 PyObject
*arg2
= (PyObject
*) 0 ;
22746 PyObject
*arg3
= (PyObject
*) 0 ;
22749 PyObject
* obj0
= 0 ;
22750 PyObject
* obj1
= 0 ;
22751 PyObject
* obj2
= 0 ;
22752 char * kwnames
[] = {
22753 (char *) "self",(char *) "self",(char *) "_class", NULL
22756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22758 if (!SWIG_IsOK(res1
)) {
22759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22761 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22766 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 resultobj
= SWIG_Py_Void();
22777 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
= 0;
22779 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22784 PyObject
* obj0
= 0 ;
22785 PyObject
* obj1
= 0 ;
22786 char * kwnames
[] = {
22787 (char *) "self",(char *) "size", NULL
22790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22792 if (!SWIG_IsOK(res1
)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22795 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22798 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= SWIG_Py_Void();
22813 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
= 0;
22815 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22816 wxDC
*arg2
= (wxDC
*) 0 ;
22822 PyObject
* obj0
= 0 ;
22823 PyObject
* obj1
= 0 ;
22824 char * kwnames
[] = {
22825 (char *) "self",(char *) "dc", NULL
22828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22830 if (!SWIG_IsOK(res1
)) {
22831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22833 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22835 if (!SWIG_IsOK(res2
)) {
22836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22838 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22841 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22854 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
= 0;
22856 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22871 PyObject
* obj0
= 0 ;
22872 PyObject
* obj1
= 0 ;
22873 PyObject
* obj2
= 0 ;
22874 PyObject
* obj3
= 0 ;
22875 PyObject
* obj4
= 0 ;
22876 char * kwnames
[] = {
22877 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22882 if (!SWIG_IsOK(res1
)) {
22883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22885 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22887 if (!SWIG_IsOK(ecode2
)) {
22888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22890 arg2
= static_cast< int >(val2
);
22891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22892 if (!SWIG_IsOK(ecode3
)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22895 arg3
= static_cast< int >(val3
);
22896 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22897 if (!SWIG_IsOK(ecode4
)) {
22898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22900 arg4
= static_cast< int >(val4
);
22901 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22902 if (!SWIG_IsOK(ecode5
)) {
22903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22905 arg5
= static_cast< int >(val5
);
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= SWIG_Py_Void();
22919 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
= 0;
22921 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22926 int arg6
= (int) wxSIZE_AUTO
;
22939 PyObject
* obj0
= 0 ;
22940 PyObject
* obj1
= 0 ;
22941 PyObject
* obj2
= 0 ;
22942 PyObject
* obj3
= 0 ;
22943 PyObject
* obj4
= 0 ;
22944 PyObject
* obj5
= 0 ;
22945 char * kwnames
[] = {
22946 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22951 if (!SWIG_IsOK(res1
)) {
22952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22954 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22956 if (!SWIG_IsOK(ecode2
)) {
22957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22959 arg2
= static_cast< int >(val2
);
22960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22961 if (!SWIG_IsOK(ecode3
)) {
22962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22964 arg3
= static_cast< int >(val3
);
22965 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22966 if (!SWIG_IsOK(ecode4
)) {
22967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22969 arg4
= static_cast< int >(val4
);
22970 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22971 if (!SWIG_IsOK(ecode5
)) {
22972 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22974 arg5
= static_cast< int >(val5
);
22976 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22977 if (!SWIG_IsOK(ecode6
)) {
22978 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22980 arg6
= static_cast< int >(val6
);
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_Py_Void();
22995 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
= 0;
22997 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 PyObject
* obj2
= 0 ;
23009 char * kwnames
[] = {
23010 (char *) "self",(char *) "width",(char *) "height", NULL
23013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23018 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23020 if (!SWIG_IsOK(ecode2
)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23023 arg2
= static_cast< int >(val2
);
23024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23025 if (!SWIG_IsOK(ecode3
)) {
23026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23028 arg3
= static_cast< int >(val3
);
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 (arg1
)->DoSetClientSize(arg2
,arg3
);
23032 wxPyEndAllowThreads(__tstate
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= SWIG_Py_Void();
23042 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
= 0;
23044 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23053 PyObject
* obj0
= 0 ;
23054 PyObject
* obj1
= 0 ;
23055 PyObject
* obj2
= 0 ;
23056 char * kwnames
[] = {
23057 (char *) "self",(char *) "x",(char *) "y", NULL
23060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23062 if (!SWIG_IsOK(res1
)) {
23063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23065 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23067 if (!SWIG_IsOK(ecode2
)) {
23068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23070 arg2
= static_cast< int >(val2
);
23071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23072 if (!SWIG_IsOK(ecode3
)) {
23073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23075 arg3
= static_cast< int >(val3
);
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= SWIG_Py_Void();
23089 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23090 PyObject
*resultobj
= 0;
23091 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23092 int *arg2
= (int *) 0 ;
23093 int *arg3
= (int *) 0 ;
23097 int res2
= SWIG_TMPOBJ
;
23099 int res3
= SWIG_TMPOBJ
;
23100 PyObject
*swig_obj
[1] ;
23104 if (!args
) SWIG_fail
;
23105 swig_obj
[0] = args
;
23106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23107 if (!SWIG_IsOK(res1
)) {
23108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23110 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= SWIG_Py_Void();
23118 if (SWIG_IsTmpObj(res2
)) {
23119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23121 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23124 if (SWIG_IsTmpObj(res3
)) {
23125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23127 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23136 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23137 PyObject
*resultobj
= 0;
23138 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23139 int *arg2
= (int *) 0 ;
23140 int *arg3
= (int *) 0 ;
23144 int res2
= SWIG_TMPOBJ
;
23146 int res3
= SWIG_TMPOBJ
;
23147 PyObject
*swig_obj
[1] ;
23151 if (!args
) SWIG_fail
;
23152 swig_obj
[0] = args
;
23153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23154 if (!SWIG_IsOK(res1
)) {
23155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23157 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_Py_Void();
23165 if (SWIG_IsTmpObj(res2
)) {
23166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23168 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23171 if (SWIG_IsTmpObj(res3
)) {
23172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23174 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23183 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23184 PyObject
*resultobj
= 0;
23185 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23186 int *arg2
= (int *) 0 ;
23187 int *arg3
= (int *) 0 ;
23191 int res2
= SWIG_TMPOBJ
;
23193 int res3
= SWIG_TMPOBJ
;
23194 PyObject
*swig_obj
[1] ;
23198 if (!args
) SWIG_fail
;
23199 swig_obj
[0] = args
;
23200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23201 if (!SWIG_IsOK(res1
)) {
23202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23204 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 resultobj
= SWIG_Py_Void();
23212 if (SWIG_IsTmpObj(res2
)) {
23213 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23215 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23218 if (SWIG_IsTmpObj(res3
)) {
23219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23221 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23230 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23231 PyObject
*resultobj
= 0;
23232 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23236 PyObject
*swig_obj
[1] ;
23238 if (!args
) SWIG_fail
;
23239 swig_obj
[0] = args
;
23240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23241 if (!SWIG_IsOK(res1
)) {
23242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23244 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23258 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23259 PyObject
*resultobj
= 0;
23260 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23264 PyObject
*swig_obj
[1] ;
23266 if (!args
) SWIG_fail
;
23267 swig_obj
[0] = args
;
23268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23269 if (!SWIG_IsOK(res1
)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23272 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23286 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23287 PyObject
*resultobj
= 0;
23288 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23289 SwigValueWrapper
<wxVisualAttributes
> result
;
23292 PyObject
*swig_obj
[1] ;
23294 if (!args
) SWIG_fail
;
23295 swig_obj
[0] = args
;
23296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23297 if (!SWIG_IsOK(res1
)) {
23298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23300 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 result
= (arg1
)->GetDefaultAttributes();
23304 wxPyEndAllowThreads(__tstate
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23314 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23315 PyObject
*resultobj
= 0;
23316 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23319 PyObject
*swig_obj
[1] ;
23321 if (!args
) SWIG_fail
;
23322 swig_obj
[0] = args
;
23323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23324 if (!SWIG_IsOK(res1
)) {
23325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23327 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 (arg1
)->OnInternalIdle();
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= SWIG_Py_Void();
23341 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23344 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23345 return SWIG_Py_Void();
23348 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23349 return SWIG_Python_InitShadowInstance(args
);
23352 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23353 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23358 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23359 PyObject
*pyobj
= 0;
23363 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23365 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23372 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23373 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23378 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23379 PyObject
*pyobj
= 0;
23383 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23385 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23392 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23393 PyObject
*resultobj
= 0;
23394 wxPrintData
*result
= 0 ;
23396 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 result
= (wxPrintData
*)new wxPrintData();
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23410 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23411 PyObject
*resultobj
= 0;
23412 wxPrintData
*arg1
= 0 ;
23413 wxPrintData
*result
= 0 ;
23417 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23419 if (!SWIG_IsOK(res1
)) {
23420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23425 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23439 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23443 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23446 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23449 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23453 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23458 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23459 PyObject
*resultobj
= 0;
23460 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23463 PyObject
*swig_obj
[1] ;
23465 if (!args
) SWIG_fail
;
23466 swig_obj
[0] = args
;
23467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23468 if (!SWIG_IsOK(res1
)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23471 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23479 resultobj
= SWIG_Py_Void();
23486 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23487 PyObject
*resultobj
= 0;
23488 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23492 PyObject
*swig_obj
[1] ;
23494 if (!args
) SWIG_fail
;
23495 swig_obj
[0] = args
;
23496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23497 if (!SWIG_IsOK(res1
)) {
23498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23500 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= (int)(arg1
)->GetNoCopies();
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= SWIG_From_int(static_cast< int >(result
));
23514 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23515 PyObject
*resultobj
= 0;
23516 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23520 PyObject
*swig_obj
[1] ;
23522 if (!args
) SWIG_fail
;
23523 swig_obj
[0] = args
;
23524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23525 if (!SWIG_IsOK(res1
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23528 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (bool)(arg1
)->GetCollate();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23544 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23545 PyObject
*resultobj
= 0;
23546 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23550 PyObject
*swig_obj
[1] ;
23552 if (!args
) SWIG_fail
;
23553 swig_obj
[0] = args
;
23554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23555 if (!SWIG_IsOK(res1
)) {
23556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23558 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (int)(arg1
)->GetOrientation();
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_From_int(static_cast< int >(result
));
23572 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23573 PyObject
*resultobj
= 0;
23574 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23578 PyObject
*swig_obj
[1] ;
23580 if (!args
) SWIG_fail
;
23581 swig_obj
[0] = args
;
23582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23583 if (!SWIG_IsOK(res1
)) {
23584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23586 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (bool)(arg1
)->Ok();
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23602 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23603 PyObject
*resultobj
= 0;
23604 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23605 wxString
*result
= 0 ;
23608 PyObject
*swig_obj
[1] ;
23610 if (!args
) SWIG_fail
;
23611 swig_obj
[0] = args
;
23612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23613 if (!SWIG_IsOK(res1
)) {
23614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23616 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23621 result
= (wxString
*) &_result_ref
;
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23630 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23639 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23640 PyObject
*resultobj
= 0;
23641 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23645 PyObject
*swig_obj
[1] ;
23647 if (!args
) SWIG_fail
;
23648 swig_obj
[0] = args
;
23649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23650 if (!SWIG_IsOK(res1
)) {
23651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23653 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 result
= (bool)(arg1
)->GetColour();
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23669 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23670 PyObject
*resultobj
= 0;
23671 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23672 wxDuplexMode result
;
23675 PyObject
*swig_obj
[1] ;
23677 if (!args
) SWIG_fail
;
23678 swig_obj
[0] = args
;
23679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23680 if (!SWIG_IsOK(res1
)) {
23681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23683 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= SWIG_From_int(static_cast< int >(result
));
23697 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23698 PyObject
*resultobj
= 0;
23699 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23700 wxPaperSize result
;
23703 PyObject
*swig_obj
[1] ;
23705 if (!args
) SWIG_fail
;
23706 swig_obj
[0] = args
;
23707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23708 if (!SWIG_IsOK(res1
)) {
23709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23711 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= SWIG_From_int(static_cast< int >(result
));
23725 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23726 PyObject
*resultobj
= 0;
23727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23728 wxSize
*result
= 0 ;
23731 PyObject
*swig_obj
[1] ;
23733 if (!args
) SWIG_fail
;
23734 swig_obj
[0] = args
;
23735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23736 if (!SWIG_IsOK(res1
)) {
23737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23739 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23743 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23744 result
= (wxSize
*) &_result_ref
;
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23756 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23757 PyObject
*resultobj
= 0;
23758 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23762 PyObject
*swig_obj
[1] ;
23764 if (!args
) SWIG_fail
;
23765 swig_obj
[0] = args
;
23766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23767 if (!SWIG_IsOK(res1
)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23770 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (int)(arg1
)->GetQuality();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_From_int(static_cast< int >(result
));
23784 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23785 PyObject
*resultobj
= 0;
23786 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23790 PyObject
*swig_obj
[1] ;
23792 if (!args
) SWIG_fail
;
23793 swig_obj
[0] = args
;
23794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23795 if (!SWIG_IsOK(res1
)) {
23796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23798 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (wxPrintBin
)(arg1
)->GetBin();
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= SWIG_From_int(static_cast< int >(result
));
23812 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23813 PyObject
*resultobj
= 0;
23814 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23815 wxPrintMode result
;
23818 PyObject
*swig_obj
[1] ;
23820 if (!args
) SWIG_fail
;
23821 swig_obj
[0] = args
;
23822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23823 if (!SWIG_IsOK(res1
)) {
23824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23826 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= SWIG_From_int(static_cast< int >(result
));
23840 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
= 0;
23842 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23848 PyObject
* obj0
= 0 ;
23849 PyObject
* obj1
= 0 ;
23850 char * kwnames
[] = {
23851 (char *) "self",(char *) "v", NULL
23854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23856 if (!SWIG_IsOK(res1
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23859 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23861 if (!SWIG_IsOK(ecode2
)) {
23862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23864 arg2
= static_cast< int >(val2
);
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 (arg1
)->SetNoCopies(arg2
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 resultobj
= SWIG_Py_Void();
23878 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
= 0;
23880 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23886 PyObject
* obj0
= 0 ;
23887 PyObject
* obj1
= 0 ;
23888 char * kwnames
[] = {
23889 (char *) "self",(char *) "flag", NULL
23892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23894 if (!SWIG_IsOK(res1
)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23897 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23898 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23899 if (!SWIG_IsOK(ecode2
)) {
23900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23902 arg2
= static_cast< bool >(val2
);
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 (arg1
)->SetCollate(arg2
);
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23909 resultobj
= SWIG_Py_Void();
23916 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
= 0;
23918 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 char * kwnames
[] = {
23927 (char *) "self",(char *) "orient", NULL
23930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23932 if (!SWIG_IsOK(res1
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23935 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23937 if (!SWIG_IsOK(ecode2
)) {
23938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23940 arg2
= static_cast< int >(val2
);
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23943 (arg1
)->SetOrientation(arg2
);
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23947 resultobj
= SWIG_Py_Void();
23954 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
= 0;
23956 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23957 wxString
*arg2
= 0 ;
23960 bool temp2
= false ;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 char * kwnames
[] = {
23964 (char *) "self",(char *) "name", NULL
23967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23969 if (!SWIG_IsOK(res1
)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23972 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23974 arg2
= wxString_in_helper(obj1
);
23975 if (arg2
== NULL
) SWIG_fail
;
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 resultobj
= SWIG_Py_Void();
23999 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
= 0;
24001 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24007 PyObject
* obj0
= 0 ;
24008 PyObject
* obj1
= 0 ;
24009 char * kwnames
[] = {
24010 (char *) "self",(char *) "colour", NULL
24013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24015 if (!SWIG_IsOK(res1
)) {
24016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24018 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24019 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24020 if (!SWIG_IsOK(ecode2
)) {
24021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24023 arg2
= static_cast< bool >(val2
);
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 (arg1
)->SetColour(arg2
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= SWIG_Py_Void();
24037 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
= 0;
24039 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24040 wxDuplexMode arg2
;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char * kwnames
[] = {
24048 (char *) "self",(char *) "duplex", NULL
24051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24053 if (!SWIG_IsOK(res1
)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24056 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24058 if (!SWIG_IsOK(ecode2
)) {
24059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24061 arg2
= static_cast< wxDuplexMode
>(val2
);
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 (arg1
)->SetDuplex(arg2
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= SWIG_Py_Void();
24075 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
= 0;
24077 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 char * kwnames
[] = {
24086 (char *) "self",(char *) "sizeId", NULL
24089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24091 if (!SWIG_IsOK(res1
)) {
24092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24094 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24096 if (!SWIG_IsOK(ecode2
)) {
24097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24099 arg2
= static_cast< wxPaperSize
>(val2
);
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 (arg1
)->SetPaperId(arg2
);
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24106 resultobj
= SWIG_Py_Void();
24113 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
= 0;
24115 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24120 PyObject
* obj0
= 0 ;
24121 PyObject
* obj1
= 0 ;
24122 char * kwnames
[] = {
24123 (char *) "self",(char *) "sz", NULL
24126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24128 if (!SWIG_IsOK(res1
)) {
24129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24131 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= SWIG_Py_Void();
24149 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
= 0;
24151 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24157 PyObject
* obj0
= 0 ;
24158 PyObject
* obj1
= 0 ;
24159 char * kwnames
[] = {
24160 (char *) "self",(char *) "quality", NULL
24163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24165 if (!SWIG_IsOK(res1
)) {
24166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24168 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24170 if (!SWIG_IsOK(ecode2
)) {
24171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24173 arg2
= static_cast< int >(val2
);
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 (arg1
)->SetQuality(arg2
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= SWIG_Py_Void();
24187 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
= 0;
24189 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 char * kwnames
[] = {
24198 (char *) "self",(char *) "bin", NULL
24201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24203 if (!SWIG_IsOK(res1
)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24206 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24208 if (!SWIG_IsOK(ecode2
)) {
24209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24211 arg2
= static_cast< wxPrintBin
>(val2
);
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 (arg1
)->SetBin(arg2
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24218 resultobj
= SWIG_Py_Void();
24225 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24226 PyObject
*resultobj
= 0;
24227 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24233 PyObject
* obj0
= 0 ;
24234 PyObject
* obj1
= 0 ;
24235 char * kwnames
[] = {
24236 (char *) "self",(char *) "printMode", NULL
24239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24241 if (!SWIG_IsOK(res1
)) {
24242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24244 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24246 if (!SWIG_IsOK(ecode2
)) {
24247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24249 arg2
= static_cast< wxPrintMode
>(val2
);
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 (arg1
)->SetPrintMode(arg2
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_Py_Void();
24263 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24264 PyObject
*resultobj
= 0;
24265 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24269 PyObject
*swig_obj
[1] ;
24271 if (!args
) SWIG_fail
;
24272 swig_obj
[0] = args
;
24273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24274 if (!SWIG_IsOK(res1
)) {
24275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24277 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24281 wxPyEndAllowThreads(__tstate
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24297 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
= 0;
24299 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24300 wxString
*arg2
= 0 ;
24303 bool temp2
= false ;
24304 PyObject
* obj0
= 0 ;
24305 PyObject
* obj1
= 0 ;
24306 char * kwnames
[] = {
24307 (char *) "self",(char *) "filename", NULL
24310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24312 if (!SWIG_IsOK(res1
)) {
24313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24315 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24317 arg2
= wxString_in_helper(obj1
);
24318 if (arg2
== NULL
) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 (arg1
)->SetFilename((wxString
const &)*arg2
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= SWIG_Py_Void();
24342 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24343 PyObject
*resultobj
= 0;
24344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24345 PyObject
*result
= 0 ;
24348 PyObject
*swig_obj
[1] ;
24350 if (!args
) SWIG_fail
;
24351 swig_obj
[0] = args
;
24352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24353 if (!SWIG_IsOK(res1
)) {
24354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24356 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= result
;
24370 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
= 0;
24372 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24373 PyObject
*arg2
= (PyObject
*) 0 ;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 char * kwnames
[] = {
24379 (char *) "self",(char *) "data", NULL
24382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24384 if (!SWIG_IsOK(res1
)) {
24385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24387 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 wxPrintData_SetPrivData(arg1
,arg2
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= SWIG_Py_Void();
24402 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24405 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24406 return SWIG_Py_Void();
24409 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24410 return SWIG_Python_InitShadowInstance(args
);
24413 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24414 PyObject
*resultobj
= 0;
24415 wxPageSetupDialogData
*result
= 0 ;
24417 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24431 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24432 PyObject
*resultobj
= 0;
24433 wxPageSetupDialogData
*arg1
= 0 ;
24434 wxPageSetupDialogData
*result
= 0 ;
24438 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24440 if (!SWIG_IsOK(res1
)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24446 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24460 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24461 PyObject
*resultobj
= 0;
24462 wxPrintData
*arg1
= 0 ;
24463 wxPageSetupDialogData
*result
= 0 ;
24467 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24469 if (!SWIG_IsOK(res1
)) {
24470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24475 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24479 wxPyEndAllowThreads(__tstate
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24489 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24493 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24496 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24501 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24502 _v
= SWIG_CheckState(res
);
24504 if (!_v
) goto check_2
;
24505 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24510 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24514 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24519 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24520 PyObject
*resultobj
= 0;
24521 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24524 PyObject
*swig_obj
[1] ;
24526 if (!args
) SWIG_fail
;
24527 swig_obj
[0] = args
;
24528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24529 if (!SWIG_IsOK(res1
)) {
24530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24532 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 resultobj
= SWIG_Py_Void();
24547 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
= 0;
24549 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24555 PyObject
* obj0
= 0 ;
24556 PyObject
* obj1
= 0 ;
24557 char * kwnames
[] = {
24558 (char *) "self",(char *) "flag", NULL
24561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24563 if (!SWIG_IsOK(res1
)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24566 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24567 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24568 if (!SWIG_IsOK(ecode2
)) {
24569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24571 arg2
= static_cast< bool >(val2
);
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 (arg1
)->EnableHelp(arg2
);
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24578 resultobj
= SWIG_Py_Void();
24585 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24586 PyObject
*resultobj
= 0;
24587 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24593 PyObject
* obj0
= 0 ;
24594 PyObject
* obj1
= 0 ;
24595 char * kwnames
[] = {
24596 (char *) "self",(char *) "flag", NULL
24599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24601 if (!SWIG_IsOK(res1
)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24604 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24605 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24606 if (!SWIG_IsOK(ecode2
)) {
24607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24609 arg2
= static_cast< bool >(val2
);
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 (arg1
)->EnableMargins(arg2
);
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= SWIG_Py_Void();
24623 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
= 0;
24625 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24631 PyObject
* obj0
= 0 ;
24632 PyObject
* obj1
= 0 ;
24633 char * kwnames
[] = {
24634 (char *) "self",(char *) "flag", NULL
24637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24639 if (!SWIG_IsOK(res1
)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24642 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24643 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24644 if (!SWIG_IsOK(ecode2
)) {
24645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24647 arg2
= static_cast< bool >(val2
);
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 (arg1
)->EnableOrientation(arg2
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= SWIG_Py_Void();
24661 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
= 0;
24663 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24669 PyObject
* obj0
= 0 ;
24670 PyObject
* obj1
= 0 ;
24671 char * kwnames
[] = {
24672 (char *) "self",(char *) "flag", NULL
24675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24680 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24681 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24682 if (!SWIG_IsOK(ecode2
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24685 arg2
= static_cast< bool >(val2
);
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 (arg1
)->EnablePaper(arg2
);
24689 wxPyEndAllowThreads(__tstate
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= SWIG_Py_Void();
24699 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
= 0;
24701 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 char * kwnames
[] = {
24710 (char *) "self",(char *) "flag", NULL
24713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24715 if (!SWIG_IsOK(res1
)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24718 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24719 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24720 if (!SWIG_IsOK(ecode2
)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24723 arg2
= static_cast< bool >(val2
);
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 (arg1
)->EnablePrinter(arg2
);
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24730 resultobj
= SWIG_Py_Void();
24737 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24738 PyObject
*resultobj
= 0;
24739 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24743 PyObject
*swig_obj
[1] ;
24745 if (!args
) SWIG_fail
;
24746 swig_obj
[0] = args
;
24747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24748 if (!SWIG_IsOK(res1
)) {
24749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24751 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24754 result
= (bool)(arg1
)->GetDefaultMinMargins();
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24767 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24768 PyObject
*resultobj
= 0;
24769 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24773 PyObject
*swig_obj
[1] ;
24775 if (!args
) SWIG_fail
;
24776 swig_obj
[0] = args
;
24777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24778 if (!SWIG_IsOK(res1
)) {
24779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24781 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24784 result
= (bool)(arg1
)->GetEnableMargins();
24785 wxPyEndAllowThreads(__tstate
);
24786 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24797 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24798 PyObject
*resultobj
= 0;
24799 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24803 PyObject
*swig_obj
[1] ;
24805 if (!args
) SWIG_fail
;
24806 swig_obj
[0] = args
;
24807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24808 if (!SWIG_IsOK(res1
)) {
24809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24811 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 result
= (bool)(arg1
)->GetEnableOrientation();
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24827 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24828 PyObject
*resultobj
= 0;
24829 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24833 PyObject
*swig_obj
[1] ;
24835 if (!args
) SWIG_fail
;
24836 swig_obj
[0] = args
;
24837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24838 if (!SWIG_IsOK(res1
)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24841 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (bool)(arg1
)->GetEnablePaper();
24845 wxPyEndAllowThreads(__tstate
);
24846 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24857 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24858 PyObject
*resultobj
= 0;
24859 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24863 PyObject
*swig_obj
[1] ;
24865 if (!args
) SWIG_fail
;
24866 swig_obj
[0] = args
;
24867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24868 if (!SWIG_IsOK(res1
)) {
24869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24871 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 result
= (bool)(arg1
)->GetEnablePrinter();
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24887 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24888 PyObject
*resultobj
= 0;
24889 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24893 PyObject
*swig_obj
[1] ;
24895 if (!args
) SWIG_fail
;
24896 swig_obj
[0] = args
;
24897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24898 if (!SWIG_IsOK(res1
)) {
24899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24901 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 result
= (bool)(arg1
)->GetEnableHelp();
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24917 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24918 PyObject
*resultobj
= 0;
24919 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24923 PyObject
*swig_obj
[1] ;
24925 if (!args
) SWIG_fail
;
24926 swig_obj
[0] = args
;
24927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24928 if (!SWIG_IsOK(res1
)) {
24929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24931 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 result
= (bool)(arg1
)->GetDefaultInfo();
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24947 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24948 PyObject
*resultobj
= 0;
24949 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24953 PyObject
*swig_obj
[1] ;
24955 if (!args
) SWIG_fail
;
24956 swig_obj
[0] = args
;
24957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24958 if (!SWIG_IsOK(res1
)) {
24959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24961 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 result
= (arg1
)->GetMarginTopLeft();
24965 wxPyEndAllowThreads(__tstate
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24968 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24975 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24976 PyObject
*resultobj
= 0;
24977 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24981 PyObject
*swig_obj
[1] ;
24983 if (!args
) SWIG_fail
;
24984 swig_obj
[0] = args
;
24985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24986 if (!SWIG_IsOK(res1
)) {
24987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24989 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (arg1
)->GetMarginBottomRight();
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25003 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25004 PyObject
*resultobj
= 0;
25005 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25009 PyObject
*swig_obj
[1] ;
25011 if (!args
) SWIG_fail
;
25012 swig_obj
[0] = args
;
25013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25014 if (!SWIG_IsOK(res1
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25017 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 result
= (arg1
)->GetMinMarginTopLeft();
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25031 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25032 PyObject
*resultobj
= 0;
25033 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25037 PyObject
*swig_obj
[1] ;
25039 if (!args
) SWIG_fail
;
25040 swig_obj
[0] = args
;
25041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25042 if (!SWIG_IsOK(res1
)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25045 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 result
= (arg1
)->GetMinMarginBottomRight();
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25059 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25060 PyObject
*resultobj
= 0;
25061 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25062 wxPaperSize result
;
25065 PyObject
*swig_obj
[1] ;
25067 if (!args
) SWIG_fail
;
25068 swig_obj
[0] = args
;
25069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25070 if (!SWIG_IsOK(res1
)) {
25071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25073 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 resultobj
= SWIG_From_int(static_cast< int >(result
));
25087 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25088 PyObject
*resultobj
= 0;
25089 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25093 PyObject
*swig_obj
[1] ;
25095 if (!args
) SWIG_fail
;
25096 swig_obj
[0] = args
;
25097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25098 if (!SWIG_IsOK(res1
)) {
25099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25101 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (arg1
)->GetPaperSize();
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25115 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25116 PyObject
*resultobj
= 0;
25117 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25118 wxPrintData
*result
= 0 ;
25121 PyObject
*swig_obj
[1] ;
25123 if (!args
) SWIG_fail
;
25124 swig_obj
[0] = args
;
25125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25126 if (!SWIG_IsOK(res1
)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25129 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25134 result
= (wxPrintData
*) &_result_ref
;
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25146 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25147 PyObject
*resultobj
= 0;
25148 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25152 PyObject
*swig_obj
[1] ;
25154 if (!args
) SWIG_fail
;
25155 swig_obj
[0] = args
;
25156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25157 if (!SWIG_IsOK(res1
)) {
25158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25160 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= (bool)(arg1
)->Ok();
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25176 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
= 0;
25178 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25184 PyObject
* obj0
= 0 ;
25185 PyObject
* obj1
= 0 ;
25186 char * kwnames
[] = {
25187 (char *) "self",(char *) "flag", NULL
25190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25192 if (!SWIG_IsOK(res1
)) {
25193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25195 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25196 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25197 if (!SWIG_IsOK(ecode2
)) {
25198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25200 arg2
= static_cast< bool >(val2
);
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 (arg1
)->SetDefaultInfo(arg2
);
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 resultobj
= SWIG_Py_Void();
25214 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
= 0;
25216 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25222 PyObject
* obj0
= 0 ;
25223 PyObject
* obj1
= 0 ;
25224 char * kwnames
[] = {
25225 (char *) "self",(char *) "flag", NULL
25228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25230 if (!SWIG_IsOK(res1
)) {
25231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25233 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25234 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25235 if (!SWIG_IsOK(ecode2
)) {
25236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25238 arg2
= static_cast< bool >(val2
);
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 (arg1
)->SetDefaultMinMargins(arg2
);
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25245 resultobj
= SWIG_Py_Void();
25252 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
= 0;
25254 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25255 wxPoint
*arg2
= 0 ;
25259 PyObject
* obj0
= 0 ;
25260 PyObject
* obj1
= 0 ;
25261 char * kwnames
[] = {
25262 (char *) "self",(char *) "pt", NULL
25265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25267 if (!SWIG_IsOK(res1
)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25270 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25273 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25278 wxPyEndAllowThreads(__tstate
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25281 resultobj
= SWIG_Py_Void();
25288 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25289 PyObject
*resultobj
= 0;
25290 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25291 wxPoint
*arg2
= 0 ;
25295 PyObject
* obj0
= 0 ;
25296 PyObject
* obj1
= 0 ;
25297 char * kwnames
[] = {
25298 (char *) "self",(char *) "pt", NULL
25301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25303 if (!SWIG_IsOK(res1
)) {
25304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25306 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25313 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 resultobj
= SWIG_Py_Void();
25324 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25325 PyObject
*resultobj
= 0;
25326 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25327 wxPoint
*arg2
= 0 ;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 char * kwnames
[] = {
25334 (char *) "self",(char *) "pt", NULL
25337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25342 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= SWIG_Py_Void();
25360 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
= 0;
25362 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25363 wxPoint
*arg2
= 0 ;
25367 PyObject
* obj0
= 0 ;
25368 PyObject
* obj1
= 0 ;
25369 char * kwnames
[] = {
25370 (char *) "self",(char *) "pt", NULL
25373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25375 if (!SWIG_IsOK(res1
)) {
25376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25378 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25381 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= SWIG_Py_Void();
25396 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
= 0;
25398 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 char * kwnames
[] = {
25407 (char *) "self",(char *) "id", NULL
25410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25412 if (!SWIG_IsOK(res1
)) {
25413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25415 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25417 if (!SWIG_IsOK(ecode2
)) {
25418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25420 arg2
= static_cast< wxPaperSize
>(val2
);
25422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25423 (arg1
)->SetPaperId(arg2
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_Py_Void();
25434 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
= 0;
25436 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25441 PyObject
* obj0
= 0 ;
25442 PyObject
* obj1
= 0 ;
25443 char * kwnames
[] = {
25444 (char *) "self",(char *) "size", NULL
25447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25449 if (!SWIG_IsOK(res1
)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25452 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25455 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25459 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25460 wxPyEndAllowThreads(__tstate
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= SWIG_Py_Void();
25470 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
= 0;
25472 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25473 wxPrintData
*arg2
= 0 ;
25478 PyObject
* obj0
= 0 ;
25479 PyObject
* obj1
= 0 ;
25480 char * kwnames
[] = {
25481 (char *) "self",(char *) "printData", NULL
25484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25486 if (!SWIG_IsOK(res1
)) {
25487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25489 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25491 if (!SWIG_IsOK(res2
)) {
25492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25497 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= SWIG_Py_Void();
25511 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25512 PyObject
*resultobj
= 0;
25513 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25516 PyObject
*swig_obj
[1] ;
25518 if (!args
) SWIG_fail
;
25519 swig_obj
[0] = args
;
25520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25521 if (!SWIG_IsOK(res1
)) {
25522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25524 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 (arg1
)->CalculateIdFromPaperSize();
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_Py_Void();
25538 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25539 PyObject
*resultobj
= 0;
25540 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25543 PyObject
*swig_obj
[1] ;
25545 if (!args
) SWIG_fail
;
25546 swig_obj
[0] = args
;
25547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25548 if (!SWIG_IsOK(res1
)) {
25549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25551 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 (arg1
)->CalculatePaperSizeFromId();
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 resultobj
= SWIG_Py_Void();
25565 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25568 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25569 return SWIG_Py_Void();
25572 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25573 return SWIG_Python_InitShadowInstance(args
);
25576 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25577 PyObject
*resultobj
= 0;
25578 wxWindow
*arg1
= (wxWindow
*) 0 ;
25579 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25580 wxPageSetupDialog
*result
= 0 ;
25585 PyObject
* obj0
= 0 ;
25586 PyObject
* obj1
= 0 ;
25587 char * kwnames
[] = {
25588 (char *) "parent",(char *) "data", NULL
25591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25593 if (!SWIG_IsOK(res1
)) {
25594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25598 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25599 if (!SWIG_IsOK(res2
)) {
25600 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25602 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25605 if (!wxPyCheckForApp()) SWIG_fail
;
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25618 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25619 PyObject
*resultobj
= 0;
25620 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25623 PyObject
*swig_obj
[1] ;
25625 if (!args
) SWIG_fail
;
25626 swig_obj
[0] = args
;
25627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25628 if (!SWIG_IsOK(res1
)) {
25629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25631 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= SWIG_Py_Void();
25646 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25647 PyObject
*resultobj
= 0;
25648 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25649 wxPageSetupDialogData
*result
= 0 ;
25652 PyObject
*swig_obj
[1] ;
25654 if (!args
) SWIG_fail
;
25655 swig_obj
[0] = args
;
25656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25657 if (!SWIG_IsOK(res1
)) {
25658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25660 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25665 result
= (wxPageSetupDialogData
*) &_result_ref
;
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25677 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25678 PyObject
*resultobj
= 0;
25679 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25680 wxPageSetupDialogData
*result
= 0 ;
25683 PyObject
*swig_obj
[1] ;
25685 if (!args
) SWIG_fail
;
25686 swig_obj
[0] = args
;
25687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25691 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25696 result
= (wxPageSetupDialogData
*) &_result_ref
;
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25708 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25709 PyObject
*resultobj
= 0;
25710 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25714 PyObject
*swig_obj
[1] ;
25716 if (!args
) SWIG_fail
;
25717 swig_obj
[0] = args
;
25718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25719 if (!SWIG_IsOK(res1
)) {
25720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25722 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= (int)(arg1
)->ShowModal();
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= SWIG_From_int(static_cast< int >(result
));
25736 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25739 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25740 return SWIG_Py_Void();
25743 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25744 return SWIG_Python_InitShadowInstance(args
);
25747 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25748 PyObject
*resultobj
= 0;
25749 wxPrintDialogData
*result
= 0 ;
25751 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25765 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25766 PyObject
*resultobj
= 0;
25767 wxPrintData
*arg1
= 0 ;
25768 wxPrintDialogData
*result
= 0 ;
25772 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25774 if (!SWIG_IsOK(res1
)) {
25775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25780 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25794 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25795 PyObject
*resultobj
= 0;
25796 wxPrintDialogData
*arg1
= 0 ;
25797 wxPrintDialogData
*result
= 0 ;
25801 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25803 if (!SWIG_IsOK(res1
)) {
25804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25809 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25823 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25827 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25830 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25835 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25836 _v
= SWIG_CheckState(res
);
25838 if (!_v
) goto check_2
;
25839 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25844 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25848 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25853 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25854 PyObject
*resultobj
= 0;
25855 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25858 PyObject
*swig_obj
[1] ;
25860 if (!args
) SWIG_fail
;
25861 swig_obj
[0] = args
;
25862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25863 if (!SWIG_IsOK(res1
)) {
25864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25866 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 resultobj
= SWIG_Py_Void();
25881 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25882 PyObject
*resultobj
= 0;
25883 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25887 PyObject
*swig_obj
[1] ;
25889 if (!args
) SWIG_fail
;
25890 swig_obj
[0] = args
;
25891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25892 if (!SWIG_IsOK(res1
)) {
25893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25895 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 resultobj
= SWIG_From_int(static_cast< int >(result
));
25909 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25910 PyObject
*resultobj
= 0;
25911 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25915 PyObject
*swig_obj
[1] ;
25917 if (!args
) SWIG_fail
;
25918 swig_obj
[0] = args
;
25919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25920 if (!SWIG_IsOK(res1
)) {
25921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25923 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= SWIG_From_int(static_cast< int >(result
));
25937 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25938 PyObject
*resultobj
= 0;
25939 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25943 PyObject
*swig_obj
[1] ;
25945 if (!args
) SWIG_fail
;
25946 swig_obj
[0] = args
;
25947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25948 if (!SWIG_IsOK(res1
)) {
25949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25951 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_From_int(static_cast< int >(result
));
25965 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 PyObject
*resultobj
= 0;
25967 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25971 PyObject
*swig_obj
[1] ;
25973 if (!args
) SWIG_fail
;
25974 swig_obj
[0] = args
;
25975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25976 if (!SWIG_IsOK(res1
)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25979 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= SWIG_From_int(static_cast< int >(result
));
25993 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25994 PyObject
*resultobj
= 0;
25995 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25999 PyObject
*swig_obj
[1] ;
26001 if (!args
) SWIG_fail
;
26002 swig_obj
[0] = args
;
26003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26004 if (!SWIG_IsOK(res1
)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26007 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_From_int(static_cast< int >(result
));
26021 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26022 PyObject
*resultobj
= 0;
26023 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26027 PyObject
*swig_obj
[1] ;
26029 if (!args
) SWIG_fail
;
26030 swig_obj
[0] = args
;
26031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26032 if (!SWIG_IsOK(res1
)) {
26033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26035 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26051 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26052 PyObject
*resultobj
= 0;
26053 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26057 PyObject
*swig_obj
[1] ;
26059 if (!args
) SWIG_fail
;
26060 swig_obj
[0] = args
;
26061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26062 if (!SWIG_IsOK(res1
)) {
26063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26065 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26081 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26082 PyObject
*resultobj
= 0;
26083 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26087 PyObject
*swig_obj
[1] ;
26089 if (!args
) SWIG_fail
;
26090 swig_obj
[0] = args
;
26091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26092 if (!SWIG_IsOK(res1
)) {
26093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26095 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26111 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26112 PyObject
*resultobj
= 0;
26113 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26117 PyObject
*swig_obj
[1] ;
26119 if (!args
) SWIG_fail
;
26120 swig_obj
[0] = args
;
26121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26122 if (!SWIG_IsOK(res1
)) {
26123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26125 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26141 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
= 0;
26143 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26149 PyObject
* obj0
= 0 ;
26150 PyObject
* obj1
= 0 ;
26151 char * kwnames
[] = {
26152 (char *) "self",(char *) "v", NULL
26155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26157 if (!SWIG_IsOK(res1
)) {
26158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26160 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26162 if (!SWIG_IsOK(ecode2
)) {
26163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26165 arg2
= static_cast< int >(val2
);
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 (arg1
)->SetFromPage(arg2
);
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26172 resultobj
= SWIG_Py_Void();
26179 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26180 PyObject
*resultobj
= 0;
26181 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 char * kwnames
[] = {
26190 (char *) "self",(char *) "v", NULL
26193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26195 if (!SWIG_IsOK(res1
)) {
26196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26198 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26200 if (!SWIG_IsOK(ecode2
)) {
26201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26203 arg2
= static_cast< int >(val2
);
26205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26206 (arg1
)->SetToPage(arg2
);
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= SWIG_Py_Void();
26217 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
= 0;
26219 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 char * kwnames
[] = {
26228 (char *) "self",(char *) "v", NULL
26231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26233 if (!SWIG_IsOK(res1
)) {
26234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26236 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26238 if (!SWIG_IsOK(ecode2
)) {
26239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26241 arg2
= static_cast< int >(val2
);
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 (arg1
)->SetMinPage(arg2
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_Py_Void();
26255 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
= 0;
26257 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26263 PyObject
* obj0
= 0 ;
26264 PyObject
* obj1
= 0 ;
26265 char * kwnames
[] = {
26266 (char *) "self",(char *) "v", NULL
26269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26271 if (!SWIG_IsOK(res1
)) {
26272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26274 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26276 if (!SWIG_IsOK(ecode2
)) {
26277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26279 arg2
= static_cast< int >(val2
);
26281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26282 (arg1
)->SetMaxPage(arg2
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_Py_Void();
26293 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26294 PyObject
*resultobj
= 0;
26295 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj1
= 0 ;
26303 char * kwnames
[] = {
26304 (char *) "self",(char *) "v", NULL
26307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26309 if (!SWIG_IsOK(res1
)) {
26310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26312 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26314 if (!SWIG_IsOK(ecode2
)) {
26315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26317 arg2
= static_cast< int >(val2
);
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 (arg1
)->SetNoCopies(arg2
);
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= SWIG_Py_Void();
26331 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26332 PyObject
*resultobj
= 0;
26333 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26339 PyObject
* obj0
= 0 ;
26340 PyObject
* obj1
= 0 ;
26341 char * kwnames
[] = {
26342 (char *) "self",(char *) "flag", NULL
26345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26347 if (!SWIG_IsOK(res1
)) {
26348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26350 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26351 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26352 if (!SWIG_IsOK(ecode2
)) {
26353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26355 arg2
= static_cast< bool >(val2
);
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 (arg1
)->SetAllPages(arg2
);
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= SWIG_Py_Void();
26369 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
= 0;
26371 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26377 PyObject
* obj0
= 0 ;
26378 PyObject
* obj1
= 0 ;
26379 char * kwnames
[] = {
26380 (char *) "self",(char *) "flag", NULL
26383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26385 if (!SWIG_IsOK(res1
)) {
26386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26388 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26389 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26390 if (!SWIG_IsOK(ecode2
)) {
26391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26393 arg2
= static_cast< bool >(val2
);
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 (arg1
)->SetSelection(arg2
);
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= SWIG_Py_Void();
26407 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
= 0;
26409 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26415 PyObject
* obj0
= 0 ;
26416 PyObject
* obj1
= 0 ;
26417 char * kwnames
[] = {
26418 (char *) "self",(char *) "flag", NULL
26421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26423 if (!SWIG_IsOK(res1
)) {
26424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26426 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26427 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26428 if (!SWIG_IsOK(ecode2
)) {
26429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26431 arg2
= static_cast< bool >(val2
);
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 (arg1
)->SetCollate(arg2
);
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= SWIG_Py_Void();
26445 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
= 0;
26447 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26453 PyObject
* obj0
= 0 ;
26454 PyObject
* obj1
= 0 ;
26455 char * kwnames
[] = {
26456 (char *) "self",(char *) "flag", NULL
26459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26461 if (!SWIG_IsOK(res1
)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26464 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26465 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26466 if (!SWIG_IsOK(ecode2
)) {
26467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26469 arg2
= static_cast< bool >(val2
);
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 (arg1
)->SetPrintToFile(arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 resultobj
= SWIG_Py_Void();
26483 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
= 0;
26485 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26491 PyObject
* obj0
= 0 ;
26492 PyObject
* obj1
= 0 ;
26493 char * kwnames
[] = {
26494 (char *) "self",(char *) "flag", NULL
26497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26499 if (!SWIG_IsOK(res1
)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26502 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26503 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26504 if (!SWIG_IsOK(ecode2
)) {
26505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26507 arg2
= static_cast< bool >(val2
);
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 (arg1
)->EnablePrintToFile(arg2
);
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_Py_Void();
26521 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
= 0;
26523 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 char * kwnames
[] = {
26532 (char *) "self",(char *) "flag", NULL
26535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26537 if (!SWIG_IsOK(res1
)) {
26538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26540 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26541 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26542 if (!SWIG_IsOK(ecode2
)) {
26543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26545 arg2
= static_cast< bool >(val2
);
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 (arg1
)->EnableSelection(arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= SWIG_Py_Void();
26559 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
= 0;
26561 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26567 PyObject
* obj0
= 0 ;
26568 PyObject
* obj1
= 0 ;
26569 char * kwnames
[] = {
26570 (char *) "self",(char *) "flag", NULL
26573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26575 if (!SWIG_IsOK(res1
)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26578 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26579 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26580 if (!SWIG_IsOK(ecode2
)) {
26581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26583 arg2
= static_cast< bool >(val2
);
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 (arg1
)->EnablePageNumbers(arg2
);
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= SWIG_Py_Void();
26597 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
= 0;
26599 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 char * kwnames
[] = {
26608 (char *) "self",(char *) "flag", NULL
26611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26613 if (!SWIG_IsOK(res1
)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26616 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26617 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26618 if (!SWIG_IsOK(ecode2
)) {
26619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26621 arg2
= static_cast< bool >(val2
);
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 (arg1
)->EnableHelp(arg2
);
26625 wxPyEndAllowThreads(__tstate
);
26626 if (PyErr_Occurred()) SWIG_fail
;
26628 resultobj
= SWIG_Py_Void();
26635 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26636 PyObject
*resultobj
= 0;
26637 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26641 PyObject
*swig_obj
[1] ;
26643 if (!args
) SWIG_fail
;
26644 swig_obj
[0] = args
;
26645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26646 if (!SWIG_IsOK(res1
)) {
26647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26649 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26653 wxPyEndAllowThreads(__tstate
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26665 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26666 PyObject
*resultobj
= 0;
26667 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26671 PyObject
*swig_obj
[1] ;
26673 if (!args
) SWIG_fail
;
26674 swig_obj
[0] = args
;
26675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26676 if (!SWIG_IsOK(res1
)) {
26677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26679 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26695 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26696 PyObject
*resultobj
= 0;
26697 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26701 PyObject
*swig_obj
[1] ;
26703 if (!args
) SWIG_fail
;
26704 swig_obj
[0] = args
;
26705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26706 if (!SWIG_IsOK(res1
)) {
26707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26709 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26725 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26726 PyObject
*resultobj
= 0;
26727 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26731 PyObject
*swig_obj
[1] ;
26733 if (!args
) SWIG_fail
;
26734 swig_obj
[0] = args
;
26735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26736 if (!SWIG_IsOK(res1
)) {
26737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26739 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26755 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26756 PyObject
*resultobj
= 0;
26757 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26761 PyObject
*swig_obj
[1] ;
26763 if (!args
) SWIG_fail
;
26764 swig_obj
[0] = args
;
26765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26766 if (!SWIG_IsOK(res1
)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26769 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26785 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26786 PyObject
*resultobj
= 0;
26787 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26788 wxPrintData
*result
= 0 ;
26791 PyObject
*swig_obj
[1] ;
26793 if (!args
) SWIG_fail
;
26794 swig_obj
[0] = args
;
26795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26796 if (!SWIG_IsOK(res1
)) {
26797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26799 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26803 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26804 result
= (wxPrintData
*) &_result_ref
;
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26816 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
= 0;
26818 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26819 wxPrintData
*arg2
= 0 ;
26824 PyObject
* obj0
= 0 ;
26825 PyObject
* obj1
= 0 ;
26826 char * kwnames
[] = {
26827 (char *) "self",(char *) "printData", NULL
26830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26832 if (!SWIG_IsOK(res1
)) {
26833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26835 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26836 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26837 if (!SWIG_IsOK(res2
)) {
26838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26841 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26843 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26850 resultobj
= SWIG_Py_Void();
26857 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26860 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26861 return SWIG_Py_Void();
26864 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26865 return SWIG_Python_InitShadowInstance(args
);
26868 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
= 0;
26870 wxWindow
*arg1
= (wxWindow
*) 0 ;
26871 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26872 wxPrintDialog
*result
= 0 ;
26877 PyObject
* obj0
= 0 ;
26878 PyObject
* obj1
= 0 ;
26879 char * kwnames
[] = {
26880 (char *) "parent",(char *) "data", NULL
26883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26885 if (!SWIG_IsOK(res1
)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26888 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26891 if (!SWIG_IsOK(res2
)) {
26892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26894 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26897 if (!wxPyCheckForApp()) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26910 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26911 PyObject
*resultobj
= 0;
26912 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26915 PyObject
*swig_obj
[1] ;
26917 if (!args
) SWIG_fail
;
26918 swig_obj
[0] = args
;
26919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26920 if (!SWIG_IsOK(res1
)) {
26921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26923 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 resultobj
= SWIG_Py_Void();
26938 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26939 PyObject
*resultobj
= 0;
26940 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26944 PyObject
*swig_obj
[1] ;
26946 if (!args
) SWIG_fail
;
26947 swig_obj
[0] = args
;
26948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26952 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 result
= (int)(arg1
)->ShowModal();
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= SWIG_From_int(static_cast< int >(result
));
26966 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26967 PyObject
*resultobj
= 0;
26968 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26969 wxPrintDialogData
*result
= 0 ;
26972 PyObject
*swig_obj
[1] ;
26974 if (!args
) SWIG_fail
;
26975 swig_obj
[0] = args
;
26976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26977 if (!SWIG_IsOK(res1
)) {
26978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26980 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26985 result
= (wxPrintDialogData
*) &_result_ref
;
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26997 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26998 PyObject
*resultobj
= 0;
26999 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27000 wxPrintData
*result
= 0 ;
27003 PyObject
*swig_obj
[1] ;
27005 if (!args
) SWIG_fail
;
27006 swig_obj
[0] = args
;
27007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27008 if (!SWIG_IsOK(res1
)) {
27009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27011 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27016 result
= (wxPrintData
*) &_result_ref
;
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27028 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27029 PyObject
*resultobj
= 0;
27030 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27034 PyObject
*swig_obj
[1] ;
27036 if (!args
) SWIG_fail
;
27037 swig_obj
[0] = args
;
27038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27039 if (!SWIG_IsOK(res1
)) {
27040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27042 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 result
= (wxDC
*)(arg1
)->GetPrintDC();
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27050 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27058 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27061 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27062 return SWIG_Py_Void();
27065 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27066 return SWIG_Python_InitShadowInstance(args
);
27069 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
= 0;
27071 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27072 wxPrinter
*result
= 0 ;
27075 PyObject
* obj0
= 0 ;
27076 char * kwnames
[] = {
27077 (char *) "data", NULL
27080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27083 if (!SWIG_IsOK(res1
)) {
27084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27086 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27089 if (!wxPyCheckForApp()) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 result
= (wxPrinter
*)new wxPrinter(arg1
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27102 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27103 PyObject
*resultobj
= 0;
27104 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27107 PyObject
*swig_obj
[1] ;
27109 if (!args
) SWIG_fail
;
27110 swig_obj
[0] = args
;
27111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27112 if (!SWIG_IsOK(res1
)) {
27113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27115 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= SWIG_Py_Void();
27130 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
= 0;
27132 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27133 wxWindow
*arg2
= (wxWindow
*) 0 ;
27134 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27135 wxWindow
*result
= 0 ;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 PyObject
* obj2
= 0 ;
27145 char * kwnames
[] = {
27146 (char *) "self",(char *) "parent",(char *) "printout", NULL
27149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27151 if (!SWIG_IsOK(res1
)) {
27152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27154 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27156 if (!SWIG_IsOK(res2
)) {
27157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27159 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27160 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27161 if (!SWIG_IsOK(res3
)) {
27162 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27164 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27167 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= wxPyMake_wxObject(result
, 0);
27180 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
= 0;
27182 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27183 wxWindow
*arg2
= (wxWindow
*) 0 ;
27184 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27185 wxString
*arg4
= 0 ;
27192 bool temp4
= false ;
27193 PyObject
* obj0
= 0 ;
27194 PyObject
* obj1
= 0 ;
27195 PyObject
* obj2
= 0 ;
27196 PyObject
* obj3
= 0 ;
27197 char * kwnames
[] = {
27198 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27203 if (!SWIG_IsOK(res1
)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27206 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27208 if (!SWIG_IsOK(res2
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27211 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27212 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27213 if (!SWIG_IsOK(res3
)) {
27214 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27216 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27218 arg4
= wxString_in_helper(obj3
);
27219 if (arg4
== NULL
) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27225 wxPyEndAllowThreads(__tstate
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27228 resultobj
= SWIG_Py_Void();
27243 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27244 PyObject
*resultobj
= 0;
27245 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27246 wxWindow
*arg2
= (wxWindow
*) 0 ;
27252 PyObject
* obj0
= 0 ;
27253 PyObject
* obj1
= 0 ;
27254 char * kwnames
[] = {
27255 (char *) "self",(char *) "parent", NULL
27258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27260 if (!SWIG_IsOK(res1
)) {
27261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27263 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27265 if (!SWIG_IsOK(res2
)) {
27266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 result
= (bool)(arg1
)->Setup(arg2
);
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27284 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
= 0;
27286 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27287 wxWindow
*arg2
= (wxWindow
*) 0 ;
27288 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27289 bool arg4
= (bool) true ;
27299 PyObject
* obj0
= 0 ;
27300 PyObject
* obj1
= 0 ;
27301 PyObject
* obj2
= 0 ;
27302 PyObject
* obj3
= 0 ;
27303 char * kwnames
[] = {
27304 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27309 if (!SWIG_IsOK(res1
)) {
27310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27312 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27314 if (!SWIG_IsOK(res2
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27317 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27318 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27319 if (!SWIG_IsOK(res3
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27322 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27324 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27325 if (!SWIG_IsOK(ecode4
)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27328 arg4
= static_cast< bool >(val4
);
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27345 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
= 0;
27347 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27348 wxWindow
*arg2
= (wxWindow
*) 0 ;
27354 PyObject
* obj0
= 0 ;
27355 PyObject
* obj1
= 0 ;
27356 char * kwnames
[] = {
27357 (char *) "self",(char *) "parent", NULL
27360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27362 if (!SWIG_IsOK(res1
)) {
27363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27365 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27366 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27367 if (!SWIG_IsOK(res2
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27370 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27378 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27386 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27387 PyObject
*resultobj
= 0;
27388 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27389 wxPrintDialogData
*result
= 0 ;
27392 PyObject
*swig_obj
[1] ;
27394 if (!args
) SWIG_fail
;
27395 swig_obj
[0] = args
;
27396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27397 if (!SWIG_IsOK(res1
)) {
27398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27400 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27405 result
= (wxPrintDialogData
*) &_result_ref
;
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27417 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27418 PyObject
*resultobj
= 0;
27419 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27423 PyObject
*swig_obj
[1] ;
27425 if (!args
) SWIG_fail
;
27426 swig_obj
[0] = args
;
27427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27428 if (!SWIG_IsOK(res1
)) {
27429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27431 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= (bool)(arg1
)->GetAbort();
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27447 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27448 PyObject
*resultobj
= 0;
27449 wxPrinterError result
;
27451 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 result
= (wxPrinterError
)wxPrinter::GetLastError();
27455 wxPyEndAllowThreads(__tstate
);
27456 if (PyErr_Occurred()) SWIG_fail
;
27458 resultobj
= SWIG_From_int(static_cast< int >(result
));
27465 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27468 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27469 return SWIG_Py_Void();
27472 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27473 return SWIG_Python_InitShadowInstance(args
);
27476 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
= 0;
27478 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27479 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27480 wxPyPrintout
*result
= 0 ;
27481 bool temp1
= false ;
27482 PyObject
* obj0
= 0 ;
27483 char * kwnames
[] = {
27484 (char *) "title", NULL
27487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27490 arg1
= wxString_in_helper(obj0
);
27491 if (arg1
== NULL
) SWIG_fail
;
27496 if (!wxPyCheckForApp()) SWIG_fail
;
27497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27498 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27517 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27518 PyObject
*resultobj
= 0;
27519 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27522 PyObject
*swig_obj
[1] ;
27524 if (!args
) SWIG_fail
;
27525 swig_obj
[0] = args
;
27526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27527 if (!SWIG_IsOK(res1
)) {
27528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27530 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 wxPyEndAllowThreads(__tstate
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27538 resultobj
= SWIG_Py_Void();
27545 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
= 0;
27547 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27548 PyObject
*arg2
= (PyObject
*) 0 ;
27549 PyObject
*arg3
= (PyObject
*) 0 ;
27552 PyObject
* obj0
= 0 ;
27553 PyObject
* obj1
= 0 ;
27554 PyObject
* obj2
= 0 ;
27555 char * kwnames
[] = {
27556 (char *) "self",(char *) "self",(char *) "_class", NULL
27559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27561 if (!SWIG_IsOK(res1
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27564 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27569 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27570 wxPyEndAllowThreads(__tstate
);
27571 if (PyErr_Occurred()) SWIG_fail
;
27573 resultobj
= SWIG_Py_Void();
27580 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27581 PyObject
*resultobj
= 0;
27582 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27586 PyObject
*swig_obj
[1] ;
27588 if (!args
) SWIG_fail
;
27589 swig_obj
[0] = args
;
27590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27591 if (!SWIG_IsOK(res1
)) {
27592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27594 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27597 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27598 wxPyEndAllowThreads(__tstate
);
27599 if (PyErr_Occurred()) SWIG_fail
;
27603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27614 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27615 PyObject
*resultobj
= 0;
27616 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27620 PyObject
*swig_obj
[1] ;
27622 if (!args
) SWIG_fail
;
27623 swig_obj
[0] = args
;
27624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27625 if (!SWIG_IsOK(res1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27628 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 result
= (wxDC
*)(arg1
)->GetDC();
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27636 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27644 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27645 PyObject
*resultobj
= 0;
27646 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27647 wxDC
*arg2
= (wxDC
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 PyObject
* obj1
= 0 ;
27654 char * kwnames
[] = {
27655 (char *) "self",(char *) "dc", NULL
27658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27660 if (!SWIG_IsOK(res1
)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27663 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27665 if (!SWIG_IsOK(res2
)) {
27666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27668 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 (arg1
)->SetDC(arg2
);
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= SWIG_Py_Void();
27682 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27683 PyObject
*resultobj
= 0;
27684 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27693 PyObject
* obj0
= 0 ;
27694 PyObject
* obj1
= 0 ;
27695 PyObject
* obj2
= 0 ;
27696 char * kwnames
[] = {
27697 (char *) "self",(char *) "w",(char *) "h", NULL
27700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27702 if (!SWIG_IsOK(res1
)) {
27703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27705 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27707 if (!SWIG_IsOK(ecode2
)) {
27708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27710 arg2
= static_cast< int >(val2
);
27711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27712 if (!SWIG_IsOK(ecode3
)) {
27713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27715 arg3
= static_cast< int >(val3
);
27717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27718 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 resultobj
= SWIG_Py_Void();
27729 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27730 PyObject
*resultobj
= 0;
27731 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27732 int *arg2
= (int *) 0 ;
27733 int *arg3
= (int *) 0 ;
27737 int res2
= SWIG_TMPOBJ
;
27739 int res3
= SWIG_TMPOBJ
;
27740 PyObject
*swig_obj
[1] ;
27744 if (!args
) SWIG_fail
;
27745 swig_obj
[0] = args
;
27746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27747 if (!SWIG_IsOK(res1
)) {
27748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27750 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27753 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27754 wxPyEndAllowThreads(__tstate
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27757 resultobj
= SWIG_Py_Void();
27758 if (SWIG_IsTmpObj(res2
)) {
27759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27761 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27764 if (SWIG_IsTmpObj(res3
)) {
27765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27767 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27776 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27777 PyObject
*resultobj
= 0;
27778 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27787 PyObject
* obj0
= 0 ;
27788 PyObject
* obj1
= 0 ;
27789 PyObject
* obj2
= 0 ;
27790 char * kwnames
[] = {
27791 (char *) "self",(char *) "w",(char *) "h", NULL
27794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27796 if (!SWIG_IsOK(res1
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27799 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27801 if (!SWIG_IsOK(ecode2
)) {
27802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27804 arg2
= static_cast< int >(val2
);
27805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27806 if (!SWIG_IsOK(ecode3
)) {
27807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27809 arg3
= static_cast< int >(val3
);
27811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27812 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27813 wxPyEndAllowThreads(__tstate
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27816 resultobj
= SWIG_Py_Void();
27823 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27824 PyObject
*resultobj
= 0;
27825 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27826 int *arg2
= (int *) 0 ;
27827 int *arg3
= (int *) 0 ;
27831 int res2
= SWIG_TMPOBJ
;
27833 int res3
= SWIG_TMPOBJ
;
27834 PyObject
*swig_obj
[1] ;
27838 if (!args
) SWIG_fail
;
27839 swig_obj
[0] = args
;
27840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27841 if (!SWIG_IsOK(res1
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27844 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= SWIG_Py_Void();
27852 if (SWIG_IsTmpObj(res2
)) {
27853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27855 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27858 if (SWIG_IsTmpObj(res3
)) {
27859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27861 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27870 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
= 0;
27872 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 PyObject
* obj2
= 0 ;
27884 char * kwnames
[] = {
27885 (char *) "self",(char *) "x",(char *) "y", NULL
27888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27890 if (!SWIG_IsOK(res1
)) {
27891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27893 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27895 if (!SWIG_IsOK(ecode2
)) {
27896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27898 arg2
= static_cast< int >(val2
);
27899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27900 if (!SWIG_IsOK(ecode3
)) {
27901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27903 arg3
= static_cast< int >(val3
);
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 (arg1
)->SetPPIScreen(arg2
,arg3
);
27907 wxPyEndAllowThreads(__tstate
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27910 resultobj
= SWIG_Py_Void();
27917 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27918 PyObject
*resultobj
= 0;
27919 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27920 int *arg2
= (int *) 0 ;
27921 int *arg3
= (int *) 0 ;
27925 int res2
= SWIG_TMPOBJ
;
27927 int res3
= SWIG_TMPOBJ
;
27928 PyObject
*swig_obj
[1] ;
27932 if (!args
) SWIG_fail
;
27933 swig_obj
[0] = args
;
27934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27935 if (!SWIG_IsOK(res1
)) {
27936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27938 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27941 (arg1
)->GetPPIScreen(arg2
,arg3
);
27942 wxPyEndAllowThreads(__tstate
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27945 resultobj
= SWIG_Py_Void();
27946 if (SWIG_IsTmpObj(res2
)) {
27947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27949 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27952 if (SWIG_IsTmpObj(res3
)) {
27953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27955 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27964 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
= 0;
27966 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27975 PyObject
* obj0
= 0 ;
27976 PyObject
* obj1
= 0 ;
27977 PyObject
* obj2
= 0 ;
27978 char * kwnames
[] = {
27979 (char *) "self",(char *) "x",(char *) "y", NULL
27982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27984 if (!SWIG_IsOK(res1
)) {
27985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27987 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27989 if (!SWIG_IsOK(ecode2
)) {
27990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27992 arg2
= static_cast< int >(val2
);
27993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27994 if (!SWIG_IsOK(ecode3
)) {
27995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27997 arg3
= static_cast< int >(val3
);
27999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28000 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 resultobj
= SWIG_Py_Void();
28011 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28012 PyObject
*resultobj
= 0;
28013 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28014 int *arg2
= (int *) 0 ;
28015 int *arg3
= (int *) 0 ;
28019 int res2
= SWIG_TMPOBJ
;
28021 int res3
= SWIG_TMPOBJ
;
28022 PyObject
*swig_obj
[1] ;
28026 if (!args
) SWIG_fail
;
28027 swig_obj
[0] = args
;
28028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28029 if (!SWIG_IsOK(res1
)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28032 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28036 wxPyEndAllowThreads(__tstate
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28039 resultobj
= SWIG_Py_Void();
28040 if (SWIG_IsTmpObj(res2
)) {
28041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28043 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28046 if (SWIG_IsTmpObj(res3
)) {
28047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28049 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28058 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28059 PyObject
*resultobj
= 0;
28060 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28064 PyObject
*swig_obj
[1] ;
28066 if (!args
) SWIG_fail
;
28067 swig_obj
[0] = args
;
28068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28069 if (!SWIG_IsOK(res1
)) {
28070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28072 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 result
= (bool)(arg1
)->IsPreview();
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28088 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
= 0;
28090 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28096 PyObject
* obj0
= 0 ;
28097 PyObject
* obj1
= 0 ;
28098 char * kwnames
[] = {
28099 (char *) "self",(char *) "p", NULL
28102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28104 if (!SWIG_IsOK(res1
)) {
28105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28107 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28108 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28109 if (!SWIG_IsOK(ecode2
)) {
28110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28112 arg2
= static_cast< bool >(val2
);
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 (arg1
)->SetIsPreview(arg2
);
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28119 resultobj
= SWIG_Py_Void();
28126 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28127 PyObject
*resultobj
= 0;
28128 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28138 PyObject
* obj0
= 0 ;
28139 PyObject
* obj1
= 0 ;
28140 PyObject
* obj2
= 0 ;
28141 char * kwnames
[] = {
28142 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28147 if (!SWIG_IsOK(res1
)) {
28148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28150 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28152 if (!SWIG_IsOK(ecode2
)) {
28153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28155 arg2
= static_cast< int >(val2
);
28156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28157 if (!SWIG_IsOK(ecode3
)) {
28158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28160 arg3
= static_cast< int >(val3
);
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28176 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28177 PyObject
*resultobj
= 0;
28178 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28181 PyObject
*swig_obj
[1] ;
28183 if (!args
) SWIG_fail
;
28184 swig_obj
[0] = args
;
28185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28186 if (!SWIG_IsOK(res1
)) {
28187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28189 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 (arg1
)->OnEndDocument();
28193 wxPyEndAllowThreads(__tstate
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28196 resultobj
= SWIG_Py_Void();
28203 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28204 PyObject
*resultobj
= 0;
28205 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28208 PyObject
*swig_obj
[1] ;
28210 if (!args
) SWIG_fail
;
28211 swig_obj
[0] = args
;
28212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28213 if (!SWIG_IsOK(res1
)) {
28214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28216 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 (arg1
)->OnBeginPrinting();
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= SWIG_Py_Void();
28230 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28231 PyObject
*resultobj
= 0;
28232 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28235 PyObject
*swig_obj
[1] ;
28237 if (!args
) SWIG_fail
;
28238 swig_obj
[0] = args
;
28239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28243 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 (arg1
)->OnEndPrinting();
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= SWIG_Py_Void();
28257 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28258 PyObject
*resultobj
= 0;
28259 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28262 PyObject
*swig_obj
[1] ;
28264 if (!args
) SWIG_fail
;
28265 swig_obj
[0] = args
;
28266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28267 if (!SWIG_IsOK(res1
)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28270 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 (arg1
)->OnPreparePrinting();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= SWIG_Py_Void();
28284 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
= 0;
28286 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28293 PyObject
* obj0
= 0 ;
28294 PyObject
* obj1
= 0 ;
28295 char * kwnames
[] = {
28296 (char *) "self",(char *) "page", NULL
28299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28301 if (!SWIG_IsOK(res1
)) {
28302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28304 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28306 if (!SWIG_IsOK(ecode2
)) {
28307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28309 arg2
= static_cast< int >(val2
);
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= (bool)(arg1
)->HasPage(arg2
);
28313 wxPyEndAllowThreads(__tstate
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28325 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28326 PyObject
*resultobj
= 0;
28327 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28328 int *arg2
= (int *) 0 ;
28329 int *arg3
= (int *) 0 ;
28330 int *arg4
= (int *) 0 ;
28331 int *arg5
= (int *) 0 ;
28335 int res2
= SWIG_TMPOBJ
;
28337 int res3
= SWIG_TMPOBJ
;
28339 int res4
= SWIG_TMPOBJ
;
28341 int res5
= SWIG_TMPOBJ
;
28342 PyObject
*swig_obj
[1] ;
28348 if (!args
) SWIG_fail
;
28349 swig_obj
[0] = args
;
28350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28351 if (!SWIG_IsOK(res1
)) {
28352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28354 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28357 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= SWIG_Py_Void();
28362 if (SWIG_IsTmpObj(res2
)) {
28363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28365 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28368 if (SWIG_IsTmpObj(res3
)) {
28369 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28371 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28372 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28374 if (SWIG_IsTmpObj(res4
)) {
28375 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28377 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28378 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28380 if (SWIG_IsTmpObj(res5
)) {
28381 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28383 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28392 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28395 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28396 return SWIG_Py_Void();
28399 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28400 return SWIG_Python_InitShadowInstance(args
);
28403 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
= 0;
28405 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28406 wxWindow
*arg2
= (wxWindow
*) 0 ;
28407 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28408 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28409 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28410 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28411 long arg5
= (long) 0 ;
28412 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28413 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28414 wxPreviewCanvas
*result
= 0 ;
28423 bool temp6
= false ;
28424 PyObject
* obj0
= 0 ;
28425 PyObject
* obj1
= 0 ;
28426 PyObject
* obj2
= 0 ;
28427 PyObject
* obj3
= 0 ;
28428 PyObject
* obj4
= 0 ;
28429 PyObject
* obj5
= 0 ;
28430 char * kwnames
[] = {
28431 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28436 if (!SWIG_IsOK(res1
)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28439 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28440 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28441 if (!SWIG_IsOK(res2
)) {
28442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28444 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28454 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28458 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28459 if (!SWIG_IsOK(ecode5
)) {
28460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28462 arg5
= static_cast< long >(val5
);
28466 arg6
= wxString_in_helper(obj5
);
28467 if (arg6
== NULL
) SWIG_fail
;
28472 if (!wxPyCheckForApp()) SWIG_fail
;
28473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28493 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28496 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28497 return SWIG_Py_Void();
28500 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28501 return SWIG_Python_InitShadowInstance(args
);
28504 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28505 PyObject
*resultobj
= 0;
28506 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28507 wxFrame
*arg2
= (wxFrame
*) 0 ;
28508 wxString
*arg3
= 0 ;
28509 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28510 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28511 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28512 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28513 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28514 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28515 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28516 wxPreviewFrame
*result
= 0 ;
28520 bool temp3
= false ;
28525 bool temp7
= false ;
28526 PyObject
* obj0
= 0 ;
28527 PyObject
* obj1
= 0 ;
28528 PyObject
* obj2
= 0 ;
28529 PyObject
* obj3
= 0 ;
28530 PyObject
* obj4
= 0 ;
28531 PyObject
* obj5
= 0 ;
28532 PyObject
* obj6
= 0 ;
28533 char * kwnames
[] = {
28534 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28538 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28539 if (!SWIG_IsOK(res1
)) {
28540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28542 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28543 if (!SWIG_IsOK(res2
)) {
28544 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28546 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28548 arg3
= wxString_in_helper(obj2
);
28549 if (arg3
== NULL
) SWIG_fail
;
28555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28565 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28566 if (!SWIG_IsOK(ecode6
)) {
28567 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28569 arg6
= static_cast< long >(val6
);
28573 arg7
= wxString_in_helper(obj6
);
28574 if (arg7
== NULL
) SWIG_fail
;
28579 if (!wxPyCheckForApp()) SWIG_fail
;
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28582 wxPyEndAllowThreads(__tstate
);
28583 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28608 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28609 PyObject
*resultobj
= 0;
28610 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28613 PyObject
*swig_obj
[1] ;
28615 if (!args
) SWIG_fail
;
28616 swig_obj
[0] = args
;
28617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28618 if (!SWIG_IsOK(res1
)) {
28619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28621 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28624 (arg1
)->Initialize();
28625 wxPyEndAllowThreads(__tstate
);
28626 if (PyErr_Occurred()) SWIG_fail
;
28628 resultobj
= SWIG_Py_Void();
28635 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28636 PyObject
*resultobj
= 0;
28637 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28640 PyObject
*swig_obj
[1] ;
28642 if (!args
) SWIG_fail
;
28643 swig_obj
[0] = args
;
28644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28645 if (!SWIG_IsOK(res1
)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28648 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 (arg1
)->CreateControlBar();
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= SWIG_Py_Void();
28662 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28663 PyObject
*resultobj
= 0;
28664 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28667 PyObject
*swig_obj
[1] ;
28669 if (!args
) SWIG_fail
;
28670 swig_obj
[0] = args
;
28671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28672 if (!SWIG_IsOK(res1
)) {
28673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28675 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 (arg1
)->CreateCanvas();
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28682 resultobj
= SWIG_Py_Void();
28689 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28690 PyObject
*resultobj
= 0;
28691 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28692 wxPreviewControlBar
*result
= 0 ;
28695 PyObject
*swig_obj
[1] ;
28697 if (!args
) SWIG_fail
;
28698 swig_obj
[0] = args
;
28699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28700 if (!SWIG_IsOK(res1
)) {
28701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28703 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28717 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28720 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28721 return SWIG_Py_Void();
28724 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28725 return SWIG_Python_InitShadowInstance(args
);
28728 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28729 PyObject
*resultobj
= 0;
28730 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28732 wxWindow
*arg3
= (wxWindow
*) 0 ;
28733 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28734 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28735 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28736 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28737 long arg6
= (long) wxTAB_TRAVERSAL
;
28738 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28739 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28740 wxPreviewControlBar
*result
= 0 ;
28751 bool temp7
= false ;
28752 PyObject
* obj0
= 0 ;
28753 PyObject
* obj1
= 0 ;
28754 PyObject
* obj2
= 0 ;
28755 PyObject
* obj3
= 0 ;
28756 PyObject
* obj4
= 0 ;
28757 PyObject
* obj5
= 0 ;
28758 PyObject
* obj6
= 0 ;
28759 char * kwnames
[] = {
28760 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28765 if (!SWIG_IsOK(res1
)) {
28766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28768 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28769 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28770 if (!SWIG_IsOK(ecode2
)) {
28771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28773 arg2
= static_cast< long >(val2
);
28774 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28775 if (!SWIG_IsOK(res3
)) {
28776 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28778 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28782 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28788 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28792 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28793 if (!SWIG_IsOK(ecode6
)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28796 arg6
= static_cast< long >(val6
);
28800 arg7
= wxString_in_helper(obj6
);
28801 if (arg7
== NULL
) SWIG_fail
;
28806 if (!wxPyCheckForApp()) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28827 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28828 PyObject
*resultobj
= 0;
28829 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28833 PyObject
*swig_obj
[1] ;
28835 if (!args
) SWIG_fail
;
28836 swig_obj
[0] = args
;
28837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28838 if (!SWIG_IsOK(res1
)) {
28839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28841 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28844 result
= (int)(arg1
)->GetZoomControl();
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 resultobj
= SWIG_From_int(static_cast< int >(result
));
28855 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
= 0;
28857 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28863 PyObject
* obj0
= 0 ;
28864 PyObject
* obj1
= 0 ;
28865 char * kwnames
[] = {
28866 (char *) "self",(char *) "zoom", NULL
28869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28871 if (!SWIG_IsOK(res1
)) {
28872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28874 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28876 if (!SWIG_IsOK(ecode2
)) {
28877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28879 arg2
= static_cast< int >(val2
);
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28882 (arg1
)->SetZoomControl(arg2
);
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 resultobj
= SWIG_Py_Void();
28893 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28894 PyObject
*resultobj
= 0;
28895 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28896 wxPrintPreview
*result
= 0 ;
28899 PyObject
*swig_obj
[1] ;
28901 if (!args
) SWIG_fail
;
28902 swig_obj
[0] = args
;
28903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28904 if (!SWIG_IsOK(res1
)) {
28905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28907 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28910 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28911 wxPyEndAllowThreads(__tstate
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28921 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28922 PyObject
*resultobj
= 0;
28923 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28926 PyObject
*swig_obj
[1] ;
28928 if (!args
) SWIG_fail
;
28929 swig_obj
[0] = args
;
28930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28931 if (!SWIG_IsOK(res1
)) {
28932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28934 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28941 resultobj
= SWIG_Py_Void();
28948 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28949 PyObject
*resultobj
= 0;
28950 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28953 PyObject
*swig_obj
[1] ;
28955 if (!args
) SWIG_fail
;
28956 swig_obj
[0] = args
;
28957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28958 if (!SWIG_IsOK(res1
)) {
28959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28961 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 (arg1
)->OnPrevious();
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= SWIG_Py_Void();
28975 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28976 PyObject
*resultobj
= 0;
28977 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28980 PyObject
*swig_obj
[1] ;
28982 if (!args
) SWIG_fail
;
28983 swig_obj
[0] = args
;
28984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28985 if (!SWIG_IsOK(res1
)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28988 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_Py_Void();
29002 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29003 PyObject
*resultobj
= 0;
29004 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29007 PyObject
*swig_obj
[1] ;
29009 if (!args
) SWIG_fail
;
29010 swig_obj
[0] = args
;
29011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29012 if (!SWIG_IsOK(res1
)) {
29013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29015 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= SWIG_Py_Void();
29029 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29030 PyObject
*resultobj
= 0;
29031 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29034 PyObject
*swig_obj
[1] ;
29036 if (!args
) SWIG_fail
;
29037 swig_obj
[0] = args
;
29038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29039 if (!SWIG_IsOK(res1
)) {
29040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29042 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 wxPyEndAllowThreads(__tstate
);
29047 if (PyErr_Occurred()) SWIG_fail
;
29049 resultobj
= SWIG_Py_Void();
29056 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29059 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29060 return SWIG_Py_Void();
29063 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29064 return SWIG_Python_InitShadowInstance(args
);
29067 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29068 PyObject
*resultobj
= 0;
29069 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29070 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29071 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29072 wxPrintPreview
*result
= 0 ;
29078 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29079 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29080 if (!SWIG_IsOK(res1
)) {
29081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29083 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29084 if (!SWIG_IsOK(res2
)) {
29085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29088 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29089 if (!SWIG_IsOK(res3
)) {
29090 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29092 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29095 if (!wxPyCheckForApp()) SWIG_fail
;
29096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29097 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29108 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29109 PyObject
*resultobj
= 0;
29110 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29111 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29112 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29113 wxPrintPreview
*result
= 0 ;
29119 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29120 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29121 if (!SWIG_IsOK(res1
)) {
29122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29124 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29125 if (!SWIG_IsOK(res2
)) {
29126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29128 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29129 if (!SWIG_IsOK(res3
)) {
29130 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29132 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29134 if (!wxPyCheckForApp()) SWIG_fail
;
29135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29136 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29147 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29151 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29153 if ((argc
>= 2) && (argc
<= 3)) {
29158 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29159 _v
= SWIG_CheckState(res
);
29161 if (!_v
) goto check_1
;
29163 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29168 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29172 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29177 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29178 PyObject
*resultobj
= 0;
29179 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29182 PyObject
*swig_obj
[1] ;
29184 if (!args
) SWIG_fail
;
29185 swig_obj
[0] = args
;
29186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29187 if (!SWIG_IsOK(res1
)) {
29188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29190 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 wxPyEndAllowThreads(__tstate
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29198 resultobj
= SWIG_Py_Void();
29205 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29206 PyObject
*resultobj
= 0;
29207 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29214 PyObject
* obj0
= 0 ;
29215 PyObject
* obj1
= 0 ;
29216 char * kwnames
[] = {
29217 (char *) "self",(char *) "pageNum", NULL
29220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29222 if (!SWIG_IsOK(res1
)) {
29223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29225 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29227 if (!SWIG_IsOK(ecode2
)) {
29228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29230 arg2
= static_cast< int >(val2
);
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29233 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29246 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29247 PyObject
*resultobj
= 0;
29248 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29252 PyObject
*swig_obj
[1] ;
29254 if (!args
) SWIG_fail
;
29255 swig_obj
[0] = args
;
29256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29257 if (!SWIG_IsOK(res1
)) {
29258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29260 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 result
= (int)(arg1
)->GetCurrentPage();
29264 wxPyEndAllowThreads(__tstate
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= SWIG_From_int(static_cast< int >(result
));
29274 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29275 PyObject
*resultobj
= 0;
29276 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29277 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 char * kwnames
[] = {
29284 (char *) "self",(char *) "printout", NULL
29287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29289 if (!SWIG_IsOK(res1
)) {
29290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29292 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29293 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29294 if (!SWIG_IsOK(res2
)) {
29295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 (arg1
)->SetPrintout(arg2
);
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= SWIG_Py_Void();
29310 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29311 PyObject
*resultobj
= 0;
29312 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29313 wxPyPrintout
*result
= 0 ;
29316 PyObject
*swig_obj
[1] ;
29318 if (!args
) SWIG_fail
;
29319 swig_obj
[0] = args
;
29320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29321 if (!SWIG_IsOK(res1
)) {
29322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29324 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29327 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29328 wxPyEndAllowThreads(__tstate
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29332 resultobj
= wxPyMake_wxObject(result
, 0);
29340 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29341 PyObject
*resultobj
= 0;
29342 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29343 wxPyPrintout
*result
= 0 ;
29346 PyObject
*swig_obj
[1] ;
29348 if (!args
) SWIG_fail
;
29349 swig_obj
[0] = args
;
29350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29351 if (!SWIG_IsOK(res1
)) {
29352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29354 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29358 wxPyEndAllowThreads(__tstate
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29362 resultobj
= wxPyMake_wxObject(result
, 0);
29370 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29371 PyObject
*resultobj
= 0;
29372 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29373 wxFrame
*arg2
= (wxFrame
*) 0 ;
29378 PyObject
* obj0
= 0 ;
29379 PyObject
* obj1
= 0 ;
29380 char * kwnames
[] = {
29381 (char *) "self",(char *) "frame", NULL
29384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29386 if (!SWIG_IsOK(res1
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29389 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29391 if (!SWIG_IsOK(res2
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29394 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 (arg1
)->SetFrame(arg2
);
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= SWIG_Py_Void();
29408 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
= 0;
29410 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29411 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29416 PyObject
* obj0
= 0 ;
29417 PyObject
* obj1
= 0 ;
29418 char * kwnames
[] = {
29419 (char *) "self",(char *) "canvas", NULL
29422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29424 if (!SWIG_IsOK(res1
)) {
29425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29427 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29428 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29429 if (!SWIG_IsOK(res2
)) {
29430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29432 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29435 (arg1
)->SetCanvas(arg2
);
29436 wxPyEndAllowThreads(__tstate
);
29437 if (PyErr_Occurred()) SWIG_fail
;
29439 resultobj
= SWIG_Py_Void();
29446 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29447 PyObject
*resultobj
= 0;
29448 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29449 wxFrame
*result
= 0 ;
29452 PyObject
*swig_obj
[1] ;
29454 if (!args
) SWIG_fail
;
29455 swig_obj
[0] = args
;
29456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29457 if (!SWIG_IsOK(res1
)) {
29458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29460 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29463 result
= (wxFrame
*)(arg1
)->GetFrame();
29464 wxPyEndAllowThreads(__tstate
);
29465 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= wxPyMake_wxObject(result
, 0);
29476 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29477 PyObject
*resultobj
= 0;
29478 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29479 wxPreviewCanvas
*result
= 0 ;
29482 PyObject
*swig_obj
[1] ;
29484 if (!args
) SWIG_fail
;
29485 swig_obj
[0] = args
;
29486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29487 if (!SWIG_IsOK(res1
)) {
29488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29490 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29493 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29504 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29505 PyObject
*resultobj
= 0;
29506 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29507 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29516 PyObject
* obj0
= 0 ;
29517 PyObject
* obj1
= 0 ;
29518 PyObject
* obj2
= 0 ;
29519 char * kwnames
[] = {
29520 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29525 if (!SWIG_IsOK(res1
)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29528 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29529 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29530 if (!SWIG_IsOK(res2
)) {
29531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29533 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29534 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29535 if (!SWIG_IsOK(res3
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29541 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29557 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29558 PyObject
*resultobj
= 0;
29559 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29560 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 PyObject
* obj2
= 0 ;
29572 char * kwnames
[] = {
29573 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29578 if (!SWIG_IsOK(res1
)) {
29579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29581 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29583 if (!SWIG_IsOK(res2
)) {
29584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29586 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29587 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29588 if (!SWIG_IsOK(res3
)) {
29589 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29594 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29610 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29611 PyObject
*resultobj
= 0;
29612 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 char * kwnames
[] = {
29622 (char *) "self",(char *) "pageNum", NULL
29625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29627 if (!SWIG_IsOK(res1
)) {
29628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29630 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29632 if (!SWIG_IsOK(ecode2
)) {
29633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29635 arg2
= static_cast< int >(val2
);
29637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 result
= (bool)(arg1
)->RenderPage(arg2
);
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29651 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29652 PyObject
*resultobj
= 0;
29653 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29654 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29659 PyObject
* obj0
= 0 ;
29660 PyObject
* obj1
= 0 ;
29661 char * kwnames
[] = {
29662 (char *) "self",(char *) "canvas", NULL
29665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29667 if (!SWIG_IsOK(res1
)) {
29668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29670 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29672 if (!SWIG_IsOK(res2
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29675 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 (arg1
)->AdjustScrollbars(arg2
);
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29682 resultobj
= SWIG_Py_Void();
29689 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29690 PyObject
*resultobj
= 0;
29691 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29692 wxPrintDialogData
*result
= 0 ;
29695 PyObject
*swig_obj
[1] ;
29697 if (!args
) SWIG_fail
;
29698 swig_obj
[0] = args
;
29699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29700 if (!SWIG_IsOK(res1
)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29703 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29707 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29708 result
= (wxPrintDialogData
*) &_result_ref
;
29710 wxPyEndAllowThreads(__tstate
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29720 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29721 PyObject
*resultobj
= 0;
29722 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29728 PyObject
* obj0
= 0 ;
29729 PyObject
* obj1
= 0 ;
29730 char * kwnames
[] = {
29731 (char *) "self",(char *) "percent", NULL
29734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29736 if (!SWIG_IsOK(res1
)) {
29737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29739 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29741 if (!SWIG_IsOK(ecode2
)) {
29742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29744 arg2
= static_cast< int >(val2
);
29746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29747 (arg1
)->SetZoom(arg2
);
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= SWIG_Py_Void();
29758 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29759 PyObject
*resultobj
= 0;
29760 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29764 PyObject
*swig_obj
[1] ;
29766 if (!args
) SWIG_fail
;
29767 swig_obj
[0] = args
;
29768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29769 if (!SWIG_IsOK(res1
)) {
29770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29772 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 result
= (int)(arg1
)->GetZoom();
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= SWIG_From_int(static_cast< int >(result
));
29786 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29787 PyObject
*resultobj
= 0;
29788 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29792 PyObject
*swig_obj
[1] ;
29794 if (!args
) SWIG_fail
;
29795 swig_obj
[0] = args
;
29796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29797 if (!SWIG_IsOK(res1
)) {
29798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29800 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 result
= (int)(arg1
)->GetMaxPage();
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= SWIG_From_int(static_cast< int >(result
));
29814 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29815 PyObject
*resultobj
= 0;
29816 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29820 PyObject
*swig_obj
[1] ;
29822 if (!args
) SWIG_fail
;
29823 swig_obj
[0] = args
;
29824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29825 if (!SWIG_IsOK(res1
)) {
29826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29828 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29831 result
= (int)(arg1
)->GetMinPage();
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 resultobj
= SWIG_From_int(static_cast< int >(result
));
29842 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29843 PyObject
*resultobj
= 0;
29844 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29848 PyObject
*swig_obj
[1] ;
29850 if (!args
) SWIG_fail
;
29851 swig_obj
[0] = args
;
29852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29853 if (!SWIG_IsOK(res1
)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29856 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29859 result
= (bool)(arg1
)->Ok();
29860 wxPyEndAllowThreads(__tstate
);
29861 if (PyErr_Occurred()) SWIG_fail
;
29864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29872 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
= 0;
29874 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29880 PyObject
* obj0
= 0 ;
29881 PyObject
* obj1
= 0 ;
29882 char * kwnames
[] = {
29883 (char *) "self",(char *) "ok", NULL
29886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29888 if (!SWIG_IsOK(res1
)) {
29889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29891 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29892 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29893 if (!SWIG_IsOK(ecode2
)) {
29894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29896 arg2
= static_cast< bool >(val2
);
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 (arg1
)->SetOk(arg2
);
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= SWIG_Py_Void();
29910 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29911 PyObject
*resultobj
= 0;
29912 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29919 PyObject
* obj0
= 0 ;
29920 PyObject
* obj1
= 0 ;
29921 char * kwnames
[] = {
29922 (char *) "self",(char *) "interactive", NULL
29925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29927 if (!SWIG_IsOK(res1
)) {
29928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29930 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29931 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29932 if (!SWIG_IsOK(ecode2
)) {
29933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29935 arg2
= static_cast< bool >(val2
);
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 result
= (bool)(arg1
)->Print(arg2
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29951 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29952 PyObject
*resultobj
= 0;
29953 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29956 PyObject
*swig_obj
[1] ;
29958 if (!args
) SWIG_fail
;
29959 swig_obj
[0] = args
;
29960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29961 if (!SWIG_IsOK(res1
)) {
29962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29964 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 (arg1
)->DetermineScaling();
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= SWIG_Py_Void();
29978 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29981 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29982 return SWIG_Py_Void();
29985 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29986 return SWIG_Python_InitShadowInstance(args
);
29989 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29990 PyObject
*resultobj
= 0;
29991 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29992 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29993 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29994 wxPyPrintPreview
*result
= 0 ;
30000 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30001 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30002 if (!SWIG_IsOK(res1
)) {
30003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30005 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30006 if (!SWIG_IsOK(res2
)) {
30007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30010 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30011 if (!SWIG_IsOK(res3
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30014 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30017 if (!wxPyCheckForApp()) SWIG_fail
;
30018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30019 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30020 wxPyEndAllowThreads(__tstate
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30030 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30031 PyObject
*resultobj
= 0;
30032 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30033 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30034 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30035 wxPyPrintPreview
*result
= 0 ;
30041 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30042 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30043 if (!SWIG_IsOK(res1
)) {
30044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30046 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30047 if (!SWIG_IsOK(res2
)) {
30048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30050 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30051 if (!SWIG_IsOK(res3
)) {
30052 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30054 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30056 if (!wxPyCheckForApp()) SWIG_fail
;
30057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30058 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30069 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30073 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30075 if ((argc
>= 2) && (argc
<= 3)) {
30080 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30081 _v
= SWIG_CheckState(res
);
30083 if (!_v
) goto check_1
;
30085 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30090 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30094 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30099 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30100 PyObject
*resultobj
= 0;
30101 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30102 PyObject
*arg2
= (PyObject
*) 0 ;
30103 PyObject
*arg3
= (PyObject
*) 0 ;
30106 PyObject
* obj0
= 0 ;
30107 PyObject
* obj1
= 0 ;
30108 PyObject
* obj2
= 0 ;
30109 char * kwnames
[] = {
30110 (char *) "self",(char *) "self",(char *) "_class", NULL
30113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30115 if (!SWIG_IsOK(res1
)) {
30116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30118 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30124 wxPyEndAllowThreads(__tstate
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30127 resultobj
= SWIG_Py_Void();
30134 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30137 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30138 return SWIG_Py_Void();
30141 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30142 return SWIG_Python_InitShadowInstance(args
);
30145 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30146 PyObject
*resultobj
= 0;
30147 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30148 wxFrame
*arg2
= (wxFrame
*) 0 ;
30149 wxString
*arg3
= 0 ;
30150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30154 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30155 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30157 wxPyPreviewFrame
*result
= 0 ;
30162 bool temp3
= false ;
30167 bool temp7
= false ;
30168 PyObject
* obj0
= 0 ;
30169 PyObject
* obj1
= 0 ;
30170 PyObject
* obj2
= 0 ;
30171 PyObject
* obj3
= 0 ;
30172 PyObject
* obj4
= 0 ;
30173 PyObject
* obj5
= 0 ;
30174 PyObject
* obj6
= 0 ;
30175 char * kwnames
[] = {
30176 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30181 if (!SWIG_IsOK(res1
)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30184 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30186 if (!SWIG_IsOK(res2
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30189 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30191 arg3
= wxString_in_helper(obj2
);
30192 if (arg3
== NULL
) SWIG_fail
;
30198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30208 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30209 if (!SWIG_IsOK(ecode6
)) {
30210 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30212 arg6
= static_cast< long >(val6
);
30216 arg7
= wxString_in_helper(obj6
);
30217 if (arg7
== NULL
) SWIG_fail
;
30222 if (!wxPyCheckForApp()) SWIG_fail
;
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30251 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30252 PyObject
*resultobj
= 0;
30253 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30254 PyObject
*arg2
= (PyObject
*) 0 ;
30255 PyObject
*arg3
= (PyObject
*) 0 ;
30258 PyObject
* obj0
= 0 ;
30259 PyObject
* obj1
= 0 ;
30260 PyObject
* obj2
= 0 ;
30261 char * kwnames
[] = {
30262 (char *) "self",(char *) "self",(char *) "_class", NULL
30265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30267 if (!SWIG_IsOK(res1
)) {
30268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30270 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30276 wxPyEndAllowThreads(__tstate
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30279 resultobj
= SWIG_Py_Void();
30286 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30287 PyObject
*resultobj
= 0;
30288 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30289 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30294 PyObject
* obj0
= 0 ;
30295 PyObject
* obj1
= 0 ;
30296 char * kwnames
[] = {
30297 (char *) "self",(char *) "canvas", NULL
30300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30302 if (!SWIG_IsOK(res1
)) {
30303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30305 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30307 if (!SWIG_IsOK(res2
)) {
30308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30310 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 (arg1
)->SetPreviewCanvas(arg2
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= SWIG_Py_Void();
30324 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
= 0;
30326 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30327 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30332 PyObject
* obj0
= 0 ;
30333 PyObject
* obj1
= 0 ;
30334 char * kwnames
[] = {
30335 (char *) "self",(char *) "bar", NULL
30338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30340 if (!SWIG_IsOK(res1
)) {
30341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30343 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30345 if (!SWIG_IsOK(res2
)) {
30346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30348 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30351 (arg1
)->SetControlBar(arg2
);
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 resultobj
= SWIG_Py_Void();
30362 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30363 PyObject
*resultobj
= 0;
30364 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30367 PyObject
*swig_obj
[1] ;
30369 if (!args
) SWIG_fail
;
30370 swig_obj
[0] = args
;
30371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30372 if (!SWIG_IsOK(res1
)) {
30373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30375 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 (arg1
)->Initialize();
30379 wxPyEndAllowThreads(__tstate
);
30380 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= SWIG_Py_Void();
30389 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30390 PyObject
*resultobj
= 0;
30391 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30394 PyObject
*swig_obj
[1] ;
30396 if (!args
) SWIG_fail
;
30397 swig_obj
[0] = args
;
30398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30399 if (!SWIG_IsOK(res1
)) {
30400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30402 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 (arg1
)->CreateCanvas();
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30409 resultobj
= SWIG_Py_Void();
30416 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30417 PyObject
*resultobj
= 0;
30418 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30421 PyObject
*swig_obj
[1] ;
30423 if (!args
) SWIG_fail
;
30424 swig_obj
[0] = args
;
30425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30426 if (!SWIG_IsOK(res1
)) {
30427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30429 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30432 (arg1
)->CreateControlBar();
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30436 resultobj
= SWIG_Py_Void();
30443 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30445 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30446 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30447 return SWIG_Py_Void();
30450 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30451 return SWIG_Python_InitShadowInstance(args
);
30454 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30455 PyObject
*resultobj
= 0;
30456 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30458 wxWindow
*arg3
= (wxWindow
*) 0 ;
30459 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30460 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30461 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30462 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30463 long arg6
= (long) 0 ;
30464 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30465 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30466 wxPyPreviewControlBar
*result
= 0 ;
30477 bool temp7
= false ;
30478 PyObject
* obj0
= 0 ;
30479 PyObject
* obj1
= 0 ;
30480 PyObject
* obj2
= 0 ;
30481 PyObject
* obj3
= 0 ;
30482 PyObject
* obj4
= 0 ;
30483 PyObject
* obj5
= 0 ;
30484 PyObject
* obj6
= 0 ;
30485 char * kwnames
[] = {
30486 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30491 if (!SWIG_IsOK(res1
)) {
30492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30494 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30495 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30496 if (!SWIG_IsOK(ecode2
)) {
30497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30499 arg2
= static_cast< long >(val2
);
30500 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30501 if (!SWIG_IsOK(res3
)) {
30502 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30504 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30508 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30514 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30518 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30519 if (!SWIG_IsOK(ecode6
)) {
30520 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30522 arg6
= static_cast< long >(val6
);
30526 arg7
= wxString_in_helper(obj6
);
30527 if (arg7
== NULL
) SWIG_fail
;
30532 if (!wxPyCheckForApp()) SWIG_fail
;
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30535 wxPyEndAllowThreads(__tstate
);
30536 if (PyErr_Occurred()) SWIG_fail
;
30538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30553 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
= 0;
30555 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30556 PyObject
*arg2
= (PyObject
*) 0 ;
30557 PyObject
*arg3
= (PyObject
*) 0 ;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 PyObject
* obj2
= 0 ;
30563 char * kwnames
[] = {
30564 (char *) "self",(char *) "self",(char *) "_class", NULL
30567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30572 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30578 wxPyEndAllowThreads(__tstate
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30581 resultobj
= SWIG_Py_Void();
30588 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30589 PyObject
*resultobj
= 0;
30590 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30591 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30596 PyObject
* obj0
= 0 ;
30597 PyObject
* obj1
= 0 ;
30598 char * kwnames
[] = {
30599 (char *) "self",(char *) "preview", NULL
30602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30604 if (!SWIG_IsOK(res1
)) {
30605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30607 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30608 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30609 if (!SWIG_IsOK(res2
)) {
30610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30612 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30615 (arg1
)->SetPrintPreview(arg2
);
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30619 resultobj
= SWIG_Py_Void();
30626 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30627 PyObject
*resultobj
= 0;
30628 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30631 PyObject
*swig_obj
[1] ;
30633 if (!args
) SWIG_fail
;
30634 swig_obj
[0] = args
;
30635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30636 if (!SWIG_IsOK(res1
)) {
30637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30639 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30642 (arg1
)->CreateButtons();
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= SWIG_Py_Void();
30653 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30654 PyObject
*resultobj
= 0;
30655 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30661 PyObject
* obj0
= 0 ;
30662 PyObject
* obj1
= 0 ;
30663 char * kwnames
[] = {
30664 (char *) "self",(char *) "zoom", NULL
30667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30669 if (!SWIG_IsOK(res1
)) {
30670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30672 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30674 if (!SWIG_IsOK(ecode2
)) {
30675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30677 arg2
= static_cast< int >(val2
);
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 (arg1
)->SetZoomControl(arg2
);
30681 wxPyEndAllowThreads(__tstate
);
30682 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= SWIG_Py_Void();
30691 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30694 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30695 return SWIG_Py_Void();
30698 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30699 return SWIG_Python_InitShadowInstance(args
);
30702 static PyMethodDef SwigMethods
[] = {
30703 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30705 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30706 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30707 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30709 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30710 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30712 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30717 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30719 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30721 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30723 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30724 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30725 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30726 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30727 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30730 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30732 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30733 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30735 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30736 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30737 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30738 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30740 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30741 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30742 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30743 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30745 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30747 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30749 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30752 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30754 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30755 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction
) _wrap_TopLevelWindow_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction
)_wrap_TopLevelWindow_CanSetTransparent
, METH_O
, NULL
},
30758 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30759 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30761 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30763 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30765 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30768 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30775 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30777 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30778 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30782 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30783 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30785 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30788 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30790 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30792 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30795 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30796 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30797 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30800 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30801 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30803 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30805 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30806 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30809 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30810 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30811 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30813 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30814 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30815 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30816 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30817 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30818 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30819 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30822 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30831 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30832 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30833 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30834 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30835 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30837 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30839 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30840 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30842 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30848 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30849 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30852 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30853 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30855 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30857 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30859 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30861 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30863 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30864 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30865 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30866 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30869 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30870 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30871 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30872 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30873 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30874 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30876 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30884 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30886 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30889 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30890 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30893 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30894 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30896 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30897 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30898 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30901 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30903 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30905 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30906 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30907 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30910 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30912 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30914 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30916 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30918 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30919 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30920 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30923 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30925 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30926 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30927 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30929 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30931 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30932 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30936 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30937 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30938 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30939 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30943 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30944 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30946 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30947 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30948 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30950 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30951 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30952 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30955 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30956 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30957 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30959 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30968 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30969 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30970 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30971 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30973 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30974 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30977 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30978 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30980 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30983 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30984 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30985 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30988 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30989 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30991 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30992 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30994 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30999 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31000 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31005 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31006 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31007 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31009 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31013 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31015 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31016 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31017 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31018 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31020 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31021 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31022 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31024 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31026 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31027 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31029 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31030 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31031 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31032 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31033 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31034 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31039 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31040 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31042 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31043 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31044 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31045 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31047 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31048 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31051 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31052 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31060 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31061 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31062 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31063 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31064 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31065 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31066 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31067 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31068 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31069 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31071 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31072 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31073 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31074 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31076 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31077 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31079 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31080 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31082 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31084 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31085 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31087 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31088 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31090 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31091 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31092 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31093 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31094 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31096 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31097 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31098 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31099 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31100 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31101 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31103 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31104 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31106 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31108 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31109 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31111 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31112 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31113 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31116 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31117 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31120 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31121 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31122 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31124 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31125 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31126 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31127 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31131 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31132 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31134 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31135 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31136 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31137 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31141 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31142 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31144 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31146 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31148 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31149 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31151 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31153 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31154 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31155 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31156 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31157 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31158 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31159 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31161 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31162 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31164 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31166 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31167 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31168 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31170 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31172 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31173 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31175 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31183 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31184 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31185 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31186 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31187 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31188 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31189 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31190 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31191 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31193 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31201 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31202 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31203 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31204 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31205 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31206 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31207 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31208 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31209 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31211 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31219 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31220 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31221 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31222 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31223 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31224 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31225 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31226 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31227 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31228 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31229 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31230 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31231 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31232 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31233 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31234 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31235 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31236 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31237 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31238 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31239 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31240 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31241 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31253 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31255 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31257 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31258 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31259 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31260 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31266 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31267 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31268 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31269 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31270 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31271 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31272 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31273 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31274 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31275 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31276 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31277 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31278 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31279 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31280 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31290 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31291 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31292 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31293 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31295 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31296 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31297 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31298 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31299 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31300 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31301 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31302 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31303 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31304 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31305 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31306 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31307 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31308 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31309 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31310 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31311 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31316 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31325 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31326 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31327 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31328 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31329 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31330 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31332 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31333 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31335 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31336 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31337 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31338 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31339 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31340 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31341 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31343 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31349 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31350 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31351 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31352 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31353 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31355 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31357 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31358 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31361 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31363 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31365 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31367 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31368 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31371 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31372 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31373 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31374 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31376 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31377 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31378 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31380 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31381 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31383 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31384 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31385 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31386 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31387 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31388 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31390 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31392 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31393 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31394 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31395 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31396 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31397 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31398 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31399 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31400 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31401 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31403 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31405 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31406 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31409 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31410 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31415 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31417 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31418 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31419 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31420 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31423 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31424 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31425 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31426 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31428 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31429 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31434 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31435 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31436 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31437 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31438 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31442 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31444 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31445 { NULL
, NULL
, 0, NULL
}
31449 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31451 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31452 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31454 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31455 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31457 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31458 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31460 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31461 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31463 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31464 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31466 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31467 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31469 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31470 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31472 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31473 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31475 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31476 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31478 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31479 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31481 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31482 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31484 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31485 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31487 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31488 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31490 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31491 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31493 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31494 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31496 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31497 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31499 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31500 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31502 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31503 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31505 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31506 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31508 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31509 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31511 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31512 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31514 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31515 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31517 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31518 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31520 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31521 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31523 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31524 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31526 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31527 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31529 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31530 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31532 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31533 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31535 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31536 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31538 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31539 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31541 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31542 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31544 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31545 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31547 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31548 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31550 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31551 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31553 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31556 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31557 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31559 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31560 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31562 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31563 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31565 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31566 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31568 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31569 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31571 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31572 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31574 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31575 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31577 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31578 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31580 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31581 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31583 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31584 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31586 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31587 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31589 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31590 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31592 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31595 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31596 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31598 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31599 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31601 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31602 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31604 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31605 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31607 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31608 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31610 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31613 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31614 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31616 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31619 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31622 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31625 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31628 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31631 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31634 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31635 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31637 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31638 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31640 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31641 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31643 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31644 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31646 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31647 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31649 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31650 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31652 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31653 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31655 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31656 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31658 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31659 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31661 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31662 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31664 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31665 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31667 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31668 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31670 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31673 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31674 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31676 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31677 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31679 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31682 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31683 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31685 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31686 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31688 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31689 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31691 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31694 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31695 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31697 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31700 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31701 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31703 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31706 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31707 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31709 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31712 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31715 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31718 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31719 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31721 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31724 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31727 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31730 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31733 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31736 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31739 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31740 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31742 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31743 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31745 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31746 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31748 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31749 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31751 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31752 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31754 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31755 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31757 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31758 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31760 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31761 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31763 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31764 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31766 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31767 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31769 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31770 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31772 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31775 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31778 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31779 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31781 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31782 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31784 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31785 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31787 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31788 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31790 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31791 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31793 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31794 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31796 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31797 return (void *)((wxObject
*) ((wxSizer
*) x
));
31799 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31800 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31802 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31805 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31808 static void *_p_wxEventTo_p_wxObject(void *x
) {
31809 return (void *)((wxObject
*) ((wxEvent
*) x
));
31811 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31812 return (void *)((wxObject
*) ((wxFontData
*) x
));
31814 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31815 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31817 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31818 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31820 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31821 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31823 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31824 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31826 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31827 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31829 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31830 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31832 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31835 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31836 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31838 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31839 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31841 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31842 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31844 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31845 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31847 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31848 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31850 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31851 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31853 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31854 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31856 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31859 static void *_p_wxControlTo_p_wxObject(void *x
) {
31860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31862 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31863 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31865 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31868 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31869 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31871 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31872 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31874 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31875 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31877 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31880 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31881 return (void *)((wxObject
*) ((wxColourData
*) x
));
31883 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31884 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31886 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31887 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31889 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31892 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31895 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31896 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31898 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31901 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31904 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31907 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31910 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
31911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31913 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31916 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31919 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31922 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31923 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31925 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31926 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31928 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31929 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31931 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31932 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31934 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31935 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31937 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31938 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31940 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31941 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31943 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31944 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31946 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31947 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31949 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31950 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31952 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31953 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31955 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31956 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31958 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31959 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31961 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31962 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31964 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31965 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31967 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31968 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31970 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31971 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31973 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31974 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31976 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31977 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31979 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31980 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31982 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31983 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31985 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31986 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31988 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31989 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31991 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31992 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31994 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31995 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31997 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31998 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32000 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32001 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32003 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32004 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32006 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32007 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32009 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32010 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32012 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32013 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32015 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32018 static void *_p_wxImageTo_p_wxObject(void *x
) {
32019 return (void *)((wxObject
*) ((wxImage
*) x
));
32021 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32024 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32025 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32027 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32028 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32030 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32031 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32033 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32036 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32039 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32040 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32042 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32043 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32045 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32046 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32048 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32049 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32051 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32052 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32054 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32055 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32057 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32060 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32063 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32066 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32067 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32069 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32072 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32073 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32075 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32078 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32081 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32084 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32087 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32090 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32093 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32094 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32096 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32097 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32099 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32100 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32102 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32105 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32108 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32111 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32112 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32114 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32115 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32117 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32118 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32120 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32121 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32123 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32124 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32126 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32127 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32129 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32130 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32132 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32133 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32135 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32136 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32138 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32139 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32141 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32142 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32144 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32147 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32148 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32150 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32153 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32154 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32156 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32157 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32159 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32160 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32162 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32163 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32165 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32166 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32168 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32169 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32171 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32172 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32174 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32175 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32177 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32178 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32180 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32181 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32183 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32184 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32186 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32187 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32189 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32190 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32192 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32193 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32195 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32196 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32198 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32199 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32201 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32202 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32204 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32205 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32207 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32208 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32210 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32211 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32213 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
32214 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
32216 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32217 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32219 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32220 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32222 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32223 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32225 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32226 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32228 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32229 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32231 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32232 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32234 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32235 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32237 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32238 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32240 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32241 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32243 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32244 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32246 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32247 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32249 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32250 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32252 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32253 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32255 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32258 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32259 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32261 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32262 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32264 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32265 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32267 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32268 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32270 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32271 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32273 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32274 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32276 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32277 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32279 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32280 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32282 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32283 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32285 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32286 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32288 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32289 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32291 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32292 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32294 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32295 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32297 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32298 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32300 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32301 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32303 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32304 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32306 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32307 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32309 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32310 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32312 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32313 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32315 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32316 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32318 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32319 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32321 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32322 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32324 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32325 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32327 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32328 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32330 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32331 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32333 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32334 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32336 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32337 return (void *)((wxWindow
*) ((wxControl
*) x
));
32339 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32340 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32342 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32343 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32345 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32346 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32348 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32349 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32351 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32352 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32354 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32355 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32357 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32358 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32360 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32361 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32363 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32364 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32366 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32367 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32369 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32370 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32372 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32373 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32375 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32376 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32378 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32379 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32381 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32382 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32384 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32385 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32387 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32388 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32390 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32391 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32393 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32394 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32396 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32397 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32399 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32400 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32402 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32403 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32405 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32406 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32408 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32409 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32411 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32412 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32414 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32415 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32417 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32418 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32420 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32421 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32423 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32424 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32426 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32427 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32429 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32430 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32432 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32433 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32435 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32436 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32438 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32439 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32441 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32442 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32444 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32445 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32447 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32448 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32450 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32451 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32453 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32454 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32456 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32457 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32459 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32460 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32462 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32463 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32465 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32466 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32468 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32469 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32471 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32472 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32474 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32475 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32477 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32478 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32480 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32481 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32483 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32484 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32486 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32487 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32489 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32490 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32492 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32493 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32495 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32496 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32498 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32499 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32500 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
32501 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32502 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32503 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32504 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32505 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32506 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32507 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32508 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32509 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32510 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32511 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32512 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32513 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32514 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32515 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32516 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32517 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32518 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32519 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32520 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32521 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32522 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32523 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32524 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32525 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32526 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32527 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32528 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32529 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32530 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32531 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32532 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32533 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32534 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32535 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32536 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32537 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32538 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32539 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32540 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32541 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32542 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32543 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32544 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32545 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32546 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32547 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32548 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32549 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32550 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32551 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32552 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32553 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32554 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32555 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32556 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32557 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32558 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32559 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32560 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32561 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32562 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32563 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32564 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32565 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32566 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32567 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32568 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32569 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32570 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32571 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32572 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32573 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32574 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32575 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32576 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32577 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32578 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32579 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32580 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32581 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32582 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32583 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32584 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32585 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32586 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32587 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32588 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32589 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32590 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32591 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32592 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32593 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32594 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32595 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32596 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32597 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32598 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32599 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32600 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32601 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32602 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32603 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32604 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32605 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32606 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32607 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32608 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32609 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32610 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32611 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32612 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32613 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32619 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32620 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32621 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32623 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32624 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32625 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32626 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32627 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32628 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32629 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32630 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32631 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32632 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32633 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32634 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32635 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32636 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32637 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32638 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32639 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32640 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32641 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32642 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32643 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32644 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32646 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32647 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32648 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32649 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32650 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32651 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32652 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32653 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32654 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32655 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32656 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32657 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32658 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32659 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32660 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32661 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32663 static swig_type_info
*swig_type_initial
[] = {
32666 &_swigt__p_form_ops_t
,
32668 &_swigt__p_unsigned_char
,
32669 &_swigt__p_unsigned_int
,
32670 &_swigt__p_unsigned_long
,
32671 &_swigt__p_wxANIHandler
,
32672 &_swigt__p_wxAcceleratorTable
,
32673 &_swigt__p_wxActivateEvent
,
32674 &_swigt__p_wxArrayInt
,
32675 &_swigt__p_wxBMPHandler
,
32676 &_swigt__p_wxBitmap
,
32677 &_swigt__p_wxBoxSizer
,
32678 &_swigt__p_wxCURHandler
,
32679 &_swigt__p_wxCalculateLayoutEvent
,
32680 &_swigt__p_wxChildFocusEvent
,
32681 &_swigt__p_wxClipboardTextEvent
,
32682 &_swigt__p_wxCloseEvent
,
32683 &_swigt__p_wxColour
,
32684 &_swigt__p_wxColourData
,
32685 &_swigt__p_wxColourDialog
,
32686 &_swigt__p_wxCommandEvent
,
32687 &_swigt__p_wxContextMenuEvent
,
32688 &_swigt__p_wxControl
,
32689 &_swigt__p_wxControlWithItems
,
32691 &_swigt__p_wxDateEvent
,
32692 &_swigt__p_wxDialog
,
32693 &_swigt__p_wxDirDialog
,
32694 &_swigt__p_wxDisplayChangedEvent
,
32695 &_swigt__p_wxDropFilesEvent
,
32696 &_swigt__p_wxDuplexMode
,
32697 &_swigt__p_wxEraseEvent
,
32698 &_swigt__p_wxEvent
,
32699 &_swigt__p_wxEvtHandler
,
32700 &_swigt__p_wxFSFile
,
32701 &_swigt__p_wxFileDialog
,
32702 &_swigt__p_wxFileSystem
,
32703 &_swigt__p_wxFindDialogEvent
,
32704 &_swigt__p_wxFindReplaceData
,
32705 &_swigt__p_wxFindReplaceDialog
,
32706 &_swigt__p_wxFlexGridSizer
,
32707 &_swigt__p_wxFocusEvent
,
32709 &_swigt__p_wxFontData
,
32710 &_swigt__p_wxFontDialog
,
32711 &_swigt__p_wxFrame
,
32712 &_swigt__p_wxGBSizerItem
,
32713 &_swigt__p_wxGIFHandler
,
32714 &_swigt__p_wxGridBagSizer
,
32715 &_swigt__p_wxGridSizer
,
32716 &_swigt__p_wxHtmlLinkInfo
,
32717 &_swigt__p_wxICOHandler
,
32719 &_swigt__p_wxIconBundle
,
32720 &_swigt__p_wxIconizeEvent
,
32721 &_swigt__p_wxIdleEvent
,
32722 &_swigt__p_wxImage
,
32723 &_swigt__p_wxImageHandler
,
32724 &_swigt__p_wxIndividualLayoutConstraint
,
32725 &_swigt__p_wxInitDialogEvent
,
32726 &_swigt__p_wxJPEGHandler
,
32727 &_swigt__p_wxKeyEvent
,
32728 &_swigt__p_wxLayoutAlgorithm
,
32729 &_swigt__p_wxLayoutConstraints
,
32730 &_swigt__p_wxMDIChildFrame
,
32731 &_swigt__p_wxMDIClientWindow
,
32732 &_swigt__p_wxMDIParentFrame
,
32733 &_swigt__p_wxMaximizeEvent
,
32735 &_swigt__p_wxMenuBar
,
32736 &_swigt__p_wxMenuEvent
,
32737 &_swigt__p_wxMenuItem
,
32738 &_swigt__p_wxMessageDialog
,
32739 &_swigt__p_wxMiniFrame
,
32740 &_swigt__p_wxMouseCaptureChangedEvent
,
32741 &_swigt__p_wxMouseEvent
,
32742 &_swigt__p_wxMoveEvent
,
32743 &_swigt__p_wxMultiChoiceDialog
,
32744 &_swigt__p_wxNavigationKeyEvent
,
32745 &_swigt__p_wxNcPaintEvent
,
32746 &_swigt__p_wxNotifyEvent
,
32747 &_swigt__p_wxNumberEntryDialog
,
32748 &_swigt__p_wxObject
,
32749 &_swigt__p_wxPCXHandler
,
32750 &_swigt__p_wxPNGHandler
,
32751 &_swigt__p_wxPNMHandler
,
32752 &_swigt__p_wxPageSetupDialog
,
32753 &_swigt__p_wxPageSetupDialogData
,
32754 &_swigt__p_wxPaintEvent
,
32755 &_swigt__p_wxPaletteChangedEvent
,
32756 &_swigt__p_wxPanel
,
32757 &_swigt__p_wxPaperSize
,
32758 &_swigt__p_wxPasswordEntryDialog
,
32759 &_swigt__p_wxPoint
,
32760 &_swigt__p_wxPopupWindow
,
32761 &_swigt__p_wxPreviewCanvas
,
32762 &_swigt__p_wxPreviewControlBar
,
32763 &_swigt__p_wxPreviewFrame
,
32764 &_swigt__p_wxPrintData
,
32765 &_swigt__p_wxPrintDialog
,
32766 &_swigt__p_wxPrintDialogData
,
32767 &_swigt__p_wxPrintPreview
,
32768 &_swigt__p_wxPrinter
,
32769 &_swigt__p_wxProgressDialog
,
32770 &_swigt__p_wxPyApp
,
32771 &_swigt__p_wxPyCommandEvent
,
32772 &_swigt__p_wxPyEvent
,
32773 &_swigt__p_wxPyHtmlListBox
,
32774 &_swigt__p_wxPyImageHandler
,
32775 &_swigt__p_wxPyPanel
,
32776 &_swigt__p_wxPyPopupTransientWindow
,
32777 &_swigt__p_wxPyPreviewControlBar
,
32778 &_swigt__p_wxPyPreviewFrame
,
32779 &_swigt__p_wxPyPrintPreview
,
32780 &_swigt__p_wxPyPrintout
,
32781 &_swigt__p_wxPyScrolledWindow
,
32782 &_swigt__p_wxPySizer
,
32783 &_swigt__p_wxPyTaskBarIcon
,
32784 &_swigt__p_wxPyVListBox
,
32785 &_swigt__p_wxPyVScrolledWindow
,
32786 &_swigt__p_wxPyValidator
,
32787 &_swigt__p_wxPyWindow
,
32788 &_swigt__p_wxQueryLayoutInfoEvent
,
32789 &_swigt__p_wxQueryNewPaletteEvent
,
32791 &_swigt__p_wxRegion
,
32792 &_swigt__p_wxSashEvent
,
32793 &_swigt__p_wxSashLayoutWindow
,
32794 &_swigt__p_wxSashWindow
,
32795 &_swigt__p_wxScrollEvent
,
32796 &_swigt__p_wxScrollWinEvent
,
32797 &_swigt__p_wxScrolledWindow
,
32798 &_swigt__p_wxSetCursorEvent
,
32799 &_swigt__p_wxShowEvent
,
32800 &_swigt__p_wxSingleChoiceDialog
,
32802 &_swigt__p_wxSizeEvent
,
32803 &_swigt__p_wxSizer
,
32804 &_swigt__p_wxSizerItem
,
32805 &_swigt__p_wxSplashScreen
,
32806 &_swigt__p_wxSplashScreenWindow
,
32807 &_swigt__p_wxSplitterEvent
,
32808 &_swigt__p_wxSplitterWindow
,
32809 &_swigt__p_wxStaticBoxSizer
,
32810 &_swigt__p_wxStatusBar
,
32811 &_swigt__p_wxStdDialogButtonSizer
,
32812 &_swigt__p_wxString
,
32813 &_swigt__p_wxSysColourChangedEvent
,
32814 &_swigt__p_wxTIFFHandler
,
32815 &_swigt__p_wxTaskBarIcon
,
32816 &_swigt__p_wxTaskBarIconEvent
,
32817 &_swigt__p_wxTextEntryDialog
,
32818 &_swigt__p_wxTipWindow
,
32819 &_swigt__p_wxToolBar
,
32820 &_swigt__p_wxTopLevelWindow
,
32821 &_swigt__p_wxUpdateUIEvent
,
32822 &_swigt__p_wxValidator
,
32823 &_swigt__p_wxVisualAttributes
,
32824 &_swigt__p_wxWindow
,
32825 &_swigt__p_wxWindowCreateEvent
,
32826 &_swigt__p_wxWindowDestroyEvent
,
32827 &_swigt__p_wxXPMHandler
,
32830 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32831 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32832 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32833 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32834 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32836 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32837 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32838 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32841 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32842 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32843 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32844 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32845 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32846 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32847 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32848 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32849 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32850 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32851 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32852 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32853 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32854 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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}};
32855 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32856 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32857 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32858 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32859 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32860 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32861 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32862 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32863 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32864 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32865 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32866 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32867 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32868 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32869 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32870 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32871 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32872 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32873 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32874 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32875 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32876 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32877 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32878 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32879 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32880 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32881 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32882 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_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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}};
32883 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32884 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32885 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32886 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32887 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32888 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_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_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
32889 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32890 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32891 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32892 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32893 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32894 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32895 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32896 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32897 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
32898 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32899 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32900 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32901 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32902 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32903 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32904 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32905 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32906 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32907 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32908 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32909 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32910 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}};
32911 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32912 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32913 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32914 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32915 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32916 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32917 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32918 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32919 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32920 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32921 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32922 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32923 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32924 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32925 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32928 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32929 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32930 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32931 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32932 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32935 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32936 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32940 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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_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_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32941 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32943 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}};
32944 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32947 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
32948 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32949 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}};
32950 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}};
32951 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32954 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}};
32955 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32966 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}};
32967 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}};
32968 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32974 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}};
32975 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32976 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}};
32977 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32980 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32988 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}};
32989 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_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}};
32992 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32993 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_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_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}};
32995 static swig_cast_info
*swig_cast_initial
[] = {
32998 _swigc__p_form_ops_t
,
33000 _swigc__p_unsigned_char
,
33001 _swigc__p_unsigned_int
,
33002 _swigc__p_unsigned_long
,
33003 _swigc__p_wxANIHandler
,
33004 _swigc__p_wxAcceleratorTable
,
33005 _swigc__p_wxActivateEvent
,
33006 _swigc__p_wxArrayInt
,
33007 _swigc__p_wxBMPHandler
,
33008 _swigc__p_wxBitmap
,
33009 _swigc__p_wxBoxSizer
,
33010 _swigc__p_wxCURHandler
,
33011 _swigc__p_wxCalculateLayoutEvent
,
33012 _swigc__p_wxChildFocusEvent
,
33013 _swigc__p_wxClipboardTextEvent
,
33014 _swigc__p_wxCloseEvent
,
33015 _swigc__p_wxColour
,
33016 _swigc__p_wxColourData
,
33017 _swigc__p_wxColourDialog
,
33018 _swigc__p_wxCommandEvent
,
33019 _swigc__p_wxContextMenuEvent
,
33020 _swigc__p_wxControl
,
33021 _swigc__p_wxControlWithItems
,
33023 _swigc__p_wxDateEvent
,
33024 _swigc__p_wxDialog
,
33025 _swigc__p_wxDirDialog
,
33026 _swigc__p_wxDisplayChangedEvent
,
33027 _swigc__p_wxDropFilesEvent
,
33028 _swigc__p_wxDuplexMode
,
33029 _swigc__p_wxEraseEvent
,
33031 _swigc__p_wxEvtHandler
,
33032 _swigc__p_wxFSFile
,
33033 _swigc__p_wxFileDialog
,
33034 _swigc__p_wxFileSystem
,
33035 _swigc__p_wxFindDialogEvent
,
33036 _swigc__p_wxFindReplaceData
,
33037 _swigc__p_wxFindReplaceDialog
,
33038 _swigc__p_wxFlexGridSizer
,
33039 _swigc__p_wxFocusEvent
,
33041 _swigc__p_wxFontData
,
33042 _swigc__p_wxFontDialog
,
33044 _swigc__p_wxGBSizerItem
,
33045 _swigc__p_wxGIFHandler
,
33046 _swigc__p_wxGridBagSizer
,
33047 _swigc__p_wxGridSizer
,
33048 _swigc__p_wxHtmlLinkInfo
,
33049 _swigc__p_wxICOHandler
,
33051 _swigc__p_wxIconBundle
,
33052 _swigc__p_wxIconizeEvent
,
33053 _swigc__p_wxIdleEvent
,
33055 _swigc__p_wxImageHandler
,
33056 _swigc__p_wxIndividualLayoutConstraint
,
33057 _swigc__p_wxInitDialogEvent
,
33058 _swigc__p_wxJPEGHandler
,
33059 _swigc__p_wxKeyEvent
,
33060 _swigc__p_wxLayoutAlgorithm
,
33061 _swigc__p_wxLayoutConstraints
,
33062 _swigc__p_wxMDIChildFrame
,
33063 _swigc__p_wxMDIClientWindow
,
33064 _swigc__p_wxMDIParentFrame
,
33065 _swigc__p_wxMaximizeEvent
,
33067 _swigc__p_wxMenuBar
,
33068 _swigc__p_wxMenuEvent
,
33069 _swigc__p_wxMenuItem
,
33070 _swigc__p_wxMessageDialog
,
33071 _swigc__p_wxMiniFrame
,
33072 _swigc__p_wxMouseCaptureChangedEvent
,
33073 _swigc__p_wxMouseEvent
,
33074 _swigc__p_wxMoveEvent
,
33075 _swigc__p_wxMultiChoiceDialog
,
33076 _swigc__p_wxNavigationKeyEvent
,
33077 _swigc__p_wxNcPaintEvent
,
33078 _swigc__p_wxNotifyEvent
,
33079 _swigc__p_wxNumberEntryDialog
,
33080 _swigc__p_wxObject
,
33081 _swigc__p_wxPCXHandler
,
33082 _swigc__p_wxPNGHandler
,
33083 _swigc__p_wxPNMHandler
,
33084 _swigc__p_wxPageSetupDialog
,
33085 _swigc__p_wxPageSetupDialogData
,
33086 _swigc__p_wxPaintEvent
,
33087 _swigc__p_wxPaletteChangedEvent
,
33089 _swigc__p_wxPaperSize
,
33090 _swigc__p_wxPasswordEntryDialog
,
33092 _swigc__p_wxPopupWindow
,
33093 _swigc__p_wxPreviewCanvas
,
33094 _swigc__p_wxPreviewControlBar
,
33095 _swigc__p_wxPreviewFrame
,
33096 _swigc__p_wxPrintData
,
33097 _swigc__p_wxPrintDialog
,
33098 _swigc__p_wxPrintDialogData
,
33099 _swigc__p_wxPrintPreview
,
33100 _swigc__p_wxPrinter
,
33101 _swigc__p_wxProgressDialog
,
33103 _swigc__p_wxPyCommandEvent
,
33104 _swigc__p_wxPyEvent
,
33105 _swigc__p_wxPyHtmlListBox
,
33106 _swigc__p_wxPyImageHandler
,
33107 _swigc__p_wxPyPanel
,
33108 _swigc__p_wxPyPopupTransientWindow
,
33109 _swigc__p_wxPyPreviewControlBar
,
33110 _swigc__p_wxPyPreviewFrame
,
33111 _swigc__p_wxPyPrintPreview
,
33112 _swigc__p_wxPyPrintout
,
33113 _swigc__p_wxPyScrolledWindow
,
33114 _swigc__p_wxPySizer
,
33115 _swigc__p_wxPyTaskBarIcon
,
33116 _swigc__p_wxPyVListBox
,
33117 _swigc__p_wxPyVScrolledWindow
,
33118 _swigc__p_wxPyValidator
,
33119 _swigc__p_wxPyWindow
,
33120 _swigc__p_wxQueryLayoutInfoEvent
,
33121 _swigc__p_wxQueryNewPaletteEvent
,
33123 _swigc__p_wxRegion
,
33124 _swigc__p_wxSashEvent
,
33125 _swigc__p_wxSashLayoutWindow
,
33126 _swigc__p_wxSashWindow
,
33127 _swigc__p_wxScrollEvent
,
33128 _swigc__p_wxScrollWinEvent
,
33129 _swigc__p_wxScrolledWindow
,
33130 _swigc__p_wxSetCursorEvent
,
33131 _swigc__p_wxShowEvent
,
33132 _swigc__p_wxSingleChoiceDialog
,
33134 _swigc__p_wxSizeEvent
,
33136 _swigc__p_wxSizerItem
,
33137 _swigc__p_wxSplashScreen
,
33138 _swigc__p_wxSplashScreenWindow
,
33139 _swigc__p_wxSplitterEvent
,
33140 _swigc__p_wxSplitterWindow
,
33141 _swigc__p_wxStaticBoxSizer
,
33142 _swigc__p_wxStatusBar
,
33143 _swigc__p_wxStdDialogButtonSizer
,
33144 _swigc__p_wxString
,
33145 _swigc__p_wxSysColourChangedEvent
,
33146 _swigc__p_wxTIFFHandler
,
33147 _swigc__p_wxTaskBarIcon
,
33148 _swigc__p_wxTaskBarIconEvent
,
33149 _swigc__p_wxTextEntryDialog
,
33150 _swigc__p_wxTipWindow
,
33151 _swigc__p_wxToolBar
,
33152 _swigc__p_wxTopLevelWindow
,
33153 _swigc__p_wxUpdateUIEvent
,
33154 _swigc__p_wxValidator
,
33155 _swigc__p_wxVisualAttributes
,
33156 _swigc__p_wxWindow
,
33157 _swigc__p_wxWindowCreateEvent
,
33158 _swigc__p_wxWindowDestroyEvent
,
33159 _swigc__p_wxXPMHandler
,
33163 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33165 static swig_const_info swig_const_table
[] = {
33166 {0, 0, 0, 0.0, 0, 0}};
33171 /* -----------------------------------------------------------------------------
33172 * Type initialization:
33173 * This problem is tough by the requirement that no dynamic
33174 * memory is used. Also, since swig_type_info structures store pointers to
33175 * swig_cast_info structures and swig_cast_info structures store pointers back
33176 * to swig_type_info structures, we need some lookup code at initialization.
33177 * The idea is that swig generates all the structures that are needed.
33178 * The runtime then collects these partially filled structures.
33179 * The SWIG_InitializeModule function takes these initial arrays out of
33180 * swig_module, and does all the lookup, filling in the swig_module.types
33181 * array with the correct data and linking the correct swig_cast_info
33182 * structures together.
33184 * The generated swig_type_info structures are assigned staticly to an initial
33185 * array. We just loop though that array, and handle each type individually.
33186 * First we lookup if this type has been already loaded, and if so, use the
33187 * loaded structure instead of the generated one. Then we have to fill in the
33188 * cast linked list. The cast data is initially stored in something like a
33189 * two-dimensional array. Each row corresponds to a type (there are the same
33190 * number of rows as there are in the swig_type_initial array). Each entry in
33191 * a column is one of the swig_cast_info structures for that type.
33192 * The cast_initial array is actually an array of arrays, because each row has
33193 * a variable number of columns. So to actually build the cast linked list,
33194 * we find the array of casts associated with the type, and loop through it
33195 * adding the casts to the list. The one last trick we need to do is making
33196 * sure the type pointer in the swig_cast_info struct is correct.
33198 * First off, we lookup the cast->type name to see if it is already loaded.
33199 * There are three cases to handle:
33200 * 1) If the cast->type has already been loaded AND the type we are adding
33201 * casting info to has not been loaded (it is in this module), THEN we
33202 * replace the cast->type pointer with the type pointer that has already
33204 * 2) If BOTH types (the one we are adding casting info to, and the
33205 * cast->type) are loaded, THEN the cast info has already been loaded by
33206 * the previous module so we just ignore it.
33207 * 3) Finally, if cast->type has not already been loaded, then we add that
33208 * swig_cast_info to the linked list (because the cast->type) pointer will
33210 * ----------------------------------------------------------------------------- */
33220 #define SWIGRUNTIME_DEBUG
33224 SWIG_InitializeModule(void *clientdata
) {
33226 swig_module_info
*module_head
;
33227 static int init_run
= 0;
33229 clientdata
= clientdata
;
33231 if (init_run
) return;
33234 /* Initialize the swig_module */
33235 swig_module
.type_initial
= swig_type_initial
;
33236 swig_module
.cast_initial
= swig_cast_initial
;
33238 /* Try and load any already created modules */
33239 module_head
= SWIG_GetModule(clientdata
);
33241 swig_module
.next
= module_head
->next
;
33242 module_head
->next
= &swig_module
;
33244 /* This is the first module loaded */
33245 swig_module
.next
= &swig_module
;
33246 SWIG_SetModule(clientdata
, &swig_module
);
33249 /* Now work on filling in swig_module.types */
33250 #ifdef SWIGRUNTIME_DEBUG
33251 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33253 for (i
= 0; i
< swig_module
.size
; ++i
) {
33254 swig_type_info
*type
= 0;
33255 swig_type_info
*ret
;
33256 swig_cast_info
*cast
;
33258 #ifdef SWIGRUNTIME_DEBUG
33259 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33262 /* if there is another module already loaded */
33263 if (swig_module
.next
!= &swig_module
) {
33264 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33267 /* Overwrite clientdata field */
33268 #ifdef SWIGRUNTIME_DEBUG
33269 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33271 if (swig_module
.type_initial
[i
]->clientdata
) {
33272 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33273 #ifdef SWIGRUNTIME_DEBUG
33274 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33278 type
= swig_module
.type_initial
[i
];
33281 /* Insert casting types */
33282 cast
= swig_module
.cast_initial
[i
];
33283 while (cast
->type
) {
33284 /* Don't need to add information already in the list */
33286 #ifdef SWIGRUNTIME_DEBUG
33287 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33289 if (swig_module
.next
!= &swig_module
) {
33290 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33291 #ifdef SWIGRUNTIME_DEBUG
33292 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33296 if (type
== swig_module
.type_initial
[i
]) {
33297 #ifdef SWIGRUNTIME_DEBUG
33298 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33303 /* Check for casting already in the list */
33304 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33305 #ifdef SWIGRUNTIME_DEBUG
33306 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33308 if (!ocast
) ret
= 0;
33313 #ifdef SWIGRUNTIME_DEBUG
33314 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33317 type
->cast
->prev
= cast
;
33318 cast
->next
= type
->cast
;
33324 /* Set entry in modules->types array equal to the type */
33325 swig_module
.types
[i
] = type
;
33327 swig_module
.types
[i
] = 0;
33329 #ifdef SWIGRUNTIME_DEBUG
33330 printf("**** SWIG_InitializeModule: Cast List ******\n");
33331 for (i
= 0; i
< swig_module
.size
; ++i
) {
33333 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33334 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33335 while (cast
->type
) {
33336 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33340 printf("---- Total casts: %d\n",j
);
33342 printf("**** SWIG_InitializeModule: Cast List ******\n");
33346 /* This function will propagate the clientdata field of type to
33347 * any new swig_type_info structures that have been added into the list
33348 * of equivalent types. It is like calling
33349 * SWIG_TypeClientData(type, clientdata) a second time.
33352 SWIG_PropagateClientData(void) {
33354 swig_cast_info
*equiv
;
33355 static int init_run
= 0;
33357 if (init_run
) return;
33360 for (i
= 0; i
< swig_module
.size
; i
++) {
33361 if (swig_module
.types
[i
]->clientdata
) {
33362 equiv
= swig_module
.types
[i
]->cast
;
33364 if (!equiv
->converter
) {
33365 if (equiv
->type
&& !equiv
->type
->clientdata
)
33366 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33368 equiv
= equiv
->next
;
33388 /* Python-specific SWIG API */
33389 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33390 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33391 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33393 /* -----------------------------------------------------------------------------
33394 * global variable support code.
33395 * ----------------------------------------------------------------------------- */
33397 typedef struct swig_globalvar
{
33398 char *name
; /* Name of global variable */
33399 PyObject
*(*get_attr
)(void); /* Return the current value */
33400 int (*set_attr
)(PyObject
*); /* Set the value */
33401 struct swig_globalvar
*next
;
33404 typedef struct swig_varlinkobject
{
33406 swig_globalvar
*vars
;
33407 } swig_varlinkobject
;
33409 SWIGINTERN PyObject
*
33410 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33411 return PyString_FromString("<Swig global variables>");
33414 SWIGINTERN PyObject
*
33415 swig_varlink_str(swig_varlinkobject
*v
) {
33416 PyObject
*str
= PyString_FromString("(");
33417 swig_globalvar
*var
;
33418 for (var
= v
->vars
; var
; var
=var
->next
) {
33419 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33420 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33422 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33427 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33428 PyObject
*str
= swig_varlink_str(v
);
33429 fprintf(fp
,"Swig global variables ");
33430 fprintf(fp
,"%s\n", PyString_AsString(str
));
33436 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33437 swig_globalvar
*var
= v
->vars
;
33439 swig_globalvar
*n
= var
->next
;
33446 SWIGINTERN PyObject
*
33447 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33448 PyObject
*res
= NULL
;
33449 swig_globalvar
*var
= v
->vars
;
33451 if (strcmp(var
->name
,n
) == 0) {
33452 res
= (*var
->get_attr
)();
33457 if (res
== NULL
&& !PyErr_Occurred()) {
33458 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33464 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33466 swig_globalvar
*var
= v
->vars
;
33468 if (strcmp(var
->name
,n
) == 0) {
33469 res
= (*var
->set_attr
)(p
);
33474 if (res
== 1 && !PyErr_Occurred()) {
33475 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33480 SWIGINTERN PyTypeObject
*
33481 swig_varlink_type(void) {
33482 static char varlink__doc__
[] = "Swig var link object";
33483 static PyTypeObject varlink_type
;
33484 static int type_init
= 0;
33486 const PyTypeObject tmp
33488 PyObject_HEAD_INIT(NULL
)
33489 0, /* Number of items in variable part (ob_size) */
33490 (char *)"swigvarlink", /* Type name (tp_name) */
33491 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33492 0, /* Itemsize (tp_itemsize) */
33493 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33494 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33495 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33496 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33497 0, /* tp_compare */
33498 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33499 0, /* tp_as_number */
33500 0, /* tp_as_sequence */
33501 0, /* tp_as_mapping */
33504 (reprfunc
)swig_varlink_str
, /* tp_str */
33505 0, /* tp_getattro */
33506 0, /* tp_setattro */
33507 0, /* tp_as_buffer */
33509 varlink__doc__
, /* tp_doc */
33510 0, /* tp_traverse */
33512 0, /* tp_richcompare */
33513 0, /* tp_weaklistoffset */
33514 #if PY_VERSION_HEX >= 0x02020000
33515 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33517 #if PY_VERSION_HEX >= 0x02030000
33520 #ifdef COUNT_ALLOCS
33521 0,0,0,0 /* tp_alloc -> tp_next */
33524 varlink_type
= tmp
;
33525 varlink_type
.ob_type
= &PyType_Type
;
33528 return &varlink_type
;
33531 /* Create a variable linking object for use later */
33532 SWIGINTERN PyObject
*
33533 SWIG_Python_newvarlink(void) {
33534 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33538 return ((PyObject
*) result
);
33542 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33543 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33544 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33546 size_t size
= strlen(name
)+1;
33547 gv
->name
= (char *)malloc(size
);
33549 strncpy(gv
->name
,name
,size
);
33550 gv
->get_attr
= get_attr
;
33551 gv
->set_attr
= set_attr
;
33552 gv
->next
= v
->vars
;
33558 SWIGINTERN PyObject
*
33560 static PyObject
*_SWIG_globals
= 0;
33561 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33562 return _SWIG_globals
;
33565 /* -----------------------------------------------------------------------------
33566 * constants/methods manipulation
33567 * ----------------------------------------------------------------------------- */
33569 /* Install Constants */
33571 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33574 for (i
= 0; constants
[i
].type
; ++i
) {
33575 switch(constants
[i
].type
) {
33576 case SWIG_PY_POINTER
:
33577 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33579 case SWIG_PY_BINARY
:
33580 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33587 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33593 /* -----------------------------------------------------------------------------*/
33594 /* Fix SwigMethods to carry the callback ptrs when needed */
33595 /* -----------------------------------------------------------------------------*/
33598 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33599 swig_const_info
*const_table
,
33600 swig_type_info
**types
,
33601 swig_type_info
**types_initial
) {
33603 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33604 const char *c
= methods
[i
].ml_doc
;
33605 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33607 swig_const_info
*ci
= 0;
33608 const char *name
= c
+ 10;
33609 for (j
= 0; const_table
[j
].type
; ++j
) {
33610 if (strncmp(const_table
[j
].name
, name
,
33611 strlen(const_table
[j
].name
)) == 0) {
33612 ci
= &(const_table
[j
]);
33617 size_t shift
= (ci
->ptype
) - types
;
33618 swig_type_info
*ty
= types_initial
[shift
];
33619 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33620 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33621 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33624 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33626 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33628 strncpy(buff
, "swig_ptr: ", 10);
33630 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33631 methods
[i
].ml_doc
= ndoc
;
33643 /* -----------------------------------------------------------------------------*
33644 * Partial Init method
33645 * -----------------------------------------------------------------------------*/
33650 SWIGEXPORT
void SWIG_init(void) {
33653 /* Fix SwigMethods to carry the callback ptrs when needed */
33654 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33656 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33657 d
= PyModule_GetDict(m
);
33659 SWIG_InitializeModule(0);
33660 SWIG_InstallConstants(d
,swig_const_table
);
33663 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33664 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33665 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33666 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33667 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33668 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33669 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33670 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33671 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33672 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33673 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33674 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33675 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33676 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33677 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33678 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33679 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33680 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33681 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33682 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33683 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33684 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33685 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33686 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33687 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33688 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33689 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33690 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33691 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33692 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33693 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33694 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33695 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33696 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33697 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33698 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33699 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33700 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33701 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33702 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33703 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33704 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33705 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33706 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33707 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33708 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33709 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33710 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33711 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33712 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33713 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33714 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33715 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33716 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33717 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33718 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33719 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33720 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33721 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33722 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33723 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33724 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33725 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33726 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33727 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33728 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33729 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33730 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33731 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33732 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33733 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33734 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33735 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33736 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33737 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33738 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33739 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33740 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33741 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33742 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33743 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33744 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33745 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33746 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33747 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33748 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33749 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33750 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33751 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33752 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33753 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33754 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33755 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33756 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33757 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33758 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33759 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33760 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33761 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33762 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33763 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33764 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33766 // Map renamed classes back to their common name for OOR
33767 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33768 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33769 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33771 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33772 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33773 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33774 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33775 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33776 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33777 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33778 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33779 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33780 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33781 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33782 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33783 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33784 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33785 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33786 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33787 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33788 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33789 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33790 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33791 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33792 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33793 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33794 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33795 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33796 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33797 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33798 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33799 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33800 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33801 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33802 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33803 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33804 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33805 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33806 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33807 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33808 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33809 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33810 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33811 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33812 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33813 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33814 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33815 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33816 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33817 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33818 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33819 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33820 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33821 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33822 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33823 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33824 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33825 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33826 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33827 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33828 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33829 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33830 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33831 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33832 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33833 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33834 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33835 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33836 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33837 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33838 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33839 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33840 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33841 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33842 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33843 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33844 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33845 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33846 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33847 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33848 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33849 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33850 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33851 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33852 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33853 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33854 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33855 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33856 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33857 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33858 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33859 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33860 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33861 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33862 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33863 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33864 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33865 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33867 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");