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_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info
*swig_types
[167];
2633 static swig_module_info swig_module
= {swig_types
, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2637 /* -------- TYPES TABLE (END) -------- */
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2659 #define SWIG_name "_windows_"
2661 #define SWIGVERSION 0x010329
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2668 #include <stdexcept>
2672 class PyObject_ptr
{
2677 PyObject_ptr() :_obj(0)
2681 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2686 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2688 if (initial_ref
) Py_XINCREF(_obj
);
2691 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2693 Py_XINCREF(item
._obj
);
2704 operator PyObject
*() const
2709 PyObject
*operator->() const
2718 struct PyObject_var
: PyObject_ptr
{
2719 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2721 PyObject_var
& operator = (PyObject
* obj
)
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2735 static const wxString
wxPyEmptyString(wxEmptyString
);
2736 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2742 # define LLONG_MIN LONG_LONG_MIN
2745 # define LLONG_MAX LONG_LONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2753 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2755 if (PyNumber_Check(obj
)) {
2756 if (val
) *val
= PyInt_AsLong(obj
);
2759 return SWIG_TypeError
;
2764 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2767 int res
= SWIG_AsVal_long (obj
, &v
);
2768 if (SWIG_IsOK(res
)) {
2769 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2770 return SWIG_OverflowError
;
2772 if (val
) *val
= static_cast< int >(v
);
2780 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2782 if (obj
== Py_True
) {
2783 if (val
) *val
= true;
2785 } else if (obj
== Py_False
) {
2786 if (val
) *val
= false;
2790 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2791 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2797 #define SWIG_From_long PyInt_FromLong
2800 SWIGINTERNINLINE PyObject
*
2801 SWIG_From_int (int value
)
2803 return SWIG_From_long (value
);
2808 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2810 if (PyNumber_Check(obj
)) {
2811 if (val
) *val
= PyFloat_AsDouble(obj
);
2814 return SWIG_TypeError
;
2818 #define SWIG_From_double PyFloat_FromDouble
2820 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2821 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2822 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2823 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2824 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2825 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2828 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2830 self
->GetFieldRect(i
, r
);
2833 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2834 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2835 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2837 #include <wx/popupwin.h>
2840 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2843 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2844 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2845 : wxPopupTransientWindow(parent
, style
) {}
2847 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2848 DEC_PYCALLBACK__(OnDismiss
);
2849 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2854 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2855 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2856 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2859 #include <wx/tipwin.h>
2861 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2862 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2865 #include <wx/tipwin.h>
2868 #include <wx/vscroll.h>
2871 class wxPyVScrolledWindow
: public wxVScrolledWindow
2873 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2875 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2877 wxPyVScrolledWindow(wxWindow
*parent
,
2878 wxWindowID id
= wxID_ANY
,
2879 const wxPoint
& pos
= wxDefaultPosition
,
2880 const wxSize
& size
= wxDefaultSize
,
2882 const wxString
& name
= wxPyPanelNameStr
)
2883 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2886 // Overridable virtuals
2888 // this function must be overridden in the derived class and it should
2889 // return the height of the given line in pixels
2890 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2893 // this function doesn't have to be overridden but it may be useful to do
2894 // it if calculating the lines heights is a relatively expensive operation
2895 // as it gives the user code a possibility to calculate several of them at
2898 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2899 // shouldn't rely on the latter being called for all lines in the interval
2900 // specified here. It is also possible that OnGetLineHeight() will be
2901 // called for the lines outside of this interval, so this is really just a
2902 // hint, not a promise.
2904 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2906 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2909 // when the number of lines changes, we try to estimate the total height
2910 // of all lines which is a rather expensive operation in terms of lines
2911 // access, so if the user code may estimate the average height
2912 // better/faster than we do, it should override this function to implement
2915 // this function should return the best guess for the total height it may
2917 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2920 // Also expose some other interesting protected methods
2923 // find the index of the line we need to show at the top of the window such
2924 // that the last (fully or partially) visible line is the given one
2925 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2926 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2928 // get the total height of the lines between lineMin (inclusive) and
2929 // lineMax (exclusive)
2930 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2931 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2933 // update the thumb size shown by the scrollbar
2934 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2936 // remove the scrollbar completely because we don't need it
2937 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2942 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2944 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2945 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2946 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2950 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2953 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2954 return SWIG_TypeError
;
2957 *val
= (unsigned long)v
;
2962 SWIGINTERNINLINE
int
2963 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2966 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2967 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2972 SWIGINTERNINLINE PyObject
*
2973 SWIG_From_unsigned_SS_long (unsigned long value
)
2975 return (value
> LONG_MAX
) ?
2976 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2980 SWIGINTERNINLINE PyObject
*
2981 SWIG_From_size_t (size_t value
)
2983 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2987 #include <wx/vlbox.h>
2989 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2991 class wxPyVListBox
: public wxVListBox
2993 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2995 wxPyVListBox() : wxVListBox() {}
2997 wxPyVListBox(wxWindow
*parent
,
2998 wxWindowID id
= wxID_ANY
,
2999 const wxPoint
& pos
= wxDefaultPosition
,
3000 const wxSize
& size
= wxDefaultSize
,
3002 const wxString
& name
= wxPyVListBoxNameStr
)
3003 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3006 // Overridable virtuals
3008 // the derived class must implement this function to actually draw the item
3009 // with the given index on the provided DC
3010 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3014 // the derived class must implement this method to return the height of the
3016 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3017 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3020 // this method may be used to draw separators between the lines; note that
3021 // the rectangle may be modified, typically to deflate it a bit before
3022 // passing to OnDrawItem()
3024 // the base class version doesn't do anything
3025 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3026 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3029 // this method is used to draw the items background and, maybe, a border
3032 // the base class version implements a reasonable default behaviour which
3033 // consists in drawing the selected item with the standard background
3034 // colour and drawing a border around the item if it is either selected or
3036 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3037 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3043 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3045 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3046 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3047 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3048 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3051 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3052 unsigned long cookie
= 0;
3053 int selected
= self
->GetFirstSelected(cookie
);
3054 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3055 PyObject
* tup
= PyTuple_New(2);
3056 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3057 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3058 wxPyEndBlockThreads(blocked
);
3061 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3062 int selected
= self
->GetNextSelected(cookie
);
3063 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3064 PyObject
* tup
= PyTuple_New(2);
3065 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3066 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3067 wxPyEndBlockThreads(blocked
);
3071 #include <wx/htmllbox.h>
3074 class wxPyHtmlListBox
: public wxHtmlListBox
3076 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3078 wxPyHtmlListBox() : wxHtmlListBox() {}
3080 wxPyHtmlListBox(wxWindow
*parent
,
3081 wxWindowID id
= wxID_ANY
,
3082 const wxPoint
& pos
= wxDefaultPosition
,
3083 const wxSize
& size
= wxDefaultSize
,
3085 const wxString
& name
= wxPyVListBoxNameStr
)
3086 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3089 // Overridable virtuals
3091 // this method must be implemented in the derived class and should return
3092 // the body (i.e. without <html>) of the HTML for the given item
3093 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3095 // this function may be overridden to decorate HTML returned by OnGetItem()
3096 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3098 // These are from wxVListBox
3099 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3100 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3103 // // this method allows to customize the selection appearance: it may be used
3104 // // to specify the colour of the text which normally has the given colour
3105 // // colFg when it is inside the selection
3107 // // by default, the original colour is not used at all and all text has the
3108 // // same (default for this system) colour inside selection
3109 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3111 // // this is the same as GetSelectedTextColour() but allows to customize the
3112 // // background colour -- this is even more rarely used as you can change it
3113 // // globally using SetSelectionBackground()
3114 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3117 // This method may be overriden to handle clicking on a link in
3118 // the listbox. By default, clicking links is ignored.
3119 virtual void OnLinkClicked(size_t n
,
3120 const wxHtmlLinkInfo
& link
);
3126 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3128 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3129 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3130 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3131 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3134 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3135 const wxHtmlLinkInfo
& link
) {
3137 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3138 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3139 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3140 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3143 wxPyEndBlockThreads(blocked
);
3145 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3152 #ifndef wxHAS_TASK_BAR_ICON
3153 // implement dummy classes for platforms that don't have it
3155 class wxTaskBarIcon
: public wxEvtHandler
3158 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3162 class wxTaskBarIconEvent
: public wxEvent
3165 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3166 { wxPyRaiseNotImplemented(); }
3167 virtual wxEvent
* Clone() const { return NULL
; }
3168 bool IsOk() const { return false; }
3169 bool IsIconInstalled() const { return false; }
3170 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3171 bool RemoveIcon() { return false; }
3172 bool PopupMenu(wxMenu
*menu
) { return false; }
3176 wxEVT_TASKBAR_MOVE
= 0,
3177 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3178 wxEVT_TASKBAR_LEFT_UP
= 0,
3179 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3180 wxEVT_TASKBAR_RIGHT_UP
= 0,
3181 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3182 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3187 // Otherwise make a class that can virtualize CreatePopupMenu
3188 class wxPyTaskBarIcon
: public wxTaskBarIcon
3190 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3192 wxPyTaskBarIcon() : wxTaskBarIcon()
3195 wxMenu
* CreatePopupMenu() {
3196 wxMenu
*rval
= NULL
;
3198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3199 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3202 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3204 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3209 wxPyEndBlockThreads(blocked
);
3211 rval
= wxTaskBarIcon::CreatePopupMenu();
3218 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3222 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3226 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3227 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3228 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3229 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3230 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3231 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3233 // for compatibility only
3234 #define wxHIDE_READONLY 0
3236 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3238 self
->GetFilenames(arr
);
3239 return wxArrayString2PyList_helper(arr
);
3241 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3243 self
->GetPaths(arr
);
3244 return wxArrayString2PyList_helper(arr
);
3246 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3247 return wxArrayInt2PyList_helper(self
->GetSelections());
3249 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
){
3250 return new wxSingleChoiceDialog(parent
, message
, caption
,
3251 choices
, choices_array
, NULL
, style
, pos
);
3253 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3255 SWIGINTERNINLINE PyObject
*
3256 SWIG_From_bool (bool value
)
3258 return PyBool_FromLong(value
? 1 : 0);
3264 // C++ version of Python aware wxWindow
3265 class wxPyWindow
: public wxWindow
3267 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3269 wxPyWindow() : wxWindow() {}
3270 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3271 const wxPoint
& pos
= wxDefaultPosition
,
3272 const wxSize
& size
= wxDefaultSize
,
3274 const wxString
& name
= wxPyPanelNameStr
)
3275 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3278 bool DoEraseBackground(wxDC
* dc
) {
3280 return wxWindow::DoEraseBackground(dc
->GetHDC());
3282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3300 DEC_PYCALLBACK__(InitDialog
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3303 DEC_PYCALLBACK_BOOL_(Validate
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3336 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3353 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel
: public wxPanel
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3362 const wxPoint
& pos
= wxDefaultPosition
,
3363 const wxSize
& size
= wxDefaultSize
,
3365 const wxString
& name
= wxPyPanelNameStr
)
3366 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3368 bool DoEraseBackground(wxDC
* dc
) {
3370 return wxWindow::DoEraseBackground(dc
->GetHDC());
3372 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3380 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3391 DEC_PYCALLBACK__(InitDialog
);
3392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3394 DEC_PYCALLBACK_BOOL_(Validate
);
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3398 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3408 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3413 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3415 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3416 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3427 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3439 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3440 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3444 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3446 // C++ version of Python aware wxScrolledWindow
3447 class wxPyScrolledWindow
: public wxScrolledWindow
3449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3451 wxPyScrolledWindow() : wxScrolledWindow() {}
3452 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3453 const wxPoint
& pos
= wxDefaultPosition
,
3454 const wxSize
& size
= wxDefaultSize
,
3456 const wxString
& name
= wxPyPanelNameStr
)
3457 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3459 bool DoEraseBackground(wxDC
* dc
) {
3461 return wxWindow::DoEraseBackground(dc
->GetHDC());
3463 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3469 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3470 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3471 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3478 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3479 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3481 DEC_PYCALLBACK__(InitDialog
);
3482 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3483 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3484 DEC_PYCALLBACK_BOOL_(Validate
);
3486 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3488 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3490 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3491 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3493 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3494 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3496 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3498 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3503 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3505 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3506 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3507 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3514 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3517 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3518 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3522 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3526 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3529 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3530 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3532 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3534 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3537 #include "wx/wxPython/printfw.h"
3540 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3541 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3542 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3544 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3545 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3546 self
->GetPrivDataLen());
3547 wxPyEndBlockThreads(blocked
);
3550 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3551 if (! PyString_Check(data
)) {
3552 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3553 "Expected string object"));
3557 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3558 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3559 wxPyEndBlockThreads(blocked
);
3563 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3565 // Since this one would be tough and ugly to do with the Macros...
3566 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3567 bool hadErr
= false;
3570 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3571 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3572 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3573 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3576 val
= PyTuple_GetItem(result
, 0);
3577 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3580 val
= PyTuple_GetItem(result
, 1);
3581 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3584 val
= PyTuple_GetItem(result
, 2);
3585 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3588 val
= PyTuple_GetItem(result
, 3);
3589 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3596 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3601 wxPyEndBlockThreads(blocked
);
3603 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3608 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3609 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3610 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3613 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3614 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3620 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3621 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3624 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3625 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3628 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3629 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3630 PyObject* win = wxPyMake_wxObject(a,false); \
3631 PyObject* dc = wxPyMake_wxObject(&b,false); \
3632 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3636 wxPyEndBlockThreads(blocked); \
3638 rval = PCLASS::CBNAME(a, b); \
3645 class wxPyPrintPreview
: public wxPrintPreview
3647 DECLARE_CLASS(wxPyPrintPreview
)
3649 wxPyPrintPreview(wxPyPrintout
* printout
,
3650 wxPyPrintout
* printoutForPrinting
,
3651 wxPrintDialogData
* data
=NULL
)
3652 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3654 wxPyPrintPreview(wxPyPrintout
* printout
,
3655 wxPyPrintout
* printoutForPrinting
,
3657 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3660 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3661 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3663 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3664 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3665 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3666 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3671 // Stupid renamed classes... Fix this in 2.5...
3672 #if defined(__WXMSW__)
3673 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3674 #elif defined(__WXMAC__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3680 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3681 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3684 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3685 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3686 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3689 class wxPyPreviewFrame
: public wxPreviewFrame
3691 DECLARE_CLASS(wxPyPreviewFrame
)
3693 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3694 const wxString
& title
,
3695 const wxPoint
& pos
= wxDefaultPosition
,
3696 const wxSize
& size
= wxDefaultSize
,
3697 long style
= wxDEFAULT_FRAME_STYLE
,
3698 const wxString
& name
= wxPyFrameNameStr
)
3699 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3702 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3703 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3705 DEC_PYCALLBACK_VOID_(Initialize
);
3706 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3707 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3712 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3714 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3719 class wxPyPreviewControlBar
: public wxPreviewControlBar
3721 DECLARE_CLASS(wxPyPreviewControlBar
)
3723 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3726 const wxPoint
& pos
= wxDefaultPosition
,
3727 const wxSize
& size
= wxDefaultSize
,
3729 const wxString
& name
= wxPyPanelNameStr
)
3730 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3733 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3735 DEC_PYCALLBACK_VOID_(CreateButtons
);
3736 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3741 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3742 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3743 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3748 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
= 0;
3750 wxWindow
*arg1
= (wxWindow
*) 0 ;
3751 int arg2
= (int) (int)-1 ;
3752 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3753 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3754 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3755 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3756 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3757 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3758 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3759 wxPanel
*result
= 0 ;
3768 bool temp6
= false ;
3769 PyObject
* obj0
= 0 ;
3770 PyObject
* obj1
= 0 ;
3771 PyObject
* obj2
= 0 ;
3772 PyObject
* obj3
= 0 ;
3773 PyObject
* obj4
= 0 ;
3774 PyObject
* obj5
= 0 ;
3775 char * kwnames
[] = {
3776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3781 if (!SWIG_IsOK(res1
)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3784 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3787 if (!SWIG_IsOK(ecode2
)) {
3788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3790 arg2
= static_cast< int >(val2
);
3795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3805 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3806 if (!SWIG_IsOK(ecode5
)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3809 arg5
= static_cast< long >(val5
);
3813 arg6
= wxString_in_helper(obj5
);
3814 if (arg6
== NULL
) SWIG_fail
;
3819 if (!wxPyCheckForApp()) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3840 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3841 PyObject
*resultobj
= 0;
3842 wxPanel
*result
= 0 ;
3844 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3846 if (!wxPyCheckForApp()) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxPanel
*)new wxPanel();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3859 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
= 0;
3861 wxPanel
*arg1
= (wxPanel
*) 0 ;
3862 wxWindow
*arg2
= (wxWindow
*) 0 ;
3863 int arg3
= (int) (int)-1 ;
3864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3868 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3869 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3870 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3882 bool temp7
= false ;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3885 PyObject
* obj2
= 0 ;
3886 PyObject
* obj3
= 0 ;
3887 PyObject
* obj4
= 0 ;
3888 PyObject
* obj5
= 0 ;
3889 PyObject
* obj6
= 0 ;
3890 char * kwnames
[] = {
3891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3896 if (!SWIG_IsOK(res1
)) {
3897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3899 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3901 if (!SWIG_IsOK(res2
)) {
3902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3904 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3907 if (!SWIG_IsOK(ecode3
)) {
3908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3910 arg3
= static_cast< int >(val3
);
3915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3925 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3926 if (!SWIG_IsOK(ecode6
)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3929 arg6
= static_cast< long >(val6
);
3933 arg7
= wxString_in_helper(obj6
);
3934 if (arg7
== NULL
) SWIG_fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3961 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3962 PyObject
*resultobj
= 0;
3963 wxPanel
*arg1
= (wxPanel
*) 0 ;
3966 PyObject
*swig_obj
[1] ;
3968 if (!args
) SWIG_fail
;
3970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3971 if (!SWIG_IsOK(res1
)) {
3972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3974 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 (arg1
)->SetFocusIgnoringChildren();
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 resultobj
= SWIG_Py_Void();
3988 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
= 0;
3990 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3991 SwigValueWrapper
<wxVisualAttributes
> result
;
3994 PyObject
* obj0
= 0 ;
3995 char * kwnames
[] = {
3996 (char *) "variant", NULL
3999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4001 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4002 if (!SWIG_IsOK(ecode1
)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4005 arg1
= static_cast< wxWindowVariant
>(val1
);
4008 if (!wxPyCheckForApp()) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4021 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4024 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4025 return SWIG_Py_Void();
4028 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4029 return SWIG_Python_InitShadowInstance(args
);
4032 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
= 0;
4034 wxWindow
*arg1
= (wxWindow
*) 0 ;
4035 int arg2
= (int) (int)-1 ;
4036 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4037 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4038 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4039 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4040 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4041 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4042 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4043 wxScrolledWindow
*result
= 0 ;
4052 bool temp6
= false ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4055 PyObject
* obj2
= 0 ;
4056 PyObject
* obj3
= 0 ;
4057 PyObject
* obj4
= 0 ;
4058 PyObject
* obj5
= 0 ;
4059 char * kwnames
[] = {
4060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4065 if (!SWIG_IsOK(res1
)) {
4066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4071 if (!SWIG_IsOK(ecode2
)) {
4072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4074 arg2
= static_cast< int >(val2
);
4079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4089 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4090 if (!SWIG_IsOK(ecode5
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4093 arg5
= static_cast< long >(val5
);
4097 arg6
= wxString_in_helper(obj5
);
4098 if (arg6
== NULL
) SWIG_fail
;
4103 if (!wxPyCheckForApp()) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4124 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4125 PyObject
*resultobj
= 0;
4126 wxScrolledWindow
*result
= 0 ;
4128 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4130 if (!wxPyCheckForApp()) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4143 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
= 0;
4145 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4146 wxWindow
*arg2
= (wxWindow
*) 0 ;
4147 int arg3
= (int) (int)-1 ;
4148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4152 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4153 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4166 bool temp7
= false ;
4167 PyObject
* obj0
= 0 ;
4168 PyObject
* obj1
= 0 ;
4169 PyObject
* obj2
= 0 ;
4170 PyObject
* obj3
= 0 ;
4171 PyObject
* obj4
= 0 ;
4172 PyObject
* obj5
= 0 ;
4173 PyObject
* obj6
= 0 ;
4174 char * kwnames
[] = {
4175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4180 if (!SWIG_IsOK(res1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4183 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4185 if (!SWIG_IsOK(res2
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4188 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4191 if (!SWIG_IsOK(ecode3
)) {
4192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4194 arg3
= static_cast< int >(val3
);
4199 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4205 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4209 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4210 if (!SWIG_IsOK(ecode6
)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4213 arg6
= static_cast< long >(val6
);
4217 arg7
= wxString_in_helper(obj6
);
4218 if (arg7
== NULL
) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4245 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
= 0;
4247 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4252 int arg6
= (int) 0 ;
4253 int arg7
= (int) 0 ;
4254 bool arg8
= (bool) false ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 PyObject
* obj2
= 0 ;
4274 PyObject
* obj3
= 0 ;
4275 PyObject
* obj4
= 0 ;
4276 PyObject
* obj5
= 0 ;
4277 PyObject
* obj6
= 0 ;
4278 PyObject
* obj7
= 0 ;
4279 char * kwnames
[] = {
4280 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4285 if (!SWIG_IsOK(res1
)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4288 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4290 if (!SWIG_IsOK(ecode2
)) {
4291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4293 arg2
= static_cast< int >(val2
);
4294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4295 if (!SWIG_IsOK(ecode3
)) {
4296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4298 arg3
= static_cast< int >(val3
);
4299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4300 if (!SWIG_IsOK(ecode4
)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4303 arg4
= static_cast< int >(val4
);
4304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4305 if (!SWIG_IsOK(ecode5
)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4308 arg5
= static_cast< int >(val5
);
4310 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4311 if (!SWIG_IsOK(ecode6
)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4314 arg6
= static_cast< int >(val6
);
4317 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4318 if (!SWIG_IsOK(ecode7
)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4321 arg7
= static_cast< int >(val7
);
4324 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4325 if (!SWIG_IsOK(ecode8
)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4328 arg8
= static_cast< bool >(val8
);
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 resultobj
= SWIG_Py_Void();
4343 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
= 0;
4345 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4356 PyObject
* obj2
= 0 ;
4357 char * kwnames
[] = {
4358 (char *) "self",(char *) "x",(char *) "y", NULL
4361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4363 if (!SWIG_IsOK(res1
)) {
4364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4366 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4368 if (!SWIG_IsOK(ecode2
)) {
4369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4371 arg2
= static_cast< int >(val2
);
4372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4373 if (!SWIG_IsOK(ecode3
)) {
4374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4376 arg3
= static_cast< int >(val3
);
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 (arg1
)->Scroll(arg2
,arg3
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= SWIG_Py_Void();
4390 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4400 PyObject
* obj1
= 0 ;
4401 char * kwnames
[] = {
4402 (char *) "self",(char *) "orient", NULL
4405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4407 if (!SWIG_IsOK(res1
)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4410 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4412 if (!SWIG_IsOK(ecode2
)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4415 arg2
= static_cast< int >(val2
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= SWIG_From_int(static_cast< int >(result
));
4429 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
= 0;
4431 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4442 PyObject
* obj2
= 0 ;
4443 char * kwnames
[] = {
4444 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4449 if (!SWIG_IsOK(res1
)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4452 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4454 if (!SWIG_IsOK(ecode2
)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4457 arg2
= static_cast< int >(val2
);
4458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4459 if (!SWIG_IsOK(ecode3
)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4462 arg3
= static_cast< int >(val3
);
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_Py_Void();
4476 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
= 0;
4478 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4489 PyObject
* obj2
= 0 ;
4490 char * kwnames
[] = {
4491 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4496 if (!SWIG_IsOK(res1
)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4499 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4501 if (!SWIG_IsOK(ecode2
)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4504 arg2
= static_cast< int >(val2
);
4505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4506 if (!SWIG_IsOK(ecode3
)) {
4507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4509 arg3
= static_cast< int >(val3
);
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 (arg1
)->SetScrollRate(arg2
,arg3
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= SWIG_Py_Void();
4523 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4524 PyObject
*resultobj
= 0;
4525 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4526 int *arg2
= (int *) 0 ;
4527 int *arg3
= (int *) 0 ;
4531 int res2
= SWIG_TMPOBJ
;
4533 int res3
= SWIG_TMPOBJ
;
4534 PyObject
*swig_obj
[1] ;
4538 if (!args
) SWIG_fail
;
4540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4541 if (!SWIG_IsOK(res1
)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4544 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= SWIG_Py_Void();
4552 if (SWIG_IsTmpObj(res2
)) {
4553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4555 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4558 if (SWIG_IsTmpObj(res3
)) {
4559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4561 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4570 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
= 0;
4572 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4583 PyObject
* obj2
= 0 ;
4584 char * kwnames
[] = {
4585 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4590 if (!SWIG_IsOK(res1
)) {
4591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4593 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4594 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4595 if (!SWIG_IsOK(ecode2
)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4598 arg2
= static_cast< bool >(val2
);
4599 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4600 if (!SWIG_IsOK(ecode3
)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4603 arg3
= static_cast< bool >(val3
);
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 (arg1
)->EnableScrolling(arg2
,arg3
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 resultobj
= SWIG_Py_Void();
4617 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4618 PyObject
*resultobj
= 0;
4619 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4620 int *arg2
= (int *) 0 ;
4621 int *arg3
= (int *) 0 ;
4625 int res2
= SWIG_TMPOBJ
;
4627 int res3
= SWIG_TMPOBJ
;
4628 PyObject
*swig_obj
[1] ;
4632 if (!args
) SWIG_fail
;
4634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4635 if (!SWIG_IsOK(res1
)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4638 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_Py_Void();
4646 if (SWIG_IsTmpObj(res2
)) {
4647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4649 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4652 if (SWIG_IsTmpObj(res3
)) {
4653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4655 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4664 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
= 0;
4666 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 PyObject
* obj2
= 0 ;
4678 char * kwnames
[] = {
4679 (char *) "self",(char *) "xs",(char *) "ys", NULL
4682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4687 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4688 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4689 if (!SWIG_IsOK(ecode2
)) {
4690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4692 arg2
= static_cast< double >(val2
);
4693 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4694 if (!SWIG_IsOK(ecode3
)) {
4695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4697 arg3
= static_cast< double >(val3
);
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 (arg1
)->SetScale(arg2
,arg3
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= SWIG_Py_Void();
4711 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4712 PyObject
*resultobj
= 0;
4713 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4717 PyObject
*swig_obj
[1] ;
4719 if (!args
) SWIG_fail
;
4721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4722 if (!SWIG_IsOK(res1
)) {
4723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 resultobj
= SWIG_From_double(static_cast< double >(result
));
4739 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4740 PyObject
*resultobj
= 0;
4741 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4745 PyObject
*swig_obj
[1] ;
4747 if (!args
) SWIG_fail
;
4749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4750 if (!SWIG_IsOK(res1
)) {
4751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4753 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_From_double(static_cast< double >(result
));
4767 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4768 PyObject
*resultobj
= 0;
4769 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4776 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4778 if (!SWIG_IsOK(res1
)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4781 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4784 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4799 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4800 PyObject
*resultobj
= 0;
4801 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4804 int *arg4
= (int *) 0 ;
4805 int *arg5
= (int *) 0 ;
4813 int res4
= SWIG_TMPOBJ
;
4815 int res5
= SWIG_TMPOBJ
;
4819 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4821 if (!SWIG_IsOK(res1
)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4824 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4825 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4826 if (!SWIG_IsOK(ecode2
)) {
4827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4829 arg2
= static_cast< int >(val2
);
4830 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4831 if (!SWIG_IsOK(ecode3
)) {
4832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4834 arg3
= static_cast< int >(val3
);
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_Py_Void();
4842 if (SWIG_IsTmpObj(res4
)) {
4843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4845 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4848 if (SWIG_IsTmpObj(res5
)) {
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4851 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4860 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4864 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4867 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4874 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4879 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4880 PyObject
*resultobj
= 0;
4881 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4888 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4890 if (!SWIG_IsOK(res1
)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4893 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4896 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4911 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4912 PyObject
*resultobj
= 0;
4913 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4916 int *arg4
= (int *) 0 ;
4917 int *arg5
= (int *) 0 ;
4925 int res4
= SWIG_TMPOBJ
;
4927 int res5
= SWIG_TMPOBJ
;
4931 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4936 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4937 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4938 if (!SWIG_IsOK(ecode2
)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4941 arg2
= static_cast< int >(val2
);
4942 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4943 if (!SWIG_IsOK(ecode3
)) {
4944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4946 arg3
= static_cast< int >(val3
);
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_Py_Void();
4954 if (SWIG_IsTmpObj(res4
)) {
4955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4957 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4960 if (SWIG_IsTmpObj(res5
)) {
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4963 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4972 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4976 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4979 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4986 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4991 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4992 PyObject
*resultobj
= 0;
4993 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4996 PyObject
*swig_obj
[1] ;
4998 if (!args
) SWIG_fail
;
5000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5001 if (!SWIG_IsOK(res1
)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5004 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 (arg1
)->AdjustScrollbars();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_Py_Void();
5018 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
= 0;
5020 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5021 wxScrollWinEvent
*arg2
= 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5029 char * kwnames
[] = {
5030 (char *) "self",(char *) "event", NULL
5033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5035 if (!SWIG_IsOK(res1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5038 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5040 if (!SWIG_IsOK(res2
)) {
5041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= SWIG_From_int(static_cast< int >(result
));
5060 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
= 0;
5062 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5063 wxWindow
*arg2
= (wxWindow
*) 0 ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5070 char * kwnames
[] = {
5071 (char *) "self",(char *) "target", NULL
5074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5076 if (!SWIG_IsOK(res1
)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5079 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5081 if (!SWIG_IsOK(res2
)) {
5082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 (arg1
)->SetTargetWindow(arg2
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= SWIG_Py_Void();
5098 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5099 PyObject
*resultobj
= 0;
5100 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5101 wxWindow
*result
= 0 ;
5104 PyObject
*swig_obj
[1] ;
5106 if (!args
) SWIG_fail
;
5108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5109 if (!SWIG_IsOK(res1
)) {
5110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5112 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= wxPyMake_wxObject(result
, 0);
5128 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
= 0;
5130 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5136 PyObject
* obj0
= 0 ;
5137 PyObject
* obj1
= 0 ;
5138 char * kwnames
[] = {
5139 (char *) "self",(char *) "dc", NULL
5142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5144 if (!SWIG_IsOK(res1
)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5147 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5149 if (!SWIG_IsOK(res2
)) {
5150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5155 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 (arg1
)->DoPrepareDC(*arg2
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_Py_Void();
5169 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
= 0;
5171 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5172 SwigValueWrapper
<wxVisualAttributes
> result
;
5175 PyObject
* obj0
= 0 ;
5176 char * kwnames
[] = {
5177 (char *) "variant", NULL
5180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5182 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5183 if (!SWIG_IsOK(ecode1
)) {
5184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5186 arg1
= static_cast< wxWindowVariant
>(val1
);
5189 if (!wxPyCheckForApp()) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5202 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5205 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5206 return SWIG_Py_Void();
5209 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5210 return SWIG_Python_InitShadowInstance(args
);
5213 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5214 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5219 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5220 PyObject
*pyobj
= 0;
5224 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5226 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5233 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5234 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5239 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5240 PyObject
*pyobj
= 0;
5244 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5246 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5253 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5254 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5259 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5260 PyObject
*pyobj
= 0;
5264 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5266 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5273 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5274 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5279 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5280 PyObject
*pyobj
= 0;
5284 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5286 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5293 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
= 0;
5295 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5296 bool arg2
= (bool) true ;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5303 char * kwnames
[] = {
5304 (char *) "self",(char *) "maximize", NULL
5307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5309 if (!SWIG_IsOK(res1
)) {
5310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5312 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5314 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5315 if (!SWIG_IsOK(ecode2
)) {
5316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5318 arg2
= static_cast< bool >(val2
);
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 (arg1
)->Maximize(arg2
);
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 resultobj
= SWIG_Py_Void();
5333 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5334 PyObject
*resultobj
= 0;
5335 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5338 PyObject
*swig_obj
[1] ;
5340 if (!args
) SWIG_fail
;
5342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5343 if (!SWIG_IsOK(res1
)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5346 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_Py_Void();
5360 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
= 0;
5362 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5363 bool arg2
= (bool) true ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5370 char * kwnames
[] = {
5371 (char *) "self",(char *) "iconize", NULL
5374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5376 if (!SWIG_IsOK(res1
)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5379 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5381 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5382 if (!SWIG_IsOK(ecode2
)) {
5383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5385 arg2
= static_cast< bool >(val2
);
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 (arg1
)->Iconize(arg2
);
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 resultobj
= SWIG_Py_Void();
5400 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5401 PyObject
*resultobj
= 0;
5402 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5406 PyObject
*swig_obj
[1] ;
5408 if (!args
) SWIG_fail
;
5410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5411 if (!SWIG_IsOK(res1
)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5414 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5430 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5431 PyObject
*resultobj
= 0;
5432 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5436 PyObject
*swig_obj
[1] ;
5438 if (!args
) SWIG_fail
;
5440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5441 if (!SWIG_IsOK(res1
)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5444 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5460 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5461 PyObject
*resultobj
= 0;
5462 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5466 PyObject
*swig_obj
[1] ;
5468 if (!args
) SWIG_fail
;
5470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5471 if (!SWIG_IsOK(res1
)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5474 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5490 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5491 PyObject
*resultobj
= 0;
5492 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5496 PyObject
*swig_obj
[1] ;
5498 if (!args
) SWIG_fail
;
5500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5501 if (!SWIG_IsOK(res1
)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5504 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5518 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
= 0;
5520 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5528 char * kwnames
[] = {
5529 (char *) "self",(char *) "icon", NULL
5532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5534 if (!SWIG_IsOK(res1
)) {
5535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5537 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5539 if (!SWIG_IsOK(res2
)) {
5540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5545 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 resultobj
= SWIG_Py_Void();
5559 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
= 0;
5561 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5562 wxIconBundle
*arg2
= 0 ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5569 char * kwnames
[] = {
5570 (char *) "self",(char *) "icons", NULL
5573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5575 if (!SWIG_IsOK(res1
)) {
5576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5578 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5580 if (!SWIG_IsOK(res2
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5586 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= SWIG_Py_Void();
5600 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
= 0;
5602 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5604 long arg3
= (long) wxFULLSCREEN_ALL
;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5614 PyObject
* obj2
= 0 ;
5615 char * kwnames
[] = {
5616 (char *) "self",(char *) "show",(char *) "style", NULL
5619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5621 if (!SWIG_IsOK(res1
)) {
5622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5624 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5625 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5626 if (!SWIG_IsOK(ecode2
)) {
5627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5629 arg2
= static_cast< bool >(val2
);
5631 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5632 if (!SWIG_IsOK(ecode3
)) {
5633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5635 arg3
= static_cast< long >(val3
);
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5652 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5653 PyObject
*resultobj
= 0;
5654 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5658 PyObject
*swig_obj
[1] ;
5660 if (!args
) SWIG_fail
;
5662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5663 if (!SWIG_IsOK(res1
)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5666 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5682 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
= 0;
5684 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5685 wxString
*arg2
= 0 ;
5688 bool temp2
= false ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5691 char * kwnames
[] = {
5692 (char *) "self",(char *) "title", NULL
5695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5697 if (!SWIG_IsOK(res1
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5700 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5702 arg2
= wxString_in_helper(obj1
);
5703 if (arg2
== NULL
) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 (arg1
)->SetTitle((wxString
const &)*arg2
);
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= SWIG_Py_Void();
5727 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5728 PyObject
*resultobj
= 0;
5729 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5733 PyObject
*swig_obj
[1] ;
5735 if (!args
) SWIG_fail
;
5737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5738 if (!SWIG_IsOK(res1
)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5741 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5744 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5761 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
= 0;
5763 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5772 char * kwnames
[] = {
5773 (char *) "self",(char *) "enable", NULL
5776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5778 if (!SWIG_IsOK(res1
)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5781 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5782 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5783 if (!SWIG_IsOK(ecode2
)) {
5784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5786 arg2
= static_cast< bool >(val2
);
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5802 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
= 0;
5804 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5805 wxRegion
*arg2
= 0 ;
5811 PyObject
* obj0
= 0 ;
5812 PyObject
* obj1
= 0 ;
5813 char * kwnames
[] = {
5814 (char *) "self",(char *) "region", NULL
5817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5819 if (!SWIG_IsOK(res1
)) {
5820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5822 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5823 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5824 if (!SWIG_IsOK(res2
)) {
5825 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5830 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5833 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5846 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
= 0;
5848 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5849 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5856 char * kwnames
[] = {
5857 (char *) "self",(char *) "flags", NULL
5860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5862 if (!SWIG_IsOK(res1
)) {
5863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5865 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5868 if (!SWIG_IsOK(ecode2
)) {
5869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5871 arg2
= static_cast< int >(val2
);
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 (arg1
)->RequestUserAttention(arg2
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= SWIG_Py_Void();
5886 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5887 PyObject
*resultobj
= 0;
5888 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5892 PyObject
*swig_obj
[1] ;
5894 if (!args
) SWIG_fail
;
5896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5897 if (!SWIG_IsOK(res1
)) {
5898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5900 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= (bool)(arg1
)->IsActive();
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5916 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
= 0;
5918 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5924 PyObject
* obj0
= 0 ;
5925 PyObject
* obj1
= 0 ;
5926 char * kwnames
[] = {
5927 (char *) "self",(char *) "on", NULL
5930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5932 if (!SWIG_IsOK(res1
)) {
5933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5935 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5936 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5937 if (!SWIG_IsOK(ecode2
)) {
5938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5940 arg2
= static_cast< bool >(val2
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5955 PyObject
*resultobj
= 0;
5956 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5960 PyObject
*swig_obj
[1] ;
5962 if (!args
) SWIG_fail
;
5964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5965 if (!SWIG_IsOK(res1
)) {
5966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5968 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5984 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
= 0;
5986 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5987 int arg2
= (int) wxBOTH
;
5992 PyObject
* obj0
= 0 ;
5993 PyObject
* obj1
= 0 ;
5994 char * kwnames
[] = {
5995 (char *) "self",(char *) "dir", NULL
5998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6000 if (!SWIG_IsOK(res1
)) {
6001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6003 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6006 if (!SWIG_IsOK(ecode2
)) {
6007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6009 arg2
= static_cast< int >(val2
);
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 (arg1
)->CenterOnScreen(arg2
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= SWIG_Py_Void();
6024 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6025 PyObject
*resultobj
= 0;
6026 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6027 wxWindow
*result
= 0 ;
6030 PyObject
*swig_obj
[1] ;
6032 if (!args
) SWIG_fail
;
6034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6035 if (!SWIG_IsOK(res1
)) {
6036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6038 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= wxPyMake_wxObject(result
, 0);
6054 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
= 0;
6056 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6057 wxWindow
*arg2
= (wxWindow
*) 0 ;
6058 wxWindow
*result
= 0 ;
6063 PyObject
* obj0
= 0 ;
6064 PyObject
* obj1
= 0 ;
6065 char * kwnames
[] = {
6066 (char *) "self",(char *) "child", NULL
6069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6071 if (!SWIG_IsOK(res1
)) {
6072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6074 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6075 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6076 if (!SWIG_IsOK(res2
)) {
6077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6079 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= wxPyMake_wxObject(result
, 0);
6095 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
= 0;
6097 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6098 wxWindow
*arg2
= (wxWindow
*) 0 ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6105 char * kwnames
[] = {
6106 (char *) "self",(char *) "win", NULL
6109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6111 if (!SWIG_IsOK(res1
)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6114 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6115 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6116 if (!SWIG_IsOK(res2
)) {
6117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6119 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 (arg1
)->SetTmpDefaultItem(arg2
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= SWIG_Py_Void();
6133 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6134 PyObject
*resultobj
= 0;
6135 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6136 wxWindow
*result
= 0 ;
6139 PyObject
*swig_obj
[1] ;
6141 if (!args
) SWIG_fail
;
6143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6144 if (!SWIG_IsOK(res1
)) {
6145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6147 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= wxPyMake_wxObject(result
, 0);
6163 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6166 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6167 return SWIG_Py_Void();
6170 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
= 0;
6172 wxWindow
*arg1
= (wxWindow
*) 0 ;
6173 int arg2
= (int) (int)-1 ;
6174 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6175 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6180 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6181 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6182 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6183 wxFrame
*result
= 0 ;
6188 bool temp3
= false ;
6193 bool temp7
= false ;
6194 PyObject
* obj0
= 0 ;
6195 PyObject
* obj1
= 0 ;
6196 PyObject
* obj2
= 0 ;
6197 PyObject
* obj3
= 0 ;
6198 PyObject
* obj4
= 0 ;
6199 PyObject
* obj5
= 0 ;
6200 PyObject
* obj6
= 0 ;
6201 char * kwnames
[] = {
6202 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6207 if (!SWIG_IsOK(res1
)) {
6208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6210 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6213 if (!SWIG_IsOK(ecode2
)) {
6214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6216 arg2
= static_cast< int >(val2
);
6220 arg3
= wxString_in_helper(obj2
);
6221 if (arg3
== NULL
) SWIG_fail
;
6228 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6234 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6238 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6239 if (!SWIG_IsOK(ecode6
)) {
6240 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6242 arg6
= static_cast< long >(val6
);
6246 arg7
= wxString_in_helper(obj6
);
6247 if (arg7
== NULL
) SWIG_fail
;
6252 if (!wxPyCheckForApp()) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6281 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6282 PyObject
*resultobj
= 0;
6283 wxFrame
*result
= 0 ;
6285 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6287 if (!wxPyCheckForApp()) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (wxFrame
*)new wxFrame();
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6300 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
= 0;
6302 wxFrame
*arg1
= (wxFrame
*) 0 ;
6303 wxWindow
*arg2
= (wxWindow
*) 0 ;
6304 int arg3
= (int) (int)-1 ;
6305 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6306 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6307 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6308 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6309 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6310 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6311 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6312 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6313 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6321 bool temp4
= false ;
6326 bool temp8
= false ;
6327 PyObject
* obj0
= 0 ;
6328 PyObject
* obj1
= 0 ;
6329 PyObject
* obj2
= 0 ;
6330 PyObject
* obj3
= 0 ;
6331 PyObject
* obj4
= 0 ;
6332 PyObject
* obj5
= 0 ;
6333 PyObject
* obj6
= 0 ;
6334 PyObject
* obj7
= 0 ;
6335 char * kwnames
[] = {
6336 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6341 if (!SWIG_IsOK(res1
)) {
6342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6344 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6346 if (!SWIG_IsOK(res2
)) {
6347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6349 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6352 if (!SWIG_IsOK(ecode3
)) {
6353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6355 arg3
= static_cast< int >(val3
);
6359 arg4
= wxString_in_helper(obj3
);
6360 if (arg4
== NULL
) SWIG_fail
;
6367 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6373 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6377 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6378 if (!SWIG_IsOK(ecode7
)) {
6379 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6381 arg7
= static_cast< long >(val7
);
6385 arg8
= wxString_in_helper(obj7
);
6386 if (arg8
== NULL
) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6421 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6422 PyObject
*resultobj
= 0;
6423 wxFrame
*arg1
= (wxFrame
*) 0 ;
6426 PyObject
*swig_obj
[1] ;
6428 if (!args
) SWIG_fail
;
6430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6431 if (!SWIG_IsOK(res1
)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6434 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 (arg1
)->SendSizeEvent();
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 resultobj
= SWIG_Py_Void();
6448 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
= 0;
6450 wxFrame
*arg1
= (wxFrame
*) 0 ;
6451 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6456 PyObject
* obj0
= 0 ;
6457 PyObject
* obj1
= 0 ;
6458 char * kwnames
[] = {
6459 (char *) "self",(char *) "menubar", NULL
6462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6464 if (!SWIG_IsOK(res1
)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6467 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6468 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6469 if (!SWIG_IsOK(res2
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6472 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 (arg1
)->SetMenuBar(arg2
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_Py_Void();
6486 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6487 PyObject
*resultobj
= 0;
6488 wxFrame
*arg1
= (wxFrame
*) 0 ;
6489 wxMenuBar
*result
= 0 ;
6492 PyObject
*swig_obj
[1] ;
6494 if (!args
) SWIG_fail
;
6496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6497 if (!SWIG_IsOK(res1
)) {
6498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6500 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= wxPyMake_wxObject(result
, 0);
6516 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
= 0;
6518 wxFrame
*arg1
= (wxFrame
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6527 char * kwnames
[] = {
6528 (char *) "self",(char *) "winid", NULL
6531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6533 if (!SWIG_IsOK(res1
)) {
6534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6536 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6538 if (!SWIG_IsOK(ecode2
)) {
6539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6541 arg2
= static_cast< int >(val2
);
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6557 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
= 0;
6559 wxFrame
*arg1
= (wxFrame
*) 0 ;
6560 int arg2
= (int) 1 ;
6561 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6562 int arg4
= (int) 0 ;
6563 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6564 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6565 wxStatusBar
*result
= 0 ;
6574 bool temp5
= false ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6577 PyObject
* obj2
= 0 ;
6578 PyObject
* obj3
= 0 ;
6579 PyObject
* obj4
= 0 ;
6580 char * kwnames
[] = {
6581 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6586 if (!SWIG_IsOK(res1
)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6589 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6592 if (!SWIG_IsOK(ecode2
)) {
6593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6595 arg2
= static_cast< int >(val2
);
6598 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6599 if (!SWIG_IsOK(ecode3
)) {
6600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6602 arg3
= static_cast< long >(val3
);
6605 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6606 if (!SWIG_IsOK(ecode4
)) {
6607 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6609 arg4
= static_cast< int >(val4
);
6613 arg5
= wxString_in_helper(obj4
);
6614 if (arg5
== NULL
) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6641 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6642 PyObject
*resultobj
= 0;
6643 wxFrame
*arg1
= (wxFrame
*) 0 ;
6644 wxStatusBar
*result
= 0 ;
6647 PyObject
*swig_obj
[1] ;
6649 if (!args
) SWIG_fail
;
6651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6652 if (!SWIG_IsOK(res1
)) {
6653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6655 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6671 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
= 0;
6673 wxFrame
*arg1
= (wxFrame
*) 0 ;
6674 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 char * kwnames
[] = {
6682 (char *) "self",(char *) "statBar", NULL
6685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6687 if (!SWIG_IsOK(res1
)) {
6688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6690 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6692 if (!SWIG_IsOK(res2
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6695 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 (arg1
)->SetStatusBar(arg2
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= SWIG_Py_Void();
6709 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
= 0;
6711 wxFrame
*arg1
= (wxFrame
*) 0 ;
6712 wxString
*arg2
= 0 ;
6713 int arg3
= (int) 0 ;
6716 bool temp2
= false ;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6721 PyObject
* obj2
= 0 ;
6722 char * kwnames
[] = {
6723 (char *) "self",(char *) "text",(char *) "number", NULL
6726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6728 if (!SWIG_IsOK(res1
)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6731 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6733 arg2
= wxString_in_helper(obj1
);
6734 if (arg2
== NULL
) SWIG_fail
;
6738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6739 if (!SWIG_IsOK(ecode3
)) {
6740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6742 arg3
= static_cast< int >(val3
);
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= SWIG_Py_Void();
6765 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
= 0;
6767 wxFrame
*arg1
= (wxFrame
*) 0 ;
6769 int *arg3
= (int *) 0 ;
6772 PyObject
* obj0
= 0 ;
6773 PyObject
* obj1
= 0 ;
6774 char * kwnames
[] = {
6775 (char *) "self",(char *) "widths", NULL
6778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6780 if (!SWIG_IsOK(res1
)) {
6781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6783 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6785 arg2
= PyList_Size(obj1
);
6786 arg3
= int_LIST_helper(obj1
);
6787 if (arg3
== NULL
) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6795 resultobj
= SWIG_Py_Void();
6797 if (arg3
) delete [] arg3
;
6802 if (arg3
) delete [] arg3
;
6808 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
*resultobj
= 0;
6810 wxFrame
*arg1
= (wxFrame
*) 0 ;
6811 wxString
*arg2
= 0 ;
6812 int arg3
= (int) 0 ;
6815 bool temp2
= false ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6820 PyObject
* obj2
= 0 ;
6821 char * kwnames
[] = {
6822 (char *) "self",(char *) "text",(char *) "number", NULL
6825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6827 if (!SWIG_IsOK(res1
)) {
6828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6830 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6832 arg2
= wxString_in_helper(obj1
);
6833 if (arg2
== NULL
) SWIG_fail
;
6837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6838 if (!SWIG_IsOK(ecode3
)) {
6839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6841 arg3
= static_cast< int >(val3
);
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= SWIG_Py_Void();
6864 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
= 0;
6866 wxFrame
*arg1
= (wxFrame
*) 0 ;
6867 int arg2
= (int) 0 ;
6872 PyObject
* obj0
= 0 ;
6873 PyObject
* obj1
= 0 ;
6874 char * kwnames
[] = {
6875 (char *) "self",(char *) "number", NULL
6878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6880 if (!SWIG_IsOK(res1
)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6883 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6886 if (!SWIG_IsOK(ecode2
)) {
6887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6889 arg2
= static_cast< int >(val2
);
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 (arg1
)->PopStatusText(arg2
);
6894 wxPyEndAllowThreads(__tstate
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_Py_Void();
6904 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
= 0;
6906 wxFrame
*arg1
= (wxFrame
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6914 char * kwnames
[] = {
6915 (char *) "self",(char *) "n", NULL
6918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6920 if (!SWIG_IsOK(res1
)) {
6921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6923 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6925 if (!SWIG_IsOK(ecode2
)) {
6926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6928 arg2
= static_cast< int >(val2
);
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 (arg1
)->SetStatusBarPane(arg2
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_Py_Void();
6942 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6943 PyObject
*resultobj
= 0;
6944 wxFrame
*arg1
= (wxFrame
*) 0 ;
6948 PyObject
*swig_obj
[1] ;
6950 if (!args
) SWIG_fail
;
6952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6953 if (!SWIG_IsOK(res1
)) {
6954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6956 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_From_int(static_cast< int >(result
));
6970 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
= 0;
6972 wxFrame
*arg1
= (wxFrame
*) 0 ;
6973 long arg2
= (long) -1 ;
6974 int arg3
= (int) -1 ;
6975 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6976 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6977 wxToolBar
*result
= 0 ;
6984 bool temp4
= false ;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6987 PyObject
* obj2
= 0 ;
6988 PyObject
* obj3
= 0 ;
6989 char * kwnames
[] = {
6990 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6995 if (!SWIG_IsOK(res1
)) {
6996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6998 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7001 if (!SWIG_IsOK(ecode2
)) {
7002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7004 arg2
= static_cast< long >(val2
);
7007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7008 if (!SWIG_IsOK(ecode3
)) {
7009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7011 arg3
= static_cast< int >(val3
);
7015 arg4
= wxString_in_helper(obj3
);
7016 if (arg4
== NULL
) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7043 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7044 PyObject
*resultobj
= 0;
7045 wxFrame
*arg1
= (wxFrame
*) 0 ;
7046 wxToolBar
*result
= 0 ;
7049 PyObject
*swig_obj
[1] ;
7051 if (!args
) SWIG_fail
;
7053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7054 if (!SWIG_IsOK(res1
)) {
7055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7057 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7073 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
= 0;
7075 wxFrame
*arg1
= (wxFrame
*) 0 ;
7076 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7083 char * kwnames
[] = {
7084 (char *) "self",(char *) "toolbar", NULL
7087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7089 if (!SWIG_IsOK(res1
)) {
7090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7092 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7093 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7094 if (!SWIG_IsOK(res2
)) {
7095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7097 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 (arg1
)->SetToolBar(arg2
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_Py_Void();
7111 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
= 0;
7113 wxFrame
*arg1
= (wxFrame
*) 0 ;
7114 wxString
*arg2
= 0 ;
7118 bool temp2
= false ;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7123 PyObject
* obj2
= 0 ;
7124 char * kwnames
[] = {
7125 (char *) "self",(char *) "text",(char *) "show", NULL
7128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7130 if (!SWIG_IsOK(res1
)) {
7131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7133 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7135 arg2
= wxString_in_helper(obj1
);
7136 if (arg2
== NULL
) SWIG_fail
;
7139 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7140 if (!SWIG_IsOK(ecode3
)) {
7141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7143 arg3
= static_cast< bool >(val3
);
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= SWIG_Py_Void();
7165 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
= 0;
7167 wxFrame
*arg1
= (wxFrame
*) 0 ;
7168 wxMenu
*arg2
= (wxMenu
*) NULL
;
7173 PyObject
* obj0
= 0 ;
7174 PyObject
* obj1
= 0 ;
7175 char * kwnames
[] = {
7176 (char *) "self",(char *) "menu", NULL
7179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7181 if (!SWIG_IsOK(res1
)) {
7182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7184 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7187 if (!SWIG_IsOK(res2
)) {
7188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7190 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 (arg1
)->DoMenuUpdates(arg2
);
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= SWIG_Py_Void();
7205 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
*resultobj
= 0;
7207 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7208 SwigValueWrapper
<wxVisualAttributes
> result
;
7211 PyObject
* obj0
= 0 ;
7212 char * kwnames
[] = {
7213 (char *) "variant", NULL
7216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7218 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7219 if (!SWIG_IsOK(ecode1
)) {
7220 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7222 arg1
= static_cast< wxWindowVariant
>(val1
);
7225 if (!wxPyCheckForApp()) SWIG_fail
;
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7238 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7241 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7242 return SWIG_Py_Void();
7245 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7246 return SWIG_Python_InitShadowInstance(args
);
7249 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
= 0;
7251 wxWindow
*arg1
= (wxWindow
*) 0 ;
7252 int arg2
= (int) (int)-1 ;
7253 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7254 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7255 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7256 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7257 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7258 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7259 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7260 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7261 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7262 wxDialog
*result
= 0 ;
7267 bool temp3
= false ;
7272 bool temp7
= false ;
7273 PyObject
* obj0
= 0 ;
7274 PyObject
* obj1
= 0 ;
7275 PyObject
* obj2
= 0 ;
7276 PyObject
* obj3
= 0 ;
7277 PyObject
* obj4
= 0 ;
7278 PyObject
* obj5
= 0 ;
7279 PyObject
* obj6
= 0 ;
7280 char * kwnames
[] = {
7281 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7286 if (!SWIG_IsOK(res1
)) {
7287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7289 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7292 if (!SWIG_IsOK(ecode2
)) {
7293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7295 arg2
= static_cast< int >(val2
);
7299 arg3
= wxString_in_helper(obj2
);
7300 if (arg3
== NULL
) SWIG_fail
;
7307 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7313 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7317 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7318 if (!SWIG_IsOK(ecode6
)) {
7319 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7321 arg6
= static_cast< long >(val6
);
7325 arg7
= wxString_in_helper(obj6
);
7326 if (arg7
== NULL
) SWIG_fail
;
7331 if (!wxPyCheckForApp()) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7360 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7361 PyObject
*resultobj
= 0;
7362 wxDialog
*result
= 0 ;
7364 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7366 if (!wxPyCheckForApp()) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (wxDialog
*)new wxDialog();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7379 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
= 0;
7381 wxDialog
*arg1
= (wxDialog
*) 0 ;
7382 wxWindow
*arg2
= (wxWindow
*) 0 ;
7383 int arg3
= (int) (int)-1 ;
7384 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7385 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7386 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7387 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7388 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7389 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7390 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7391 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7392 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7400 bool temp4
= false ;
7405 bool temp8
= false ;
7406 PyObject
* obj0
= 0 ;
7407 PyObject
* obj1
= 0 ;
7408 PyObject
* obj2
= 0 ;
7409 PyObject
* obj3
= 0 ;
7410 PyObject
* obj4
= 0 ;
7411 PyObject
* obj5
= 0 ;
7412 PyObject
* obj6
= 0 ;
7413 PyObject
* obj7
= 0 ;
7414 char * kwnames
[] = {
7415 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7420 if (!SWIG_IsOK(res1
)) {
7421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7423 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7424 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7425 if (!SWIG_IsOK(res2
)) {
7426 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7428 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7431 if (!SWIG_IsOK(ecode3
)) {
7432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7434 arg3
= static_cast< int >(val3
);
7438 arg4
= wxString_in_helper(obj3
);
7439 if (arg4
== NULL
) SWIG_fail
;
7446 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7452 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7456 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7457 if (!SWIG_IsOK(ecode7
)) {
7458 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7460 arg7
= static_cast< long >(val7
);
7464 arg8
= wxString_in_helper(obj7
);
7465 if (arg8
== NULL
) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7500 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
= 0;
7502 wxDialog
*arg1
= (wxDialog
*) 0 ;
7508 PyObject
* obj0
= 0 ;
7509 PyObject
* obj1
= 0 ;
7510 char * kwnames
[] = {
7511 (char *) "self",(char *) "returnCode", NULL
7514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7516 if (!SWIG_IsOK(res1
)) {
7517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7519 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7521 if (!SWIG_IsOK(ecode2
)) {
7522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7524 arg2
= static_cast< int >(val2
);
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 (arg1
)->SetReturnCode(arg2
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= SWIG_Py_Void();
7538 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7539 PyObject
*resultobj
= 0;
7540 wxDialog
*arg1
= (wxDialog
*) 0 ;
7544 PyObject
*swig_obj
[1] ;
7546 if (!args
) SWIG_fail
;
7548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7549 if (!SWIG_IsOK(res1
)) {
7550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7552 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 resultobj
= SWIG_From_int(static_cast< int >(result
));
7566 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
= 0;
7568 wxDialog
*arg1
= (wxDialog
*) 0 ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7576 char * kwnames
[] = {
7577 (char *) "self",(char *) "affirmativeId", NULL
7580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7582 if (!SWIG_IsOK(res1
)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7585 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7587 if (!SWIG_IsOK(ecode2
)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7590 arg2
= static_cast< int >(val2
);
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 (arg1
)->SetAffirmativeId(arg2
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= SWIG_Py_Void();
7604 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7605 PyObject
*resultobj
= 0;
7606 wxDialog
*arg1
= (wxDialog
*) 0 ;
7610 PyObject
*swig_obj
[1] ;
7612 if (!args
) SWIG_fail
;
7614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7615 if (!SWIG_IsOK(res1
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7618 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_From_int(static_cast< int >(result
));
7632 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
= 0;
7634 wxDialog
*arg1
= (wxDialog
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7641 PyObject
* obj1
= 0 ;
7642 char * kwnames
[] = {
7643 (char *) "self",(char *) "escapeId", NULL
7646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7648 if (!SWIG_IsOK(res1
)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7651 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7653 if (!SWIG_IsOK(ecode2
)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7656 arg2
= static_cast< int >(val2
);
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 (arg1
)->SetEscapeId(arg2
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 resultobj
= SWIG_Py_Void();
7670 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7671 PyObject
*resultobj
= 0;
7672 wxDialog
*arg1
= (wxDialog
*) 0 ;
7676 PyObject
*swig_obj
[1] ;
7678 if (!args
) SWIG_fail
;
7680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7681 if (!SWIG_IsOK(res1
)) {
7682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7684 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= SWIG_From_int(static_cast< int >(result
));
7698 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
*resultobj
= 0;
7700 wxDialog
*arg1
= (wxDialog
*) 0 ;
7701 wxString
*arg2
= 0 ;
7702 wxSizer
*result
= 0 ;
7705 bool temp2
= false ;
7706 PyObject
* obj0
= 0 ;
7707 PyObject
* obj1
= 0 ;
7708 char * kwnames
[] = {
7709 (char *) "self",(char *) "message", NULL
7712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7714 if (!SWIG_IsOK(res1
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7717 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7719 arg2
= wxString_in_helper(obj1
);
7720 if (arg2
== NULL
) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7746 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
= 0;
7748 wxDialog
*arg1
= (wxDialog
*) 0 ;
7750 wxSizer
*result
= 0 ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7757 char * kwnames
[] = {
7758 (char *) "self",(char *) "flags", NULL
7761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7763 if (!SWIG_IsOK(res1
)) {
7764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7766 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7767 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7768 if (!SWIG_IsOK(ecode2
)) {
7769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7771 arg2
= static_cast< long >(val2
);
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7787 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
= 0;
7789 wxDialog
*arg1
= (wxDialog
*) 0 ;
7791 wxSizer
*result
= 0 ;
7796 PyObject
* obj0
= 0 ;
7797 PyObject
* obj1
= 0 ;
7798 char * kwnames
[] = {
7799 (char *) "self",(char *) "flags", NULL
7802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7804 if (!SWIG_IsOK(res1
)) {
7805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7807 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7808 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7809 if (!SWIG_IsOK(ecode2
)) {
7810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7812 arg2
= static_cast< long >(val2
);
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7828 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
= 0;
7830 wxDialog
*arg1
= (wxDialog
*) 0 ;
7832 wxStdDialogButtonSizer
*result
= 0 ;
7837 PyObject
* obj0
= 0 ;
7838 PyObject
* obj1
= 0 ;
7839 char * kwnames
[] = {
7840 (char *) "self",(char *) "flags", NULL
7843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7845 if (!SWIG_IsOK(res1
)) {
7846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7848 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7849 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7850 if (!SWIG_IsOK(ecode2
)) {
7851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7853 arg2
= static_cast< long >(val2
);
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7867 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7868 PyObject
*resultobj
= 0;
7869 wxDialog
*arg1
= (wxDialog
*) 0 ;
7873 PyObject
*swig_obj
[1] ;
7875 if (!args
) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7881 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7897 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7898 PyObject
*resultobj
= 0;
7899 wxDialog
*arg1
= (wxDialog
*) 0 ;
7903 PyObject
*swig_obj
[1] ;
7905 if (!args
) SWIG_fail
;
7907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7908 if (!SWIG_IsOK(res1
)) {
7909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7911 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 result
= (int)(arg1
)->ShowModal();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= SWIG_From_int(static_cast< int >(result
));
7925 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
= 0;
7927 wxDialog
*arg1
= (wxDialog
*) 0 ;
7933 PyObject
* obj0
= 0 ;
7934 PyObject
* obj1
= 0 ;
7935 char * kwnames
[] = {
7936 (char *) "self",(char *) "retCode", NULL
7939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7941 if (!SWIG_IsOK(res1
)) {
7942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7944 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7946 if (!SWIG_IsOK(ecode2
)) {
7947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7949 arg2
= static_cast< int >(val2
);
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 (arg1
)->EndModal(arg2
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= SWIG_Py_Void();
7963 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
= 0;
7965 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7966 SwigValueWrapper
<wxVisualAttributes
> result
;
7969 PyObject
* obj0
= 0 ;
7970 char * kwnames
[] = {
7971 (char *) "variant", NULL
7974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7976 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7977 if (!SWIG_IsOK(ecode1
)) {
7978 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7980 arg1
= static_cast< wxWindowVariant
>(val1
);
7983 if (!wxPyCheckForApp()) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7996 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7999 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8000 return SWIG_Py_Void();
8003 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8004 return SWIG_Python_InitShadowInstance(args
);
8007 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
= 0;
8009 wxWindow
*arg1
= (wxWindow
*) 0 ;
8010 int arg2
= (int) (int)-1 ;
8011 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8012 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8013 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8014 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8015 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8016 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8017 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8018 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8019 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8020 wxMiniFrame
*result
= 0 ;
8025 bool temp3
= false ;
8030 bool temp7
= false ;
8031 PyObject
* obj0
= 0 ;
8032 PyObject
* obj1
= 0 ;
8033 PyObject
* obj2
= 0 ;
8034 PyObject
* obj3
= 0 ;
8035 PyObject
* obj4
= 0 ;
8036 PyObject
* obj5
= 0 ;
8037 PyObject
* obj6
= 0 ;
8038 char * kwnames
[] = {
8039 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8044 if (!SWIG_IsOK(res1
)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8047 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8050 if (!SWIG_IsOK(ecode2
)) {
8051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8053 arg2
= static_cast< int >(val2
);
8057 arg3
= wxString_in_helper(obj2
);
8058 if (arg3
== NULL
) SWIG_fail
;
8065 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8071 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8075 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8076 if (!SWIG_IsOK(ecode6
)) {
8077 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8079 arg6
= static_cast< long >(val6
);
8083 arg7
= wxString_in_helper(obj6
);
8084 if (arg7
== NULL
) SWIG_fail
;
8089 if (!wxPyCheckForApp()) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8118 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8119 PyObject
*resultobj
= 0;
8120 wxMiniFrame
*result
= 0 ;
8122 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8124 if (!wxPyCheckForApp()) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (wxMiniFrame
*)new wxMiniFrame();
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8137 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
= 0;
8139 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8140 wxWindow
*arg2
= (wxWindow
*) 0 ;
8141 int arg3
= (int) (int)-1 ;
8142 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8143 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8144 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8145 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8146 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8147 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8148 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8149 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8150 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8158 bool temp4
= false ;
8163 bool temp8
= false ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8166 PyObject
* obj2
= 0 ;
8167 PyObject
* obj3
= 0 ;
8168 PyObject
* obj4
= 0 ;
8169 PyObject
* obj5
= 0 ;
8170 PyObject
* obj6
= 0 ;
8171 PyObject
* obj7
= 0 ;
8172 char * kwnames
[] = {
8173 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8178 if (!SWIG_IsOK(res1
)) {
8179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8181 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8182 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8183 if (!SWIG_IsOK(res2
)) {
8184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8186 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8189 if (!SWIG_IsOK(ecode3
)) {
8190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8192 arg3
= static_cast< int >(val3
);
8196 arg4
= wxString_in_helper(obj3
);
8197 if (arg4
== NULL
) SWIG_fail
;
8204 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8210 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8214 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8215 if (!SWIG_IsOK(ecode7
)) {
8216 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8218 arg7
= static_cast< long >(val7
);
8222 arg8
= wxString_in_helper(obj7
);
8223 if (arg8
== NULL
) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8258 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8261 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8262 return SWIG_Py_Void();
8265 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8266 return SWIG_Python_InitShadowInstance(args
);
8269 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
= 0;
8271 wxBitmap
*arg1
= 0 ;
8272 wxWindow
*arg2
= (wxWindow
*) 0 ;
8274 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8275 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8276 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8277 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8278 long arg6
= (long) wxNO_BORDER
;
8279 wxSplashScreenWindow
*result
= 0 ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8292 PyObject
* obj2
= 0 ;
8293 PyObject
* obj3
= 0 ;
8294 PyObject
* obj4
= 0 ;
8295 PyObject
* obj5
= 0 ;
8296 char * kwnames
[] = {
8297 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8301 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8302 if (!SWIG_IsOK(res1
)) {
8303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8308 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8310 if (!SWIG_IsOK(res2
)) {
8311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8313 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8315 if (!SWIG_IsOK(ecode3
)) {
8316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8318 arg3
= static_cast< int >(val3
);
8322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8332 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8333 if (!SWIG_IsOK(ecode6
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8336 arg6
= static_cast< long >(val6
);
8339 if (!wxPyCheckForApp()) SWIG_fail
;
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8352 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8353 PyObject
*resultobj
= 0;
8354 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8355 wxBitmap
*arg2
= 0 ;
8360 PyObject
* obj0
= 0 ;
8361 PyObject
* obj1
= 0 ;
8362 char * kwnames
[] = {
8363 (char *) "self",(char *) "bitmap", NULL
8366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8368 if (!SWIG_IsOK(res1
)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8371 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8373 if (!SWIG_IsOK(res2
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8379 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= SWIG_Py_Void();
8393 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8394 PyObject
*resultobj
= 0;
8395 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8396 wxBitmap
*result
= 0 ;
8399 PyObject
*swig_obj
[1] ;
8401 if (!args
) SWIG_fail
;
8403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8404 if (!SWIG_IsOK(res1
)) {
8405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8407 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8412 result
= (wxBitmap
*) &_result_ref
;
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8418 wxBitmap
* resultptr
= new wxBitmap(*result
);
8419 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8427 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8430 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8431 return SWIG_Py_Void();
8434 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8435 return SWIG_Python_InitShadowInstance(args
);
8438 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
= 0;
8440 wxBitmap
*arg1
= 0 ;
8443 wxWindow
*arg4
= (wxWindow
*) 0 ;
8444 int arg5
= (int) -1 ;
8445 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8446 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8447 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8448 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8449 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8450 wxSplashScreen
*result
= 0 ;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8467 PyObject
* obj2
= 0 ;
8468 PyObject
* obj3
= 0 ;
8469 PyObject
* obj4
= 0 ;
8470 PyObject
* obj5
= 0 ;
8471 PyObject
* obj6
= 0 ;
8472 PyObject
* obj7
= 0 ;
8473 char * kwnames
[] = {
8474 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8478 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8479 if (!SWIG_IsOK(res1
)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8485 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8486 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8487 if (!SWIG_IsOK(ecode2
)) {
8488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8490 arg2
= static_cast< long >(val2
);
8491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8492 if (!SWIG_IsOK(ecode3
)) {
8493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8495 arg3
= static_cast< int >(val3
);
8496 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8497 if (!SWIG_IsOK(res4
)) {
8498 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8500 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8502 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8503 if (!SWIG_IsOK(ecode5
)) {
8504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8506 arg5
= static_cast< int >(val5
);
8511 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8517 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8521 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8522 if (!SWIG_IsOK(ecode8
)) {
8523 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8525 arg8
= static_cast< long >(val8
);
8528 if (!wxPyCheckForApp()) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8541 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8542 PyObject
*resultobj
= 0;
8543 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8547 PyObject
*swig_obj
[1] ;
8549 if (!args
) SWIG_fail
;
8551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8552 if (!SWIG_IsOK(res1
)) {
8553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8555 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_From_long(static_cast< long >(result
));
8569 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8570 PyObject
*resultobj
= 0;
8571 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8572 wxSplashScreenWindow
*result
= 0 ;
8575 PyObject
*swig_obj
[1] ;
8577 if (!args
) SWIG_fail
;
8579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8580 if (!SWIG_IsOK(res1
)) {
8581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8583 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8597 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8598 PyObject
*resultobj
= 0;
8599 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8603 PyObject
*swig_obj
[1] ;
8605 if (!args
) SWIG_fail
;
8607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8608 if (!SWIG_IsOK(res1
)) {
8609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8611 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= SWIG_From_int(static_cast< int >(result
));
8625 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8628 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8629 return SWIG_Py_Void();
8632 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8633 return SWIG_Python_InitShadowInstance(args
);
8636 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8637 PyObject
*resultobj
= 0;
8638 wxWindow
*arg1
= (wxWindow
*) 0 ;
8639 int arg2
= (int) -1 ;
8640 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8641 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8642 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8643 wxStatusBar
*result
= 0 ;
8650 bool temp4
= false ;
8651 PyObject
* obj0
= 0 ;
8652 PyObject
* obj1
= 0 ;
8653 PyObject
* obj2
= 0 ;
8654 PyObject
* obj3
= 0 ;
8655 char * kwnames
[] = {
8656 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8661 if (!SWIG_IsOK(res1
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8664 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8667 if (!SWIG_IsOK(ecode2
)) {
8668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8670 arg2
= static_cast< int >(val2
);
8673 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8674 if (!SWIG_IsOK(ecode3
)) {
8675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8677 arg3
= static_cast< long >(val3
);
8681 arg4
= wxString_in_helper(obj3
);
8682 if (arg4
== NULL
) SWIG_fail
;
8687 if (!wxPyCheckForApp()) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8708 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8709 PyObject
*resultobj
= 0;
8710 wxStatusBar
*result
= 0 ;
8712 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8714 if (!wxPyCheckForApp()) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 result
= (wxStatusBar
*)new wxStatusBar();
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8727 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
= 0;
8729 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8730 wxWindow
*arg2
= (wxWindow
*) 0 ;
8731 int arg3
= (int) -1 ;
8732 long arg4
= (long) wxST_SIZEGRIP
;
8733 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8734 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8744 bool temp5
= false ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8748 PyObject
* obj3
= 0 ;
8749 PyObject
* obj4
= 0 ;
8750 char * kwnames
[] = {
8751 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8756 if (!SWIG_IsOK(res1
)) {
8757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8759 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8761 if (!SWIG_IsOK(res2
)) {
8762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8764 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8767 if (!SWIG_IsOK(ecode3
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8770 arg3
= static_cast< int >(val3
);
8773 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8774 if (!SWIG_IsOK(ecode4
)) {
8775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8777 arg4
= static_cast< long >(val4
);
8781 arg5
= wxString_in_helper(obj4
);
8782 if (arg5
== NULL
) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8809 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8810 PyObject
*resultobj
= 0;
8811 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8812 int arg2
= (int) 1 ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 char * kwnames
[] = {
8820 (char *) "self",(char *) "number", NULL
8823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8825 if (!SWIG_IsOK(res1
)) {
8826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8828 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8831 if (!SWIG_IsOK(ecode2
)) {
8832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8834 arg2
= static_cast< int >(val2
);
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 (arg1
)->SetFieldsCount(arg2
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_Py_Void();
8849 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8850 PyObject
*resultobj
= 0;
8851 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8855 PyObject
*swig_obj
[1] ;
8857 if (!args
) SWIG_fail
;
8859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8860 if (!SWIG_IsOK(res1
)) {
8861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8863 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 resultobj
= SWIG_From_int(static_cast< int >(result
));
8877 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
= 0;
8879 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8880 wxString
*arg2
= 0 ;
8881 int arg3
= (int) 0 ;
8884 bool temp2
= false ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 PyObject
* obj2
= 0 ;
8890 char * kwnames
[] = {
8891 (char *) "self",(char *) "text",(char *) "number", NULL
8894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8896 if (!SWIG_IsOK(res1
)) {
8897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8899 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8901 arg2
= wxString_in_helper(obj1
);
8902 if (arg2
== NULL
) SWIG_fail
;
8906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8907 if (!SWIG_IsOK(ecode3
)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8910 arg3
= static_cast< int >(val3
);
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= SWIG_Py_Void();
8933 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
= 0;
8935 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8936 int arg2
= (int) 0 ;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8944 char * kwnames
[] = {
8945 (char *) "self",(char *) "number", NULL
8948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8950 if (!SWIG_IsOK(res1
)) {
8951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8953 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8956 if (!SWIG_IsOK(ecode2
)) {
8957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8959 arg2
= static_cast< int >(val2
);
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8980 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
= 0;
8982 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8983 wxString
*arg2
= 0 ;
8984 int arg3
= (int) 0 ;
8987 bool temp2
= false ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8992 PyObject
* obj2
= 0 ;
8993 char * kwnames
[] = {
8994 (char *) "self",(char *) "text",(char *) "number", NULL
8997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8999 if (!SWIG_IsOK(res1
)) {
9000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9002 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9004 arg2
= wxString_in_helper(obj1
);
9005 if (arg2
== NULL
) SWIG_fail
;
9009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9010 if (!SWIG_IsOK(ecode3
)) {
9011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9013 arg3
= static_cast< int >(val3
);
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_Py_Void();
9036 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
= 0;
9038 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9039 int arg2
= (int) 0 ;
9044 PyObject
* obj0
= 0 ;
9045 PyObject
* obj1
= 0 ;
9046 char * kwnames
[] = {
9047 (char *) "self",(char *) "number", NULL
9050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9052 if (!SWIG_IsOK(res1
)) {
9053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9055 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9058 if (!SWIG_IsOK(ecode2
)) {
9059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9061 arg2
= static_cast< int >(val2
);
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 (arg1
)->PopStatusText(arg2
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= SWIG_Py_Void();
9076 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
= 0;
9078 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9080 int *arg3
= (int *) 0 ;
9083 PyObject
* obj0
= 0 ;
9084 PyObject
* obj1
= 0 ;
9085 char * kwnames
[] = {
9086 (char *) "self",(char *) "widths", NULL
9089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9091 if (!SWIG_IsOK(res1
)) {
9092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9094 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9096 arg2
= PyList_Size(obj1
);
9097 arg3
= int_LIST_helper(obj1
);
9098 if (arg3
== NULL
) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= SWIG_Py_Void();
9108 if (arg3
) delete [] arg3
;
9113 if (arg3
) delete [] arg3
;
9119 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
= 0;
9121 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9123 int *arg3
= (int *) 0 ;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9128 char * kwnames
[] = {
9129 (char *) "self",(char *) "styles", NULL
9132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9137 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9139 arg2
= PyList_Size(obj1
);
9140 arg3
= int_LIST_helper(obj1
);
9141 if (arg3
== NULL
) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 resultobj
= SWIG_Py_Void();
9151 if (arg3
) delete [] arg3
;
9156 if (arg3
) delete [] arg3
;
9162 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
= 0;
9164 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9173 char * kwnames
[] = {
9174 (char *) "self",(char *) "i", NULL
9177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9179 if (!SWIG_IsOK(res1
)) {
9180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9182 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9184 if (!SWIG_IsOK(ecode2
)) {
9185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9187 arg2
= static_cast< int >(val2
);
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9201 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
= 0;
9203 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 char * kwnames
[] = {
9212 (char *) "self",(char *) "height", NULL
9215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9217 if (!SWIG_IsOK(res1
)) {
9218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9220 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9222 if (!SWIG_IsOK(ecode2
)) {
9223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9225 arg2
= static_cast< int >(val2
);
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 (arg1
)->SetMinHeight(arg2
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= SWIG_Py_Void();
9239 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9240 PyObject
*resultobj
= 0;
9241 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9245 PyObject
*swig_obj
[1] ;
9247 if (!args
) SWIG_fail
;
9249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9250 if (!SWIG_IsOK(res1
)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9253 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 resultobj
= SWIG_From_int(static_cast< int >(result
));
9267 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9268 PyObject
*resultobj
= 0;
9269 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9273 PyObject
*swig_obj
[1] ;
9275 if (!args
) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9281 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_From_int(static_cast< int >(result
));
9295 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
= 0;
9297 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9298 SwigValueWrapper
<wxVisualAttributes
> result
;
9301 PyObject
* obj0
= 0 ;
9302 char * kwnames
[] = {
9303 (char *) "variant", NULL
9306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9308 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9309 if (!SWIG_IsOK(ecode1
)) {
9310 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9312 arg1
= static_cast< wxWindowVariant
>(val1
);
9315 if (!wxPyCheckForApp()) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9328 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9331 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9332 return SWIG_Py_Void();
9335 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9336 return SWIG_Python_InitShadowInstance(args
);
9339 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9340 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9345 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9346 PyObject
*pyobj
= 0;
9350 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9352 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9359 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
= 0;
9361 wxWindow
*arg1
= (wxWindow
*) 0 ;
9362 int arg2
= (int) -1 ;
9363 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9364 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9365 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9366 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9367 long arg5
= (long) wxSP_3D
;
9368 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9369 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9370 wxSplitterWindow
*result
= 0 ;
9379 bool temp6
= false ;
9380 PyObject
* obj0
= 0 ;
9381 PyObject
* obj1
= 0 ;
9382 PyObject
* obj2
= 0 ;
9383 PyObject
* obj3
= 0 ;
9384 PyObject
* obj4
= 0 ;
9385 PyObject
* obj5
= 0 ;
9386 char * kwnames
[] = {
9387 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9392 if (!SWIG_IsOK(res1
)) {
9393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9395 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9398 if (!SWIG_IsOK(ecode2
)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9401 arg2
= static_cast< int >(val2
);
9406 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9412 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9416 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9417 if (!SWIG_IsOK(ecode5
)) {
9418 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9420 arg5
= static_cast< long >(val5
);
9424 arg6
= wxString_in_helper(obj5
);
9425 if (arg6
== NULL
) SWIG_fail
;
9430 if (!wxPyCheckForApp()) SWIG_fail
;
9431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9432 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9451 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9452 PyObject
*resultobj
= 0;
9453 wxSplitterWindow
*result
= 0 ;
9455 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9457 if (!wxPyCheckForApp()) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9470 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
= 0;
9472 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9473 wxWindow
*arg2
= (wxWindow
*) 0 ;
9474 int arg3
= (int) -1 ;
9475 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9476 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9477 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9478 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9479 long arg6
= (long) wxSP_3D
;
9480 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9481 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9493 bool temp7
= false ;
9494 PyObject
* obj0
= 0 ;
9495 PyObject
* obj1
= 0 ;
9496 PyObject
* obj2
= 0 ;
9497 PyObject
* obj3
= 0 ;
9498 PyObject
* obj4
= 0 ;
9499 PyObject
* obj5
= 0 ;
9500 PyObject
* obj6
= 0 ;
9501 char * kwnames
[] = {
9502 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9507 if (!SWIG_IsOK(res1
)) {
9508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9510 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9512 if (!SWIG_IsOK(res2
)) {
9513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9515 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9518 if (!SWIG_IsOK(ecode3
)) {
9519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9521 arg3
= static_cast< int >(val3
);
9526 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9532 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9536 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9537 if (!SWIG_IsOK(ecode6
)) {
9538 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9540 arg6
= static_cast< long >(val6
);
9544 arg7
= wxString_in_helper(obj6
);
9545 if (arg7
== NULL
) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9572 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9573 PyObject
*resultobj
= 0;
9574 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9575 wxWindow
*result
= 0 ;
9578 PyObject
*swig_obj
[1] ;
9580 if (!args
) SWIG_fail
;
9582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9583 if (!SWIG_IsOK(res1
)) {
9584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9586 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= wxPyMake_wxObject(result
, 0);
9602 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9603 PyObject
*resultobj
= 0;
9604 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9605 wxWindow
*result
= 0 ;
9608 PyObject
*swig_obj
[1] ;
9610 if (!args
) SWIG_fail
;
9612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9613 if (!SWIG_IsOK(res1
)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9616 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= wxPyMake_wxObject(result
, 0);
9632 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
*resultobj
= 0;
9634 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9642 char * kwnames
[] = {
9643 (char *) "self",(char *) "mode", NULL
9646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9648 if (!SWIG_IsOK(res1
)) {
9649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9651 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9653 if (!SWIG_IsOK(ecode2
)) {
9654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9656 arg2
= static_cast< int >(val2
);
9658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 (arg1
)->SetSplitMode(arg2
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 resultobj
= SWIG_Py_Void();
9670 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9671 PyObject
*resultobj
= 0;
9672 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9676 PyObject
*swig_obj
[1] ;
9678 if (!args
) SWIG_fail
;
9680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9681 if (!SWIG_IsOK(res1
)) {
9682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9684 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_From_int(static_cast< int >(result
));
9698 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
= 0;
9700 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9701 wxWindow
*arg2
= (wxWindow
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9708 char * kwnames
[] = {
9709 (char *) "self",(char *) "window", NULL
9712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9714 if (!SWIG_IsOK(res1
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9717 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9719 if (!SWIG_IsOK(res2
)) {
9720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 (arg1
)->Initialize(arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_Py_Void();
9736 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
= 0;
9738 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9739 wxWindow
*arg2
= (wxWindow
*) 0 ;
9740 wxWindow
*arg3
= (wxWindow
*) 0 ;
9741 int arg4
= (int) 0 ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9753 PyObject
* obj2
= 0 ;
9754 PyObject
* obj3
= 0 ;
9755 char * kwnames
[] = {
9756 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9761 if (!SWIG_IsOK(res1
)) {
9762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9764 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9765 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9766 if (!SWIG_IsOK(res2
)) {
9767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9769 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9770 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9771 if (!SWIG_IsOK(res3
)) {
9772 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9774 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9776 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9777 if (!SWIG_IsOK(ecode4
)) {
9778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9780 arg4
= static_cast< int >(val4
);
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9797 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= 0;
9799 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9800 wxWindow
*arg2
= (wxWindow
*) 0 ;
9801 wxWindow
*arg3
= (wxWindow
*) 0 ;
9802 int arg4
= (int) 0 ;
9812 PyObject
* obj0
= 0 ;
9813 PyObject
* obj1
= 0 ;
9814 PyObject
* obj2
= 0 ;
9815 PyObject
* obj3
= 0 ;
9816 char * kwnames
[] = {
9817 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9822 if (!SWIG_IsOK(res1
)) {
9823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9825 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9827 if (!SWIG_IsOK(res2
)) {
9828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9830 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9831 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9832 if (!SWIG_IsOK(res3
)) {
9833 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9835 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9837 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9838 if (!SWIG_IsOK(ecode4
)) {
9839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9841 arg4
= static_cast< int >(val4
);
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9858 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
= 0;
9860 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9861 wxWindow
*arg2
= (wxWindow
*) NULL
;
9867 PyObject
* obj0
= 0 ;
9868 PyObject
* obj1
= 0 ;
9869 char * kwnames
[] = {
9870 (char *) "self",(char *) "toRemove", NULL
9873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9875 if (!SWIG_IsOK(res1
)) {
9876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9878 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9881 if (!SWIG_IsOK(res2
)) {
9882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9884 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (bool)(arg1
)->Unsplit(arg2
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9901 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
= 0;
9903 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9904 wxWindow
*arg2
= (wxWindow
*) 0 ;
9905 wxWindow
*arg3
= (wxWindow
*) 0 ;
9913 PyObject
* obj0
= 0 ;
9914 PyObject
* obj1
= 0 ;
9915 PyObject
* obj2
= 0 ;
9916 char * kwnames
[] = {
9917 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9922 if (!SWIG_IsOK(res1
)) {
9923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9925 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9926 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9927 if (!SWIG_IsOK(res2
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9930 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9931 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9932 if (!SWIG_IsOK(res3
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9935 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9951 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9952 PyObject
*resultobj
= 0;
9953 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9956 PyObject
*swig_obj
[1] ;
9958 if (!args
) SWIG_fail
;
9960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9961 if (!SWIG_IsOK(res1
)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9964 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 (arg1
)->UpdateSize();
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_Py_Void();
9978 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9979 PyObject
*resultobj
= 0;
9980 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9984 PyObject
*swig_obj
[1] ;
9986 if (!args
) SWIG_fail
;
9988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9989 if (!SWIG_IsOK(res1
)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9992 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10008 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
= 0;
10010 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10016 PyObject
* obj0
= 0 ;
10017 PyObject
* obj1
= 0 ;
10018 char * kwnames
[] = {
10019 (char *) "self",(char *) "width", NULL
10022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10024 if (!SWIG_IsOK(res1
)) {
10025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10027 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10029 if (!SWIG_IsOK(ecode2
)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10032 arg2
= static_cast< int >(val2
);
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 (arg1
)->SetSashSize(arg2
);
10036 wxPyEndAllowThreads(__tstate
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= SWIG_Py_Void();
10046 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
= 0;
10048 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10054 PyObject
* obj0
= 0 ;
10055 PyObject
* obj1
= 0 ;
10056 char * kwnames
[] = {
10057 (char *) "self",(char *) "width", NULL
10060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10062 if (!SWIG_IsOK(res1
)) {
10063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10065 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10067 if (!SWIG_IsOK(ecode2
)) {
10068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10070 arg2
= static_cast< int >(val2
);
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 (arg1
)->SetBorderSize(arg2
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_Py_Void();
10084 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10085 PyObject
*resultobj
= 0;
10086 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10090 PyObject
*swig_obj
[1] ;
10092 if (!args
) SWIG_fail
;
10093 swig_obj
[0] = args
;
10094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10095 if (!SWIG_IsOK(res1
)) {
10096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10098 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 resultobj
= SWIG_From_int(static_cast< int >(result
));
10112 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10113 PyObject
*resultobj
= 0;
10114 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10118 PyObject
*swig_obj
[1] ;
10120 if (!args
) SWIG_fail
;
10121 swig_obj
[0] = args
;
10122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10123 if (!SWIG_IsOK(res1
)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10126 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_From_int(static_cast< int >(result
));
10140 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
= 0;
10142 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10144 bool arg3
= (bool) true ;
10151 PyObject
* obj0
= 0 ;
10152 PyObject
* obj1
= 0 ;
10153 PyObject
* obj2
= 0 ;
10154 char * kwnames
[] = {
10155 (char *) "self",(char *) "position",(char *) "redraw", NULL
10158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10160 if (!SWIG_IsOK(res1
)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10163 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10165 if (!SWIG_IsOK(ecode2
)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10168 arg2
= static_cast< int >(val2
);
10170 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10171 if (!SWIG_IsOK(ecode3
)) {
10172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10174 arg3
= static_cast< bool >(val3
);
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 (arg1
)->SetSashPosition(arg2
,arg3
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_Py_Void();
10189 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10190 PyObject
*resultobj
= 0;
10191 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10195 PyObject
*swig_obj
[1] ;
10197 if (!args
) SWIG_fail
;
10198 swig_obj
[0] = args
;
10199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10200 if (!SWIG_IsOK(res1
)) {
10201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10203 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= SWIG_From_int(static_cast< int >(result
));
10217 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
= 0;
10219 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10225 PyObject
* obj0
= 0 ;
10226 PyObject
* obj1
= 0 ;
10227 char * kwnames
[] = {
10228 (char *) "self",(char *) "gravity", NULL
10231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10233 if (!SWIG_IsOK(res1
)) {
10234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10236 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10237 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10238 if (!SWIG_IsOK(ecode2
)) {
10239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10241 arg2
= static_cast< double >(val2
);
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 (arg1
)->SetSashGravity(arg2
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_Py_Void();
10255 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10256 PyObject
*resultobj
= 0;
10257 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10261 PyObject
*swig_obj
[1] ;
10263 if (!args
) SWIG_fail
;
10264 swig_obj
[0] = args
;
10265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10266 if (!SWIG_IsOK(res1
)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10269 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= SWIG_From_double(static_cast< double >(result
));
10283 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
= 0;
10285 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 PyObject
* obj1
= 0 ;
10293 char * kwnames
[] = {
10294 (char *) "self",(char *) "min", NULL
10297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10299 if (!SWIG_IsOK(res1
)) {
10300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10302 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10304 if (!SWIG_IsOK(ecode2
)) {
10305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10307 arg2
= static_cast< int >(val2
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 (arg1
)->SetMinimumPaneSize(arg2
);
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_Py_Void();
10321 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10322 PyObject
*resultobj
= 0;
10323 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10327 PyObject
*swig_obj
[1] ;
10329 if (!args
) SWIG_fail
;
10330 swig_obj
[0] = args
;
10331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10332 if (!SWIG_IsOK(res1
)) {
10333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10335 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= SWIG_From_int(static_cast< int >(result
));
10349 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
= 0;
10351 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10354 int arg4
= (int) 5 ;
10364 PyObject
* obj0
= 0 ;
10365 PyObject
* obj1
= 0 ;
10366 PyObject
* obj2
= 0 ;
10367 PyObject
* obj3
= 0 ;
10368 char * kwnames
[] = {
10369 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10374 if (!SWIG_IsOK(res1
)) {
10375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10377 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10379 if (!SWIG_IsOK(ecode2
)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10382 arg2
= static_cast< int >(val2
);
10383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10384 if (!SWIG_IsOK(ecode3
)) {
10385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10387 arg3
= static_cast< int >(val3
);
10389 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10390 if (!SWIG_IsOK(ecode4
)) {
10391 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10393 arg4
= static_cast< int >(val4
);
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10410 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10411 PyObject
*resultobj
= 0;
10412 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10415 PyObject
*swig_obj
[1] ;
10417 if (!args
) SWIG_fail
;
10418 swig_obj
[0] = args
;
10419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10420 if (!SWIG_IsOK(res1
)) {
10421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10423 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 (arg1
)->SizeWindows();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_Py_Void();
10437 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
= 0;
10439 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 char * kwnames
[] = {
10448 (char *) "self",(char *) "needUpdating", NULL
10451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10453 if (!SWIG_IsOK(res1
)) {
10454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10456 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10457 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10458 if (!SWIG_IsOK(ecode2
)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10461 arg2
= static_cast< bool >(val2
);
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 (arg1
)->SetNeedUpdating(arg2
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10468 resultobj
= SWIG_Py_Void();
10475 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10476 PyObject
*resultobj
= 0;
10477 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10481 PyObject
*swig_obj
[1] ;
10483 if (!args
) SWIG_fail
;
10484 swig_obj
[0] = args
;
10485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10489 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10492 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10505 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
= 0;
10507 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10508 SwigValueWrapper
<wxVisualAttributes
> result
;
10511 PyObject
* obj0
= 0 ;
10512 char * kwnames
[] = {
10513 (char *) "variant", NULL
10516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10518 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10519 if (!SWIG_IsOK(ecode1
)) {
10520 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10522 arg1
= static_cast< wxWindowVariant
>(val1
);
10525 if (!wxPyCheckForApp()) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10538 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10541 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10542 return SWIG_Py_Void();
10545 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 return SWIG_Python_InitShadowInstance(args
);
10549 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
= 0;
10551 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10552 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10553 wxSplitterEvent
*result
= 0 ;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 char * kwnames
[] = {
10561 (char *) "type",(char *) "splitter", NULL
10564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10566 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10567 if (!SWIG_IsOK(ecode1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10570 arg1
= static_cast< wxEventType
>(val1
);
10573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10574 if (!SWIG_IsOK(res2
)) {
10575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10577 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10592 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= 0;
10594 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10600 PyObject
* obj0
= 0 ;
10601 PyObject
* obj1
= 0 ;
10602 char * kwnames
[] = {
10603 (char *) "self",(char *) "pos", NULL
10606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10608 if (!SWIG_IsOK(res1
)) {
10609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10611 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10613 if (!SWIG_IsOK(ecode2
)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10616 arg2
= static_cast< int >(val2
);
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 (arg1
)->SetSashPosition(arg2
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= SWIG_Py_Void();
10630 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10631 PyObject
*resultobj
= 0;
10632 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10636 PyObject
*swig_obj
[1] ;
10638 if (!args
) SWIG_fail
;
10639 swig_obj
[0] = args
;
10640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10641 if (!SWIG_IsOK(res1
)) {
10642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10644 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= SWIG_From_int(static_cast< int >(result
));
10658 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10659 PyObject
*resultobj
= 0;
10660 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10661 wxWindow
*result
= 0 ;
10664 PyObject
*swig_obj
[1] ;
10666 if (!args
) SWIG_fail
;
10667 swig_obj
[0] = args
;
10668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10669 if (!SWIG_IsOK(res1
)) {
10670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10672 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10680 resultobj
= wxPyMake_wxObject(result
, 0);
10688 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10689 PyObject
*resultobj
= 0;
10690 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10694 PyObject
*swig_obj
[1] ;
10696 if (!args
) SWIG_fail
;
10697 swig_obj
[0] = args
;
10698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10699 if (!SWIG_IsOK(res1
)) {
10700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10702 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= SWIG_From_int(static_cast< int >(result
));
10716 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10717 PyObject
*resultobj
= 0;
10718 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10722 PyObject
*swig_obj
[1] ;
10724 if (!args
) SWIG_fail
;
10725 swig_obj
[0] = args
;
10726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10727 if (!SWIG_IsOK(res1
)) {
10728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10730 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= SWIG_From_int(static_cast< int >(result
));
10744 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10747 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10748 return SWIG_Py_Void();
10751 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10752 return SWIG_Python_InitShadowInstance(args
);
10755 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10756 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10761 SWIGINTERN PyObject
*SashNameStr_get(void) {
10762 PyObject
*pyobj
= 0;
10766 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10768 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10775 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10776 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10781 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10782 PyObject
*pyobj
= 0;
10786 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10788 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10795 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
= 0;
10797 wxWindow
*arg1
= (wxWindow
*) 0 ;
10798 int arg2
= (int) -1 ;
10799 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10800 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10801 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10802 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10803 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10804 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10805 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10806 wxSashWindow
*result
= 0 ;
10815 bool temp6
= false ;
10816 PyObject
* obj0
= 0 ;
10817 PyObject
* obj1
= 0 ;
10818 PyObject
* obj2
= 0 ;
10819 PyObject
* obj3
= 0 ;
10820 PyObject
* obj4
= 0 ;
10821 PyObject
* obj5
= 0 ;
10822 char * kwnames
[] = {
10823 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10828 if (!SWIG_IsOK(res1
)) {
10829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10831 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10834 if (!SWIG_IsOK(ecode2
)) {
10835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10837 arg2
= static_cast< int >(val2
);
10842 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10848 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10852 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10853 if (!SWIG_IsOK(ecode5
)) {
10854 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10856 arg5
= static_cast< long >(val5
);
10860 arg6
= wxString_in_helper(obj5
);
10861 if (arg6
== NULL
) SWIG_fail
;
10866 if (!wxPyCheckForApp()) SWIG_fail
;
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10887 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10888 PyObject
*resultobj
= 0;
10889 wxSashWindow
*result
= 0 ;
10891 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10893 if (!wxPyCheckForApp()) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 result
= (wxSashWindow
*)new wxSashWindow();
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10906 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
= 0;
10908 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10909 wxWindow
*arg2
= (wxWindow
*) 0 ;
10910 int arg3
= (int) -1 ;
10911 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10912 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10913 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10914 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10915 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10916 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10917 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10929 bool temp7
= false ;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 PyObject
* obj2
= 0 ;
10933 PyObject
* obj3
= 0 ;
10934 PyObject
* obj4
= 0 ;
10935 PyObject
* obj5
= 0 ;
10936 PyObject
* obj6
= 0 ;
10937 char * kwnames
[] = {
10938 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10943 if (!SWIG_IsOK(res1
)) {
10944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10946 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10948 if (!SWIG_IsOK(res2
)) {
10949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10951 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10954 if (!SWIG_IsOK(ecode3
)) {
10955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10957 arg3
= static_cast< int >(val3
);
10962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10972 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10973 if (!SWIG_IsOK(ecode6
)) {
10974 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10976 arg6
= static_cast< long >(val6
);
10980 arg7
= wxString_in_helper(obj6
);
10981 if (arg7
== NULL
) SWIG_fail
;
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11008 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
= 0;
11010 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11011 wxSashEdgePosition arg2
;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 PyObject
* obj2
= 0 ;
11022 char * kwnames
[] = {
11023 (char *) "self",(char *) "edge",(char *) "sash", NULL
11026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11028 if (!SWIG_IsOK(res1
)) {
11029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11031 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11033 if (!SWIG_IsOK(ecode2
)) {
11034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11036 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11037 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11038 if (!SWIG_IsOK(ecode3
)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11041 arg3
= static_cast< bool >(val3
);
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 (arg1
)->SetSashVisible(arg2
,arg3
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= SWIG_Py_Void();
11055 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
*resultobj
= 0;
11057 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11058 wxSashEdgePosition arg2
;
11064 PyObject
* obj0
= 0 ;
11065 PyObject
* obj1
= 0 ;
11066 char * kwnames
[] = {
11067 (char *) "self",(char *) "edge", NULL
11070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11072 if (!SWIG_IsOK(res1
)) {
11073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11075 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11077 if (!SWIG_IsOK(ecode2
)) {
11078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11080 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11096 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
= 0;
11098 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11099 wxSashEdgePosition arg2
;
11107 PyObject
* obj0
= 0 ;
11108 PyObject
* obj1
= 0 ;
11109 PyObject
* obj2
= 0 ;
11110 char * kwnames
[] = {
11111 (char *) "self",(char *) "edge",(char *) "border", NULL
11114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11116 if (!SWIG_IsOK(res1
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11119 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11121 if (!SWIG_IsOK(ecode2
)) {
11122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11124 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11125 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11126 if (!SWIG_IsOK(ecode3
)) {
11127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11129 arg3
= static_cast< bool >(val3
);
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 (arg1
)->SetSashBorder(arg2
,arg3
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 resultobj
= SWIG_Py_Void();
11143 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= 0;
11145 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11146 wxSashEdgePosition arg2
;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 char * kwnames
[] = {
11155 (char *) "self",(char *) "edge", NULL
11158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11160 if (!SWIG_IsOK(res1
)) {
11161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11163 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11165 if (!SWIG_IsOK(ecode2
)) {
11166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11168 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
= 0;
11186 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11187 wxSashEdgePosition arg2
;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 char * kwnames
[] = {
11196 (char *) "self",(char *) "edge", NULL
11199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11201 if (!SWIG_IsOK(res1
)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11204 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11206 if (!SWIG_IsOK(ecode2
)) {
11207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11209 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= SWIG_From_int(static_cast< int >(result
));
11223 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
= 0;
11225 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11231 PyObject
* obj0
= 0 ;
11232 PyObject
* obj1
= 0 ;
11233 char * kwnames
[] = {
11234 (char *) "self",(char *) "width", NULL
11237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11239 if (!SWIG_IsOK(res1
)) {
11240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11242 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11244 if (!SWIG_IsOK(ecode2
)) {
11245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11247 arg2
= static_cast< int >(val2
);
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 (arg1
)->SetDefaultBorderSize(arg2
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= SWIG_Py_Void();
11261 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11262 PyObject
*resultobj
= 0;
11263 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11267 PyObject
*swig_obj
[1] ;
11269 if (!args
) SWIG_fail
;
11270 swig_obj
[0] = args
;
11271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11272 if (!SWIG_IsOK(res1
)) {
11273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11275 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= SWIG_From_int(static_cast< int >(result
));
11289 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
= 0;
11291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 char * kwnames
[] = {
11300 (char *) "self",(char *) "width", NULL
11303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11305 if (!SWIG_IsOK(res1
)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11308 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11310 if (!SWIG_IsOK(ecode2
)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11313 arg2
= static_cast< int >(val2
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->SetExtraBorderSize(arg2
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_Py_Void();
11327 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11328 PyObject
*resultobj
= 0;
11329 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11333 PyObject
*swig_obj
[1] ;
11335 if (!args
) SWIG_fail
;
11336 swig_obj
[0] = args
;
11337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11338 if (!SWIG_IsOK(res1
)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11341 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_From_int(static_cast< int >(result
));
11355 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
= 0;
11357 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 char * kwnames
[] = {
11366 (char *) "self",(char *) "min", NULL
11369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11371 if (!SWIG_IsOK(res1
)) {
11372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11374 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11376 if (!SWIG_IsOK(ecode2
)) {
11377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11379 arg2
= static_cast< int >(val2
);
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 (arg1
)->SetMinimumSizeX(arg2
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_Py_Void();
11393 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
= 0;
11395 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 char * kwnames
[] = {
11404 (char *) "self",(char *) "min", NULL
11407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11409 if (!SWIG_IsOK(res1
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11412 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11414 if (!SWIG_IsOK(ecode2
)) {
11415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11417 arg2
= static_cast< int >(val2
);
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 (arg1
)->SetMinimumSizeY(arg2
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= SWIG_Py_Void();
11431 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11432 PyObject
*resultobj
= 0;
11433 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11437 PyObject
*swig_obj
[1] ;
11439 if (!args
) SWIG_fail
;
11440 swig_obj
[0] = args
;
11441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11442 if (!SWIG_IsOK(res1
)) {
11443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11445 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_From_int(static_cast< int >(result
));
11459 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11460 PyObject
*resultobj
= 0;
11461 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11465 PyObject
*swig_obj
[1] ;
11467 if (!args
) SWIG_fail
;
11468 swig_obj
[0] = args
;
11469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11470 if (!SWIG_IsOK(res1
)) {
11471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11473 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= SWIG_From_int(static_cast< int >(result
));
11487 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11488 PyObject
*resultobj
= 0;
11489 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 char * kwnames
[] = {
11498 (char *) "self",(char *) "max", NULL
11501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11503 if (!SWIG_IsOK(res1
)) {
11504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11506 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11508 if (!SWIG_IsOK(ecode2
)) {
11509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11511 arg2
= static_cast< int >(val2
);
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 (arg1
)->SetMaximumSizeX(arg2
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11518 resultobj
= SWIG_Py_Void();
11525 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
= 0;
11527 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 char * kwnames
[] = {
11536 (char *) "self",(char *) "max", NULL
11539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11541 if (!SWIG_IsOK(res1
)) {
11542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11544 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11546 if (!SWIG_IsOK(ecode2
)) {
11547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11549 arg2
= static_cast< int >(val2
);
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 (arg1
)->SetMaximumSizeY(arg2
);
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_Py_Void();
11563 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11564 PyObject
*resultobj
= 0;
11565 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11569 PyObject
*swig_obj
[1] ;
11571 if (!args
) SWIG_fail
;
11572 swig_obj
[0] = args
;
11573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11574 if (!SWIG_IsOK(res1
)) {
11575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11577 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11580 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11584 resultobj
= SWIG_From_int(static_cast< int >(result
));
11591 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11592 PyObject
*resultobj
= 0;
11593 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11597 PyObject
*swig_obj
[1] ;
11599 if (!args
) SWIG_fail
;
11600 swig_obj
[0] = args
;
11601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11602 if (!SWIG_IsOK(res1
)) {
11603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11605 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11608 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11609 wxPyEndAllowThreads(__tstate
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11612 resultobj
= SWIG_From_int(static_cast< int >(result
));
11619 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
= 0;
11621 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11624 int arg4
= (int) 2 ;
11625 wxSashEdgePosition result
;
11634 PyObject
* obj0
= 0 ;
11635 PyObject
* obj1
= 0 ;
11636 PyObject
* obj2
= 0 ;
11637 PyObject
* obj3
= 0 ;
11638 char * kwnames
[] = {
11639 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11644 if (!SWIG_IsOK(res1
)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11647 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11649 if (!SWIG_IsOK(ecode2
)) {
11650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11652 arg2
= static_cast< int >(val2
);
11653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11654 if (!SWIG_IsOK(ecode3
)) {
11655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11657 arg3
= static_cast< int >(val3
);
11659 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11660 if (!SWIG_IsOK(ecode4
)) {
11661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11663 arg4
= static_cast< int >(val4
);
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_From_int(static_cast< int >(result
));
11678 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 PyObject
*resultobj
= 0;
11680 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11683 PyObject
*swig_obj
[1] ;
11685 if (!args
) SWIG_fail
;
11686 swig_obj
[0] = args
;
11687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11688 if (!SWIG_IsOK(res1
)) {
11689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11691 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 (arg1
)->SizeWindows();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_Py_Void();
11705 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11708 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11709 return SWIG_Py_Void();
11712 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11713 return SWIG_Python_InitShadowInstance(args
);
11716 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
= 0;
11718 int arg1
= (int) 0 ;
11719 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11720 wxSashEvent
*result
= 0 ;
11725 PyObject
* obj0
= 0 ;
11726 PyObject
* obj1
= 0 ;
11727 char * kwnames
[] = {
11728 (char *) "id",(char *) "edge", NULL
11731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11734 if (!SWIG_IsOK(ecode1
)) {
11735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11737 arg1
= static_cast< int >(val1
);
11740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11741 if (!SWIG_IsOK(ecode2
)) {
11742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11744 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11759 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
= 0;
11761 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11762 wxSashEdgePosition arg2
;
11767 PyObject
* obj0
= 0 ;
11768 PyObject
* obj1
= 0 ;
11769 char * kwnames
[] = {
11770 (char *) "self",(char *) "edge", NULL
11773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11775 if (!SWIG_IsOK(res1
)) {
11776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11778 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11780 if (!SWIG_IsOK(ecode2
)) {
11781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11783 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 (arg1
)->SetEdge(arg2
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_Py_Void();
11797 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11798 PyObject
*resultobj
= 0;
11799 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11800 wxSashEdgePosition result
;
11803 PyObject
*swig_obj
[1] ;
11805 if (!args
) SWIG_fail
;
11806 swig_obj
[0] = args
;
11807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11808 if (!SWIG_IsOK(res1
)) {
11809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11811 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_From_int(static_cast< int >(result
));
11825 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11826 PyObject
*resultobj
= 0;
11827 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11832 PyObject
* obj0
= 0 ;
11833 PyObject
* obj1
= 0 ;
11834 char * kwnames
[] = {
11835 (char *) "self",(char *) "rect", NULL
11838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11843 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11846 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_Py_Void();
11861 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11862 PyObject
*resultobj
= 0;
11863 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11867 PyObject
*swig_obj
[1] ;
11869 if (!args
) SWIG_fail
;
11870 swig_obj
[0] = args
;
11871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11875 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11889 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
= 0;
11891 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11892 wxSashDragStatus arg2
;
11897 PyObject
* obj0
= 0 ;
11898 PyObject
* obj1
= 0 ;
11899 char * kwnames
[] = {
11900 (char *) "self",(char *) "status", NULL
11903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11908 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11910 if (!SWIG_IsOK(ecode2
)) {
11911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11913 arg2
= static_cast< wxSashDragStatus
>(val2
);
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 (arg1
)->SetDragStatus(arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= SWIG_Py_Void();
11927 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11928 PyObject
*resultobj
= 0;
11929 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11930 wxSashDragStatus result
;
11933 PyObject
*swig_obj
[1] ;
11935 if (!args
) SWIG_fail
;
11936 swig_obj
[0] = args
;
11937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11941 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_From_int(static_cast< int >(result
));
11955 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11958 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11959 return SWIG_Py_Void();
11962 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11963 return SWIG_Python_InitShadowInstance(args
);
11966 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
= 0;
11968 int arg1
= (int) 0 ;
11969 wxQueryLayoutInfoEvent
*result
= 0 ;
11972 PyObject
* obj0
= 0 ;
11973 char * kwnames
[] = {
11974 (char *) "id", NULL
11977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11980 if (!SWIG_IsOK(ecode1
)) {
11981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11983 arg1
= static_cast< int >(val1
);
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11998 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
= 0;
12000 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12006 PyObject
* obj0
= 0 ;
12007 PyObject
* obj1
= 0 ;
12008 char * kwnames
[] = {
12009 (char *) "self",(char *) "length", NULL
12012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12017 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12019 if (!SWIG_IsOK(ecode2
)) {
12020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12022 arg2
= static_cast< int >(val2
);
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 (arg1
)->SetRequestedLength(arg2
);
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12029 resultobj
= SWIG_Py_Void();
12036 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12037 PyObject
*resultobj
= 0;
12038 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12042 PyObject
*swig_obj
[1] ;
12044 if (!args
) SWIG_fail
;
12045 swig_obj
[0] = args
;
12046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12047 if (!SWIG_IsOK(res1
)) {
12048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12050 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12053 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= SWIG_From_int(static_cast< int >(result
));
12064 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12065 PyObject
*resultobj
= 0;
12066 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 char * kwnames
[] = {
12075 (char *) "self",(char *) "flags", NULL
12078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12080 if (!SWIG_IsOK(res1
)) {
12081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12083 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12085 if (!SWIG_IsOK(ecode2
)) {
12086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12088 arg2
= static_cast< int >(val2
);
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 (arg1
)->SetFlags(arg2
);
12092 wxPyEndAllowThreads(__tstate
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_Py_Void();
12102 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12103 PyObject
*resultobj
= 0;
12104 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12108 PyObject
*swig_obj
[1] ;
12110 if (!args
) SWIG_fail
;
12111 swig_obj
[0] = args
;
12112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12113 if (!SWIG_IsOK(res1
)) {
12114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12116 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= SWIG_From_int(static_cast< int >(result
));
12130 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
= 0;
12132 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 char * kwnames
[] = {
12140 (char *) "self",(char *) "size", NULL
12143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12145 if (!SWIG_IsOK(res1
)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12148 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12151 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 (arg1
)->SetSize((wxSize
const &)*arg2
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_Py_Void();
12166 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12167 PyObject
*resultobj
= 0;
12168 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12172 PyObject
*swig_obj
[1] ;
12174 if (!args
) SWIG_fail
;
12175 swig_obj
[0] = args
;
12176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12177 if (!SWIG_IsOK(res1
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12180 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12183 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12194 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
= 0;
12196 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12197 wxLayoutOrientation arg2
;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char * kwnames
[] = {
12205 (char *) "self",(char *) "orient", NULL
12208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12213 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12215 if (!SWIG_IsOK(ecode2
)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12218 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 (arg1
)->SetOrientation(arg2
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_Py_Void();
12232 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12233 PyObject
*resultobj
= 0;
12234 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12235 wxLayoutOrientation result
;
12238 PyObject
*swig_obj
[1] ;
12240 if (!args
) SWIG_fail
;
12241 swig_obj
[0] = args
;
12242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12246 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12253 resultobj
= SWIG_From_int(static_cast< int >(result
));
12260 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12261 PyObject
*resultobj
= 0;
12262 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12263 wxLayoutAlignment arg2
;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 char * kwnames
[] = {
12271 (char *) "self",(char *) "align", NULL
12274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12276 if (!SWIG_IsOK(res1
)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12279 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12281 if (!SWIG_IsOK(ecode2
)) {
12282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12284 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 (arg1
)->SetAlignment(arg2
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= SWIG_Py_Void();
12298 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12299 PyObject
*resultobj
= 0;
12300 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12301 wxLayoutAlignment result
;
12304 PyObject
*swig_obj
[1] ;
12306 if (!args
) SWIG_fail
;
12307 swig_obj
[0] = args
;
12308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12309 if (!SWIG_IsOK(res1
)) {
12310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12312 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= SWIG_From_int(static_cast< int >(result
));
12326 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12329 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12330 return SWIG_Py_Void();
12333 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12334 return SWIG_Python_InitShadowInstance(args
);
12337 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
= 0;
12339 int arg1
= (int) 0 ;
12340 wxCalculateLayoutEvent
*result
= 0 ;
12343 PyObject
* obj0
= 0 ;
12344 char * kwnames
[] = {
12345 (char *) "id", NULL
12348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12350 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12351 if (!SWIG_IsOK(ecode1
)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12354 arg1
= static_cast< int >(val1
);
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12359 wxPyEndAllowThreads(__tstate
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12369 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12370 PyObject
*resultobj
= 0;
12371 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 char * kwnames
[] = {
12380 (char *) "self",(char *) "flags", NULL
12383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12385 if (!SWIG_IsOK(res1
)) {
12386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12388 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12390 if (!SWIG_IsOK(ecode2
)) {
12391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12393 arg2
= static_cast< int >(val2
);
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->SetFlags(arg2
);
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_Py_Void();
12407 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12408 PyObject
*resultobj
= 0;
12409 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12413 PyObject
*swig_obj
[1] ;
12415 if (!args
) SWIG_fail
;
12416 swig_obj
[0] = args
;
12417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12418 if (!SWIG_IsOK(res1
)) {
12419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12421 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_From_int(static_cast< int >(result
));
12435 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
= 0;
12437 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12442 PyObject
* obj0
= 0 ;
12443 PyObject
* obj1
= 0 ;
12444 char * kwnames
[] = {
12445 (char *) "self",(char *) "rect", NULL
12448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12450 if (!SWIG_IsOK(res1
)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12453 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12456 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 (arg1
)->SetRect((wxRect
const &)*arg2
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 resultobj
= SWIG_Py_Void();
12471 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12472 PyObject
*resultobj
= 0;
12473 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12477 PyObject
*swig_obj
[1] ;
12479 if (!args
) SWIG_fail
;
12480 swig_obj
[0] = args
;
12481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12482 if (!SWIG_IsOK(res1
)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12485 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12499 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12502 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12503 return SWIG_Py_Void();
12506 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12507 return SWIG_Python_InitShadowInstance(args
);
12510 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
= 0;
12512 wxWindow
*arg1
= (wxWindow
*) 0 ;
12513 int arg2
= (int) -1 ;
12514 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12515 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12516 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12517 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12518 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12519 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12520 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12521 wxSashLayoutWindow
*result
= 0 ;
12530 bool temp6
= false ;
12531 PyObject
* obj0
= 0 ;
12532 PyObject
* obj1
= 0 ;
12533 PyObject
* obj2
= 0 ;
12534 PyObject
* obj3
= 0 ;
12535 PyObject
* obj4
= 0 ;
12536 PyObject
* obj5
= 0 ;
12537 char * kwnames
[] = {
12538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12543 if (!SWIG_IsOK(res1
)) {
12544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12546 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12549 if (!SWIG_IsOK(ecode2
)) {
12550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12552 arg2
= static_cast< int >(val2
);
12557 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12563 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12567 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12568 if (!SWIG_IsOK(ecode5
)) {
12569 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12571 arg5
= static_cast< long >(val5
);
12575 arg6
= wxString_in_helper(obj5
);
12576 if (arg6
== NULL
) SWIG_fail
;
12581 if (!wxPyCheckForApp()) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12602 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12603 PyObject
*resultobj
= 0;
12604 wxSashLayoutWindow
*result
= 0 ;
12606 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12608 if (!wxPyCheckForApp()) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12621 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
= 0;
12623 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12624 wxWindow
*arg2
= (wxWindow
*) 0 ;
12625 int arg3
= (int) -1 ;
12626 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12627 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12628 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12629 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12630 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12631 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12632 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12644 bool temp7
= false ;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 PyObject
* obj2
= 0 ;
12648 PyObject
* obj3
= 0 ;
12649 PyObject
* obj4
= 0 ;
12650 PyObject
* obj5
= 0 ;
12651 PyObject
* obj6
= 0 ;
12652 char * kwnames
[] = {
12653 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12661 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12662 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12663 if (!SWIG_IsOK(res2
)) {
12664 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12666 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12669 if (!SWIG_IsOK(ecode3
)) {
12670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12672 arg3
= static_cast< int >(val3
);
12677 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12683 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12687 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12688 if (!SWIG_IsOK(ecode6
)) {
12689 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12691 arg6
= static_cast< long >(val6
);
12695 arg7
= wxString_in_helper(obj6
);
12696 if (arg7
== NULL
) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12723 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12724 PyObject
*resultobj
= 0;
12725 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12726 wxLayoutAlignment result
;
12729 PyObject
*swig_obj
[1] ;
12731 if (!args
) SWIG_fail
;
12732 swig_obj
[0] = args
;
12733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12734 if (!SWIG_IsOK(res1
)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12737 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_From_int(static_cast< int >(result
));
12751 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12752 PyObject
*resultobj
= 0;
12753 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12754 wxLayoutOrientation result
;
12757 PyObject
*swig_obj
[1] ;
12759 if (!args
) SWIG_fail
;
12760 swig_obj
[0] = args
;
12761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12765 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= SWIG_From_int(static_cast< int >(result
));
12779 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
= 0;
12781 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12782 wxLayoutAlignment arg2
;
12787 PyObject
* obj0
= 0 ;
12788 PyObject
* obj1
= 0 ;
12789 char * kwnames
[] = {
12790 (char *) "self",(char *) "alignment", NULL
12793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12795 if (!SWIG_IsOK(res1
)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12798 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12800 if (!SWIG_IsOK(ecode2
)) {
12801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12803 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 (arg1
)->SetAlignment(arg2
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= SWIG_Py_Void();
12817 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12818 PyObject
*resultobj
= 0;
12819 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12824 PyObject
* obj0
= 0 ;
12825 PyObject
* obj1
= 0 ;
12826 char * kwnames
[] = {
12827 (char *) "self",(char *) "size", NULL
12830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12832 if (!SWIG_IsOK(res1
)) {
12833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12835 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12838 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= SWIG_Py_Void();
12853 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
= 0;
12855 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12856 wxLayoutOrientation arg2
;
12861 PyObject
* obj0
= 0 ;
12862 PyObject
* obj1
= 0 ;
12863 char * kwnames
[] = {
12864 (char *) "self",(char *) "orientation", NULL
12867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12869 if (!SWIG_IsOK(res1
)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12872 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12874 if (!SWIG_IsOK(ecode2
)) {
12875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12877 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 (arg1
)->SetOrientation(arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_Py_Void();
12891 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12894 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12895 return SWIG_Py_Void();
12898 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12899 return SWIG_Python_InitShadowInstance(args
);
12902 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12903 PyObject
*resultobj
= 0;
12904 wxLayoutAlgorithm
*result
= 0 ;
12906 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12920 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12921 PyObject
*resultobj
= 0;
12922 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12925 PyObject
*swig_obj
[1] ;
12927 if (!args
) SWIG_fail
;
12928 swig_obj
[0] = args
;
12929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12930 if (!SWIG_IsOK(res1
)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12933 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12941 resultobj
= SWIG_Py_Void();
12948 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
= 0;
12950 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12951 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12952 wxRect
*arg3
= (wxRect
*) NULL
;
12960 PyObject
* obj0
= 0 ;
12961 PyObject
* obj1
= 0 ;
12962 PyObject
* obj2
= 0 ;
12963 char * kwnames
[] = {
12964 (char *) "self",(char *) "frame",(char *) "rect", NULL
12967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12969 if (!SWIG_IsOK(res1
)) {
12970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12972 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12974 if (!SWIG_IsOK(res2
)) {
12975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12977 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12979 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12980 if (!SWIG_IsOK(res3
)) {
12981 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12983 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12988 wxPyEndAllowThreads(__tstate
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13000 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
= 0;
13002 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13003 wxFrame
*arg2
= (wxFrame
*) 0 ;
13004 wxWindow
*arg3
= (wxWindow
*) NULL
;
13012 PyObject
* obj0
= 0 ;
13013 PyObject
* obj1
= 0 ;
13014 PyObject
* obj2
= 0 ;
13015 char * kwnames
[] = {
13016 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13021 if (!SWIG_IsOK(res1
)) {
13022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13024 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13025 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13026 if (!SWIG_IsOK(res2
)) {
13027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13029 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13031 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13032 if (!SWIG_IsOK(res3
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13035 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13052 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
= 0;
13054 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13055 wxWindow
*arg2
= (wxWindow
*) 0 ;
13056 wxWindow
*arg3
= (wxWindow
*) NULL
;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 PyObject
* obj2
= 0 ;
13067 char * kwnames
[] = {
13068 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13073 if (!SWIG_IsOK(res1
)) {
13074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13076 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13078 if (!SWIG_IsOK(res2
)) {
13079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13081 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13083 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13084 if (!SWIG_IsOK(res3
)) {
13085 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13087 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13104 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13107 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13108 return SWIG_Py_Void();
13111 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13112 return SWIG_Python_InitShadowInstance(args
);
13115 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
= 0;
13117 wxWindow
*arg1
= (wxWindow
*) 0 ;
13118 int arg2
= (int) wxBORDER_NONE
;
13119 wxPopupWindow
*result
= 0 ;
13124 PyObject
* obj0
= 0 ;
13125 PyObject
* obj1
= 0 ;
13126 char * kwnames
[] = {
13127 (char *) "parent",(char *) "flags", NULL
13130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13132 if (!SWIG_IsOK(res1
)) {
13133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13135 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13138 if (!SWIG_IsOK(ecode2
)) {
13139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13141 arg2
= static_cast< int >(val2
);
13144 if (!wxPyCheckForApp()) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13157 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13158 PyObject
*resultobj
= 0;
13159 wxPopupWindow
*result
= 0 ;
13161 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13163 if (!wxPyCheckForApp()) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (wxPopupWindow
*)new wxPopupWindow();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13176 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
= 0;
13178 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13179 wxWindow
*arg2
= (wxWindow
*) 0 ;
13180 int arg3
= (int) wxBORDER_NONE
;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 PyObject
* obj2
= 0 ;
13191 char * kwnames
[] = {
13192 (char *) "self",(char *) "parent",(char *) "flags", NULL
13195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13197 if (!SWIG_IsOK(res1
)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13200 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13202 if (!SWIG_IsOK(res2
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13205 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13208 if (!SWIG_IsOK(ecode3
)) {
13209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13211 arg3
= static_cast< int >(val3
);
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13228 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
= 0;
13230 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13231 wxPoint
*arg2
= 0 ;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 PyObject
* obj2
= 0 ;
13240 char * kwnames
[] = {
13241 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13246 if (!SWIG_IsOK(res1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13249 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13252 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13256 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= SWIG_Py_Void();
13271 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13274 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13275 return SWIG_Py_Void();
13278 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13279 return SWIG_Python_InitShadowInstance(args
);
13282 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
= 0;
13284 wxWindow
*arg1
= (wxWindow
*) 0 ;
13285 int arg2
= (int) wxBORDER_NONE
;
13286 wxPyPopupTransientWindow
*result
= 0 ;
13291 PyObject
* obj0
= 0 ;
13292 PyObject
* obj1
= 0 ;
13293 char * kwnames
[] = {
13294 (char *) "parent",(char *) "style", NULL
13297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13299 if (!SWIG_IsOK(res1
)) {
13300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13302 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13305 if (!SWIG_IsOK(ecode2
)) {
13306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13308 arg2
= static_cast< int >(val2
);
13311 if (!wxPyCheckForApp()) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13324 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13325 PyObject
*resultobj
= 0;
13326 wxPyPopupTransientWindow
*result
= 0 ;
13328 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13330 if (!wxPyCheckForApp()) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13343 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
= 0;
13345 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13346 PyObject
*arg2
= (PyObject
*) 0 ;
13347 PyObject
*arg3
= (PyObject
*) 0 ;
13350 PyObject
* obj0
= 0 ;
13351 PyObject
* obj1
= 0 ;
13352 PyObject
* obj2
= 0 ;
13353 char * kwnames
[] = {
13354 (char *) "self",(char *) "self",(char *) "_class", NULL
13357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13359 if (!SWIG_IsOK(res1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13362 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_Py_Void();
13378 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
= 0;
13380 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13381 wxWindow
*arg2
= (wxWindow
*) NULL
;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 char * kwnames
[] = {
13389 (char *) "self",(char *) "focus", NULL
13392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13394 if (!SWIG_IsOK(res1
)) {
13395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13397 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13400 if (!SWIG_IsOK(res2
)) {
13401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13403 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 (arg1
)->Popup(arg2
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= SWIG_Py_Void();
13418 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13419 PyObject
*resultobj
= 0;
13420 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13423 PyObject
*swig_obj
[1] ;
13425 if (!args
) SWIG_fail
;
13426 swig_obj
[0] = args
;
13427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13428 if (!SWIG_IsOK(res1
)) {
13429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13431 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_Py_Void();
13445 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13448 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13449 return SWIG_Py_Void();
13452 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13453 return SWIG_Python_InitShadowInstance(args
);
13456 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
= 0;
13458 wxWindow
*arg1
= (wxWindow
*) 0 ;
13459 wxString
*arg2
= 0 ;
13460 int arg3
= (int) 100 ;
13461 wxRect
*arg4
= (wxRect
*) NULL
;
13462 wxTipWindow
*result
= 0 ;
13465 bool temp2
= false ;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 PyObject
* obj2
= 0 ;
13473 PyObject
* obj3
= 0 ;
13474 char * kwnames
[] = {
13475 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13480 if (!SWIG_IsOK(res1
)) {
13481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13483 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13485 arg2
= wxString_in_helper(obj1
);
13486 if (arg2
== NULL
) SWIG_fail
;
13490 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13491 if (!SWIG_IsOK(ecode3
)) {
13492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13494 arg3
= static_cast< int >(val3
);
13497 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13498 if (!SWIG_IsOK(res4
)) {
13499 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13501 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13504 if (!wxPyCheckForApp()) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13525 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13526 PyObject
*resultobj
= 0;
13527 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13532 PyObject
* obj0
= 0 ;
13533 PyObject
* obj1
= 0 ;
13534 char * kwnames
[] = {
13535 (char *) "self",(char *) "rectBound", NULL
13538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13540 if (!SWIG_IsOK(res1
)) {
13541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13543 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13546 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_Py_Void();
13561 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13562 PyObject
*resultobj
= 0;
13563 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13566 PyObject
*swig_obj
[1] ;
13568 if (!args
) SWIG_fail
;
13569 swig_obj
[0] = args
;
13570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13571 if (!SWIG_IsOK(res1
)) {
13572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13574 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_Py_Void();
13588 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13590 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13591 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13592 return SWIG_Py_Void();
13595 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13596 return SWIG_Python_InitShadowInstance(args
);
13599 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
= 0;
13601 wxWindow
*arg1
= (wxWindow
*) 0 ;
13602 int arg2
= (int) wxID_ANY
;
13603 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13604 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13605 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13606 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13607 long arg5
= (long) 0 ;
13608 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13609 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13610 wxPyVScrolledWindow
*result
= 0 ;
13619 bool temp6
= false ;
13620 PyObject
* obj0
= 0 ;
13621 PyObject
* obj1
= 0 ;
13622 PyObject
* obj2
= 0 ;
13623 PyObject
* obj3
= 0 ;
13624 PyObject
* obj4
= 0 ;
13625 PyObject
* obj5
= 0 ;
13626 char * kwnames
[] = {
13627 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13632 if (!SWIG_IsOK(res1
)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13635 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13638 if (!SWIG_IsOK(ecode2
)) {
13639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13641 arg2
= static_cast< int >(val2
);
13646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13652 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13656 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13657 if (!SWIG_IsOK(ecode5
)) {
13658 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13660 arg5
= static_cast< long >(val5
);
13664 arg6
= wxString_in_helper(obj5
);
13665 if (arg6
== NULL
) SWIG_fail
;
13670 if (!wxPyCheckForApp()) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13691 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13692 PyObject
*resultobj
= 0;
13693 wxPyVScrolledWindow
*result
= 0 ;
13695 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13697 if (!wxPyCheckForApp()) SWIG_fail
;
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13710 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13711 PyObject
*resultobj
= 0;
13712 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13713 PyObject
*arg2
= (PyObject
*) 0 ;
13714 PyObject
*arg3
= (PyObject
*) 0 ;
13717 PyObject
* obj0
= 0 ;
13718 PyObject
* obj1
= 0 ;
13719 PyObject
* obj2
= 0 ;
13720 char * kwnames
[] = {
13721 (char *) "self",(char *) "self",(char *) "_class", NULL
13724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13726 if (!SWIG_IsOK(res1
)) {
13727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13729 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13738 resultobj
= SWIG_Py_Void();
13745 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13746 PyObject
*resultobj
= 0;
13747 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13748 wxWindow
*arg2
= (wxWindow
*) 0 ;
13749 int arg3
= (int) wxID_ANY
;
13750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13754 long arg6
= (long) 0 ;
13755 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13756 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13768 bool temp7
= false ;
13769 PyObject
* obj0
= 0 ;
13770 PyObject
* obj1
= 0 ;
13771 PyObject
* obj2
= 0 ;
13772 PyObject
* obj3
= 0 ;
13773 PyObject
* obj4
= 0 ;
13774 PyObject
* obj5
= 0 ;
13775 PyObject
* obj6
= 0 ;
13776 char * kwnames
[] = {
13777 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13782 if (!SWIG_IsOK(res1
)) {
13783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13785 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13787 if (!SWIG_IsOK(res2
)) {
13788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13790 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13793 if (!SWIG_IsOK(ecode3
)) {
13794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13796 arg3
= static_cast< int >(val3
);
13801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13811 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13812 if (!SWIG_IsOK(ecode6
)) {
13813 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13815 arg6
= static_cast< long >(val6
);
13819 arg7
= wxString_in_helper(obj6
);
13820 if (arg7
== NULL
) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13847 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
= 0;
13849 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13855 PyObject
* obj0
= 0 ;
13856 PyObject
* obj1
= 0 ;
13857 char * kwnames
[] = {
13858 (char *) "self",(char *) "count", NULL
13861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13863 if (!SWIG_IsOK(res1
)) {
13864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13866 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13867 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13868 if (!SWIG_IsOK(ecode2
)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13871 arg2
= static_cast< size_t >(val2
);
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 (arg1
)->SetLineCount(arg2
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= SWIG_Py_Void();
13885 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
= 0;
13887 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13894 PyObject
* obj0
= 0 ;
13895 PyObject
* obj1
= 0 ;
13896 char * kwnames
[] = {
13897 (char *) "self",(char *) "line", NULL
13900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13902 if (!SWIG_IsOK(res1
)) {
13903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13905 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13906 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13907 if (!SWIG_IsOK(ecode2
)) {
13908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13910 arg2
= static_cast< size_t >(val2
);
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13926 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
= 0;
13928 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13934 PyObject
* obj0
= 0 ;
13935 PyObject
* obj1
= 0 ;
13936 char * kwnames
[] = {
13937 (char *) "self",(char *) "line", NULL
13940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13942 if (!SWIG_IsOK(res1
)) {
13943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13945 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13946 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13947 if (!SWIG_IsOK(ecode2
)) {
13948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13950 arg2
= static_cast< size_t >(val2
);
13952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13953 (arg1
)->RefreshLine(arg2
);
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= SWIG_Py_Void();
13964 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13965 PyObject
*resultobj
= 0;
13966 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13975 PyObject
* obj0
= 0 ;
13976 PyObject
* obj1
= 0 ;
13977 PyObject
* obj2
= 0 ;
13978 char * kwnames
[] = {
13979 (char *) "self",(char *) "from",(char *) "to", NULL
13982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13984 if (!SWIG_IsOK(res1
)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13987 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13988 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13989 if (!SWIG_IsOK(ecode2
)) {
13990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13992 arg2
= static_cast< size_t >(val2
);
13993 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13994 if (!SWIG_IsOK(ecode3
)) {
13995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13997 arg3
= static_cast< size_t >(val3
);
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 (arg1
)->RefreshLines(arg2
,arg3
);
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= SWIG_Py_Void();
14011 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
= 0;
14013 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 PyObject
* obj2
= 0 ;
14026 char * kwnames
[] = {
14027 (char *) "self",(char *) "x",(char *) "y", NULL
14030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14032 if (!SWIG_IsOK(res1
)) {
14033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14035 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14037 if (!SWIG_IsOK(ecode2
)) {
14038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14040 arg2
= static_cast< int >(val2
);
14041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14042 if (!SWIG_IsOK(ecode3
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14045 arg3
= static_cast< int >(val3
);
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_From_int(static_cast< int >(result
));
14059 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14060 PyObject
*resultobj
= 0;
14061 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14062 wxPoint
*arg2
= 0 ;
14067 PyObject
* obj0
= 0 ;
14068 PyObject
* obj1
= 0 ;
14069 char * kwnames
[] = {
14070 (char *) "self",(char *) "pt", NULL
14073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14075 if (!SWIG_IsOK(res1
)) {
14076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14078 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14081 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= SWIG_From_int(static_cast< int >(result
));
14096 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14097 PyObject
*resultobj
= 0;
14098 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14101 PyObject
*swig_obj
[1] ;
14103 if (!args
) SWIG_fail
;
14104 swig_obj
[0] = args
;
14105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14106 if (!SWIG_IsOK(res1
)) {
14107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14109 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 (arg1
)->RefreshAll();
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= SWIG_Py_Void();
14123 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14124 PyObject
*resultobj
= 0;
14125 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14129 PyObject
*swig_obj
[1] ;
14131 if (!args
) SWIG_fail
;
14132 swig_obj
[0] = args
;
14133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14134 if (!SWIG_IsOK(res1
)) {
14135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14137 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14140 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
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_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14152 PyObject
*resultobj
= 0;
14153 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14157 PyObject
*swig_obj
[1] ;
14159 if (!args
) SWIG_fail
;
14160 swig_obj
[0] = args
;
14161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14162 if (!SWIG_IsOK(res1
)) {
14163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14165 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14168 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14179 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14180 PyObject
*resultobj
= 0;
14181 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14185 PyObject
*swig_obj
[1] ;
14187 if (!args
) SWIG_fail
;
14188 swig_obj
[0] = args
;
14189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14190 if (!SWIG_IsOK(res1
)) {
14191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14193 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14207 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
= 0;
14209 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 char * kwnames
[] = {
14219 (char *) "self",(char *) "line", NULL
14222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14224 if (!SWIG_IsOK(res1
)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14227 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14228 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14229 if (!SWIG_IsOK(ecode2
)) {
14230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14232 arg2
= static_cast< size_t >(val2
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14248 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14249 PyObject
*resultobj
= 0;
14250 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14254 PyObject
*swig_obj
[1] ;
14256 if (!args
) SWIG_fail
;
14257 swig_obj
[0] = args
;
14258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14259 if (!SWIG_IsOK(res1
)) {
14260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14262 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14276 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14277 PyObject
*resultobj
= 0;
14278 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14282 PyObject
*swig_obj
[1] ;
14284 if (!args
) SWIG_fail
;
14285 swig_obj
[0] = args
;
14286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14287 if (!SWIG_IsOK(res1
)) {
14288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14290 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14304 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
= 0;
14306 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14308 bool arg3
= (bool) false ;
14316 PyObject
* obj0
= 0 ;
14317 PyObject
* obj1
= 0 ;
14318 PyObject
* obj2
= 0 ;
14319 char * kwnames
[] = {
14320 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14325 if (!SWIG_IsOK(res1
)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14328 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14329 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14330 if (!SWIG_IsOK(ecode2
)) {
14331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14333 arg2
= static_cast< size_t >(val2
);
14335 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14336 if (!SWIG_IsOK(ecode3
)) {
14337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14339 arg3
= static_cast< bool >(val3
);
14342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14343 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14354 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
= 0;
14356 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 PyObject
* obj1
= 0 ;
14368 PyObject
* obj2
= 0 ;
14369 char * kwnames
[] = {
14370 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14375 if (!SWIG_IsOK(res1
)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14378 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14379 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14380 if (!SWIG_IsOK(ecode2
)) {
14381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14383 arg2
= static_cast< size_t >(val2
);
14384 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14385 if (!SWIG_IsOK(ecode3
)) {
14386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14388 arg3
= static_cast< size_t >(val3
);
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= SWIG_From_int(static_cast< int >(result
));
14402 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14405 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14406 return SWIG_Py_Void();
14409 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14410 return SWIG_Python_InitShadowInstance(args
);
14413 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14414 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14419 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14420 PyObject
*pyobj
= 0;
14424 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14426 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14433 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
= 0;
14435 wxWindow
*arg1
= (wxWindow
*) 0 ;
14436 int arg2
= (int) wxID_ANY
;
14437 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14438 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14439 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14440 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14441 long arg5
= (long) 0 ;
14442 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14443 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14444 wxPyVListBox
*result
= 0 ;
14453 bool temp6
= false ;
14454 PyObject
* obj0
= 0 ;
14455 PyObject
* obj1
= 0 ;
14456 PyObject
* obj2
= 0 ;
14457 PyObject
* obj3
= 0 ;
14458 PyObject
* obj4
= 0 ;
14459 PyObject
* obj5
= 0 ;
14460 char * kwnames
[] = {
14461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14466 if (!SWIG_IsOK(res1
)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14472 if (!SWIG_IsOK(ecode2
)) {
14473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14475 arg2
= static_cast< int >(val2
);
14480 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14486 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14490 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14491 if (!SWIG_IsOK(ecode5
)) {
14492 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14494 arg5
= static_cast< long >(val5
);
14498 arg6
= wxString_in_helper(obj5
);
14499 if (arg6
== NULL
) SWIG_fail
;
14504 if (!wxPyCheckForApp()) SWIG_fail
;
14505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14525 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14526 PyObject
*resultobj
= 0;
14527 wxPyVListBox
*result
= 0 ;
14529 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14531 if (!wxPyCheckForApp()) SWIG_fail
;
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (wxPyVListBox
*)new wxPyVListBox();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14544 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
= 0;
14546 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14547 PyObject
*arg2
= (PyObject
*) 0 ;
14548 PyObject
*arg3
= (PyObject
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 PyObject
* obj1
= 0 ;
14553 PyObject
* obj2
= 0 ;
14554 char * kwnames
[] = {
14555 (char *) "self",(char *) "self",(char *) "_class", NULL
14558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14560 if (!SWIG_IsOK(res1
)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14563 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= SWIG_Py_Void();
14579 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
= 0;
14581 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14582 wxWindow
*arg2
= (wxWindow
*) 0 ;
14583 int arg3
= (int) wxID_ANY
;
14584 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14585 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14586 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14587 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14588 long arg6
= (long) 0 ;
14589 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14590 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14602 bool temp7
= false ;
14603 PyObject
* obj0
= 0 ;
14604 PyObject
* obj1
= 0 ;
14605 PyObject
* obj2
= 0 ;
14606 PyObject
* obj3
= 0 ;
14607 PyObject
* obj4
= 0 ;
14608 PyObject
* obj5
= 0 ;
14609 PyObject
* obj6
= 0 ;
14610 char * kwnames
[] = {
14611 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14616 if (!SWIG_IsOK(res1
)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14619 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14620 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14621 if (!SWIG_IsOK(res2
)) {
14622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14624 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14627 if (!SWIG_IsOK(ecode3
)) {
14628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14630 arg3
= static_cast< int >(val3
);
14635 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14641 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14645 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14646 if (!SWIG_IsOK(ecode6
)) {
14647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14649 arg6
= static_cast< long >(val6
);
14653 arg7
= wxString_in_helper(obj6
);
14654 if (arg7
== NULL
) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14681 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14682 PyObject
*resultobj
= 0;
14683 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14687 PyObject
*swig_obj
[1] ;
14689 if (!args
) SWIG_fail
;
14690 swig_obj
[0] = args
;
14691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14692 if (!SWIG_IsOK(res1
)) {
14693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14695 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14709 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14710 PyObject
*resultobj
= 0;
14711 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14715 PyObject
*swig_obj
[1] ;
14717 if (!args
) SWIG_fail
;
14718 swig_obj
[0] = args
;
14719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14720 if (!SWIG_IsOK(res1
)) {
14721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14723 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14739 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14740 PyObject
*resultobj
= 0;
14741 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14745 PyObject
*swig_obj
[1] ;
14747 if (!args
) SWIG_fail
;
14748 swig_obj
[0] = args
;
14749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14750 if (!SWIG_IsOK(res1
)) {
14751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14753 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= SWIG_From_int(static_cast< int >(result
));
14767 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
= 0;
14769 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14776 PyObject
* obj0
= 0 ;
14777 PyObject
* obj1
= 0 ;
14778 char * kwnames
[] = {
14779 (char *) "self",(char *) "item", NULL
14782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14784 if (!SWIG_IsOK(res1
)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14787 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14788 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14789 if (!SWIG_IsOK(ecode2
)) {
14790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14792 arg2
= static_cast< size_t >(val2
);
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14808 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
= 0;
14810 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 PyObject
* obj1
= 0 ;
14819 char * kwnames
[] = {
14820 (char *) "self",(char *) "item", NULL
14823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14825 if (!SWIG_IsOK(res1
)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14828 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14829 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14830 if (!SWIG_IsOK(ecode2
)) {
14831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14833 arg2
= static_cast< size_t >(val2
);
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14849 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14850 PyObject
*resultobj
= 0;
14851 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14855 PyObject
*swig_obj
[1] ;
14857 if (!args
) SWIG_fail
;
14858 swig_obj
[0] = args
;
14859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14860 if (!SWIG_IsOK(res1
)) {
14861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14863 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14870 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14877 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14878 PyObject
*resultobj
= 0;
14879 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14880 PyObject
*result
= 0 ;
14883 PyObject
*swig_obj
[1] ;
14885 if (!args
) SWIG_fail
;
14886 swig_obj
[0] = args
;
14887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14888 if (!SWIG_IsOK(res1
)) {
14889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14891 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= result
;
14905 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
= 0;
14907 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14908 unsigned long arg2
;
14909 PyObject
*result
= 0 ;
14912 unsigned long val2
;
14914 PyObject
* obj0
= 0 ;
14915 PyObject
* obj1
= 0 ;
14916 char * kwnames
[] = {
14917 (char *) "self",(char *) "cookie", NULL
14920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14922 if (!SWIG_IsOK(res1
)) {
14923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14925 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14926 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14927 if (!SWIG_IsOK(ecode2
)) {
14928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14930 arg2
= static_cast< unsigned long >(val2
);
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14934 wxPyEndAllowThreads(__tstate
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= result
;
14944 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14945 PyObject
*resultobj
= 0;
14946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14950 PyObject
*swig_obj
[1] ;
14952 if (!args
) SWIG_fail
;
14953 swig_obj
[0] = args
;
14954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14955 if (!SWIG_IsOK(res1
)) {
14956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14958 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14972 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14973 PyObject
*resultobj
= 0;
14974 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14975 wxColour
*result
= 0 ;
14978 PyObject
*swig_obj
[1] ;
14980 if (!args
) SWIG_fail
;
14981 swig_obj
[0] = args
;
14982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14983 if (!SWIG_IsOK(res1
)) {
14984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14986 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14991 result
= (wxColour
*) &_result_ref
;
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15003 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
= 0;
15005 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 PyObject
* obj1
= 0 ;
15013 char * kwnames
[] = {
15014 (char *) "self",(char *) "count", NULL
15017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15019 if (!SWIG_IsOK(res1
)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15022 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15023 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15024 if (!SWIG_IsOK(ecode2
)) {
15025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15027 arg2
= static_cast< size_t >(val2
);
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 (arg1
)->SetItemCount(arg2
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= SWIG_Py_Void();
15041 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15042 PyObject
*resultobj
= 0;
15043 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15046 PyObject
*swig_obj
[1] ;
15048 if (!args
) SWIG_fail
;
15049 swig_obj
[0] = args
;
15050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15051 if (!SWIG_IsOK(res1
)) {
15052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15054 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15061 resultobj
= SWIG_Py_Void();
15068 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
= 0;
15070 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15076 PyObject
* obj0
= 0 ;
15077 PyObject
* obj1
= 0 ;
15078 char * kwnames
[] = {
15079 (char *) "self",(char *) "selection", NULL
15082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15084 if (!SWIG_IsOK(res1
)) {
15085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15087 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15089 if (!SWIG_IsOK(ecode2
)) {
15090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15092 arg2
= static_cast< int >(val2
);
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 (arg1
)->SetSelection(arg2
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_Py_Void();
15106 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15107 PyObject
*resultobj
= 0;
15108 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15110 bool arg3
= (bool) true ;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 PyObject
* obj2
= 0 ;
15121 char * kwnames
[] = {
15122 (char *) "self",(char *) "item",(char *) "select", NULL
15125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15127 if (!SWIG_IsOK(res1
)) {
15128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15130 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15131 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15132 if (!SWIG_IsOK(ecode2
)) {
15133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15135 arg2
= static_cast< size_t >(val2
);
15137 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15138 if (!SWIG_IsOK(ecode3
)) {
15139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15141 arg3
= static_cast< bool >(val3
);
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15158 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
= 0;
15160 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15170 PyObject
* obj0
= 0 ;
15171 PyObject
* obj1
= 0 ;
15172 PyObject
* obj2
= 0 ;
15173 char * kwnames
[] = {
15174 (char *) "self",(char *) "from",(char *) "to", NULL
15177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15179 if (!SWIG_IsOK(res1
)) {
15180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15182 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15183 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15184 if (!SWIG_IsOK(ecode2
)) {
15185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15187 arg2
= static_cast< size_t >(val2
);
15188 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15189 if (!SWIG_IsOK(ecode3
)) {
15190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15192 arg3
= static_cast< size_t >(val3
);
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15208 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15209 PyObject
*resultobj
= 0;
15210 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15216 PyObject
* obj0
= 0 ;
15217 PyObject
* obj1
= 0 ;
15218 char * kwnames
[] = {
15219 (char *) "self",(char *) "item", NULL
15222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15224 if (!SWIG_IsOK(res1
)) {
15225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15227 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15228 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15229 if (!SWIG_IsOK(ecode2
)) {
15230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15232 arg2
= static_cast< size_t >(val2
);
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 (arg1
)->Toggle(arg2
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= SWIG_Py_Void();
15246 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15247 PyObject
*resultobj
= 0;
15248 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15252 PyObject
*swig_obj
[1] ;
15254 if (!args
) SWIG_fail
;
15255 swig_obj
[0] = args
;
15256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15257 if (!SWIG_IsOK(res1
)) {
15258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15260 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15263 result
= (bool)(arg1
)->SelectAll();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15276 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15277 PyObject
*resultobj
= 0;
15278 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15282 PyObject
*swig_obj
[1] ;
15284 if (!args
) SWIG_fail
;
15285 swig_obj
[0] = args
;
15286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15287 if (!SWIG_IsOK(res1
)) {
15288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15290 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (bool)(arg1
)->DeselectAll();
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15306 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
= 0;
15308 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15309 wxPoint
*arg2
= 0 ;
15313 PyObject
* obj0
= 0 ;
15314 PyObject
* obj1
= 0 ;
15315 char * kwnames
[] = {
15316 (char *) "self",(char *) "pt", NULL
15319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15321 if (!SWIG_IsOK(res1
)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15324 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= SWIG_Py_Void();
15342 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
= 0;
15344 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 PyObject
* obj1
= 0 ;
15355 PyObject
* obj2
= 0 ;
15356 char * kwnames
[] = {
15357 (char *) "self",(char *) "x",(char *) "y", NULL
15360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15362 if (!SWIG_IsOK(res1
)) {
15363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15365 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15367 if (!SWIG_IsOK(ecode2
)) {
15368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15370 arg2
= static_cast< int >(val2
);
15371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15372 if (!SWIG_IsOK(ecode3
)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15375 arg3
= static_cast< int >(val3
);
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 (arg1
)->SetMargins(arg2
,arg3
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_Py_Void();
15389 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15390 PyObject
*resultobj
= 0;
15391 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15392 wxColour
*arg2
= 0 ;
15396 PyObject
* obj0
= 0 ;
15397 PyObject
* obj1
= 0 ;
15398 char * kwnames
[] = {
15399 (char *) "self",(char *) "col", NULL
15402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15404 if (!SWIG_IsOK(res1
)) {
15405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15407 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15410 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15415 wxPyEndAllowThreads(__tstate
);
15416 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= SWIG_Py_Void();
15425 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
= 0;
15427 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 PyObject
* obj2
= 0 ;
15441 PyObject
* obj3
= 0 ;
15442 char * kwnames
[] = {
15443 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15448 if (!SWIG_IsOK(res1
)) {
15449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15451 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15452 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15453 if (!SWIG_IsOK(res2
)) {
15454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15459 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15462 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15464 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15465 if (!SWIG_IsOK(ecode4
)) {
15466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15468 arg4
= static_cast< size_t >(val4
);
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15475 resultobj
= SWIG_Py_Void();
15482 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
= 0;
15484 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15495 PyObject
* obj0
= 0 ;
15496 PyObject
* obj1
= 0 ;
15497 PyObject
* obj2
= 0 ;
15498 PyObject
* obj3
= 0 ;
15499 char * kwnames
[] = {
15500 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15505 if (!SWIG_IsOK(res1
)) {
15506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15508 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15510 if (!SWIG_IsOK(res2
)) {
15511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15516 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15519 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15521 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15522 if (!SWIG_IsOK(ecode4
)) {
15523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15525 arg4
= static_cast< size_t >(val4
);
15527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15528 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_Py_Void();
15539 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15542 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15543 return SWIG_Py_Void();
15546 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15547 return SWIG_Python_InitShadowInstance(args
);
15550 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
= 0;
15552 wxWindow
*arg1
= (wxWindow
*) 0 ;
15553 int arg2
= (int) wxID_ANY
;
15554 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15555 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15556 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15557 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15558 long arg5
= (long) 0 ;
15559 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15560 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15561 wxPyHtmlListBox
*result
= 0 ;
15570 bool temp6
= false ;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 PyObject
* obj2
= 0 ;
15574 PyObject
* obj3
= 0 ;
15575 PyObject
* obj4
= 0 ;
15576 PyObject
* obj5
= 0 ;
15577 char * kwnames
[] = {
15578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15583 if (!SWIG_IsOK(res1
)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15586 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15589 if (!SWIG_IsOK(ecode2
)) {
15590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15592 arg2
= static_cast< int >(val2
);
15597 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15603 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15607 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15608 if (!SWIG_IsOK(ecode5
)) {
15609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15611 arg5
= static_cast< long >(val5
);
15615 arg6
= wxString_in_helper(obj5
);
15616 if (arg6
== NULL
) SWIG_fail
;
15621 if (!wxPyCheckForApp()) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15642 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15643 PyObject
*resultobj
= 0;
15644 wxPyHtmlListBox
*result
= 0 ;
15646 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15648 if (!wxPyCheckForApp()) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15661 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
= 0;
15663 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15664 PyObject
*arg2
= (PyObject
*) 0 ;
15665 PyObject
*arg3
= (PyObject
*) 0 ;
15668 PyObject
* obj0
= 0 ;
15669 PyObject
* obj1
= 0 ;
15670 PyObject
* obj2
= 0 ;
15671 char * kwnames
[] = {
15672 (char *) "self",(char *) "self",(char *) "_class", NULL
15675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15677 if (!SWIG_IsOK(res1
)) {
15678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15680 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= SWIG_Py_Void();
15696 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
= 0;
15698 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15699 wxWindow
*arg2
= (wxWindow
*) 0 ;
15700 int arg3
= (int) wxID_ANY
;
15701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15705 long arg6
= (long) 0 ;
15706 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15707 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15719 bool temp7
= false ;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 PyObject
* obj2
= 0 ;
15723 PyObject
* obj3
= 0 ;
15724 PyObject
* obj4
= 0 ;
15725 PyObject
* obj5
= 0 ;
15726 PyObject
* obj6
= 0 ;
15727 char * kwnames
[] = {
15728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15733 if (!SWIG_IsOK(res1
)) {
15734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15736 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15738 if (!SWIG_IsOK(res2
)) {
15739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15741 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15744 if (!SWIG_IsOK(ecode3
)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15747 arg3
= static_cast< int >(val3
);
15752 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15758 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15762 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15763 if (!SWIG_IsOK(ecode6
)) {
15764 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15766 arg6
= static_cast< long >(val6
);
15770 arg7
= wxString_in_helper(obj6
);
15771 if (arg7
== NULL
) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15798 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
= 0;
15800 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 char * kwnames
[] = {
15809 (char *) "self",(char *) "count", NULL
15812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15814 if (!SWIG_IsOK(res1
)) {
15815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15817 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15818 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15819 if (!SWIG_IsOK(ecode2
)) {
15820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15822 arg2
= static_cast< size_t >(val2
);
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 (arg1
)->SetItemCount(arg2
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= SWIG_Py_Void();
15836 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15837 PyObject
*resultobj
= 0;
15838 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15839 wxFileSystem
*result
= 0 ;
15842 PyObject
*swig_obj
[1] ;
15844 if (!args
) SWIG_fail
;
15845 swig_obj
[0] = args
;
15846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15850 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15855 result
= (wxFileSystem
*) &_result_ref
;
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15867 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
= 0;
15869 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15871 wxHtmlLinkInfo
*arg3
= 0 ;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 PyObject
* obj2
= 0 ;
15881 char * kwnames
[] = {
15882 (char *) "self",(char *) "n",(char *) "link", NULL
15885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15887 if (!SWIG_IsOK(res1
)) {
15888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15890 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15891 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15892 if (!SWIG_IsOK(ecode2
)) {
15893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15895 arg2
= static_cast< size_t >(val2
);
15896 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15897 if (!SWIG_IsOK(res3
)) {
15898 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15903 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= SWIG_Py_Void();
15917 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15920 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15921 return SWIG_Py_Void();
15924 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15925 return SWIG_Python_InitShadowInstance(args
);
15928 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15929 PyObject
*resultobj
= 0;
15930 wxPyTaskBarIcon
*result
= 0 ;
15932 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15934 if (!wxPyCheckForApp()) SWIG_fail
;
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15947 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15948 PyObject
*resultobj
= 0;
15949 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15952 PyObject
*swig_obj
[1] ;
15954 if (!args
) SWIG_fail
;
15955 swig_obj
[0] = args
;
15956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15957 if (!SWIG_IsOK(res1
)) {
15958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15960 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= SWIG_Py_Void();
15975 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
= 0;
15977 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15978 PyObject
*arg2
= (PyObject
*) 0 ;
15979 PyObject
*arg3
= (PyObject
*) 0 ;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 PyObject
* obj2
= 0 ;
15988 PyObject
* obj3
= 0 ;
15989 char * kwnames
[] = {
15990 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15995 if (!SWIG_IsOK(res1
)) {
15996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15998 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16001 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16002 if (!SWIG_IsOK(ecode4
)) {
16003 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16005 arg4
= static_cast< int >(val4
);
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16012 resultobj
= SWIG_Py_Void();
16019 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16020 PyObject
*resultobj
= 0;
16021 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16024 PyObject
*swig_obj
[1] ;
16026 if (!args
) SWIG_fail
;
16027 swig_obj
[0] = args
;
16028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16029 if (!SWIG_IsOK(res1
)) {
16030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16032 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 wxPyTaskBarIcon_Destroy(arg1
);
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16039 resultobj
= SWIG_Py_Void();
16046 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16047 PyObject
*resultobj
= 0;
16048 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16052 PyObject
*swig_obj
[1] ;
16054 if (!args
) SWIG_fail
;
16055 swig_obj
[0] = args
;
16056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16057 if (!SWIG_IsOK(res1
)) {
16058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16060 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16076 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16077 PyObject
*resultobj
= 0;
16078 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16082 PyObject
*swig_obj
[1] ;
16084 if (!args
) SWIG_fail
;
16085 swig_obj
[0] = args
;
16086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16087 if (!SWIG_IsOK(res1
)) {
16088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16090 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16094 wxPyEndAllowThreads(__tstate
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16106 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16107 PyObject
*resultobj
= 0;
16108 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16110 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16111 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16117 bool temp3
= false ;
16118 PyObject
* obj0
= 0 ;
16119 PyObject
* obj1
= 0 ;
16120 PyObject
* obj2
= 0 ;
16121 char * kwnames
[] = {
16122 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16127 if (!SWIG_IsOK(res1
)) {
16128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16130 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16132 if (!SWIG_IsOK(res2
)) {
16133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16138 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16141 arg3
= wxString_in_helper(obj2
);
16142 if (arg3
== NULL
) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16169 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16170 PyObject
*resultobj
= 0;
16171 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16175 PyObject
*swig_obj
[1] ;
16177 if (!args
) SWIG_fail
;
16178 swig_obj
[0] = args
;
16179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16180 if (!SWIG_IsOK(res1
)) {
16181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16183 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (bool)(arg1
)->RemoveIcon();
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16199 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
= 0;
16201 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16202 wxMenu
*arg2
= (wxMenu
*) 0 ;
16208 PyObject
* obj0
= 0 ;
16209 PyObject
* obj1
= 0 ;
16210 char * kwnames
[] = {
16211 (char *) "self",(char *) "menu", NULL
16214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16216 if (!SWIG_IsOK(res1
)) {
16217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16219 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16221 if (!SWIG_IsOK(res2
)) {
16222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16224 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= (bool)(arg1
)->PopupMenu(arg2
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16240 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16243 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16244 return SWIG_Py_Void();
16247 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16248 return SWIG_Python_InitShadowInstance(args
);
16251 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
= 0;
16254 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16255 wxTaskBarIconEvent
*result
= 0 ;
16260 PyObject
* obj0
= 0 ;
16261 PyObject
* obj1
= 0 ;
16262 char * kwnames
[] = {
16263 (char *) "evtType",(char *) "tbIcon", NULL
16266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16267 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16268 if (!SWIG_IsOK(ecode1
)) {
16269 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16271 arg1
= static_cast< wxEventType
>(val1
);
16272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16273 if (!SWIG_IsOK(res2
)) {
16274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16276 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16290 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16293 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16294 return SWIG_Py_Void();
16297 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16298 return SWIG_Python_InitShadowInstance(args
);
16301 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16302 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16307 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16308 PyObject
*pyobj
= 0;
16312 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16314 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16321 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16322 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16327 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16328 PyObject
*pyobj
= 0;
16332 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16334 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16341 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16342 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16347 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16348 PyObject
*pyobj
= 0;
16352 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16354 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16361 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16362 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16367 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16368 PyObject
*pyobj
= 0;
16372 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16374 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16381 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16382 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16387 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16388 PyObject
*pyobj
= 0;
16392 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16394 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16401 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16402 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16407 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16408 PyObject
*pyobj
= 0;
16412 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16414 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16421 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16422 PyObject
*resultobj
= 0;
16423 wxColourData
*result
= 0 ;
16425 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (wxColourData
*)new wxColourData();
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16439 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16440 PyObject
*resultobj
= 0;
16441 wxColourData
*arg1
= (wxColourData
*) 0 ;
16444 PyObject
*swig_obj
[1] ;
16446 if (!args
) SWIG_fail
;
16447 swig_obj
[0] = args
;
16448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16449 if (!SWIG_IsOK(res1
)) {
16450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16452 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= SWIG_Py_Void();
16467 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16468 PyObject
*resultobj
= 0;
16469 wxColourData
*arg1
= (wxColourData
*) 0 ;
16473 PyObject
*swig_obj
[1] ;
16475 if (!args
) SWIG_fail
;
16476 swig_obj
[0] = args
;
16477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16478 if (!SWIG_IsOK(res1
)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16481 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 result
= (bool)(arg1
)->GetChooseFull();
16485 wxPyEndAllowThreads(__tstate
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16497 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16498 PyObject
*resultobj
= 0;
16499 wxColourData
*arg1
= (wxColourData
*) 0 ;
16503 PyObject
*swig_obj
[1] ;
16505 if (!args
) SWIG_fail
;
16506 swig_obj
[0] = args
;
16507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16508 if (!SWIG_IsOK(res1
)) {
16509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16511 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (arg1
)->GetColour();
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16525 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
= 0;
16527 wxColourData
*arg1
= (wxColourData
*) 0 ;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 char * kwnames
[] = {
16537 (char *) "self",(char *) "i", NULL
16540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16542 if (!SWIG_IsOK(res1
)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16545 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16547 if (!SWIG_IsOK(ecode2
)) {
16548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16550 arg2
= static_cast< int >(val2
);
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (arg1
)->GetCustomColour(arg2
);
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16564 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
= 0;
16566 wxColourData
*arg1
= (wxColourData
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 char * kwnames
[] = {
16575 (char *) "self",(char *) "flag", NULL
16578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16580 if (!SWIG_IsOK(res1
)) {
16581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16583 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16585 if (!SWIG_IsOK(ecode2
)) {
16586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16588 arg2
= static_cast< int >(val2
);
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 (arg1
)->SetChooseFull(arg2
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= SWIG_Py_Void();
16602 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
= 0;
16604 wxColourData
*arg1
= (wxColourData
*) 0 ;
16605 wxColour
*arg2
= 0 ;
16609 PyObject
* obj0
= 0 ;
16610 PyObject
* obj1
= 0 ;
16611 char * kwnames
[] = {
16612 (char *) "self",(char *) "colour", NULL
16615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16617 if (!SWIG_IsOK(res1
)) {
16618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16620 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16623 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 (arg1
)->SetColour((wxColour
const &)*arg2
);
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= SWIG_Py_Void();
16638 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16639 PyObject
*resultobj
= 0;
16640 wxColourData
*arg1
= (wxColourData
*) 0 ;
16642 wxColour
*arg3
= 0 ;
16648 PyObject
* obj0
= 0 ;
16649 PyObject
* obj1
= 0 ;
16650 PyObject
* obj2
= 0 ;
16651 char * kwnames
[] = {
16652 (char *) "self",(char *) "i",(char *) "colour", NULL
16655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16657 if (!SWIG_IsOK(res1
)) {
16658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16660 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16662 if (!SWIG_IsOK(ecode2
)) {
16663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16665 arg2
= static_cast< int >(val2
);
16668 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= SWIG_Py_Void();
16683 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16686 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16687 return SWIG_Py_Void();
16690 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16691 return SWIG_Python_InitShadowInstance(args
);
16694 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
= 0;
16696 wxWindow
*arg1
= (wxWindow
*) 0 ;
16697 wxColourData
*arg2
= (wxColourData
*) NULL
;
16698 wxColourDialog
*result
= 0 ;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 char * kwnames
[] = {
16706 (char *) "parent",(char *) "data", NULL
16709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16711 if (!SWIG_IsOK(res1
)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16716 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16717 if (!SWIG_IsOK(res2
)) {
16718 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16720 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16723 if (!wxPyCheckForApp()) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16736 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16737 PyObject
*resultobj
= 0;
16738 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16739 wxColourData
*result
= 0 ;
16742 PyObject
*swig_obj
[1] ;
16744 if (!args
) SWIG_fail
;
16745 swig_obj
[0] = args
;
16746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16747 if (!SWIG_IsOK(res1
)) {
16748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16750 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16755 result
= (wxColourData
*) &_result_ref
;
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16767 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16770 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16771 return SWIG_Py_Void();
16774 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16775 return SWIG_Python_InitShadowInstance(args
);
16778 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
= 0;
16780 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16781 wxColour
const &arg2_defvalue
= wxNullColour
;
16782 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16783 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16784 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16789 bool temp3
= false ;
16790 PyObject
* obj0
= 0 ;
16791 PyObject
* obj1
= 0 ;
16792 PyObject
* obj2
= 0 ;
16793 char * kwnames
[] = {
16794 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16800 if (!SWIG_IsOK(res1
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16803 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16813 arg3
= wxString_in_helper(obj2
);
16814 if (arg3
== NULL
) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16839 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
= 0;
16841 wxWindow
*arg1
= (wxWindow
*) 0 ;
16842 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16843 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16844 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16845 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16846 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16847 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16848 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16849 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16850 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16851 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16852 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16853 wxDirDialog
*result
= 0 ;
16856 bool temp2
= false ;
16857 bool temp3
= false ;
16862 bool temp7
= false ;
16863 PyObject
* obj0
= 0 ;
16864 PyObject
* obj1
= 0 ;
16865 PyObject
* obj2
= 0 ;
16866 PyObject
* obj3
= 0 ;
16867 PyObject
* obj4
= 0 ;
16868 PyObject
* obj5
= 0 ;
16869 PyObject
* obj6
= 0 ;
16870 char * kwnames
[] = {
16871 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16876 if (!SWIG_IsOK(res1
)) {
16877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16879 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16882 arg2
= wxString_in_helper(obj1
);
16883 if (arg2
== NULL
) SWIG_fail
;
16889 arg3
= wxString_in_helper(obj2
);
16890 if (arg3
== NULL
) SWIG_fail
;
16895 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16896 if (!SWIG_IsOK(ecode4
)) {
16897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16899 arg4
= static_cast< long >(val4
);
16904 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16910 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16915 arg7
= wxString_in_helper(obj6
);
16916 if (arg7
== NULL
) SWIG_fail
;
16921 if (!wxPyCheckForApp()) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16958 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16959 PyObject
*resultobj
= 0;
16960 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16964 PyObject
*swig_obj
[1] ;
16966 if (!args
) SWIG_fail
;
16967 swig_obj
[0] = args
;
16968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16969 if (!SWIG_IsOK(res1
)) {
16970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16972 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= (arg1
)->GetPath();
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16992 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16993 PyObject
*resultobj
= 0;
16994 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16998 PyObject
*swig_obj
[1] ;
17000 if (!args
) SWIG_fail
;
17001 swig_obj
[0] = args
;
17002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17003 if (!SWIG_IsOK(res1
)) {
17004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17006 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (arg1
)->GetMessage();
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17026 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
= 0;
17028 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17029 wxString
*arg2
= 0 ;
17032 bool temp2
= false ;
17033 PyObject
* obj0
= 0 ;
17034 PyObject
* obj1
= 0 ;
17035 char * kwnames
[] = {
17036 (char *) "self",(char *) "message", NULL
17039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17041 if (!SWIG_IsOK(res1
)) {
17042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17044 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17046 arg2
= wxString_in_helper(obj1
);
17047 if (arg2
== NULL
) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 (arg1
)->SetMessage((wxString
const &)*arg2
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= SWIG_Py_Void();
17071 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
= 0;
17073 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17074 wxString
*arg2
= 0 ;
17077 bool temp2
= false ;
17078 PyObject
* obj0
= 0 ;
17079 PyObject
* obj1
= 0 ;
17080 char * kwnames
[] = {
17081 (char *) "self",(char *) "path", NULL
17084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17086 if (!SWIG_IsOK(res1
)) {
17087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17089 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17091 arg2
= wxString_in_helper(obj1
);
17092 if (arg2
== NULL
) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 (arg1
)->SetPath((wxString
const &)*arg2
);
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= SWIG_Py_Void();
17116 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17119 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17120 return SWIG_Py_Void();
17123 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17124 return SWIG_Python_InitShadowInstance(args
);
17127 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
= 0;
17129 wxWindow
*arg1
= (wxWindow
*) 0 ;
17130 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17131 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17132 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17133 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17134 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17135 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17136 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17137 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17138 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17139 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17140 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17141 wxFileDialog
*result
= 0 ;
17144 bool temp2
= false ;
17145 bool temp3
= false ;
17146 bool temp4
= false ;
17147 bool temp5
= false ;
17151 PyObject
* obj0
= 0 ;
17152 PyObject
* obj1
= 0 ;
17153 PyObject
* obj2
= 0 ;
17154 PyObject
* obj3
= 0 ;
17155 PyObject
* obj4
= 0 ;
17156 PyObject
* obj5
= 0 ;
17157 PyObject
* obj6
= 0 ;
17158 char * kwnames
[] = {
17159 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17164 if (!SWIG_IsOK(res1
)) {
17165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17167 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17170 arg2
= wxString_in_helper(obj1
);
17171 if (arg2
== NULL
) SWIG_fail
;
17177 arg3
= wxString_in_helper(obj2
);
17178 if (arg3
== NULL
) SWIG_fail
;
17184 arg4
= wxString_in_helper(obj3
);
17185 if (arg4
== NULL
) SWIG_fail
;
17191 arg5
= wxString_in_helper(obj4
);
17192 if (arg5
== NULL
) SWIG_fail
;
17197 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17198 if (!SWIG_IsOK(ecode6
)) {
17199 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17201 arg6
= static_cast< long >(val6
);
17206 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17210 if (!wxPyCheckForApp()) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17213 wxPyEndAllowThreads(__tstate
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17255 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
= 0;
17257 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17258 wxString
*arg2
= 0 ;
17261 bool temp2
= false ;
17262 PyObject
* obj0
= 0 ;
17263 PyObject
* obj1
= 0 ;
17264 char * kwnames
[] = {
17265 (char *) "self",(char *) "message", NULL
17268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17270 if (!SWIG_IsOK(res1
)) {
17271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17273 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17275 arg2
= wxString_in_helper(obj1
);
17276 if (arg2
== NULL
) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 (arg1
)->SetMessage((wxString
const &)*arg2
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= SWIG_Py_Void();
17300 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
= 0;
17302 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17303 wxString
*arg2
= 0 ;
17306 bool temp2
= false ;
17307 PyObject
* obj0
= 0 ;
17308 PyObject
* obj1
= 0 ;
17309 char * kwnames
[] = {
17310 (char *) "self",(char *) "path", NULL
17313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17315 if (!SWIG_IsOK(res1
)) {
17316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17318 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17320 arg2
= wxString_in_helper(obj1
);
17321 if (arg2
== NULL
) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 (arg1
)->SetPath((wxString
const &)*arg2
);
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= SWIG_Py_Void();
17345 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
= 0;
17347 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17348 wxString
*arg2
= 0 ;
17351 bool temp2
= false ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char * kwnames
[] = {
17355 (char *) "self",(char *) "dir", NULL
17358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17360 if (!SWIG_IsOK(res1
)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17363 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17365 arg2
= wxString_in_helper(obj1
);
17366 if (arg2
== NULL
) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_Py_Void();
17390 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
= 0;
17392 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17393 wxString
*arg2
= 0 ;
17396 bool temp2
= false ;
17397 PyObject
* obj0
= 0 ;
17398 PyObject
* obj1
= 0 ;
17399 char * kwnames
[] = {
17400 (char *) "self",(char *) "name", NULL
17403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17405 if (!SWIG_IsOK(res1
)) {
17406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17408 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17410 arg2
= wxString_in_helper(obj1
);
17411 if (arg2
== NULL
) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 (arg1
)->SetFilename((wxString
const &)*arg2
);
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= SWIG_Py_Void();
17435 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
= 0;
17437 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17438 wxString
*arg2
= 0 ;
17441 bool temp2
= false ;
17442 PyObject
* obj0
= 0 ;
17443 PyObject
* obj1
= 0 ;
17444 char * kwnames
[] = {
17445 (char *) "self",(char *) "wildCard", NULL
17448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17450 if (!SWIG_IsOK(res1
)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17453 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17455 arg2
= wxString_in_helper(obj1
);
17456 if (arg2
== NULL
) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_Py_Void();
17480 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
= 0;
17482 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 char * kwnames
[] = {
17491 (char *) "self",(char *) "filterIndex", NULL
17494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17496 if (!SWIG_IsOK(res1
)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17499 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17501 if (!SWIG_IsOK(ecode2
)) {
17502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17504 arg2
= static_cast< int >(val2
);
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 (arg1
)->SetFilterIndex(arg2
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= SWIG_Py_Void();
17518 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17519 PyObject
*resultobj
= 0;
17520 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17524 PyObject
*swig_obj
[1] ;
17526 if (!args
) SWIG_fail
;
17527 swig_obj
[0] = args
;
17528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17529 if (!SWIG_IsOK(res1
)) {
17530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17532 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17552 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17553 PyObject
*resultobj
= 0;
17554 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17558 PyObject
*swig_obj
[1] ;
17560 if (!args
) SWIG_fail
;
17561 swig_obj
[0] = args
;
17562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17563 if (!SWIG_IsOK(res1
)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17566 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17586 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17587 PyObject
*resultobj
= 0;
17588 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17592 PyObject
*swig_obj
[1] ;
17594 if (!args
) SWIG_fail
;
17595 swig_obj
[0] = args
;
17596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17597 if (!SWIG_IsOK(res1
)) {
17598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17600 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17603 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17620 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17621 PyObject
*resultobj
= 0;
17622 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17626 PyObject
*swig_obj
[1] ;
17628 if (!args
) SWIG_fail
;
17629 swig_obj
[0] = args
;
17630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17631 if (!SWIG_IsOK(res1
)) {
17632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17634 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17654 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17655 PyObject
*resultobj
= 0;
17656 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17660 PyObject
*swig_obj
[1] ;
17662 if (!args
) SWIG_fail
;
17663 swig_obj
[0] = args
;
17664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17665 if (!SWIG_IsOK(res1
)) {
17666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17668 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17688 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17689 PyObject
*resultobj
= 0;
17690 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17694 PyObject
*swig_obj
[1] ;
17696 if (!args
) SWIG_fail
;
17697 swig_obj
[0] = args
;
17698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17699 if (!SWIG_IsOK(res1
)) {
17700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17702 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= SWIG_From_int(static_cast< int >(result
));
17716 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17717 PyObject
*resultobj
= 0;
17718 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17719 PyObject
*result
= 0 ;
17722 PyObject
*swig_obj
[1] ;
17724 if (!args
) SWIG_fail
;
17725 swig_obj
[0] = args
;
17726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17727 if (!SWIG_IsOK(res1
)) {
17728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17730 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= result
;
17744 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17745 PyObject
*resultobj
= 0;
17746 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17747 PyObject
*result
= 0 ;
17750 PyObject
*swig_obj
[1] ;
17752 if (!args
) SWIG_fail
;
17753 swig_obj
[0] = args
;
17754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17755 if (!SWIG_IsOK(res1
)) {
17756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17758 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 resultobj
= result
;
17772 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17775 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17776 return SWIG_Py_Void();
17779 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17780 return SWIG_Python_InitShadowInstance(args
);
17783 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
= 0;
17785 wxWindow
*arg1
= (wxWindow
*) 0 ;
17786 wxString
*arg2
= 0 ;
17787 wxString
*arg3
= 0 ;
17788 int arg4
= (int) 0 ;
17789 wxString
*arg5
= (wxString
*) NULL
;
17790 long arg6
= (long) wxCHOICEDLG_STYLE
;
17791 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17792 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17793 wxMultiChoiceDialog
*result
= 0 ;
17796 bool temp2
= false ;
17797 bool temp3
= false ;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 PyObject
* obj2
= 0 ;
17804 PyObject
* obj3
= 0 ;
17805 PyObject
* obj4
= 0 ;
17806 PyObject
* obj5
= 0 ;
17807 char * kwnames
[] = {
17808 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17813 if (!SWIG_IsOK(res1
)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17816 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17818 arg2
= wxString_in_helper(obj1
);
17819 if (arg2
== NULL
) SWIG_fail
;
17823 arg3
= wxString_in_helper(obj2
);
17824 if (arg3
== NULL
) SWIG_fail
;
17829 arg4
= PyList_Size(obj3
);
17830 arg5
= wxString_LIST_helper(obj3
);
17831 if (arg5
== NULL
) SWIG_fail
;
17835 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17836 if (!SWIG_IsOK(ecode6
)) {
17837 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17839 arg6
= static_cast< long >(val6
);
17844 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17848 if (!wxPyCheckForApp()) SWIG_fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17864 if (arg5
) delete [] arg5
;
17877 if (arg5
) delete [] arg5
;
17883 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
= 0;
17885 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17886 wxArrayInt
*arg2
= 0 ;
17889 bool temp2
= false ;
17890 PyObject
* obj0
= 0 ;
17891 PyObject
* obj1
= 0 ;
17892 char * kwnames
[] = {
17893 (char *) "self",(char *) "selections", NULL
17896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17898 if (!SWIG_IsOK(res1
)) {
17899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17901 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17903 if (! PySequence_Check(obj1
)) {
17904 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17907 arg2
= new wxArrayInt
;
17909 int i
, len
=PySequence_Length(obj1
);
17910 for (i
=0; i
<len
; i
++) {
17911 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17912 PyObject
* number
= PyNumber_Int(item
);
17913 arg2
->Add(PyInt_AS_LONG(number
));
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= SWIG_Py_Void();
17926 if (temp2
) delete arg2
;
17931 if (temp2
) delete arg2
;
17937 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17938 PyObject
*resultobj
= 0;
17939 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17940 PyObject
*result
= 0 ;
17943 PyObject
*swig_obj
[1] ;
17945 if (!args
) SWIG_fail
;
17946 swig_obj
[0] = args
;
17947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17948 if (!SWIG_IsOK(res1
)) {
17949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17951 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= result
;
17965 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17968 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17969 return SWIG_Py_Void();
17972 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17973 return SWIG_Python_InitShadowInstance(args
);
17976 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
= 0;
17978 wxWindow
*arg1
= (wxWindow
*) 0 ;
17979 wxString
*arg2
= 0 ;
17980 wxString
*arg3
= 0 ;
17982 wxString
*arg5
= (wxString
*) 0 ;
17983 long arg6
= (long) wxCHOICEDLG_STYLE
;
17984 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17985 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17986 wxSingleChoiceDialog
*result
= 0 ;
17989 bool temp2
= false ;
17990 bool temp3
= false ;
17994 PyObject
* obj0
= 0 ;
17995 PyObject
* obj1
= 0 ;
17996 PyObject
* obj2
= 0 ;
17997 PyObject
* obj3
= 0 ;
17998 PyObject
* obj4
= 0 ;
17999 PyObject
* obj5
= 0 ;
18000 char * kwnames
[] = {
18001 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18006 if (!SWIG_IsOK(res1
)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18009 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18011 arg2
= wxString_in_helper(obj1
);
18012 if (arg2
== NULL
) SWIG_fail
;
18016 arg3
= wxString_in_helper(obj2
);
18017 if (arg3
== NULL
) SWIG_fail
;
18021 arg4
= PyList_Size(obj3
);
18022 arg5
= wxString_LIST_helper(obj3
);
18023 if (arg5
== NULL
) SWIG_fail
;
18026 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18027 if (!SWIG_IsOK(ecode6
)) {
18028 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18030 arg6
= static_cast< long >(val6
);
18035 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18039 if (!wxPyCheckForApp()) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18055 if (arg5
) delete [] arg5
;
18068 if (arg5
) delete [] arg5
;
18074 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18075 PyObject
*resultobj
= 0;
18076 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18080 PyObject
*swig_obj
[1] ;
18082 if (!args
) SWIG_fail
;
18083 swig_obj
[0] = args
;
18084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18085 if (!SWIG_IsOK(res1
)) {
18086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18088 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (int)(arg1
)->GetSelection();
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= SWIG_From_int(static_cast< int >(result
));
18102 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18103 PyObject
*resultobj
= 0;
18104 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18108 PyObject
*swig_obj
[1] ;
18110 if (!args
) SWIG_fail
;
18111 swig_obj
[0] = args
;
18112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18113 if (!SWIG_IsOK(res1
)) {
18114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18116 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (arg1
)->GetStringSelection();
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18136 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18137 PyObject
*resultobj
= 0;
18138 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18144 PyObject
* obj0
= 0 ;
18145 PyObject
* obj1
= 0 ;
18146 char * kwnames
[] = {
18147 (char *) "self",(char *) "sel", NULL
18150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18152 if (!SWIG_IsOK(res1
)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18155 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18157 if (!SWIG_IsOK(ecode2
)) {
18158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18160 arg2
= static_cast< int >(val2
);
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 (arg1
)->SetSelection(arg2
);
18164 wxPyEndAllowThreads(__tstate
);
18165 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= SWIG_Py_Void();
18174 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18177 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18178 return SWIG_Py_Void();
18181 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18182 return SWIG_Python_InitShadowInstance(args
);
18185 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
= 0;
18187 wxWindow
*arg1
= (wxWindow
*) 0 ;
18188 wxString
*arg2
= 0 ;
18189 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18191 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18192 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18193 long arg5
= (long) wxTextEntryDialogStyle
;
18194 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18195 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18196 wxTextEntryDialog
*result
= 0 ;
18199 bool temp2
= false ;
18200 bool temp3
= false ;
18201 bool temp4
= false ;
18205 PyObject
* obj0
= 0 ;
18206 PyObject
* obj1
= 0 ;
18207 PyObject
* obj2
= 0 ;
18208 PyObject
* obj3
= 0 ;
18209 PyObject
* obj4
= 0 ;
18210 PyObject
* obj5
= 0 ;
18211 char * kwnames
[] = {
18212 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18217 if (!SWIG_IsOK(res1
)) {
18218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18220 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18222 arg2
= wxString_in_helper(obj1
);
18223 if (arg2
== NULL
) SWIG_fail
;
18228 arg3
= wxString_in_helper(obj2
);
18229 if (arg3
== NULL
) SWIG_fail
;
18235 arg4
= wxString_in_helper(obj3
);
18236 if (arg4
== NULL
) SWIG_fail
;
18241 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18242 if (!SWIG_IsOK(ecode5
)) {
18243 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18245 arg5
= static_cast< long >(val5
);
18250 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18254 if (!wxPyCheckForApp()) SWIG_fail
;
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18291 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18292 PyObject
*resultobj
= 0;
18293 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18297 PyObject
*swig_obj
[1] ;
18299 if (!args
) SWIG_fail
;
18300 swig_obj
[0] = args
;
18301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18302 if (!SWIG_IsOK(res1
)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18305 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (arg1
)->GetValue();
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18325 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
= 0;
18327 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18328 wxString
*arg2
= 0 ;
18331 bool temp2
= false ;
18332 PyObject
* obj0
= 0 ;
18333 PyObject
* obj1
= 0 ;
18334 char * kwnames
[] = {
18335 (char *) "self",(char *) "value", NULL
18338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18340 if (!SWIG_IsOK(res1
)) {
18341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18343 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18345 arg2
= wxString_in_helper(obj1
);
18346 if (arg2
== NULL
) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 (arg1
)->SetValue((wxString
const &)*arg2
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_Py_Void();
18370 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18373 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18374 return SWIG_Py_Void();
18377 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18378 return SWIG_Python_InitShadowInstance(args
);
18381 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18382 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18387 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18388 PyObject
*pyobj
= 0;
18392 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18394 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18401 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
= 0;
18403 wxWindow
*arg1
= (wxWindow
*) 0 ;
18404 wxString
*arg2
= 0 ;
18405 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18406 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18407 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18408 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18409 long arg5
= (long) wxTextEntryDialogStyle
;
18410 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18411 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18412 wxPasswordEntryDialog
*result
= 0 ;
18415 bool temp2
= false ;
18416 bool temp3
= false ;
18417 bool temp4
= false ;
18421 PyObject
* obj0
= 0 ;
18422 PyObject
* obj1
= 0 ;
18423 PyObject
* obj2
= 0 ;
18424 PyObject
* obj3
= 0 ;
18425 PyObject
* obj4
= 0 ;
18426 PyObject
* obj5
= 0 ;
18427 char * kwnames
[] = {
18428 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18433 if (!SWIG_IsOK(res1
)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18438 arg2
= wxString_in_helper(obj1
);
18439 if (arg2
== NULL
) SWIG_fail
;
18444 arg3
= wxString_in_helper(obj2
);
18445 if (arg3
== NULL
) SWIG_fail
;
18451 arg4
= wxString_in_helper(obj3
);
18452 if (arg4
== NULL
) SWIG_fail
;
18457 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18458 if (!SWIG_IsOK(ecode5
)) {
18459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18461 arg5
= static_cast< long >(val5
);
18466 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18506 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18509 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18510 return SWIG_Py_Void();
18513 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18514 return SWIG_Python_InitShadowInstance(args
);
18517 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
= 0;
18519 wxWindow
*arg1
= (wxWindow
*) 0 ;
18520 wxString
*arg2
= 0 ;
18521 wxString
*arg3
= 0 ;
18522 wxString
*arg4
= 0 ;
18526 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18527 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18528 wxNumberEntryDialog
*result
= 0 ;
18531 bool temp2
= false ;
18532 bool temp3
= false ;
18533 bool temp4
= false ;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 PyObject
* obj2
= 0 ;
18544 PyObject
* obj3
= 0 ;
18545 PyObject
* obj4
= 0 ;
18546 PyObject
* obj5
= 0 ;
18547 PyObject
* obj6
= 0 ;
18548 PyObject
* obj7
= 0 ;
18549 char * kwnames
[] = {
18550 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18555 if (!SWIG_IsOK(res1
)) {
18556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18558 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18560 arg2
= wxString_in_helper(obj1
);
18561 if (arg2
== NULL
) SWIG_fail
;
18565 arg3
= wxString_in_helper(obj2
);
18566 if (arg3
== NULL
) SWIG_fail
;
18570 arg4
= wxString_in_helper(obj3
);
18571 if (arg4
== NULL
) SWIG_fail
;
18574 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18575 if (!SWIG_IsOK(ecode5
)) {
18576 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18578 arg5
= static_cast< long >(val5
);
18579 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18580 if (!SWIG_IsOK(ecode6
)) {
18581 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18583 arg6
= static_cast< long >(val6
);
18584 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18585 if (!SWIG_IsOK(ecode7
)) {
18586 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18588 arg7
= static_cast< long >(val7
);
18592 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18596 if (!wxPyCheckForApp()) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18633 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18634 PyObject
*resultobj
= 0;
18635 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18639 PyObject
*swig_obj
[1] ;
18641 if (!args
) SWIG_fail
;
18642 swig_obj
[0] = args
;
18643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18644 if (!SWIG_IsOK(res1
)) {
18645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18647 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 result
= (long)(arg1
)->GetValue();
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_From_long(static_cast< long >(result
));
18661 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18664 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18665 return SWIG_Py_Void();
18668 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18669 return SWIG_Python_InitShadowInstance(args
);
18672 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18673 PyObject
*resultobj
= 0;
18674 wxFontData
*result
= 0 ;
18676 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (wxFontData
*)new wxFontData();
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18690 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18691 PyObject
*resultobj
= 0;
18692 wxFontData
*arg1
= (wxFontData
*) 0 ;
18695 PyObject
*swig_obj
[1] ;
18697 if (!args
) SWIG_fail
;
18698 swig_obj
[0] = args
;
18699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18700 if (!SWIG_IsOK(res1
)) {
18701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18703 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_Py_Void();
18718 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
= 0;
18720 wxFontData
*arg1
= (wxFontData
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 PyObject
* obj1
= 0 ;
18728 char * kwnames
[] = {
18729 (char *) "self",(char *) "enable", NULL
18732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18734 if (!SWIG_IsOK(res1
)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18737 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18738 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18739 if (!SWIG_IsOK(ecode2
)) {
18740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18742 arg2
= static_cast< bool >(val2
);
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 (arg1
)->EnableEffects(arg2
);
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= SWIG_Py_Void();
18756 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18757 PyObject
*resultobj
= 0;
18758 wxFontData
*arg1
= (wxFontData
*) 0 ;
18762 PyObject
*swig_obj
[1] ;
18764 if (!args
) SWIG_fail
;
18765 swig_obj
[0] = args
;
18766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18767 if (!SWIG_IsOK(res1
)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18770 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (bool)(arg1
)->GetAllowSymbols();
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18786 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18787 PyObject
*resultobj
= 0;
18788 wxFontData
*arg1
= (wxFontData
*) 0 ;
18792 PyObject
*swig_obj
[1] ;
18794 if (!args
) SWIG_fail
;
18795 swig_obj
[0] = args
;
18796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18797 if (!SWIG_IsOK(res1
)) {
18798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18800 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (arg1
)->GetColour();
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18807 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18814 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18815 PyObject
*resultobj
= 0;
18816 wxFontData
*arg1
= (wxFontData
*) 0 ;
18820 PyObject
*swig_obj
[1] ;
18822 if (!args
) SWIG_fail
;
18823 swig_obj
[0] = args
;
18824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18825 if (!SWIG_IsOK(res1
)) {
18826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18828 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= (arg1
)->GetChosenFont();
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18842 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18843 PyObject
*resultobj
= 0;
18844 wxFontData
*arg1
= (wxFontData
*) 0 ;
18848 PyObject
*swig_obj
[1] ;
18850 if (!args
) SWIG_fail
;
18851 swig_obj
[0] = args
;
18852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18853 if (!SWIG_IsOK(res1
)) {
18854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18856 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 result
= (bool)(arg1
)->GetEnableEffects();
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18872 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18873 PyObject
*resultobj
= 0;
18874 wxFontData
*arg1
= (wxFontData
*) 0 ;
18878 PyObject
*swig_obj
[1] ;
18880 if (!args
) SWIG_fail
;
18881 swig_obj
[0] = args
;
18882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18883 if (!SWIG_IsOK(res1
)) {
18884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18886 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 result
= (arg1
)->GetInitialFont();
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18900 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18901 PyObject
*resultobj
= 0;
18902 wxFontData
*arg1
= (wxFontData
*) 0 ;
18906 PyObject
*swig_obj
[1] ;
18908 if (!args
) SWIG_fail
;
18909 swig_obj
[0] = args
;
18910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18911 if (!SWIG_IsOK(res1
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18914 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (bool)(arg1
)->GetShowHelp();
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18930 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(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 *) "allowSymbols", NULL
18944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",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_SetAllowSymbols" "', 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_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18954 arg2
= static_cast< bool >(val2
);
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 (arg1
)->SetAllowSymbols(arg2
);
18958 wxPyEndAllowThreads(__tstate
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 resultobj
= SWIG_Py_Void();
18968 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
= 0;
18970 wxFontData
*arg1
= (wxFontData
*) 0 ;
18976 PyObject
* obj0
= 0 ;
18977 PyObject
* obj1
= 0 ;
18978 char * kwnames
[] = {
18979 (char *) "self",(char *) "font", NULL
18982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18984 if (!SWIG_IsOK(res1
)) {
18985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18987 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18989 if (!SWIG_IsOK(res2
)) {
18990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18995 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= SWIG_Py_Void();
19009 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
= 0;
19011 wxFontData
*arg1
= (wxFontData
*) 0 ;
19012 wxColour
*arg2
= 0 ;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 char * kwnames
[] = {
19019 (char *) "self",(char *) "colour", NULL
19022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19024 if (!SWIG_IsOK(res1
)) {
19025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19027 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19030 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->SetColour((wxColour
const &)*arg2
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= SWIG_Py_Void();
19045 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
= 0;
19047 wxFontData
*arg1
= (wxFontData
*) 0 ;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 char * kwnames
[] = {
19056 (char *) "self",(char *) "font", NULL
19059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19061 if (!SWIG_IsOK(res1
)) {
19062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19064 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19066 if (!SWIG_IsOK(res2
)) {
19067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19072 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19079 resultobj
= SWIG_Py_Void();
19086 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
= 0;
19088 wxFontData
*arg1
= (wxFontData
*) 0 ;
19097 PyObject
* obj0
= 0 ;
19098 PyObject
* obj1
= 0 ;
19099 PyObject
* obj2
= 0 ;
19100 char * kwnames
[] = {
19101 (char *) "self",(char *) "min",(char *) "max", NULL
19104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19106 if (!SWIG_IsOK(res1
)) {
19107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19109 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19111 if (!SWIG_IsOK(ecode2
)) {
19112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19114 arg2
= static_cast< int >(val2
);
19115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19116 if (!SWIG_IsOK(ecode3
)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19119 arg3
= static_cast< int >(val3
);
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 (arg1
)->SetRange(arg2
,arg3
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= SWIG_Py_Void();
19133 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
= 0;
19135 wxFontData
*arg1
= (wxFontData
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char * kwnames
[] = {
19144 (char *) "self",(char *) "showHelp", NULL
19147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19149 if (!SWIG_IsOK(res1
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19152 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19153 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19154 if (!SWIG_IsOK(ecode2
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19157 arg2
= static_cast< bool >(val2
);
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 (arg1
)->SetShowHelp(arg2
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= SWIG_Py_Void();
19171 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19174 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19175 return SWIG_Py_Void();
19178 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19179 return SWIG_Python_InitShadowInstance(args
);
19182 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
= 0;
19184 wxWindow
*arg1
= (wxWindow
*) 0 ;
19185 wxFontData
*arg2
= 0 ;
19186 wxFontDialog
*result
= 0 ;
19191 PyObject
* obj0
= 0 ;
19192 PyObject
* obj1
= 0 ;
19193 char * kwnames
[] = {
19194 (char *) "parent",(char *) "data", NULL
19197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19199 if (!SWIG_IsOK(res1
)) {
19200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19204 if (!SWIG_IsOK(res2
)) {
19205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19210 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19212 if (!wxPyCheckForApp()) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19225 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19226 PyObject
*resultobj
= 0;
19227 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19228 wxFontData
*result
= 0 ;
19231 PyObject
*swig_obj
[1] ;
19233 if (!args
) SWIG_fail
;
19234 swig_obj
[0] = args
;
19235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19236 if (!SWIG_IsOK(res1
)) {
19237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19239 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19244 result
= (wxFontData
*) &_result_ref
;
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19256 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19258 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19259 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19260 return SWIG_Py_Void();
19263 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19264 return SWIG_Python_InitShadowInstance(args
);
19267 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
= 0;
19269 wxWindow
*arg1
= (wxWindow
*) NULL
;
19270 wxFont
const &arg2_defvalue
= wxNullFont
;
19271 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19272 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19273 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19279 bool temp3
= false ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 PyObject
* obj2
= 0 ;
19283 char * kwnames
[] = {
19284 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19290 if (!SWIG_IsOK(res1
)) {
19291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19293 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19297 if (!SWIG_IsOK(res2
)) {
19298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19303 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19307 arg3
= wxString_in_helper(obj2
);
19308 if (arg3
== NULL
) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19318 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19333 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
= 0;
19335 wxWindow
*arg1
= (wxWindow
*) 0 ;
19336 wxString
*arg2
= 0 ;
19337 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19338 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19339 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19340 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19341 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19342 wxMessageDialog
*result
= 0 ;
19345 bool temp2
= false ;
19346 bool temp3
= false ;
19350 PyObject
* obj0
= 0 ;
19351 PyObject
* obj1
= 0 ;
19352 PyObject
* obj2
= 0 ;
19353 PyObject
* obj3
= 0 ;
19354 PyObject
* obj4
= 0 ;
19355 char * kwnames
[] = {
19356 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19361 if (!SWIG_IsOK(res1
)) {
19362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19366 arg2
= wxString_in_helper(obj1
);
19367 if (arg2
== NULL
) SWIG_fail
;
19372 arg3
= wxString_in_helper(obj2
);
19373 if (arg3
== NULL
) SWIG_fail
;
19378 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19379 if (!SWIG_IsOK(ecode4
)) {
19380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19382 arg4
= static_cast< long >(val4
);
19387 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19391 if (!wxPyCheckForApp()) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19420 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19423 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19424 return SWIG_Py_Void();
19427 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19428 return SWIG_Python_InitShadowInstance(args
);
19431 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
= 0;
19433 wxString
*arg1
= 0 ;
19434 wxString
*arg2
= 0 ;
19435 int arg3
= (int) 100 ;
19436 wxWindow
*arg4
= (wxWindow
*) NULL
;
19437 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19438 wxProgressDialog
*result
= 0 ;
19439 bool temp1
= false ;
19440 bool temp2
= false ;
19447 PyObject
* obj0
= 0 ;
19448 PyObject
* obj1
= 0 ;
19449 PyObject
* obj2
= 0 ;
19450 PyObject
* obj3
= 0 ;
19451 PyObject
* obj4
= 0 ;
19452 char * kwnames
[] = {
19453 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19458 arg1
= wxString_in_helper(obj0
);
19459 if (arg1
== NULL
) SWIG_fail
;
19463 arg2
= wxString_in_helper(obj1
);
19464 if (arg2
== NULL
) SWIG_fail
;
19468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19469 if (!SWIG_IsOK(ecode3
)) {
19470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19472 arg3
= static_cast< int >(val3
);
19475 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19476 if (!SWIG_IsOK(res4
)) {
19477 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19479 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19482 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19483 if (!SWIG_IsOK(ecode5
)) {
19484 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19486 arg5
= static_cast< int >(val5
);
19489 if (!wxPyCheckForApp()) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19518 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
= 0;
19520 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19522 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19523 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19524 bool *arg4
= (bool *) 0 ;
19530 bool temp3
= false ;
19532 int res4
= SWIG_TMPOBJ
;
19533 PyObject
* obj0
= 0 ;
19534 PyObject
* obj1
= 0 ;
19535 PyObject
* obj2
= 0 ;
19536 char * kwnames
[] = {
19537 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19543 if (!SWIG_IsOK(res1
)) {
19544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19546 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19548 if (!SWIG_IsOK(ecode2
)) {
19549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19551 arg2
= static_cast< int >(val2
);
19554 arg3
= wxString_in_helper(obj2
);
19555 if (arg3
== NULL
) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19568 if (SWIG_IsTmpObj(res4
)) {
19569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19571 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19588 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
= 0;
19590 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19591 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19592 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19593 bool *arg3
= (bool *) 0 ;
19597 bool temp2
= false ;
19599 int res3
= SWIG_TMPOBJ
;
19600 PyObject
* obj0
= 0 ;
19601 PyObject
* obj1
= 0 ;
19602 char * kwnames
[] = {
19603 (char *) "self",(char *) "newmsg", NULL
19607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19609 if (!SWIG_IsOK(res1
)) {
19610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19612 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19615 arg2
= wxString_in_helper(obj1
);
19616 if (arg2
== NULL
) SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19629 if (SWIG_IsTmpObj(res3
)) {
19630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19632 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19649 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19650 PyObject
*resultobj
= 0;
19651 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19654 PyObject
*swig_obj
[1] ;
19656 if (!args
) SWIG_fail
;
19657 swig_obj
[0] = args
;
19658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19659 if (!SWIG_IsOK(res1
)) {
19660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19662 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 resultobj
= SWIG_Py_Void();
19676 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19679 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19680 return SWIG_Py_Void();
19683 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19684 return SWIG_Python_InitShadowInstance(args
);
19687 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
= 0;
19689 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19690 int arg2
= (int) 0 ;
19691 wxFindDialogEvent
*result
= 0 ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 char * kwnames
[] = {
19699 (char *) "commandType",(char *) "id", NULL
19702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19705 if (!SWIG_IsOK(ecode1
)) {
19706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19708 arg1
= static_cast< wxEventType
>(val1
);
19711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19712 if (!SWIG_IsOK(ecode2
)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19715 arg2
= static_cast< int >(val2
);
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19730 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19731 PyObject
*resultobj
= 0;
19732 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19736 PyObject
*swig_obj
[1] ;
19738 if (!args
) SWIG_fail
;
19739 swig_obj
[0] = args
;
19740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19741 if (!SWIG_IsOK(res1
)) {
19742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19744 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (int)(arg1
)->GetFlags();
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= SWIG_From_int(static_cast< int >(result
));
19758 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19759 PyObject
*resultobj
= 0;
19760 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19761 wxString
*result
= 0 ;
19764 PyObject
*swig_obj
[1] ;
19766 if (!args
) SWIG_fail
;
19767 swig_obj
[0] = args
;
19768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19769 if (!SWIG_IsOK(res1
)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19772 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19776 wxString
const &_result_ref
= (arg1
)->GetFindString();
19777 result
= (wxString
*) &_result_ref
;
19779 wxPyEndAllowThreads(__tstate
);
19780 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19786 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19795 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19796 PyObject
*resultobj
= 0;
19797 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 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_wxFindDialogEvent
, 0 | 0 );
19806 if (!SWIG_IsOK(res1
)) {
19807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19809 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
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_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19833 PyObject
*resultobj
= 0;
19834 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19835 wxFindReplaceDialog
*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_wxFindDialogEvent
, 0 | 0 );
19843 if (!SWIG_IsOK(res1
)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19846 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19860 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
= 0;
19862 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 PyObject
* obj1
= 0 ;
19870 char * kwnames
[] = {
19871 (char *) "self",(char *) "flags", NULL
19874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19876 if (!SWIG_IsOK(res1
)) {
19877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19879 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19881 if (!SWIG_IsOK(ecode2
)) {
19882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19884 arg2
= static_cast< int >(val2
);
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 (arg1
)->SetFlags(arg2
);
19888 wxPyEndAllowThreads(__tstate
);
19889 if (PyErr_Occurred()) SWIG_fail
;
19891 resultobj
= SWIG_Py_Void();
19898 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
= 0;
19900 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19901 wxString
*arg2
= 0 ;
19904 bool temp2
= false ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 char * kwnames
[] = {
19908 (char *) "self",(char *) "str", NULL
19911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19913 if (!SWIG_IsOK(res1
)) {
19914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19916 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19918 arg2
= wxString_in_helper(obj1
);
19919 if (arg2
== NULL
) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 (arg1
)->SetFindString((wxString
const &)*arg2
);
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 resultobj
= SWIG_Py_Void();
19943 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
= 0;
19945 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19946 wxString
*arg2
= 0 ;
19949 bool temp2
= false ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char * kwnames
[] = {
19953 (char *) "self",(char *) "str", NULL
19956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19958 if (!SWIG_IsOK(res1
)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19961 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19963 arg2
= wxString_in_helper(obj1
);
19964 if (arg2
== NULL
) SWIG_fail
;
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= SWIG_Py_Void();
19988 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19991 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19992 return SWIG_Py_Void();
19995 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19996 return SWIG_Python_InitShadowInstance(args
);
19999 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
= 0;
20001 int arg1
= (int) 0 ;
20002 wxFindReplaceData
*result
= 0 ;
20005 PyObject
* obj0
= 0 ;
20006 char * kwnames
[] = {
20007 (char *) "flags", NULL
20010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20013 if (!SWIG_IsOK(ecode1
)) {
20014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20016 arg1
= static_cast< int >(val1
);
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20031 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20032 PyObject
*resultobj
= 0;
20033 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20036 PyObject
*swig_obj
[1] ;
20038 if (!args
) SWIG_fail
;
20039 swig_obj
[0] = args
;
20040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20041 if (!SWIG_IsOK(res1
)) {
20042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20044 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= SWIG_Py_Void();
20059 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20060 PyObject
*resultobj
= 0;
20061 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20062 wxString
*result
= 0 ;
20065 PyObject
*swig_obj
[1] ;
20067 if (!args
) SWIG_fail
;
20068 swig_obj
[0] = args
;
20069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20070 if (!SWIG_IsOK(res1
)) {
20071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20073 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 wxString
const &_result_ref
= (arg1
)->GetFindString();
20078 result
= (wxString
*) &_result_ref
;
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20085 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20087 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20096 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20097 PyObject
*resultobj
= 0;
20098 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20099 wxString
*result
= 0 ;
20102 PyObject
*swig_obj
[1] ;
20104 if (!args
) SWIG_fail
;
20105 swig_obj
[0] = args
;
20106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20107 if (!SWIG_IsOK(res1
)) {
20108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20110 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20115 result
= (wxString
*) &_result_ref
;
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20124 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20133 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20134 PyObject
*resultobj
= 0;
20135 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20139 PyObject
*swig_obj
[1] ;
20141 if (!args
) SWIG_fail
;
20142 swig_obj
[0] = args
;
20143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20144 if (!SWIG_IsOK(res1
)) {
20145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20147 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 result
= (int)(arg1
)->GetFlags();
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= SWIG_From_int(static_cast< int >(result
));
20161 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
= 0;
20163 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 char * kwnames
[] = {
20172 (char *) "self",(char *) "flags", NULL
20175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20177 if (!SWIG_IsOK(res1
)) {
20178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20180 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20182 if (!SWIG_IsOK(ecode2
)) {
20183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20185 arg2
= static_cast< int >(val2
);
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 (arg1
)->SetFlags(arg2
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 resultobj
= SWIG_Py_Void();
20199 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
= 0;
20201 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20202 wxString
*arg2
= 0 ;
20205 bool temp2
= false ;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 char * kwnames
[] = {
20209 (char *) "self",(char *) "str", NULL
20212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20214 if (!SWIG_IsOK(res1
)) {
20215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20217 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20219 arg2
= wxString_in_helper(obj1
);
20220 if (arg2
== NULL
) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 (arg1
)->SetFindString((wxString
const &)*arg2
);
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20229 resultobj
= SWIG_Py_Void();
20244 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
= 0;
20246 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20247 wxString
*arg2
= 0 ;
20250 bool temp2
= false ;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char * kwnames
[] = {
20254 (char *) "self",(char *) "str", NULL
20257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20259 if (!SWIG_IsOK(res1
)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20262 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20264 arg2
= wxString_in_helper(obj1
);
20265 if (arg2
== NULL
) SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= SWIG_Py_Void();
20289 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20292 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20293 return SWIG_Py_Void();
20296 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20297 return SWIG_Python_InitShadowInstance(args
);
20300 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20301 PyObject
*resultobj
= 0;
20302 wxWindow
*arg1
= (wxWindow
*) 0 ;
20303 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20304 wxString
*arg3
= 0 ;
20305 int arg4
= (int) 0 ;
20306 wxFindReplaceDialog
*result
= 0 ;
20311 bool temp3
= false ;
20314 PyObject
* obj0
= 0 ;
20315 PyObject
* obj1
= 0 ;
20316 PyObject
* obj2
= 0 ;
20317 PyObject
* obj3
= 0 ;
20318 char * kwnames
[] = {
20319 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20324 if (!SWIG_IsOK(res1
)) {
20325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20327 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20329 if (!SWIG_IsOK(res2
)) {
20330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20332 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20334 arg3
= wxString_in_helper(obj2
);
20335 if (arg3
== NULL
) SWIG_fail
;
20339 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20340 if (!SWIG_IsOK(ecode4
)) {
20341 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20343 arg4
= static_cast< int >(val4
);
20346 if (!wxPyCheckForApp()) SWIG_fail
;
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20367 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20368 PyObject
*resultobj
= 0;
20369 wxFindReplaceDialog
*result
= 0 ;
20371 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20373 if (!wxPyCheckForApp()) SWIG_fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20386 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
= 0;
20388 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20389 wxWindow
*arg2
= (wxWindow
*) 0 ;
20390 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20391 wxString
*arg4
= 0 ;
20392 int arg5
= (int) 0 ;
20400 bool temp4
= false ;
20403 PyObject
* obj0
= 0 ;
20404 PyObject
* obj1
= 0 ;
20405 PyObject
* obj2
= 0 ;
20406 PyObject
* obj3
= 0 ;
20407 PyObject
* obj4
= 0 ;
20408 char * kwnames
[] = {
20409 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20414 if (!SWIG_IsOK(res1
)) {
20415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20417 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20419 if (!SWIG_IsOK(res2
)) {
20420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20422 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20423 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20424 if (!SWIG_IsOK(res3
)) {
20425 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20427 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20429 arg4
= wxString_in_helper(obj3
);
20430 if (arg4
== NULL
) SWIG_fail
;
20434 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20435 if (!SWIG_IsOK(ecode5
)) {
20436 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20438 arg5
= static_cast< int >(val5
);
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20443 wxPyEndAllowThreads(__tstate
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20463 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20464 PyObject
*resultobj
= 0;
20465 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20466 wxFindReplaceData
*result
= 0 ;
20469 PyObject
*swig_obj
[1] ;
20471 if (!args
) SWIG_fail
;
20472 swig_obj
[0] = args
;
20473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20474 if (!SWIG_IsOK(res1
)) {
20475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20477 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20491 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
= 0;
20493 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20494 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 char * kwnames
[] = {
20502 (char *) "self",(char *) "data", NULL
20505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20507 if (!SWIG_IsOK(res1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20510 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20512 if (!SWIG_IsOK(res2
)) {
20513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20515 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 (arg1
)->SetData(arg2
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= SWIG_Py_Void();
20529 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20531 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20532 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20533 return SWIG_Py_Void();
20536 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20537 return SWIG_Python_InitShadowInstance(args
);
20540 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
= 0;
20542 wxWindow
*arg1
= (wxWindow
*) 0 ;
20543 int arg2
= (int) (int)-1 ;
20544 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20545 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20546 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20547 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20548 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20549 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20550 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20551 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20552 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20553 wxMDIParentFrame
*result
= 0 ;
20558 bool temp3
= false ;
20563 bool temp7
= false ;
20564 PyObject
* obj0
= 0 ;
20565 PyObject
* obj1
= 0 ;
20566 PyObject
* obj2
= 0 ;
20567 PyObject
* obj3
= 0 ;
20568 PyObject
* obj4
= 0 ;
20569 PyObject
* obj5
= 0 ;
20570 PyObject
* obj6
= 0 ;
20571 char * kwnames
[] = {
20572 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20577 if (!SWIG_IsOK(res1
)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20580 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20583 if (!SWIG_IsOK(ecode2
)) {
20584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20586 arg2
= static_cast< int >(val2
);
20590 arg3
= wxString_in_helper(obj2
);
20591 if (arg3
== NULL
) SWIG_fail
;
20598 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20604 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20608 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20609 if (!SWIG_IsOK(ecode6
)) {
20610 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20612 arg6
= static_cast< long >(val6
);
20616 arg7
= wxString_in_helper(obj6
);
20617 if (arg7
== NULL
) SWIG_fail
;
20622 if (!wxPyCheckForApp()) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20651 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20652 PyObject
*resultobj
= 0;
20653 wxMDIParentFrame
*result
= 0 ;
20655 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20657 if (!wxPyCheckForApp()) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20670 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
= 0;
20672 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20673 wxWindow
*arg2
= (wxWindow
*) 0 ;
20674 int arg3
= (int) (int)-1 ;
20675 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20676 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20677 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20678 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20679 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20680 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20681 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20682 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20683 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20691 bool temp4
= false ;
20696 bool temp8
= false ;
20697 PyObject
* obj0
= 0 ;
20698 PyObject
* obj1
= 0 ;
20699 PyObject
* obj2
= 0 ;
20700 PyObject
* obj3
= 0 ;
20701 PyObject
* obj4
= 0 ;
20702 PyObject
* obj5
= 0 ;
20703 PyObject
* obj6
= 0 ;
20704 PyObject
* obj7
= 0 ;
20705 char * kwnames
[] = {
20706 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20711 if (!SWIG_IsOK(res1
)) {
20712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20714 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20715 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20716 if (!SWIG_IsOK(res2
)) {
20717 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20719 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20722 if (!SWIG_IsOK(ecode3
)) {
20723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20725 arg3
= static_cast< int >(val3
);
20729 arg4
= wxString_in_helper(obj3
);
20730 if (arg4
== NULL
) SWIG_fail
;
20737 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20743 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20747 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20748 if (!SWIG_IsOK(ecode7
)) {
20749 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20751 arg7
= static_cast< long >(val7
);
20755 arg8
= wxString_in_helper(obj7
);
20756 if (arg8
== NULL
) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20791 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20792 PyObject
*resultobj
= 0;
20793 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20796 PyObject
*swig_obj
[1] ;
20798 if (!args
) SWIG_fail
;
20799 swig_obj
[0] = args
;
20800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20801 if (!SWIG_IsOK(res1
)) {
20802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20804 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 (arg1
)->ActivateNext();
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_Py_Void();
20818 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20819 PyObject
*resultobj
= 0;
20820 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20823 PyObject
*swig_obj
[1] ;
20825 if (!args
) SWIG_fail
;
20826 swig_obj
[0] = args
;
20827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20828 if (!SWIG_IsOK(res1
)) {
20829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20831 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 (arg1
)->ActivatePrevious();
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= SWIG_Py_Void();
20845 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20846 PyObject
*resultobj
= 0;
20847 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20850 PyObject
*swig_obj
[1] ;
20852 if (!args
) SWIG_fail
;
20853 swig_obj
[0] = args
;
20854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20855 if (!SWIG_IsOK(res1
)) {
20856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20858 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 (arg1
)->ArrangeIcons();
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= SWIG_Py_Void();
20872 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20873 PyObject
*resultobj
= 0;
20874 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20877 PyObject
*swig_obj
[1] ;
20879 if (!args
) SWIG_fail
;
20880 swig_obj
[0] = args
;
20881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20882 if (!SWIG_IsOK(res1
)) {
20883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20885 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 wxPyEndAllowThreads(__tstate
);
20890 if (PyErr_Occurred()) SWIG_fail
;
20892 resultobj
= SWIG_Py_Void();
20899 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20900 PyObject
*resultobj
= 0;
20901 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20902 wxMDIChildFrame
*result
= 0 ;
20905 PyObject
*swig_obj
[1] ;
20907 if (!args
) SWIG_fail
;
20908 swig_obj
[0] = args
;
20909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20910 if (!SWIG_IsOK(res1
)) {
20911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20913 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20929 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20930 PyObject
*resultobj
= 0;
20931 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20932 wxMDIClientWindow
*result
= 0 ;
20935 PyObject
*swig_obj
[1] ;
20937 if (!args
) SWIG_fail
;
20938 swig_obj
[0] = args
;
20939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20940 if (!SWIG_IsOK(res1
)) {
20941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20943 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20951 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20959 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
= 0;
20961 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20962 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20967 PyObject
* obj0
= 0 ;
20968 PyObject
* obj1
= 0 ;
20969 char * kwnames
[] = {
20970 (char *) "self",(char *) "orient", NULL
20973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20975 if (!SWIG_IsOK(res1
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20978 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20981 if (!SWIG_IsOK(ecode2
)) {
20982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20984 arg2
= static_cast< wxOrientation
>(val2
);
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 (arg1
)->Tile(arg2
);
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= SWIG_Py_Void();
20999 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21002 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21003 return SWIG_Py_Void();
21006 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21007 return SWIG_Python_InitShadowInstance(args
);
21010 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
= 0;
21012 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21013 int arg2
= (int) (int)-1 ;
21014 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21015 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21016 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21017 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21018 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21019 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21020 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21021 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21022 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21023 wxMDIChildFrame
*result
= 0 ;
21028 bool temp3
= false ;
21033 bool temp7
= false ;
21034 PyObject
* obj0
= 0 ;
21035 PyObject
* obj1
= 0 ;
21036 PyObject
* obj2
= 0 ;
21037 PyObject
* obj3
= 0 ;
21038 PyObject
* obj4
= 0 ;
21039 PyObject
* obj5
= 0 ;
21040 PyObject
* obj6
= 0 ;
21041 char * kwnames
[] = {
21042 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21047 if (!SWIG_IsOK(res1
)) {
21048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21050 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21053 if (!SWIG_IsOK(ecode2
)) {
21054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21056 arg2
= static_cast< int >(val2
);
21060 arg3
= wxString_in_helper(obj2
);
21061 if (arg3
== NULL
) SWIG_fail
;
21068 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21074 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21078 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21079 if (!SWIG_IsOK(ecode6
)) {
21080 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21082 arg6
= static_cast< long >(val6
);
21086 arg7
= wxString_in_helper(obj6
);
21087 if (arg7
== NULL
) SWIG_fail
;
21092 if (!wxPyCheckForApp()) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21121 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21122 PyObject
*resultobj
= 0;
21123 wxMDIChildFrame
*result
= 0 ;
21125 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21127 if (!wxPyCheckForApp()) SWIG_fail
;
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21140 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
= 0;
21142 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21143 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21144 int arg3
= (int) (int)-1 ;
21145 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21146 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21147 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21148 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21149 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21150 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21151 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21152 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21153 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21161 bool temp4
= false ;
21166 bool temp8
= false ;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21169 PyObject
* obj2
= 0 ;
21170 PyObject
* obj3
= 0 ;
21171 PyObject
* obj4
= 0 ;
21172 PyObject
* obj5
= 0 ;
21173 PyObject
* obj6
= 0 ;
21174 PyObject
* obj7
= 0 ;
21175 char * kwnames
[] = {
21176 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21181 if (!SWIG_IsOK(res1
)) {
21182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21184 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21186 if (!SWIG_IsOK(res2
)) {
21187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21189 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21192 if (!SWIG_IsOK(ecode3
)) {
21193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21195 arg3
= static_cast< int >(val3
);
21199 arg4
= wxString_in_helper(obj3
);
21200 if (arg4
== NULL
) SWIG_fail
;
21207 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21213 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21217 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21218 if (!SWIG_IsOK(ecode7
)) {
21219 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21221 arg7
= static_cast< long >(val7
);
21225 arg8
= wxString_in_helper(obj7
);
21226 if (arg8
== NULL
) SWIG_fail
;
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21261 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21262 PyObject
*resultobj
= 0;
21263 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21266 PyObject
*swig_obj
[1] ;
21268 if (!args
) SWIG_fail
;
21269 swig_obj
[0] = args
;
21270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21271 if (!SWIG_IsOK(res1
)) {
21272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21274 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 (arg1
)->Activate();
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= SWIG_Py_Void();
21288 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21291 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21292 return SWIG_Py_Void();
21295 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21296 return SWIG_Python_InitShadowInstance(args
);
21299 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
= 0;
21301 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21302 long arg2
= (long) 0 ;
21303 wxMDIClientWindow
*result
= 0 ;
21308 PyObject
* obj0
= 0 ;
21309 PyObject
* obj1
= 0 ;
21310 char * kwnames
[] = {
21311 (char *) "parent",(char *) "style", NULL
21314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21316 if (!SWIG_IsOK(res1
)) {
21317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21319 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21321 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21322 if (!SWIG_IsOK(ecode2
)) {
21323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21325 arg2
= static_cast< long >(val2
);
21328 if (!wxPyCheckForApp()) SWIG_fail
;
21329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21330 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21341 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21342 PyObject
*resultobj
= 0;
21343 wxMDIClientWindow
*result
= 0 ;
21345 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21347 if (!wxPyCheckForApp()) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21360 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
= 0;
21362 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21363 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21364 long arg3
= (long) 0 ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 PyObject
* obj2
= 0 ;
21375 char * kwnames
[] = {
21376 (char *) "self",(char *) "parent",(char *) "style", NULL
21379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21381 if (!SWIG_IsOK(res1
)) {
21382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21384 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21386 if (!SWIG_IsOK(res2
)) {
21387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21389 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21391 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21392 if (!SWIG_IsOK(ecode3
)) {
21393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21395 arg3
= static_cast< long >(val3
);
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21412 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21415 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21416 return SWIG_Py_Void();
21419 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21420 return SWIG_Python_InitShadowInstance(args
);
21423 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
= 0;
21425 wxWindow
*arg1
= (wxWindow
*) 0 ;
21426 int arg2
= (int) (int)-1 ;
21427 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21428 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21429 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21430 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21431 long arg5
= (long) 0 ;
21432 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21433 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21434 wxPyWindow
*result
= 0 ;
21443 bool temp6
= false ;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 PyObject
* obj2
= 0 ;
21447 PyObject
* obj3
= 0 ;
21448 PyObject
* obj4
= 0 ;
21449 PyObject
* obj5
= 0 ;
21450 char * kwnames
[] = {
21451 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21456 if (!SWIG_IsOK(res1
)) {
21457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21459 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21462 if (!SWIG_IsOK(ecode2
)) {
21463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21465 arg2
= static_cast< int >(val2
);
21470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21476 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21480 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21481 if (!SWIG_IsOK(ecode5
)) {
21482 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21484 arg5
= static_cast< long >(val5
);
21488 arg6
= wxString_in_helper(obj5
);
21489 if (arg6
== NULL
) SWIG_fail
;
21494 if (!wxPyCheckForApp()) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21515 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21516 PyObject
*resultobj
= 0;
21517 wxPyWindow
*result
= 0 ;
21519 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21521 if (!wxPyCheckForApp()) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= (wxPyWindow
*)new wxPyWindow();
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21534 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
= 0;
21536 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21537 PyObject
*arg2
= (PyObject
*) 0 ;
21538 PyObject
*arg3
= (PyObject
*) 0 ;
21541 PyObject
* obj0
= 0 ;
21542 PyObject
* obj1
= 0 ;
21543 PyObject
* obj2
= 0 ;
21544 char * kwnames
[] = {
21545 (char *) "self",(char *) "self",(char *) "_class", NULL
21548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21550 if (!SWIG_IsOK(res1
)) {
21551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21553 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21562 resultobj
= SWIG_Py_Void();
21569 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21570 PyObject
*resultobj
= 0;
21571 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21572 wxDC
*arg2
= (wxDC
*) 0 ;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 char * kwnames
[] = {
21581 (char *) "self",(char *) "dc", NULL
21584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21586 if (!SWIG_IsOK(res1
)) {
21587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21589 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21590 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21591 if (!SWIG_IsOK(res2
)) {
21592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21594 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21610 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
= 0;
21612 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 PyObject
* obj2
= 0 ;
21630 PyObject
* obj3
= 0 ;
21631 PyObject
* obj4
= 0 ;
21632 char * kwnames
[] = {
21633 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21641 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21643 if (!SWIG_IsOK(ecode2
)) {
21644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21646 arg2
= static_cast< int >(val2
);
21647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21648 if (!SWIG_IsOK(ecode3
)) {
21649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21651 arg3
= static_cast< int >(val3
);
21652 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21653 if (!SWIG_IsOK(ecode4
)) {
21654 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21656 arg4
= static_cast< int >(val4
);
21657 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21658 if (!SWIG_IsOK(ecode5
)) {
21659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21661 arg5
= static_cast< int >(val5
);
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= SWIG_Py_Void();
21675 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
= 0;
21677 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21682 int arg6
= (int) wxSIZE_AUTO
;
21695 PyObject
* obj0
= 0 ;
21696 PyObject
* obj1
= 0 ;
21697 PyObject
* obj2
= 0 ;
21698 PyObject
* obj3
= 0 ;
21699 PyObject
* obj4
= 0 ;
21700 PyObject
* obj5
= 0 ;
21701 char * kwnames
[] = {
21702 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21707 if (!SWIG_IsOK(res1
)) {
21708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21710 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21712 if (!SWIG_IsOK(ecode2
)) {
21713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21715 arg2
= static_cast< int >(val2
);
21716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21717 if (!SWIG_IsOK(ecode3
)) {
21718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21720 arg3
= static_cast< int >(val3
);
21721 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21722 if (!SWIG_IsOK(ecode4
)) {
21723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21725 arg4
= static_cast< int >(val4
);
21726 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21727 if (!SWIG_IsOK(ecode5
)) {
21728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21730 arg5
= static_cast< int >(val5
);
21732 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21733 if (!SWIG_IsOK(ecode6
)) {
21734 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21736 arg6
= static_cast< int >(val6
);
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21741 wxPyEndAllowThreads(__tstate
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= SWIG_Py_Void();
21751 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
= 0;
21753 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21762 PyObject
* obj0
= 0 ;
21763 PyObject
* obj1
= 0 ;
21764 PyObject
* obj2
= 0 ;
21765 char * kwnames
[] = {
21766 (char *) "self",(char *) "width",(char *) "height", NULL
21769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21771 if (!SWIG_IsOK(res1
)) {
21772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21774 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21776 if (!SWIG_IsOK(ecode2
)) {
21777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21779 arg2
= static_cast< int >(val2
);
21780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21781 if (!SWIG_IsOK(ecode3
)) {
21782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21784 arg3
= static_cast< int >(val3
);
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 (arg1
)->DoSetClientSize(arg2
,arg3
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= SWIG_Py_Void();
21798 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21799 PyObject
*resultobj
= 0;
21800 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21809 PyObject
* obj0
= 0 ;
21810 PyObject
* obj1
= 0 ;
21811 PyObject
* obj2
= 0 ;
21812 char * kwnames
[] = {
21813 (char *) "self",(char *) "x",(char *) "y", NULL
21816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21818 if (!SWIG_IsOK(res1
)) {
21819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21821 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21823 if (!SWIG_IsOK(ecode2
)) {
21824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21826 arg2
= static_cast< int >(val2
);
21827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21828 if (!SWIG_IsOK(ecode3
)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21831 arg3
= static_cast< int >(val3
);
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_Py_Void();
21845 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21846 PyObject
*resultobj
= 0;
21847 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21848 int *arg2
= (int *) 0 ;
21849 int *arg3
= (int *) 0 ;
21853 int res2
= SWIG_TMPOBJ
;
21855 int res3
= SWIG_TMPOBJ
;
21856 PyObject
*swig_obj
[1] ;
21860 if (!args
) SWIG_fail
;
21861 swig_obj
[0] = args
;
21862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21863 if (!SWIG_IsOK(res1
)) {
21864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21866 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= SWIG_Py_Void();
21874 if (SWIG_IsTmpObj(res2
)) {
21875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21877 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21880 if (SWIG_IsTmpObj(res3
)) {
21881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21883 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21892 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21893 PyObject
*resultobj
= 0;
21894 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21895 int *arg2
= (int *) 0 ;
21896 int *arg3
= (int *) 0 ;
21900 int res2
= SWIG_TMPOBJ
;
21902 int res3
= SWIG_TMPOBJ
;
21903 PyObject
*swig_obj
[1] ;
21907 if (!args
) SWIG_fail
;
21908 swig_obj
[0] = args
;
21909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21910 if (!SWIG_IsOK(res1
)) {
21911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21913 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= SWIG_Py_Void();
21921 if (SWIG_IsTmpObj(res2
)) {
21922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21924 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21927 if (SWIG_IsTmpObj(res3
)) {
21928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21930 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21939 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21940 PyObject
*resultobj
= 0;
21941 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21942 int *arg2
= (int *) 0 ;
21943 int *arg3
= (int *) 0 ;
21947 int res2
= SWIG_TMPOBJ
;
21949 int res3
= SWIG_TMPOBJ
;
21950 PyObject
*swig_obj
[1] ;
21954 if (!args
) SWIG_fail
;
21955 swig_obj
[0] = args
;
21956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21957 if (!SWIG_IsOK(res1
)) {
21958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21960 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= SWIG_Py_Void();
21968 if (SWIG_IsTmpObj(res2
)) {
21969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21971 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21974 if (SWIG_IsTmpObj(res3
)) {
21975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21977 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21986 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21987 PyObject
*resultobj
= 0;
21988 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21992 PyObject
*swig_obj
[1] ;
21994 if (!args
) SWIG_fail
;
21995 swig_obj
[0] = args
;
21996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21997 if (!SWIG_IsOK(res1
)) {
21998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22000 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22014 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22015 PyObject
*resultobj
= 0;
22016 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22020 PyObject
*swig_obj
[1] ;
22022 if (!args
) SWIG_fail
;
22023 swig_obj
[0] = args
;
22024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22025 if (!SWIG_IsOK(res1
)) {
22026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22028 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22042 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22043 PyObject
*resultobj
= 0;
22044 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22045 SwigValueWrapper
<wxVisualAttributes
> result
;
22048 PyObject
*swig_obj
[1] ;
22050 if (!args
) SWIG_fail
;
22051 swig_obj
[0] = args
;
22052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22053 if (!SWIG_IsOK(res1
)) {
22054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22056 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 result
= (arg1
)->GetDefaultAttributes();
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22070 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22071 PyObject
*resultobj
= 0;
22072 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22075 PyObject
*swig_obj
[1] ;
22077 if (!args
) SWIG_fail
;
22078 swig_obj
[0] = args
;
22079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22080 if (!SWIG_IsOK(res1
)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22083 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 (arg1
)->OnInternalIdle();
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_Py_Void();
22097 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22100 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22101 return SWIG_Py_Void();
22104 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22105 return SWIG_Python_InitShadowInstance(args
);
22108 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
= 0;
22110 wxWindow
*arg1
= (wxWindow
*) 0 ;
22111 int arg2
= (int) (int)-1 ;
22112 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22113 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22114 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22115 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22116 long arg5
= (long) 0 ;
22117 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22118 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22119 wxPyPanel
*result
= 0 ;
22128 bool temp6
= false ;
22129 PyObject
* obj0
= 0 ;
22130 PyObject
* obj1
= 0 ;
22131 PyObject
* obj2
= 0 ;
22132 PyObject
* obj3
= 0 ;
22133 PyObject
* obj4
= 0 ;
22134 PyObject
* obj5
= 0 ;
22135 char * kwnames
[] = {
22136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22141 if (!SWIG_IsOK(res1
)) {
22142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22144 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22147 if (!SWIG_IsOK(ecode2
)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22150 arg2
= static_cast< int >(val2
);
22155 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22161 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22165 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22166 if (!SWIG_IsOK(ecode5
)) {
22167 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22169 arg5
= static_cast< long >(val5
);
22173 arg6
= wxString_in_helper(obj5
);
22174 if (arg6
== NULL
) SWIG_fail
;
22179 if (!wxPyCheckForApp()) SWIG_fail
;
22180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22181 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22200 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22201 PyObject
*resultobj
= 0;
22202 wxPyPanel
*result
= 0 ;
22204 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22206 if (!wxPyCheckForApp()) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (wxPyPanel
*)new wxPyPanel();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22219 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
= 0;
22221 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22222 PyObject
*arg2
= (PyObject
*) 0 ;
22223 PyObject
*arg3
= (PyObject
*) 0 ;
22226 PyObject
* obj0
= 0 ;
22227 PyObject
* obj1
= 0 ;
22228 PyObject
* obj2
= 0 ;
22229 char * kwnames
[] = {
22230 (char *) "self",(char *) "self",(char *) "_class", NULL
22233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22235 if (!SWIG_IsOK(res1
)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22238 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= SWIG_Py_Void();
22254 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
= 0;
22256 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22257 wxDC
*arg2
= (wxDC
*) 0 ;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 char * kwnames
[] = {
22266 (char *) "self",(char *) "dc", NULL
22269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22271 if (!SWIG_IsOK(res1
)) {
22272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22274 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22276 if (!SWIG_IsOK(res2
)) {
22277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22279 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22282 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22295 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
= 0;
22297 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 PyObject
* obj2
= 0 ;
22315 PyObject
* obj3
= 0 ;
22316 PyObject
* obj4
= 0 ;
22317 char * kwnames
[] = {
22318 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22323 if (!SWIG_IsOK(res1
)) {
22324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22326 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22328 if (!SWIG_IsOK(ecode2
)) {
22329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22331 arg2
= static_cast< int >(val2
);
22332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22333 if (!SWIG_IsOK(ecode3
)) {
22334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22336 arg3
= static_cast< int >(val3
);
22337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22338 if (!SWIG_IsOK(ecode4
)) {
22339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22341 arg4
= static_cast< int >(val4
);
22342 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22343 if (!SWIG_IsOK(ecode5
)) {
22344 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22346 arg5
= static_cast< int >(val5
);
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_Py_Void();
22360 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
= 0;
22362 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22367 int arg6
= (int) wxSIZE_AUTO
;
22380 PyObject
* obj0
= 0 ;
22381 PyObject
* obj1
= 0 ;
22382 PyObject
* obj2
= 0 ;
22383 PyObject
* obj3
= 0 ;
22384 PyObject
* obj4
= 0 ;
22385 PyObject
* obj5
= 0 ;
22386 char * kwnames
[] = {
22387 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22392 if (!SWIG_IsOK(res1
)) {
22393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22395 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22397 if (!SWIG_IsOK(ecode2
)) {
22398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22400 arg2
= static_cast< int >(val2
);
22401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22402 if (!SWIG_IsOK(ecode3
)) {
22403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22405 arg3
= static_cast< int >(val3
);
22406 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22407 if (!SWIG_IsOK(ecode4
)) {
22408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22410 arg4
= static_cast< int >(val4
);
22411 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22412 if (!SWIG_IsOK(ecode5
)) {
22413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22415 arg5
= static_cast< int >(val5
);
22417 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22418 if (!SWIG_IsOK(ecode6
)) {
22419 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22421 arg6
= static_cast< int >(val6
);
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= SWIG_Py_Void();
22436 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
= 0;
22438 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22447 PyObject
* obj0
= 0 ;
22448 PyObject
* obj1
= 0 ;
22449 PyObject
* obj2
= 0 ;
22450 char * kwnames
[] = {
22451 (char *) "self",(char *) "width",(char *) "height", NULL
22454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22456 if (!SWIG_IsOK(res1
)) {
22457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22459 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22461 if (!SWIG_IsOK(ecode2
)) {
22462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22464 arg2
= static_cast< int >(val2
);
22465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22466 if (!SWIG_IsOK(ecode3
)) {
22467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22469 arg3
= static_cast< int >(val3
);
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 (arg1
)->DoSetClientSize(arg2
,arg3
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 resultobj
= SWIG_Py_Void();
22483 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
= 0;
22485 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22494 PyObject
* obj0
= 0 ;
22495 PyObject
* obj1
= 0 ;
22496 PyObject
* obj2
= 0 ;
22497 char * kwnames
[] = {
22498 (char *) "self",(char *) "x",(char *) "y", NULL
22501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22503 if (!SWIG_IsOK(res1
)) {
22504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22506 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22508 if (!SWIG_IsOK(ecode2
)) {
22509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22511 arg2
= static_cast< int >(val2
);
22512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22513 if (!SWIG_IsOK(ecode3
)) {
22514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22516 arg3
= static_cast< int >(val3
);
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22523 resultobj
= SWIG_Py_Void();
22530 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22531 PyObject
*resultobj
= 0;
22532 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22533 int *arg2
= (int *) 0 ;
22534 int *arg3
= (int *) 0 ;
22538 int res2
= SWIG_TMPOBJ
;
22540 int res3
= SWIG_TMPOBJ
;
22541 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_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22551 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= SWIG_Py_Void();
22559 if (SWIG_IsTmpObj(res2
)) {
22560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22562 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22565 if (SWIG_IsTmpObj(res3
)) {
22566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22568 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22577 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22578 PyObject
*resultobj
= 0;
22579 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22580 int *arg2
= (int *) 0 ;
22581 int *arg3
= (int *) 0 ;
22585 int res2
= SWIG_TMPOBJ
;
22587 int res3
= SWIG_TMPOBJ
;
22588 PyObject
*swig_obj
[1] ;
22592 if (!args
) SWIG_fail
;
22593 swig_obj
[0] = args
;
22594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22595 if (!SWIG_IsOK(res1
)) {
22596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22598 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 resultobj
= SWIG_Py_Void();
22606 if (SWIG_IsTmpObj(res2
)) {
22607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22609 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22610 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22612 if (SWIG_IsTmpObj(res3
)) {
22613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22615 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22624 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22625 PyObject
*resultobj
= 0;
22626 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22627 int *arg2
= (int *) 0 ;
22628 int *arg3
= (int *) 0 ;
22632 int res2
= SWIG_TMPOBJ
;
22634 int res3
= SWIG_TMPOBJ
;
22635 PyObject
*swig_obj
[1] ;
22639 if (!args
) SWIG_fail
;
22640 swig_obj
[0] = args
;
22641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22642 if (!SWIG_IsOK(res1
)) {
22643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22645 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= SWIG_Py_Void();
22653 if (SWIG_IsTmpObj(res2
)) {
22654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22656 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22659 if (SWIG_IsTmpObj(res3
)) {
22660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22662 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22671 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22672 PyObject
*resultobj
= 0;
22673 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22677 PyObject
*swig_obj
[1] ;
22679 if (!args
) SWIG_fail
;
22680 swig_obj
[0] = args
;
22681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22682 if (!SWIG_IsOK(res1
)) {
22683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22685 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22699 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22700 PyObject
*resultobj
= 0;
22701 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22705 PyObject
*swig_obj
[1] ;
22707 if (!args
) SWIG_fail
;
22708 swig_obj
[0] = args
;
22709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22710 if (!SWIG_IsOK(res1
)) {
22711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22713 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22727 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22728 PyObject
*resultobj
= 0;
22729 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22730 SwigValueWrapper
<wxVisualAttributes
> result
;
22733 PyObject
*swig_obj
[1] ;
22735 if (!args
) SWIG_fail
;
22736 swig_obj
[0] = args
;
22737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22738 if (!SWIG_IsOK(res1
)) {
22739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22741 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 result
= (arg1
)->GetDefaultAttributes();
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22755 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22756 PyObject
*resultobj
= 0;
22757 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22760 PyObject
*swig_obj
[1] ;
22762 if (!args
) SWIG_fail
;
22763 swig_obj
[0] = args
;
22764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22765 if (!SWIG_IsOK(res1
)) {
22766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22768 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 (arg1
)->OnInternalIdle();
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= SWIG_Py_Void();
22782 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22785 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22786 return SWIG_Py_Void();
22789 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22790 return SWIG_Python_InitShadowInstance(args
);
22793 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
= 0;
22795 wxWindow
*arg1
= (wxWindow
*) 0 ;
22796 int arg2
= (int) (int)-1 ;
22797 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22798 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22799 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22800 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22801 long arg5
= (long) 0 ;
22802 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22803 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22804 wxPyScrolledWindow
*result
= 0 ;
22813 bool temp6
= false ;
22814 PyObject
* obj0
= 0 ;
22815 PyObject
* obj1
= 0 ;
22816 PyObject
* obj2
= 0 ;
22817 PyObject
* obj3
= 0 ;
22818 PyObject
* obj4
= 0 ;
22819 PyObject
* obj5
= 0 ;
22820 char * kwnames
[] = {
22821 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22826 if (!SWIG_IsOK(res1
)) {
22827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22829 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22832 if (!SWIG_IsOK(ecode2
)) {
22833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22835 arg2
= static_cast< int >(val2
);
22840 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22846 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22850 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22851 if (!SWIG_IsOK(ecode5
)) {
22852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22854 arg5
= static_cast< long >(val5
);
22858 arg6
= wxString_in_helper(obj5
);
22859 if (arg6
== NULL
) SWIG_fail
;
22864 if (!wxPyCheckForApp()) SWIG_fail
;
22865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22866 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22867 wxPyEndAllowThreads(__tstate
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22885 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22886 PyObject
*resultobj
= 0;
22887 wxPyScrolledWindow
*result
= 0 ;
22889 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22891 if (!wxPyCheckForApp()) SWIG_fail
;
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22904 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22905 PyObject
*resultobj
= 0;
22906 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22907 PyObject
*arg2
= (PyObject
*) 0 ;
22908 PyObject
*arg3
= (PyObject
*) 0 ;
22911 PyObject
* obj0
= 0 ;
22912 PyObject
* obj1
= 0 ;
22913 PyObject
* obj2
= 0 ;
22914 char * kwnames
[] = {
22915 (char *) "self",(char *) "self",(char *) "_class", NULL
22918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22920 if (!SWIG_IsOK(res1
)) {
22921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22923 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 resultobj
= SWIG_Py_Void();
22939 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22940 PyObject
*resultobj
= 0;
22941 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22942 wxDC
*arg2
= (wxDC
*) 0 ;
22948 PyObject
* obj0
= 0 ;
22949 PyObject
* obj1
= 0 ;
22950 char * kwnames
[] = {
22951 (char *) "self",(char *) "dc", NULL
22954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22956 if (!SWIG_IsOK(res1
)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22959 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22960 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22961 if (!SWIG_IsOK(res2
)) {
22962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22964 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22980 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
= 0;
22982 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22997 PyObject
* obj0
= 0 ;
22998 PyObject
* obj1
= 0 ;
22999 PyObject
* obj2
= 0 ;
23000 PyObject
* obj3
= 0 ;
23001 PyObject
* obj4
= 0 ;
23002 char * kwnames
[] = {
23003 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23008 if (!SWIG_IsOK(res1
)) {
23009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23011 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23013 if (!SWIG_IsOK(ecode2
)) {
23014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23016 arg2
= static_cast< int >(val2
);
23017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23018 if (!SWIG_IsOK(ecode3
)) {
23019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23021 arg3
= static_cast< int >(val3
);
23022 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23023 if (!SWIG_IsOK(ecode4
)) {
23024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23026 arg4
= static_cast< int >(val4
);
23027 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23028 if (!SWIG_IsOK(ecode5
)) {
23029 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23031 arg5
= static_cast< int >(val5
);
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 resultobj
= SWIG_Py_Void();
23045 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
= 0;
23047 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23052 int arg6
= (int) wxSIZE_AUTO
;
23065 PyObject
* obj0
= 0 ;
23066 PyObject
* obj1
= 0 ;
23067 PyObject
* obj2
= 0 ;
23068 PyObject
* obj3
= 0 ;
23069 PyObject
* obj4
= 0 ;
23070 PyObject
* obj5
= 0 ;
23071 char * kwnames
[] = {
23072 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23077 if (!SWIG_IsOK(res1
)) {
23078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23080 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23082 if (!SWIG_IsOK(ecode2
)) {
23083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23085 arg2
= static_cast< int >(val2
);
23086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23087 if (!SWIG_IsOK(ecode3
)) {
23088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23090 arg3
= static_cast< int >(val3
);
23091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23092 if (!SWIG_IsOK(ecode4
)) {
23093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23095 arg4
= static_cast< int >(val4
);
23096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23097 if (!SWIG_IsOK(ecode5
)) {
23098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23100 arg5
= static_cast< int >(val5
);
23102 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23103 if (!SWIG_IsOK(ecode6
)) {
23104 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23106 arg6
= static_cast< int >(val6
);
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_Py_Void();
23121 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
= 0;
23123 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23132 PyObject
* obj0
= 0 ;
23133 PyObject
* obj1
= 0 ;
23134 PyObject
* obj2
= 0 ;
23135 char * kwnames
[] = {
23136 (char *) "self",(char *) "width",(char *) "height", NULL
23139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23141 if (!SWIG_IsOK(res1
)) {
23142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23144 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23146 if (!SWIG_IsOK(ecode2
)) {
23147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23149 arg2
= static_cast< int >(val2
);
23150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23151 if (!SWIG_IsOK(ecode3
)) {
23152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23154 arg3
= static_cast< int >(val3
);
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 (arg1
)->DoSetClientSize(arg2
,arg3
);
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= SWIG_Py_Void();
23168 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
= 0;
23170 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23179 PyObject
* obj0
= 0 ;
23180 PyObject
* obj1
= 0 ;
23181 PyObject
* obj2
= 0 ;
23182 char * kwnames
[] = {
23183 (char *) "self",(char *) "x",(char *) "y", NULL
23186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23188 if (!SWIG_IsOK(res1
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23191 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23193 if (!SWIG_IsOK(ecode2
)) {
23194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23196 arg2
= static_cast< int >(val2
);
23197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23198 if (!SWIG_IsOK(ecode3
)) {
23199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23201 arg3
= static_cast< int >(val3
);
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23208 resultobj
= SWIG_Py_Void();
23215 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23216 PyObject
*resultobj
= 0;
23217 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23218 int *arg2
= (int *) 0 ;
23219 int *arg3
= (int *) 0 ;
23223 int res2
= SWIG_TMPOBJ
;
23225 int res3
= SWIG_TMPOBJ
;
23226 PyObject
*swig_obj
[1] ;
23230 if (!args
) SWIG_fail
;
23231 swig_obj
[0] = args
;
23232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23233 if (!SWIG_IsOK(res1
)) {
23234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23236 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_Py_Void();
23244 if (SWIG_IsTmpObj(res2
)) {
23245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23247 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23250 if (SWIG_IsTmpObj(res3
)) {
23251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23253 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23262 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23263 PyObject
*resultobj
= 0;
23264 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23265 int *arg2
= (int *) 0 ;
23266 int *arg3
= (int *) 0 ;
23270 int res2
= SWIG_TMPOBJ
;
23272 int res3
= SWIG_TMPOBJ
;
23273 PyObject
*swig_obj
[1] ;
23277 if (!args
) SWIG_fail
;
23278 swig_obj
[0] = args
;
23279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23280 if (!SWIG_IsOK(res1
)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23283 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_Py_Void();
23291 if (SWIG_IsTmpObj(res2
)) {
23292 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23294 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23295 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23297 if (SWIG_IsTmpObj(res3
)) {
23298 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23300 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23301 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23309 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23310 PyObject
*resultobj
= 0;
23311 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23312 int *arg2
= (int *) 0 ;
23313 int *arg3
= (int *) 0 ;
23317 int res2
= SWIG_TMPOBJ
;
23319 int res3
= SWIG_TMPOBJ
;
23320 PyObject
*swig_obj
[1] ;
23324 if (!args
) SWIG_fail
;
23325 swig_obj
[0] = args
;
23326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23327 if (!SWIG_IsOK(res1
)) {
23328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23330 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= SWIG_Py_Void();
23338 if (SWIG_IsTmpObj(res2
)) {
23339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23341 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23344 if (SWIG_IsTmpObj(res3
)) {
23345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23347 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23356 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23357 PyObject
*resultobj
= 0;
23358 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23362 PyObject
*swig_obj
[1] ;
23364 if (!args
) SWIG_fail
;
23365 swig_obj
[0] = args
;
23366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23367 if (!SWIG_IsOK(res1
)) {
23368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23370 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23384 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23385 PyObject
*resultobj
= 0;
23386 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23390 PyObject
*swig_obj
[1] ;
23392 if (!args
) SWIG_fail
;
23393 swig_obj
[0] = args
;
23394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23395 if (!SWIG_IsOK(res1
)) {
23396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23398 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23401 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23412 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23413 PyObject
*resultobj
= 0;
23414 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23415 SwigValueWrapper
<wxVisualAttributes
> result
;
23418 PyObject
*swig_obj
[1] ;
23420 if (!args
) SWIG_fail
;
23421 swig_obj
[0] = args
;
23422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23423 if (!SWIG_IsOK(res1
)) {
23424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23426 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (arg1
)->GetDefaultAttributes();
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23440 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23441 PyObject
*resultobj
= 0;
23442 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23445 PyObject
*swig_obj
[1] ;
23447 if (!args
) SWIG_fail
;
23448 swig_obj
[0] = args
;
23449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23450 if (!SWIG_IsOK(res1
)) {
23451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23453 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 (arg1
)->OnInternalIdle();
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_Py_Void();
23467 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23470 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23471 return SWIG_Py_Void();
23474 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23475 return SWIG_Python_InitShadowInstance(args
);
23478 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23479 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23484 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23485 PyObject
*pyobj
= 0;
23489 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23491 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23498 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23499 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23504 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23505 PyObject
*pyobj
= 0;
23509 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23511 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23518 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23519 PyObject
*resultobj
= 0;
23520 wxPrintData
*result
= 0 ;
23522 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= (wxPrintData
*)new wxPrintData();
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23536 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23537 PyObject
*resultobj
= 0;
23538 wxPrintData
*arg1
= 0 ;
23539 wxPrintData
*result
= 0 ;
23543 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23545 if (!SWIG_IsOK(res1
)) {
23546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23551 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23565 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23569 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23572 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23575 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23579 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23584 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23585 PyObject
*resultobj
= 0;
23586 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23589 PyObject
*swig_obj
[1] ;
23591 if (!args
) SWIG_fail
;
23592 swig_obj
[0] = args
;
23593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23594 if (!SWIG_IsOK(res1
)) {
23595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23597 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23605 resultobj
= SWIG_Py_Void();
23612 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23613 PyObject
*resultobj
= 0;
23614 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23618 PyObject
*swig_obj
[1] ;
23620 if (!args
) SWIG_fail
;
23621 swig_obj
[0] = args
;
23622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23623 if (!SWIG_IsOK(res1
)) {
23624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23626 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (int)(arg1
)->GetNoCopies();
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 resultobj
= SWIG_From_int(static_cast< int >(result
));
23640 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23641 PyObject
*resultobj
= 0;
23642 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23646 PyObject
*swig_obj
[1] ;
23648 if (!args
) SWIG_fail
;
23649 swig_obj
[0] = args
;
23650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23651 if (!SWIG_IsOK(res1
)) {
23652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23654 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (bool)(arg1
)->GetCollate();
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23670 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23671 PyObject
*resultobj
= 0;
23672 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23676 PyObject
*swig_obj
[1] ;
23678 if (!args
) SWIG_fail
;
23679 swig_obj
[0] = args
;
23680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23681 if (!SWIG_IsOK(res1
)) {
23682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23684 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= (int)(arg1
)->GetOrientation();
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= SWIG_From_int(static_cast< int >(result
));
23698 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23699 PyObject
*resultobj
= 0;
23700 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23704 PyObject
*swig_obj
[1] ;
23706 if (!args
) SWIG_fail
;
23707 swig_obj
[0] = args
;
23708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23709 if (!SWIG_IsOK(res1
)) {
23710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23712 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 result
= (bool)(arg1
)->IsOk();
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23728 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23729 PyObject
*resultobj
= 0;
23730 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23731 wxString
*result
= 0 ;
23734 PyObject
*swig_obj
[1] ;
23736 if (!args
) SWIG_fail
;
23737 swig_obj
[0] = args
;
23738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23739 if (!SWIG_IsOK(res1
)) {
23740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23742 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23747 result
= (wxString
*) &_result_ref
;
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23756 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23765 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23766 PyObject
*resultobj
= 0;
23767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23771 PyObject
*swig_obj
[1] ;
23773 if (!args
) SWIG_fail
;
23774 swig_obj
[0] = args
;
23775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23776 if (!SWIG_IsOK(res1
)) {
23777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23779 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 result
= (bool)(arg1
)->GetColour();
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23795 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23796 PyObject
*resultobj
= 0;
23797 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23798 wxDuplexMode result
;
23801 PyObject
*swig_obj
[1] ;
23803 if (!args
) SWIG_fail
;
23804 swig_obj
[0] = args
;
23805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23806 if (!SWIG_IsOK(res1
)) {
23807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23809 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= SWIG_From_int(static_cast< int >(result
));
23823 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23824 PyObject
*resultobj
= 0;
23825 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23826 wxPaperSize result
;
23829 PyObject
*swig_obj
[1] ;
23831 if (!args
) SWIG_fail
;
23832 swig_obj
[0] = args
;
23833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23834 if (!SWIG_IsOK(res1
)) {
23835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23837 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= SWIG_From_int(static_cast< int >(result
));
23851 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23852 PyObject
*resultobj
= 0;
23853 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23854 wxSize
*result
= 0 ;
23857 PyObject
*swig_obj
[1] ;
23859 if (!args
) SWIG_fail
;
23860 swig_obj
[0] = args
;
23861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23862 if (!SWIG_IsOK(res1
)) {
23863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23865 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23870 result
= (wxSize
*) &_result_ref
;
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23882 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23883 PyObject
*resultobj
= 0;
23884 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23888 PyObject
*swig_obj
[1] ;
23890 if (!args
) SWIG_fail
;
23891 swig_obj
[0] = args
;
23892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23893 if (!SWIG_IsOK(res1
)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23896 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= (int)(arg1
)->GetQuality();
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= SWIG_From_int(static_cast< int >(result
));
23910 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23911 PyObject
*resultobj
= 0;
23912 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23916 PyObject
*swig_obj
[1] ;
23918 if (!args
) SWIG_fail
;
23919 swig_obj
[0] = args
;
23920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23921 if (!SWIG_IsOK(res1
)) {
23922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23924 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 result
= (wxPrintBin
)(arg1
)->GetBin();
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 resultobj
= SWIG_From_int(static_cast< int >(result
));
23938 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23939 PyObject
*resultobj
= 0;
23940 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23941 wxPrintMode result
;
23944 PyObject
*swig_obj
[1] ;
23946 if (!args
) SWIG_fail
;
23947 swig_obj
[0] = args
;
23948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23949 if (!SWIG_IsOK(res1
)) {
23950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23952 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= SWIG_From_int(static_cast< int >(result
));
23966 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23967 PyObject
*resultobj
= 0;
23968 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23972 PyObject
*swig_obj
[1] ;
23974 if (!args
) SWIG_fail
;
23975 swig_obj
[0] = args
;
23976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23977 if (!SWIG_IsOK(res1
)) {
23978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23980 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 resultobj
= SWIG_From_int(static_cast< int >(result
));
23994 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
= 0;
23996 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24002 PyObject
* obj0
= 0 ;
24003 PyObject
* obj1
= 0 ;
24004 char * kwnames
[] = {
24005 (char *) "self",(char *) "v", NULL
24008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24010 if (!SWIG_IsOK(res1
)) {
24011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24013 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24015 if (!SWIG_IsOK(ecode2
)) {
24016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24018 arg2
= static_cast< int >(val2
);
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 (arg1
)->SetNoCopies(arg2
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 resultobj
= SWIG_Py_Void();
24032 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
= 0;
24034 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24040 PyObject
* obj0
= 0 ;
24041 PyObject
* obj1
= 0 ;
24042 char * kwnames
[] = {
24043 (char *) "self",(char *) "flag", NULL
24046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24048 if (!SWIG_IsOK(res1
)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24051 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24052 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24053 if (!SWIG_IsOK(ecode2
)) {
24054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24056 arg2
= static_cast< bool >(val2
);
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 (arg1
)->SetCollate(arg2
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= SWIG_Py_Void();
24070 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
= 0;
24072 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24078 PyObject
* obj0
= 0 ;
24079 PyObject
* obj1
= 0 ;
24080 char * kwnames
[] = {
24081 (char *) "self",(char *) "orient", NULL
24084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24086 if (!SWIG_IsOK(res1
)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24089 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24091 if (!SWIG_IsOK(ecode2
)) {
24092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24094 arg2
= static_cast< int >(val2
);
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 (arg1
)->SetOrientation(arg2
);
24098 wxPyEndAllowThreads(__tstate
);
24099 if (PyErr_Occurred()) SWIG_fail
;
24101 resultobj
= SWIG_Py_Void();
24108 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24109 PyObject
*resultobj
= 0;
24110 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24111 wxString
*arg2
= 0 ;
24114 bool temp2
= false ;
24115 PyObject
* obj0
= 0 ;
24116 PyObject
* obj1
= 0 ;
24117 char * kwnames
[] = {
24118 (char *) "self",(char *) "name", NULL
24121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24123 if (!SWIG_IsOK(res1
)) {
24124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24126 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24128 arg2
= wxString_in_helper(obj1
);
24129 if (arg2
== NULL
) SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= SWIG_Py_Void();
24153 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
= 0;
24155 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char * kwnames
[] = {
24164 (char *) "self",(char *) "colour", NULL
24167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24169 if (!SWIG_IsOK(res1
)) {
24170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24172 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24173 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24174 if (!SWIG_IsOK(ecode2
)) {
24175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24177 arg2
= static_cast< bool >(val2
);
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 (arg1
)->SetColour(arg2
);
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= SWIG_Py_Void();
24191 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
= 0;
24193 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24194 wxDuplexMode arg2
;
24199 PyObject
* obj0
= 0 ;
24200 PyObject
* obj1
= 0 ;
24201 char * kwnames
[] = {
24202 (char *) "self",(char *) "duplex", NULL
24205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24207 if (!SWIG_IsOK(res1
)) {
24208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24210 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24212 if (!SWIG_IsOK(ecode2
)) {
24213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24215 arg2
= static_cast< wxDuplexMode
>(val2
);
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 (arg1
)->SetDuplex(arg2
);
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 resultobj
= SWIG_Py_Void();
24229 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24230 PyObject
*resultobj
= 0;
24231 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24237 PyObject
* obj0
= 0 ;
24238 PyObject
* obj1
= 0 ;
24239 char * kwnames
[] = {
24240 (char *) "self",(char *) "sizeId", NULL
24243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24245 if (!SWIG_IsOK(res1
)) {
24246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24248 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24250 if (!SWIG_IsOK(ecode2
)) {
24251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24253 arg2
= static_cast< wxPaperSize
>(val2
);
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 (arg1
)->SetPaperId(arg2
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 resultobj
= SWIG_Py_Void();
24267 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
= 0;
24269 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 char * kwnames
[] = {
24277 (char *) "self",(char *) "sz", NULL
24280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24282 if (!SWIG_IsOK(res1
)) {
24283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24285 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24288 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= SWIG_Py_Void();
24303 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
= 0;
24305 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24311 PyObject
* obj0
= 0 ;
24312 PyObject
* obj1
= 0 ;
24313 char * kwnames
[] = {
24314 (char *) "self",(char *) "quality", NULL
24317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24319 if (!SWIG_IsOK(res1
)) {
24320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24322 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24324 if (!SWIG_IsOK(ecode2
)) {
24325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24327 arg2
= static_cast< int >(val2
);
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 (arg1
)->SetQuality(arg2
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= SWIG_Py_Void();
24341 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
= 0;
24343 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24349 PyObject
* obj0
= 0 ;
24350 PyObject
* obj1
= 0 ;
24351 char * kwnames
[] = {
24352 (char *) "self",(char *) "bin", NULL
24355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24357 if (!SWIG_IsOK(res1
)) {
24358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24360 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24362 if (!SWIG_IsOK(ecode2
)) {
24363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24365 arg2
= static_cast< wxPrintBin
>(val2
);
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 (arg1
)->SetBin(arg2
);
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= SWIG_Py_Void();
24379 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
= 0;
24381 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 char * kwnames
[] = {
24390 (char *) "self",(char *) "printMode", NULL
24393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24395 if (!SWIG_IsOK(res1
)) {
24396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24398 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24400 if (!SWIG_IsOK(ecode2
)) {
24401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24403 arg2
= static_cast< wxPrintMode
>(val2
);
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 (arg1
)->SetPrintMode(arg2
);
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= SWIG_Py_Void();
24417 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
= 0;
24419 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 PyObject
* obj1
= 0 ;
24427 char * kwnames
[] = {
24428 (char *) "self",(char *) "media", NULL
24431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24433 if (!SWIG_IsOK(res1
)) {
24434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24436 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24438 if (!SWIG_IsOK(ecode2
)) {
24439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24441 arg2
= static_cast< int >(val2
);
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 (arg1
)->SetMedia(arg2
);
24445 wxPyEndAllowThreads(__tstate
);
24446 if (PyErr_Occurred()) SWIG_fail
;
24448 resultobj
= SWIG_Py_Void();
24455 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24456 PyObject
*resultobj
= 0;
24457 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24461 PyObject
*swig_obj
[1] ;
24463 if (!args
) SWIG_fail
;
24464 swig_obj
[0] = args
;
24465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24466 if (!SWIG_IsOK(res1
)) {
24467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24469 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24489 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
= 0;
24491 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24492 wxString
*arg2
= 0 ;
24495 bool temp2
= false ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 char * kwnames
[] = {
24499 (char *) "self",(char *) "filename", NULL
24502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24504 if (!SWIG_IsOK(res1
)) {
24505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24507 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24509 arg2
= wxString_in_helper(obj1
);
24510 if (arg2
== NULL
) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 (arg1
)->SetFilename((wxString
const &)*arg2
);
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= SWIG_Py_Void();
24534 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24535 PyObject
*resultobj
= 0;
24536 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24537 PyObject
*result
= 0 ;
24540 PyObject
*swig_obj
[1] ;
24542 if (!args
) SWIG_fail
;
24543 swig_obj
[0] = args
;
24544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24545 if (!SWIG_IsOK(res1
)) {
24546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24548 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24551 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= result
;
24562 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
= 0;
24564 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24565 PyObject
*arg2
= (PyObject
*) 0 ;
24568 PyObject
* obj0
= 0 ;
24569 PyObject
* obj1
= 0 ;
24570 char * kwnames
[] = {
24571 (char *) "self",(char *) "data", NULL
24574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24576 if (!SWIG_IsOK(res1
)) {
24577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24579 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 wxPrintData_SetPrivData(arg1
,arg2
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 resultobj
= SWIG_Py_Void();
24594 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24597 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24598 return SWIG_Py_Void();
24601 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24602 return SWIG_Python_InitShadowInstance(args
);
24605 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24606 PyObject
*resultobj
= 0;
24607 wxPageSetupDialogData
*result
= 0 ;
24609 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24623 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24624 PyObject
*resultobj
= 0;
24625 wxPageSetupDialogData
*arg1
= 0 ;
24626 wxPageSetupDialogData
*result
= 0 ;
24630 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24632 if (!SWIG_IsOK(res1
)) {
24633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24638 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24652 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24653 PyObject
*resultobj
= 0;
24654 wxPrintData
*arg1
= 0 ;
24655 wxPageSetupDialogData
*result
= 0 ;
24659 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24661 if (!SWIG_IsOK(res1
)) {
24662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24667 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24670 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24681 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24685 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24688 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24693 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24694 _v
= SWIG_CheckState(res
);
24696 if (!_v
) goto check_2
;
24697 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24702 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24706 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24711 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24712 PyObject
*resultobj
= 0;
24713 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24716 PyObject
*swig_obj
[1] ;
24718 if (!args
) SWIG_fail
;
24719 swig_obj
[0] = args
;
24720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24721 if (!SWIG_IsOK(res1
)) {
24722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24724 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= SWIG_Py_Void();
24739 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
= 0;
24741 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 PyObject
* obj1
= 0 ;
24749 char * kwnames
[] = {
24750 (char *) "self",(char *) "flag", NULL
24753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24755 if (!SWIG_IsOK(res1
)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24758 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24759 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24760 if (!SWIG_IsOK(ecode2
)) {
24761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24763 arg2
= static_cast< bool >(val2
);
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 (arg1
)->EnableHelp(arg2
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= SWIG_Py_Void();
24777 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
= 0;
24779 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24785 PyObject
* obj0
= 0 ;
24786 PyObject
* obj1
= 0 ;
24787 char * kwnames
[] = {
24788 (char *) "self",(char *) "flag", NULL
24791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24793 if (!SWIG_IsOK(res1
)) {
24794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24796 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24797 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24798 if (!SWIG_IsOK(ecode2
)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24801 arg2
= static_cast< bool >(val2
);
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 (arg1
)->EnableMargins(arg2
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= SWIG_Py_Void();
24815 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
= 0;
24817 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24823 PyObject
* obj0
= 0 ;
24824 PyObject
* obj1
= 0 ;
24825 char * kwnames
[] = {
24826 (char *) "self",(char *) "flag", NULL
24829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24831 if (!SWIG_IsOK(res1
)) {
24832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24834 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24835 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24836 if (!SWIG_IsOK(ecode2
)) {
24837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24839 arg2
= static_cast< bool >(val2
);
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 (arg1
)->EnableOrientation(arg2
);
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= SWIG_Py_Void();
24853 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
= 0;
24855 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24861 PyObject
* obj0
= 0 ;
24862 PyObject
* obj1
= 0 ;
24863 char * kwnames
[] = {
24864 (char *) "self",(char *) "flag", NULL
24867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24869 if (!SWIG_IsOK(res1
)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24872 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24873 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24874 if (!SWIG_IsOK(ecode2
)) {
24875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24877 arg2
= static_cast< bool >(val2
);
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 (arg1
)->EnablePaper(arg2
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= SWIG_Py_Void();
24891 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
= 0;
24893 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24899 PyObject
* obj0
= 0 ;
24900 PyObject
* obj1
= 0 ;
24901 char * kwnames
[] = {
24902 (char *) "self",(char *) "flag", NULL
24905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24907 if (!SWIG_IsOK(res1
)) {
24908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24910 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24911 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24912 if (!SWIG_IsOK(ecode2
)) {
24913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24915 arg2
= static_cast< bool >(val2
);
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->EnablePrinter(arg2
);
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= SWIG_Py_Void();
24929 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24930 PyObject
*resultobj
= 0;
24931 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24935 PyObject
*swig_obj
[1] ;
24937 if (!args
) SWIG_fail
;
24938 swig_obj
[0] = args
;
24939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24940 if (!SWIG_IsOK(res1
)) {
24941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24943 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24946 result
= (bool)(arg1
)->GetDefaultMinMargins();
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24959 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24960 PyObject
*resultobj
= 0;
24961 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24965 PyObject
*swig_obj
[1] ;
24967 if (!args
) SWIG_fail
;
24968 swig_obj
[0] = args
;
24969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24970 if (!SWIG_IsOK(res1
)) {
24971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24973 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 result
= (bool)(arg1
)->GetEnableMargins();
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24989 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24990 PyObject
*resultobj
= 0;
24991 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24995 PyObject
*swig_obj
[1] ;
24997 if (!args
) SWIG_fail
;
24998 swig_obj
[0] = args
;
24999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25000 if (!SWIG_IsOK(res1
)) {
25001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25003 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25006 result
= (bool)(arg1
)->GetEnableOrientation();
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25019 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25020 PyObject
*resultobj
= 0;
25021 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25025 PyObject
*swig_obj
[1] ;
25027 if (!args
) SWIG_fail
;
25028 swig_obj
[0] = args
;
25029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25030 if (!SWIG_IsOK(res1
)) {
25031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25033 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 result
= (bool)(arg1
)->GetEnablePaper();
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25049 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25050 PyObject
*resultobj
= 0;
25051 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25055 PyObject
*swig_obj
[1] ;
25057 if (!args
) SWIG_fail
;
25058 swig_obj
[0] = args
;
25059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25060 if (!SWIG_IsOK(res1
)) {
25061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25063 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25066 result
= (bool)(arg1
)->GetEnablePrinter();
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25079 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25080 PyObject
*resultobj
= 0;
25081 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25085 PyObject
*swig_obj
[1] ;
25087 if (!args
) SWIG_fail
;
25088 swig_obj
[0] = args
;
25089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25090 if (!SWIG_IsOK(res1
)) {
25091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25093 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 result
= (bool)(arg1
)->GetEnableHelp();
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25109 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25110 PyObject
*resultobj
= 0;
25111 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25115 PyObject
*swig_obj
[1] ;
25117 if (!args
) SWIG_fail
;
25118 swig_obj
[0] = args
;
25119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25120 if (!SWIG_IsOK(res1
)) {
25121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25123 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= (bool)(arg1
)->GetDefaultInfo();
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25139 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25140 PyObject
*resultobj
= 0;
25141 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25145 PyObject
*swig_obj
[1] ;
25147 if (!args
) SWIG_fail
;
25148 swig_obj
[0] = args
;
25149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25150 if (!SWIG_IsOK(res1
)) {
25151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25153 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (arg1
)->GetMarginTopLeft();
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25167 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25168 PyObject
*resultobj
= 0;
25169 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25173 PyObject
*swig_obj
[1] ;
25175 if (!args
) SWIG_fail
;
25176 swig_obj
[0] = args
;
25177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25178 if (!SWIG_IsOK(res1
)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25181 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (arg1
)->GetMarginBottomRight();
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25195 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25196 PyObject
*resultobj
= 0;
25197 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25201 PyObject
*swig_obj
[1] ;
25203 if (!args
) SWIG_fail
;
25204 swig_obj
[0] = args
;
25205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25206 if (!SWIG_IsOK(res1
)) {
25207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25209 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= (arg1
)->GetMinMarginTopLeft();
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25223 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25224 PyObject
*resultobj
= 0;
25225 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25229 PyObject
*swig_obj
[1] ;
25231 if (!args
) SWIG_fail
;
25232 swig_obj
[0] = args
;
25233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25234 if (!SWIG_IsOK(res1
)) {
25235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25237 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 result
= (arg1
)->GetMinMarginBottomRight();
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25251 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25252 PyObject
*resultobj
= 0;
25253 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25254 wxPaperSize result
;
25257 PyObject
*swig_obj
[1] ;
25259 if (!args
) SWIG_fail
;
25260 swig_obj
[0] = args
;
25261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25262 if (!SWIG_IsOK(res1
)) {
25263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25265 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25268 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25272 resultobj
= SWIG_From_int(static_cast< int >(result
));
25279 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25280 PyObject
*resultobj
= 0;
25281 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25285 PyObject
*swig_obj
[1] ;
25287 if (!args
) SWIG_fail
;
25288 swig_obj
[0] = args
;
25289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25290 if (!SWIG_IsOK(res1
)) {
25291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25293 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= (arg1
)->GetPaperSize();
25297 wxPyEndAllowThreads(__tstate
);
25298 if (PyErr_Occurred()) SWIG_fail
;
25300 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25307 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25308 PyObject
*resultobj
= 0;
25309 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25310 wxPrintData
*result
= 0 ;
25313 PyObject
*swig_obj
[1] ;
25315 if (!args
) SWIG_fail
;
25316 swig_obj
[0] = args
;
25317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25318 if (!SWIG_IsOK(res1
)) {
25319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25321 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25326 result
= (wxPrintData
*) &_result_ref
;
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25338 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25339 PyObject
*resultobj
= 0;
25340 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25344 PyObject
*swig_obj
[1] ;
25346 if (!args
) SWIG_fail
;
25347 swig_obj
[0] = args
;
25348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25349 if (!SWIG_IsOK(res1
)) {
25350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25352 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 result
= (bool)(arg1
)->IsOk();
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25368 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
= 0;
25370 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25376 PyObject
* obj0
= 0 ;
25377 PyObject
* obj1
= 0 ;
25378 char * kwnames
[] = {
25379 (char *) "self",(char *) "flag", NULL
25382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25384 if (!SWIG_IsOK(res1
)) {
25385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25387 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25388 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25389 if (!SWIG_IsOK(ecode2
)) {
25390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25392 arg2
= static_cast< bool >(val2
);
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 (arg1
)->SetDefaultInfo(arg2
);
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= SWIG_Py_Void();
25406 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
= 0;
25408 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25414 PyObject
* obj0
= 0 ;
25415 PyObject
* obj1
= 0 ;
25416 char * kwnames
[] = {
25417 (char *) "self",(char *) "flag", NULL
25420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25422 if (!SWIG_IsOK(res1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25425 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25426 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25427 if (!SWIG_IsOK(ecode2
)) {
25428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25430 arg2
= static_cast< bool >(val2
);
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 (arg1
)->SetDefaultMinMargins(arg2
);
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= SWIG_Py_Void();
25444 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
= 0;
25446 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25447 wxPoint
*arg2
= 0 ;
25451 PyObject
* obj0
= 0 ;
25452 PyObject
* obj1
= 0 ;
25453 char * kwnames
[] = {
25454 (char *) "self",(char *) "pt", NULL
25457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25459 if (!SWIG_IsOK(res1
)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25462 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25465 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 resultobj
= SWIG_Py_Void();
25480 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
= 0;
25482 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25483 wxPoint
*arg2
= 0 ;
25487 PyObject
* obj0
= 0 ;
25488 PyObject
* obj1
= 0 ;
25489 char * kwnames
[] = {
25490 (char *) "self",(char *) "pt", NULL
25493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25495 if (!SWIG_IsOK(res1
)) {
25496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25498 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25501 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_Py_Void();
25516 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
= 0;
25518 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25519 wxPoint
*arg2
= 0 ;
25523 PyObject
* obj0
= 0 ;
25524 PyObject
* obj1
= 0 ;
25525 char * kwnames
[] = {
25526 (char *) "self",(char *) "pt", NULL
25529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25531 if (!SWIG_IsOK(res1
)) {
25532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25534 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= SWIG_Py_Void();
25552 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
= 0;
25554 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25555 wxPoint
*arg2
= 0 ;
25559 PyObject
* obj0
= 0 ;
25560 PyObject
* obj1
= 0 ;
25561 char * kwnames
[] = {
25562 (char *) "self",(char *) "pt", NULL
25565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25567 if (!SWIG_IsOK(res1
)) {
25568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25570 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_Py_Void();
25588 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
= 0;
25590 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 char * kwnames
[] = {
25599 (char *) "self",(char *) "id", NULL
25602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25604 if (!SWIG_IsOK(res1
)) {
25605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25607 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25609 if (!SWIG_IsOK(ecode2
)) {
25610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25612 arg2
= static_cast< wxPaperSize
>(val2
);
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 (arg1
)->SetPaperId(arg2
);
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= SWIG_Py_Void();
25626 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
= 0;
25628 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25633 PyObject
* obj0
= 0 ;
25634 PyObject
* obj1
= 0 ;
25635 char * kwnames
[] = {
25636 (char *) "self",(char *) "size", NULL
25639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25641 if (!SWIG_IsOK(res1
)) {
25642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25644 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25647 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= SWIG_Py_Void();
25662 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
= 0;
25664 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25665 wxPrintData
*arg2
= 0 ;
25670 PyObject
* obj0
= 0 ;
25671 PyObject
* obj1
= 0 ;
25672 char * kwnames
[] = {
25673 (char *) "self",(char *) "printData", NULL
25676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25678 if (!SWIG_IsOK(res1
)) {
25679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25681 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25683 if (!SWIG_IsOK(res2
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25689 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= SWIG_Py_Void();
25703 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25704 PyObject
*resultobj
= 0;
25705 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25708 PyObject
*swig_obj
[1] ;
25710 if (!args
) SWIG_fail
;
25711 swig_obj
[0] = args
;
25712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25713 if (!SWIG_IsOK(res1
)) {
25714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25716 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 (arg1
)->CalculateIdFromPaperSize();
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_Py_Void();
25730 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25731 PyObject
*resultobj
= 0;
25732 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25735 PyObject
*swig_obj
[1] ;
25737 if (!args
) SWIG_fail
;
25738 swig_obj
[0] = args
;
25739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25740 if (!SWIG_IsOK(res1
)) {
25741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25743 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 (arg1
)->CalculatePaperSizeFromId();
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 resultobj
= SWIG_Py_Void();
25757 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25760 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25761 return SWIG_Py_Void();
25764 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25765 return SWIG_Python_InitShadowInstance(args
);
25768 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
= 0;
25770 wxWindow
*arg1
= (wxWindow
*) 0 ;
25771 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25772 wxPageSetupDialog
*result
= 0 ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 char * kwnames
[] = {
25780 (char *) "parent",(char *) "data", NULL
25783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25785 if (!SWIG_IsOK(res1
)) {
25786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25790 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25791 if (!SWIG_IsOK(res2
)) {
25792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25794 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25797 if (!wxPyCheckForApp()) SWIG_fail
;
25798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25810 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25811 PyObject
*resultobj
= 0;
25812 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25815 PyObject
*swig_obj
[1] ;
25817 if (!args
) SWIG_fail
;
25818 swig_obj
[0] = args
;
25819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25820 if (!SWIG_IsOK(res1
)) {
25821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25823 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 resultobj
= SWIG_Py_Void();
25838 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25839 PyObject
*resultobj
= 0;
25840 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25841 wxPageSetupDialogData
*result
= 0 ;
25844 PyObject
*swig_obj
[1] ;
25846 if (!args
) SWIG_fail
;
25847 swig_obj
[0] = args
;
25848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25849 if (!SWIG_IsOK(res1
)) {
25850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25852 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25857 result
= (wxPageSetupDialogData
*) &_result_ref
;
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25869 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25870 PyObject
*resultobj
= 0;
25871 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25872 wxPageSetupDialogData
*result
= 0 ;
25875 PyObject
*swig_obj
[1] ;
25877 if (!args
) SWIG_fail
;
25878 swig_obj
[0] = args
;
25879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25880 if (!SWIG_IsOK(res1
)) {
25881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25883 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25888 result
= (wxPageSetupDialogData
*) &_result_ref
;
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25900 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25901 PyObject
*resultobj
= 0;
25902 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25906 PyObject
*swig_obj
[1] ;
25908 if (!args
) SWIG_fail
;
25909 swig_obj
[0] = args
;
25910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25911 if (!SWIG_IsOK(res1
)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25914 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= (int)(arg1
)->ShowModal();
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_From_int(static_cast< int >(result
));
25928 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25930 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25931 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25932 return SWIG_Py_Void();
25935 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25936 return SWIG_Python_InitShadowInstance(args
);
25939 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25940 PyObject
*resultobj
= 0;
25941 wxPrintDialogData
*result
= 0 ;
25943 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25957 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25958 PyObject
*resultobj
= 0;
25959 wxPrintData
*arg1
= 0 ;
25960 wxPrintDialogData
*result
= 0 ;
25964 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25966 if (!SWIG_IsOK(res1
)) {
25967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25972 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25986 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25987 PyObject
*resultobj
= 0;
25988 wxPrintDialogData
*arg1
= 0 ;
25989 wxPrintDialogData
*result
= 0 ;
25993 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25995 if (!SWIG_IsOK(res1
)) {
25996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26001 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26015 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26019 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26022 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26027 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26028 _v
= SWIG_CheckState(res
);
26030 if (!_v
) goto check_2
;
26031 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26036 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26040 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26045 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26046 PyObject
*resultobj
= 0;
26047 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26050 PyObject
*swig_obj
[1] ;
26052 if (!args
) SWIG_fail
;
26053 swig_obj
[0] = args
;
26054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26055 if (!SWIG_IsOK(res1
)) {
26056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26058 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 wxPyEndAllowThreads(__tstate
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26066 resultobj
= SWIG_Py_Void();
26073 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26074 PyObject
*resultobj
= 0;
26075 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26079 PyObject
*swig_obj
[1] ;
26081 if (!args
) SWIG_fail
;
26082 swig_obj
[0] = args
;
26083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26084 if (!SWIG_IsOK(res1
)) {
26085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26087 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= SWIG_From_int(static_cast< int >(result
));
26101 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26102 PyObject
*resultobj
= 0;
26103 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26107 PyObject
*swig_obj
[1] ;
26109 if (!args
) SWIG_fail
;
26110 swig_obj
[0] = args
;
26111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26112 if (!SWIG_IsOK(res1
)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26115 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_From_int(static_cast< int >(result
));
26129 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26130 PyObject
*resultobj
= 0;
26131 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26135 PyObject
*swig_obj
[1] ;
26137 if (!args
) SWIG_fail
;
26138 swig_obj
[0] = args
;
26139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26140 if (!SWIG_IsOK(res1
)) {
26141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26143 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26147 wxPyEndAllowThreads(__tstate
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26150 resultobj
= SWIG_From_int(static_cast< int >(result
));
26157 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26158 PyObject
*resultobj
= 0;
26159 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26163 PyObject
*swig_obj
[1] ;
26165 if (!args
) SWIG_fail
;
26166 swig_obj
[0] = args
;
26167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26168 if (!SWIG_IsOK(res1
)) {
26169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26171 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26178 resultobj
= SWIG_From_int(static_cast< int >(result
));
26185 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26186 PyObject
*resultobj
= 0;
26187 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26191 PyObject
*swig_obj
[1] ;
26193 if (!args
) SWIG_fail
;
26194 swig_obj
[0] = args
;
26195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26196 if (!SWIG_IsOK(res1
)) {
26197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26199 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 resultobj
= SWIG_From_int(static_cast< int >(result
));
26213 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26214 PyObject
*resultobj
= 0;
26215 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26219 PyObject
*swig_obj
[1] ;
26221 if (!args
) SWIG_fail
;
26222 swig_obj
[0] = args
;
26223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26224 if (!SWIG_IsOK(res1
)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26227 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26243 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26244 PyObject
*resultobj
= 0;
26245 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26249 PyObject
*swig_obj
[1] ;
26251 if (!args
) SWIG_fail
;
26252 swig_obj
[0] = args
;
26253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26254 if (!SWIG_IsOK(res1
)) {
26255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26257 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26273 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26274 PyObject
*resultobj
= 0;
26275 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26279 PyObject
*swig_obj
[1] ;
26281 if (!args
) SWIG_fail
;
26282 swig_obj
[0] = args
;
26283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26284 if (!SWIG_IsOK(res1
)) {
26285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26287 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26291 wxPyEndAllowThreads(__tstate
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26303 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26304 PyObject
*resultobj
= 0;
26305 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26309 PyObject
*swig_obj
[1] ;
26311 if (!args
) SWIG_fail
;
26312 swig_obj
[0] = args
;
26313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26314 if (!SWIG_IsOK(res1
)) {
26315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26317 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26321 wxPyEndAllowThreads(__tstate
);
26322 if (PyErr_Occurred()) SWIG_fail
;
26325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26333 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
= 0;
26335 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 PyObject
* obj1
= 0 ;
26343 char * kwnames
[] = {
26344 (char *) "self",(char *) "v", NULL
26347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26349 if (!SWIG_IsOK(res1
)) {
26350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26352 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26354 if (!SWIG_IsOK(ecode2
)) {
26355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26357 arg2
= static_cast< int >(val2
);
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 (arg1
)->SetFromPage(arg2
);
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_Py_Void();
26371 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
= 0;
26373 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26379 PyObject
* obj0
= 0 ;
26380 PyObject
* obj1
= 0 ;
26381 char * kwnames
[] = {
26382 (char *) "self",(char *) "v", NULL
26385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26387 if (!SWIG_IsOK(res1
)) {
26388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26390 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26392 if (!SWIG_IsOK(ecode2
)) {
26393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26395 arg2
= static_cast< int >(val2
);
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 (arg1
)->SetToPage(arg2
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 resultobj
= SWIG_Py_Void();
26409 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
= 0;
26411 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 char * kwnames
[] = {
26420 (char *) "self",(char *) "v", NULL
26423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26425 if (!SWIG_IsOK(res1
)) {
26426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26428 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26430 if (!SWIG_IsOK(ecode2
)) {
26431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26433 arg2
= static_cast< int >(val2
);
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 (arg1
)->SetMinPage(arg2
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= SWIG_Py_Void();
26447 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26448 PyObject
*resultobj
= 0;
26449 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26455 PyObject
* obj0
= 0 ;
26456 PyObject
* obj1
= 0 ;
26457 char * kwnames
[] = {
26458 (char *) "self",(char *) "v", NULL
26461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26463 if (!SWIG_IsOK(res1
)) {
26464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26466 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26468 if (!SWIG_IsOK(ecode2
)) {
26469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26471 arg2
= static_cast< int >(val2
);
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 (arg1
)->SetMaxPage(arg2
);
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26478 resultobj
= SWIG_Py_Void();
26485 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
= 0;
26487 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26493 PyObject
* obj0
= 0 ;
26494 PyObject
* obj1
= 0 ;
26495 char * kwnames
[] = {
26496 (char *) "self",(char *) "v", NULL
26499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26501 if (!SWIG_IsOK(res1
)) {
26502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26504 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26506 if (!SWIG_IsOK(ecode2
)) {
26507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26509 arg2
= static_cast< int >(val2
);
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 (arg1
)->SetNoCopies(arg2
);
26513 wxPyEndAllowThreads(__tstate
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= SWIG_Py_Void();
26523 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26524 PyObject
*resultobj
= 0;
26525 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26531 PyObject
* obj0
= 0 ;
26532 PyObject
* obj1
= 0 ;
26533 char * kwnames
[] = {
26534 (char *) "self",(char *) "flag", NULL
26537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26539 if (!SWIG_IsOK(res1
)) {
26540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26542 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26543 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26544 if (!SWIG_IsOK(ecode2
)) {
26545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26547 arg2
= static_cast< bool >(val2
);
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 (arg1
)->SetAllPages(arg2
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 resultobj
= SWIG_Py_Void();
26561 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26562 PyObject
*resultobj
= 0;
26563 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26569 PyObject
* obj0
= 0 ;
26570 PyObject
* obj1
= 0 ;
26571 char * kwnames
[] = {
26572 (char *) "self",(char *) "flag", NULL
26575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26577 if (!SWIG_IsOK(res1
)) {
26578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26580 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26581 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26582 if (!SWIG_IsOK(ecode2
)) {
26583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26585 arg2
= static_cast< bool >(val2
);
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 (arg1
)->SetSelection(arg2
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 resultobj
= SWIG_Py_Void();
26599 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
= 0;
26601 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26607 PyObject
* obj0
= 0 ;
26608 PyObject
* obj1
= 0 ;
26609 char * kwnames
[] = {
26610 (char *) "self",(char *) "flag", NULL
26613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26615 if (!SWIG_IsOK(res1
)) {
26616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26618 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26619 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26620 if (!SWIG_IsOK(ecode2
)) {
26621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26623 arg2
= static_cast< bool >(val2
);
26625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26626 (arg1
)->SetCollate(arg2
);
26627 wxPyEndAllowThreads(__tstate
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26630 resultobj
= SWIG_Py_Void();
26637 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26638 PyObject
*resultobj
= 0;
26639 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26645 PyObject
* obj0
= 0 ;
26646 PyObject
* obj1
= 0 ;
26647 char * kwnames
[] = {
26648 (char *) "self",(char *) "flag", NULL
26651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26653 if (!SWIG_IsOK(res1
)) {
26654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26656 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26657 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26658 if (!SWIG_IsOK(ecode2
)) {
26659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26661 arg2
= static_cast< bool >(val2
);
26663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 (arg1
)->SetPrintToFile(arg2
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= SWIG_Py_Void();
26675 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26676 PyObject
*resultobj
= 0;
26677 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26683 PyObject
* obj0
= 0 ;
26684 PyObject
* obj1
= 0 ;
26685 char * kwnames
[] = {
26686 (char *) "self",(char *) "flag", NULL
26689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26691 if (!SWIG_IsOK(res1
)) {
26692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26694 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26695 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26696 if (!SWIG_IsOK(ecode2
)) {
26697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26699 arg2
= static_cast< bool >(val2
);
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 (arg1
)->EnablePrintToFile(arg2
);
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= SWIG_Py_Void();
26713 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
= 0;
26715 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26721 PyObject
* obj0
= 0 ;
26722 PyObject
* obj1
= 0 ;
26723 char * kwnames
[] = {
26724 (char *) "self",(char *) "flag", NULL
26727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26729 if (!SWIG_IsOK(res1
)) {
26730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26732 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26733 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26734 if (!SWIG_IsOK(ecode2
)) {
26735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26737 arg2
= static_cast< bool >(val2
);
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 (arg1
)->EnableSelection(arg2
);
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26744 resultobj
= SWIG_Py_Void();
26751 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26752 PyObject
*resultobj
= 0;
26753 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26759 PyObject
* obj0
= 0 ;
26760 PyObject
* obj1
= 0 ;
26761 char * kwnames
[] = {
26762 (char *) "self",(char *) "flag", NULL
26765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26767 if (!SWIG_IsOK(res1
)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26770 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26771 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26772 if (!SWIG_IsOK(ecode2
)) {
26773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26775 arg2
= static_cast< bool >(val2
);
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 (arg1
)->EnablePageNumbers(arg2
);
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26782 resultobj
= SWIG_Py_Void();
26789 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26790 PyObject
*resultobj
= 0;
26791 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26797 PyObject
* obj0
= 0 ;
26798 PyObject
* obj1
= 0 ;
26799 char * kwnames
[] = {
26800 (char *) "self",(char *) "flag", NULL
26803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26805 if (!SWIG_IsOK(res1
)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26808 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26810 if (!SWIG_IsOK(ecode2
)) {
26811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26813 arg2
= static_cast< bool >(val2
);
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 (arg1
)->EnableHelp(arg2
);
26817 wxPyEndAllowThreads(__tstate
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26820 resultobj
= SWIG_Py_Void();
26827 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26828 PyObject
*resultobj
= 0;
26829 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26833 PyObject
*swig_obj
[1] ;
26835 if (!args
) SWIG_fail
;
26836 swig_obj
[0] = args
;
26837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26838 if (!SWIG_IsOK(res1
)) {
26839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26841 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26844 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26857 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26858 PyObject
*resultobj
= 0;
26859 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26863 PyObject
*swig_obj
[1] ;
26865 if (!args
) SWIG_fail
;
26866 swig_obj
[0] = args
;
26867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26868 if (!SWIG_IsOK(res1
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26871 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26887 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26888 PyObject
*resultobj
= 0;
26889 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26893 PyObject
*swig_obj
[1] ;
26895 if (!args
) SWIG_fail
;
26896 swig_obj
[0] = args
;
26897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26898 if (!SWIG_IsOK(res1
)) {
26899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26901 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26917 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26918 PyObject
*resultobj
= 0;
26919 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26923 PyObject
*swig_obj
[1] ;
26925 if (!args
) SWIG_fail
;
26926 swig_obj
[0] = args
;
26927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26928 if (!SWIG_IsOK(res1
)) {
26929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26931 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26934 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26935 wxPyEndAllowThreads(__tstate
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26947 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26948 PyObject
*resultobj
= 0;
26949 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26953 PyObject
*swig_obj
[1] ;
26955 if (!args
) SWIG_fail
;
26956 swig_obj
[0] = args
;
26957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26958 if (!SWIG_IsOK(res1
)) {
26959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26961 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26964 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26977 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26978 PyObject
*resultobj
= 0;
26979 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26980 wxPrintData
*result
= 0 ;
26983 PyObject
*swig_obj
[1] ;
26985 if (!args
) SWIG_fail
;
26986 swig_obj
[0] = args
;
26987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26988 if (!SWIG_IsOK(res1
)) {
26989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26991 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26996 result
= (wxPrintData
*) &_result_ref
;
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27008 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
= 0;
27010 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27011 wxPrintData
*arg2
= 0 ;
27016 PyObject
* obj0
= 0 ;
27017 PyObject
* obj1
= 0 ;
27018 char * kwnames
[] = {
27019 (char *) "self",(char *) "printData", NULL
27022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27024 if (!SWIG_IsOK(res1
)) {
27025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27027 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27029 if (!SWIG_IsOK(res2
)) {
27030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27035 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27039 wxPyEndAllowThreads(__tstate
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= SWIG_Py_Void();
27049 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27052 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27053 return SWIG_Py_Void();
27056 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27057 return SWIG_Python_InitShadowInstance(args
);
27060 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
= 0;
27062 wxWindow
*arg1
= (wxWindow
*) 0 ;
27063 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27064 wxPrintDialog
*result
= 0 ;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char * kwnames
[] = {
27072 (char *) "parent",(char *) "data", NULL
27075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27077 if (!SWIG_IsOK(res1
)) {
27078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27080 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27083 if (!SWIG_IsOK(res2
)) {
27084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27086 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27089 if (!wxPyCheckForApp()) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27102 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27103 PyObject
*resultobj
= 0;
27104 wxPrintDialog
*arg1
= (wxPrintDialog
*) 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_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27112 if (!SWIG_IsOK(res1
)) {
27113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27115 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= SWIG_Py_Void();
27130 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27131 PyObject
*resultobj
= 0;
27132 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27136 PyObject
*swig_obj
[1] ;
27138 if (!args
) SWIG_fail
;
27139 swig_obj
[0] = args
;
27140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27141 if (!SWIG_IsOK(res1
)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27144 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 result
= (int)(arg1
)->ShowModal();
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_From_int(static_cast< int >(result
));
27158 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27159 PyObject
*resultobj
= 0;
27160 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27161 wxPrintDialogData
*result
= 0 ;
27164 PyObject
*swig_obj
[1] ;
27166 if (!args
) SWIG_fail
;
27167 swig_obj
[0] = args
;
27168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27169 if (!SWIG_IsOK(res1
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27172 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27177 result
= (wxPrintDialogData
*) &_result_ref
;
27179 wxPyEndAllowThreads(__tstate
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27189 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27190 PyObject
*resultobj
= 0;
27191 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27192 wxPrintData
*result
= 0 ;
27195 PyObject
*swig_obj
[1] ;
27197 if (!args
) SWIG_fail
;
27198 swig_obj
[0] = args
;
27199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27200 if (!SWIG_IsOK(res1
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27203 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27208 result
= (wxPrintData
*) &_result_ref
;
27210 wxPyEndAllowThreads(__tstate
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27220 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27221 PyObject
*resultobj
= 0;
27222 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27226 PyObject
*swig_obj
[1] ;
27228 if (!args
) SWIG_fail
;
27229 swig_obj
[0] = args
;
27230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27231 if (!SWIG_IsOK(res1
)) {
27232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27234 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27237 result
= (wxDC
*)(arg1
)->GetPrintDC();
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27242 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27250 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27253 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27254 return SWIG_Py_Void();
27257 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27258 return SWIG_Python_InitShadowInstance(args
);
27261 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
= 0;
27263 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27264 wxPrinter
*result
= 0 ;
27267 PyObject
* obj0
= 0 ;
27268 char * kwnames
[] = {
27269 (char *) "data", NULL
27272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27275 if (!SWIG_IsOK(res1
)) {
27276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27278 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27281 if (!wxPyCheckForApp()) SWIG_fail
;
27282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27283 result
= (wxPrinter
*)new wxPrinter(arg1
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27294 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27295 PyObject
*resultobj
= 0;
27296 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27299 PyObject
*swig_obj
[1] ;
27301 if (!args
) SWIG_fail
;
27302 swig_obj
[0] = args
;
27303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27304 if (!SWIG_IsOK(res1
)) {
27305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27307 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27315 resultobj
= SWIG_Py_Void();
27322 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
= 0;
27324 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27325 wxWindow
*arg2
= (wxWindow
*) 0 ;
27326 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27327 wxWindow
*result
= 0 ;
27334 PyObject
* obj0
= 0 ;
27335 PyObject
* obj1
= 0 ;
27336 PyObject
* obj2
= 0 ;
27337 char * kwnames
[] = {
27338 (char *) "self",(char *) "parent",(char *) "printout", NULL
27341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27343 if (!SWIG_IsOK(res1
)) {
27344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27346 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27348 if (!SWIG_IsOK(res2
)) {
27349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27351 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27352 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27353 if (!SWIG_IsOK(res3
)) {
27354 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27356 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27364 resultobj
= wxPyMake_wxObject(result
, 0);
27372 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27373 PyObject
*resultobj
= 0;
27374 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27375 wxWindow
*arg2
= (wxWindow
*) 0 ;
27376 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27377 wxString
*arg4
= 0 ;
27384 bool temp4
= false ;
27385 PyObject
* obj0
= 0 ;
27386 PyObject
* obj1
= 0 ;
27387 PyObject
* obj2
= 0 ;
27388 PyObject
* obj3
= 0 ;
27389 char * kwnames
[] = {
27390 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27395 if (!SWIG_IsOK(res1
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27398 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27399 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27400 if (!SWIG_IsOK(res2
)) {
27401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27403 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27404 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27405 if (!SWIG_IsOK(res3
)) {
27406 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27408 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27410 arg4
= wxString_in_helper(obj3
);
27411 if (arg4
== NULL
) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= SWIG_Py_Void();
27435 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27436 PyObject
*resultobj
= 0;
27437 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27438 wxWindow
*arg2
= (wxWindow
*) 0 ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 char * kwnames
[] = {
27447 (char *) "self",(char *) "parent", NULL
27450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27452 if (!SWIG_IsOK(res1
)) {
27453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27455 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27457 if (!SWIG_IsOK(res2
)) {
27458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27460 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27463 result
= (bool)(arg1
)->Setup(arg2
);
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27476 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
= 0;
27478 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27479 wxWindow
*arg2
= (wxWindow
*) 0 ;
27480 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27481 bool arg4
= (bool) true ;
27491 PyObject
* obj0
= 0 ;
27492 PyObject
* obj1
= 0 ;
27493 PyObject
* obj2
= 0 ;
27494 PyObject
* obj3
= 0 ;
27495 char * kwnames
[] = {
27496 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27501 if (!SWIG_IsOK(res1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27504 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27506 if (!SWIG_IsOK(res2
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27509 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27510 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27511 if (!SWIG_IsOK(res3
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27514 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27516 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27517 if (!SWIG_IsOK(ecode4
)) {
27518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27520 arg4
= static_cast< bool >(val4
);
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27537 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
= 0;
27539 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27540 wxWindow
*arg2
= (wxWindow
*) 0 ;
27546 PyObject
* obj0
= 0 ;
27547 PyObject
* obj1
= 0 ;
27548 char * kwnames
[] = {
27549 (char *) "self",(char *) "parent", NULL
27552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27554 if (!SWIG_IsOK(res1
)) {
27555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27557 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27559 if (!SWIG_IsOK(res2
)) {
27560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27562 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27566 wxPyEndAllowThreads(__tstate
);
27567 if (PyErr_Occurred()) SWIG_fail
;
27570 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27578 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27579 PyObject
*resultobj
= 0;
27580 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27581 wxPrintDialogData
*result
= 0 ;
27584 PyObject
*swig_obj
[1] ;
27586 if (!args
) SWIG_fail
;
27587 swig_obj
[0] = args
;
27588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27589 if (!SWIG_IsOK(res1
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27592 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27597 result
= (wxPrintDialogData
*) &_result_ref
;
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27609 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27610 PyObject
*resultobj
= 0;
27611 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27615 PyObject
*swig_obj
[1] ;
27617 if (!args
) SWIG_fail
;
27618 swig_obj
[0] = args
;
27619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27620 if (!SWIG_IsOK(res1
)) {
27621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27623 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27626 result
= (bool)(arg1
)->GetAbort();
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27639 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27640 PyObject
*resultobj
= 0;
27641 wxPrinterError result
;
27643 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= (wxPrinterError
)wxPrinter::GetLastError();
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 resultobj
= SWIG_From_int(static_cast< int >(result
));
27657 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27659 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27660 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27661 return SWIG_Py_Void();
27664 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27665 return SWIG_Python_InitShadowInstance(args
);
27668 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27669 PyObject
*resultobj
= 0;
27670 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27671 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27672 wxPyPrintout
*result
= 0 ;
27673 bool temp1
= false ;
27674 PyObject
* obj0
= 0 ;
27675 char * kwnames
[] = {
27676 (char *) "title", NULL
27679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27682 arg1
= wxString_in_helper(obj0
);
27683 if (arg1
== NULL
) SWIG_fail
;
27688 if (!wxPyCheckForApp()) SWIG_fail
;
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27709 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27710 PyObject
*resultobj
= 0;
27711 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27714 PyObject
*swig_obj
[1] ;
27716 if (!args
) SWIG_fail
;
27717 swig_obj
[0] = args
;
27718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27719 if (!SWIG_IsOK(res1
)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27722 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 resultobj
= SWIG_Py_Void();
27737 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
= 0;
27739 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27740 PyObject
*arg2
= (PyObject
*) 0 ;
27741 PyObject
*arg3
= (PyObject
*) 0 ;
27744 PyObject
* obj0
= 0 ;
27745 PyObject
* obj1
= 0 ;
27746 PyObject
* obj2
= 0 ;
27747 char * kwnames
[] = {
27748 (char *) "self",(char *) "self",(char *) "_class", NULL
27751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27753 if (!SWIG_IsOK(res1
)) {
27754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27756 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27761 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27762 wxPyEndAllowThreads(__tstate
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27765 resultobj
= SWIG_Py_Void();
27772 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27773 PyObject
*resultobj
= 0;
27774 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27778 PyObject
*swig_obj
[1] ;
27780 if (!args
) SWIG_fail
;
27781 swig_obj
[0] = args
;
27782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27783 if (!SWIG_IsOK(res1
)) {
27784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27786 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27789 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27806 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27807 PyObject
*resultobj
= 0;
27808 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27812 PyObject
*swig_obj
[1] ;
27814 if (!args
) SWIG_fail
;
27815 swig_obj
[0] = args
;
27816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27817 if (!SWIG_IsOK(res1
)) {
27818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27820 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= (wxDC
*)(arg1
)->GetDC();
27824 wxPyEndAllowThreads(__tstate
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27828 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27836 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27837 PyObject
*resultobj
= 0;
27838 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27839 wxDC
*arg2
= (wxDC
*) 0 ;
27844 PyObject
* obj0
= 0 ;
27845 PyObject
* obj1
= 0 ;
27846 char * kwnames
[] = {
27847 (char *) "self",(char *) "dc", NULL
27850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27852 if (!SWIG_IsOK(res1
)) {
27853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27855 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27857 if (!SWIG_IsOK(res2
)) {
27858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27860 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 (arg1
)->SetDC(arg2
);
27864 wxPyEndAllowThreads(__tstate
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27867 resultobj
= SWIG_Py_Void();
27874 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27875 PyObject
*resultobj
= 0;
27876 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 char * kwnames
[] = {
27884 (char *) "self",(char *) "imageSize", NULL
27887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27889 if (!SWIG_IsOK(res1
)) {
27890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27892 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27895 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= SWIG_Py_Void();
27910 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
= 0;
27912 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27917 PyObject
* obj0
= 0 ;
27918 PyObject
* obj1
= 0 ;
27919 char * kwnames
[] = {
27920 (char *) "self",(char *) "imageSize", NULL
27923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27925 if (!SWIG_IsOK(res1
)) {
27926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27928 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27931 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
27936 wxPyEndAllowThreads(__tstate
);
27937 if (PyErr_Occurred()) SWIG_fail
;
27939 resultobj
= SWIG_Py_Void();
27946 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
= 0;
27948 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27950 wxPageSetupDialogData
*arg3
= 0 ;
27956 PyObject
* obj0
= 0 ;
27957 PyObject
* obj1
= 0 ;
27958 PyObject
* obj2
= 0 ;
27959 char * kwnames
[] = {
27960 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
27963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27965 if (!SWIG_IsOK(res1
)) {
27966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27968 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27971 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27973 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
27974 if (!SWIG_IsOK(res3
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27980 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
27982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27983 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
27984 wxPyEndAllowThreads(__tstate
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27987 resultobj
= SWIG_Py_Void();
27994 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27995 PyObject
*resultobj
= 0;
27996 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27999 PyObject
*swig_obj
[1] ;
28001 if (!args
) SWIG_fail
;
28002 swig_obj
[0] = args
;
28003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28004 if (!SWIG_IsOK(res1
)) {
28005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28007 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 (arg1
)->MapScreenSizeToPaper();
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= SWIG_Py_Void();
28021 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28026 PyObject
*swig_obj
[1] ;
28028 if (!args
) SWIG_fail
;
28029 swig_obj
[0] = args
;
28030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28031 if (!SWIG_IsOK(res1
)) {
28032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28034 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28037 (arg1
)->MapScreenSizeToPage();
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= SWIG_Py_Void();
28048 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28049 PyObject
*resultobj
= 0;
28050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28051 wxPageSetupDialogData
*arg2
= 0 ;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 char * kwnames
[] = {
28059 (char *) "self",(char *) "pageSetupData", NULL
28062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28064 if (!SWIG_IsOK(res1
)) {
28065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28067 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28069 if (!SWIG_IsOK(res2
)) {
28070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28075 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28078 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28082 resultobj
= SWIG_Py_Void();
28089 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28090 PyObject
*resultobj
= 0;
28091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28094 PyObject
*swig_obj
[1] ;
28096 if (!args
) SWIG_fail
;
28097 swig_obj
[0] = args
;
28098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28099 if (!SWIG_IsOK(res1
)) {
28100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28102 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 (arg1
)->MapScreenSizeToDevice();
28106 wxPyEndAllowThreads(__tstate
);
28107 if (PyErr_Occurred()) SWIG_fail
;
28109 resultobj
= SWIG_Py_Void();
28116 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28117 PyObject
*resultobj
= 0;
28118 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28122 PyObject
*swig_obj
[1] ;
28124 if (!args
) SWIG_fail
;
28125 swig_obj
[0] = args
;
28126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28127 if (!SWIG_IsOK(res1
)) {
28128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28130 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28144 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28145 PyObject
*resultobj
= 0;
28146 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28150 PyObject
*swig_obj
[1] ;
28152 if (!args
) SWIG_fail
;
28153 swig_obj
[0] = args
;
28154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28155 if (!SWIG_IsOK(res1
)) {
28156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28158 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28165 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28172 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
= 0;
28174 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28175 wxPageSetupDialogData
*arg2
= 0 ;
28181 PyObject
* obj0
= 0 ;
28182 PyObject
* obj1
= 0 ;
28183 char * kwnames
[] = {
28184 (char *) "self",(char *) "pageSetupData", NULL
28187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28189 if (!SWIG_IsOK(res1
)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28192 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28194 if (!SWIG_IsOK(res2
)) {
28195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28200 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28204 wxPyEndAllowThreads(__tstate
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28214 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28215 PyObject
*resultobj
= 0;
28216 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28225 PyObject
* obj0
= 0 ;
28226 PyObject
* obj1
= 0 ;
28227 PyObject
* obj2
= 0 ;
28228 char * kwnames
[] = {
28229 (char *) "self",(char *) "x",(char *) "y", NULL
28232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28234 if (!SWIG_IsOK(res1
)) {
28235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28237 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28239 if (!SWIG_IsOK(ecode2
)) {
28240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28242 arg2
= static_cast< int >(val2
);
28243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28244 if (!SWIG_IsOK(ecode3
)) {
28245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28247 arg3
= static_cast< int >(val3
);
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28254 resultobj
= SWIG_Py_Void();
28261 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28262 PyObject
*resultobj
= 0;
28263 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28272 PyObject
* obj0
= 0 ;
28273 PyObject
* obj1
= 0 ;
28274 PyObject
* obj2
= 0 ;
28275 char * kwnames
[] = {
28276 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28281 if (!SWIG_IsOK(res1
)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28284 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28286 if (!SWIG_IsOK(ecode2
)) {
28287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28289 arg2
= static_cast< int >(val2
);
28290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28291 if (!SWIG_IsOK(ecode3
)) {
28292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28294 arg3
= static_cast< int >(val3
);
28296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28297 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28298 wxPyEndAllowThreads(__tstate
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28301 resultobj
= SWIG_Py_Void();
28308 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28309 PyObject
*resultobj
= 0;
28310 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28319 PyObject
* obj0
= 0 ;
28320 PyObject
* obj1
= 0 ;
28321 PyObject
* obj2
= 0 ;
28322 char * kwnames
[] = {
28323 (char *) "self",(char *) "w",(char *) "h", NULL
28326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28328 if (!SWIG_IsOK(res1
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28331 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28333 if (!SWIG_IsOK(ecode2
)) {
28334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28336 arg2
= static_cast< int >(val2
);
28337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28338 if (!SWIG_IsOK(ecode3
)) {
28339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28341 arg3
= static_cast< int >(val3
);
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28345 wxPyEndAllowThreads(__tstate
);
28346 if (PyErr_Occurred()) SWIG_fail
;
28348 resultobj
= SWIG_Py_Void();
28355 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28356 PyObject
*resultobj
= 0;
28357 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28358 int *arg2
= (int *) 0 ;
28359 int *arg3
= (int *) 0 ;
28363 int res2
= SWIG_TMPOBJ
;
28365 int res3
= SWIG_TMPOBJ
;
28366 PyObject
*swig_obj
[1] ;
28370 if (!args
) SWIG_fail
;
28371 swig_obj
[0] = args
;
28372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28373 if (!SWIG_IsOK(res1
)) {
28374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28376 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28379 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 resultobj
= SWIG_Py_Void();
28384 if (SWIG_IsTmpObj(res2
)) {
28385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28387 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28390 if (SWIG_IsTmpObj(res3
)) {
28391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28393 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28402 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28403 PyObject
*resultobj
= 0;
28404 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28413 PyObject
* obj0
= 0 ;
28414 PyObject
* obj1
= 0 ;
28415 PyObject
* obj2
= 0 ;
28416 char * kwnames
[] = {
28417 (char *) "self",(char *) "w",(char *) "h", NULL
28420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28422 if (!SWIG_IsOK(res1
)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28425 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28427 if (!SWIG_IsOK(ecode2
)) {
28428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28430 arg2
= static_cast< int >(val2
);
28431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28432 if (!SWIG_IsOK(ecode3
)) {
28433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28435 arg3
= static_cast< int >(val3
);
28437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28438 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28439 wxPyEndAllowThreads(__tstate
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28442 resultobj
= SWIG_Py_Void();
28449 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28450 PyObject
*resultobj
= 0;
28451 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28452 int *arg2
= (int *) 0 ;
28453 int *arg3
= (int *) 0 ;
28457 int res2
= SWIG_TMPOBJ
;
28459 int res3
= SWIG_TMPOBJ
;
28460 PyObject
*swig_obj
[1] ;
28464 if (!args
) SWIG_fail
;
28465 swig_obj
[0] = args
;
28466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28467 if (!SWIG_IsOK(res1
)) {
28468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28470 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 resultobj
= SWIG_Py_Void();
28478 if (SWIG_IsTmpObj(res2
)) {
28479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28481 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28484 if (SWIG_IsTmpObj(res3
)) {
28485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28487 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28496 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28497 PyObject
*resultobj
= 0;
28498 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28507 PyObject
* obj0
= 0 ;
28508 PyObject
* obj1
= 0 ;
28509 PyObject
* obj2
= 0 ;
28510 char * kwnames
[] = {
28511 (char *) "self",(char *) "x",(char *) "y", NULL
28514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28516 if (!SWIG_IsOK(res1
)) {
28517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28519 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28521 if (!SWIG_IsOK(ecode2
)) {
28522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28524 arg2
= static_cast< int >(val2
);
28525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28526 if (!SWIG_IsOK(ecode3
)) {
28527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28529 arg3
= static_cast< int >(val3
);
28531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28532 (arg1
)->SetPPIScreen(arg2
,arg3
);
28533 wxPyEndAllowThreads(__tstate
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= SWIG_Py_Void();
28543 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28544 PyObject
*resultobj
= 0;
28545 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28546 int *arg2
= (int *) 0 ;
28547 int *arg3
= (int *) 0 ;
28551 int res2
= SWIG_TMPOBJ
;
28553 int res3
= SWIG_TMPOBJ
;
28554 PyObject
*swig_obj
[1] ;
28558 if (!args
) SWIG_fail
;
28559 swig_obj
[0] = args
;
28560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28561 if (!SWIG_IsOK(res1
)) {
28562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28564 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28567 (arg1
)->GetPPIScreen(arg2
,arg3
);
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28571 resultobj
= SWIG_Py_Void();
28572 if (SWIG_IsTmpObj(res2
)) {
28573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28575 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28578 if (SWIG_IsTmpObj(res3
)) {
28579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28581 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28590 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28591 PyObject
*resultobj
= 0;
28592 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28601 PyObject
* obj0
= 0 ;
28602 PyObject
* obj1
= 0 ;
28603 PyObject
* obj2
= 0 ;
28604 char * kwnames
[] = {
28605 (char *) "self",(char *) "x",(char *) "y", NULL
28608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28610 if (!SWIG_IsOK(res1
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28613 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28615 if (!SWIG_IsOK(ecode2
)) {
28616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28618 arg2
= static_cast< int >(val2
);
28619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28620 if (!SWIG_IsOK(ecode3
)) {
28621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28623 arg3
= static_cast< int >(val3
);
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28630 resultobj
= SWIG_Py_Void();
28637 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28638 PyObject
*resultobj
= 0;
28639 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28640 int *arg2
= (int *) 0 ;
28641 int *arg3
= (int *) 0 ;
28645 int res2
= SWIG_TMPOBJ
;
28647 int res3
= SWIG_TMPOBJ
;
28648 PyObject
*swig_obj
[1] ;
28652 if (!args
) SWIG_fail
;
28653 swig_obj
[0] = args
;
28654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28655 if (!SWIG_IsOK(res1
)) {
28656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28658 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28665 resultobj
= SWIG_Py_Void();
28666 if (SWIG_IsTmpObj(res2
)) {
28667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28669 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28672 if (SWIG_IsTmpObj(res3
)) {
28673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28675 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28684 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
= 0;
28686 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28691 PyObject
* obj0
= 0 ;
28692 PyObject
* obj1
= 0 ;
28693 char * kwnames
[] = {
28694 (char *) "self",(char *) "paperRectPixels", NULL
28697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28699 if (!SWIG_IsOK(res1
)) {
28700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28702 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28705 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28710 wxPyEndAllowThreads(__tstate
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28713 resultobj
= SWIG_Py_Void();
28720 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28721 PyObject
*resultobj
= 0;
28722 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28726 PyObject
*swig_obj
[1] ;
28728 if (!args
) SWIG_fail
;
28729 swig_obj
[0] = args
;
28730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28731 if (!SWIG_IsOK(res1
)) {
28732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28734 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28741 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28748 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28749 PyObject
*resultobj
= 0;
28750 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28754 PyObject
*swig_obj
[1] ;
28756 if (!args
) SWIG_fail
;
28757 swig_obj
[0] = args
;
28758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28759 if (!SWIG_IsOK(res1
)) {
28760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28762 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 result
= (bool)(arg1
)->IsPreview();
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28778 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28779 PyObject
*resultobj
= 0;
28780 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28786 PyObject
* obj0
= 0 ;
28787 PyObject
* obj1
= 0 ;
28788 char * kwnames
[] = {
28789 (char *) "self",(char *) "p", NULL
28792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28794 if (!SWIG_IsOK(res1
)) {
28795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28797 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28798 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28799 if (!SWIG_IsOK(ecode2
)) {
28800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28802 arg2
= static_cast< bool >(val2
);
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 (arg1
)->SetIsPreview(arg2
);
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_Py_Void();
28816 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
= 0;
28818 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28828 PyObject
* obj0
= 0 ;
28829 PyObject
* obj1
= 0 ;
28830 PyObject
* obj2
= 0 ;
28831 char * kwnames
[] = {
28832 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28837 if (!SWIG_IsOK(res1
)) {
28838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28840 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28842 if (!SWIG_IsOK(ecode2
)) {
28843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28845 arg2
= static_cast< int >(val2
);
28846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28847 if (!SWIG_IsOK(ecode3
)) {
28848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28850 arg3
= static_cast< int >(val3
);
28852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28853 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28854 wxPyEndAllowThreads(__tstate
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28866 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28867 PyObject
*resultobj
= 0;
28868 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28871 PyObject
*swig_obj
[1] ;
28873 if (!args
) SWIG_fail
;
28874 swig_obj
[0] = args
;
28875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28876 if (!SWIG_IsOK(res1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28879 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28882 (arg1
)->OnEndDocument();
28883 wxPyEndAllowThreads(__tstate
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28886 resultobj
= SWIG_Py_Void();
28893 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28894 PyObject
*resultobj
= 0;
28895 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28898 PyObject
*swig_obj
[1] ;
28900 if (!args
) SWIG_fail
;
28901 swig_obj
[0] = args
;
28902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28903 if (!SWIG_IsOK(res1
)) {
28904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28906 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 (arg1
)->OnBeginPrinting();
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= SWIG_Py_Void();
28920 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28921 PyObject
*resultobj
= 0;
28922 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28925 PyObject
*swig_obj
[1] ;
28927 if (!args
) SWIG_fail
;
28928 swig_obj
[0] = args
;
28929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28930 if (!SWIG_IsOK(res1
)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28933 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 (arg1
)->OnEndPrinting();
28937 wxPyEndAllowThreads(__tstate
);
28938 if (PyErr_Occurred()) SWIG_fail
;
28940 resultobj
= SWIG_Py_Void();
28947 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28948 PyObject
*resultobj
= 0;
28949 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28952 PyObject
*swig_obj
[1] ;
28954 if (!args
) SWIG_fail
;
28955 swig_obj
[0] = args
;
28956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28957 if (!SWIG_IsOK(res1
)) {
28958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28960 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 (arg1
)->OnPreparePrinting();
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28967 resultobj
= SWIG_Py_Void();
28974 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28975 PyObject
*resultobj
= 0;
28976 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28983 PyObject
* obj0
= 0 ;
28984 PyObject
* obj1
= 0 ;
28985 char * kwnames
[] = {
28986 (char *) "self",(char *) "page", NULL
28989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28991 if (!SWIG_IsOK(res1
)) {
28992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28994 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28996 if (!SWIG_IsOK(ecode2
)) {
28997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28999 arg2
= static_cast< int >(val2
);
29001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 result
= (bool)(arg1
)->HasPage(arg2
);
29003 wxPyEndAllowThreads(__tstate
);
29004 if (PyErr_Occurred()) SWIG_fail
;
29007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29015 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29016 PyObject
*resultobj
= 0;
29017 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29018 int *arg2
= (int *) 0 ;
29019 int *arg3
= (int *) 0 ;
29020 int *arg4
= (int *) 0 ;
29021 int *arg5
= (int *) 0 ;
29025 int res2
= SWIG_TMPOBJ
;
29027 int res3
= SWIG_TMPOBJ
;
29029 int res4
= SWIG_TMPOBJ
;
29031 int res5
= SWIG_TMPOBJ
;
29032 PyObject
*swig_obj
[1] ;
29038 if (!args
) SWIG_fail
;
29039 swig_obj
[0] = args
;
29040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29041 if (!SWIG_IsOK(res1
)) {
29042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29044 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 resultobj
= SWIG_Py_Void();
29052 if (SWIG_IsTmpObj(res2
)) {
29053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29055 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29056 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29058 if (SWIG_IsTmpObj(res3
)) {
29059 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29061 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29062 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29064 if (SWIG_IsTmpObj(res4
)) {
29065 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29067 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29068 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29070 if (SWIG_IsTmpObj(res5
)) {
29071 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29073 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29082 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29085 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29086 return SWIG_Py_Void();
29089 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29090 return SWIG_Python_InitShadowInstance(args
);
29093 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
= 0;
29095 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29096 wxWindow
*arg2
= (wxWindow
*) 0 ;
29097 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29098 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29099 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29100 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29101 long arg5
= (long) 0 ;
29102 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29103 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29104 wxPreviewCanvas
*result
= 0 ;
29113 bool temp6
= false ;
29114 PyObject
* obj0
= 0 ;
29115 PyObject
* obj1
= 0 ;
29116 PyObject
* obj2
= 0 ;
29117 PyObject
* obj3
= 0 ;
29118 PyObject
* obj4
= 0 ;
29119 PyObject
* obj5
= 0 ;
29120 char * kwnames
[] = {
29121 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29126 if (!SWIG_IsOK(res1
)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29129 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29131 if (!SWIG_IsOK(res2
)) {
29132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29134 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29138 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29144 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29148 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29149 if (!SWIG_IsOK(ecode5
)) {
29150 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29152 arg5
= static_cast< long >(val5
);
29156 arg6
= wxString_in_helper(obj5
);
29157 if (arg6
== NULL
) SWIG_fail
;
29162 if (!wxPyCheckForApp()) SWIG_fail
;
29163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29164 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29183 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29186 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29187 return SWIG_Py_Void();
29190 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29191 return SWIG_Python_InitShadowInstance(args
);
29194 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
= 0;
29196 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29197 wxFrame
*arg2
= (wxFrame
*) 0 ;
29198 wxString
*arg3
= 0 ;
29199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29203 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29204 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29205 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29206 wxPreviewFrame
*result
= 0 ;
29210 bool temp3
= false ;
29215 bool temp7
= false ;
29216 PyObject
* obj0
= 0 ;
29217 PyObject
* obj1
= 0 ;
29218 PyObject
* obj2
= 0 ;
29219 PyObject
* obj3
= 0 ;
29220 PyObject
* obj4
= 0 ;
29221 PyObject
* obj5
= 0 ;
29222 PyObject
* obj6
= 0 ;
29223 char * kwnames
[] = {
29224 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29228 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29229 if (!SWIG_IsOK(res1
)) {
29230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29232 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29233 if (!SWIG_IsOK(res2
)) {
29234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29236 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29238 arg3
= wxString_in_helper(obj2
);
29239 if (arg3
== NULL
) SWIG_fail
;
29245 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29251 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29255 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29256 if (!SWIG_IsOK(ecode6
)) {
29257 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29259 arg6
= static_cast< long >(val6
);
29263 arg7
= wxString_in_helper(obj6
);
29264 if (arg7
== NULL
) SWIG_fail
;
29269 if (!wxPyCheckForApp()) SWIG_fail
;
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29272 wxPyEndAllowThreads(__tstate
);
29273 if (PyErr_Occurred()) SWIG_fail
;
29275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29298 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29299 PyObject
*resultobj
= 0;
29300 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29303 PyObject
*swig_obj
[1] ;
29305 if (!args
) SWIG_fail
;
29306 swig_obj
[0] = args
;
29307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29308 if (!SWIG_IsOK(res1
)) {
29309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29311 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29314 (arg1
)->Initialize();
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29318 resultobj
= SWIG_Py_Void();
29325 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29326 PyObject
*resultobj
= 0;
29327 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29330 PyObject
*swig_obj
[1] ;
29332 if (!args
) SWIG_fail
;
29333 swig_obj
[0] = args
;
29334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29335 if (!SWIG_IsOK(res1
)) {
29336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29338 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29341 (arg1
)->CreateControlBar();
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29345 resultobj
= SWIG_Py_Void();
29352 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29353 PyObject
*resultobj
= 0;
29354 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29357 PyObject
*swig_obj
[1] ;
29359 if (!args
) SWIG_fail
;
29360 swig_obj
[0] = args
;
29361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29362 if (!SWIG_IsOK(res1
)) {
29363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29365 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29368 (arg1
)->CreateCanvas();
29369 wxPyEndAllowThreads(__tstate
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29372 resultobj
= SWIG_Py_Void();
29379 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29380 PyObject
*resultobj
= 0;
29381 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29382 wxPreviewControlBar
*result
= 0 ;
29385 PyObject
*swig_obj
[1] ;
29387 if (!args
) SWIG_fail
;
29388 swig_obj
[0] = args
;
29389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29390 if (!SWIG_IsOK(res1
)) {
29391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29393 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29407 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29410 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29411 return SWIG_Py_Void();
29414 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29415 return SWIG_Python_InitShadowInstance(args
);
29418 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29419 PyObject
*resultobj
= 0;
29420 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29422 wxWindow
*arg3
= (wxWindow
*) 0 ;
29423 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29424 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29425 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29426 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29427 long arg6
= (long) wxTAB_TRAVERSAL
;
29428 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29429 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29430 wxPreviewControlBar
*result
= 0 ;
29441 bool temp7
= false ;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 PyObject
* obj2
= 0 ;
29445 PyObject
* obj3
= 0 ;
29446 PyObject
* obj4
= 0 ;
29447 PyObject
* obj5
= 0 ;
29448 PyObject
* obj6
= 0 ;
29449 char * kwnames
[] = {
29450 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29455 if (!SWIG_IsOK(res1
)) {
29456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29458 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29459 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29460 if (!SWIG_IsOK(ecode2
)) {
29461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29463 arg2
= static_cast< long >(val2
);
29464 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29465 if (!SWIG_IsOK(res3
)) {
29466 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29468 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29472 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29478 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29482 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29483 if (!SWIG_IsOK(ecode6
)) {
29484 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29486 arg6
= static_cast< long >(val6
);
29490 arg7
= wxString_in_helper(obj6
);
29491 if (arg7
== NULL
) SWIG_fail
;
29496 if (!wxPyCheckForApp()) SWIG_fail
;
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29517 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29518 PyObject
*resultobj
= 0;
29519 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29523 PyObject
*swig_obj
[1] ;
29525 if (!args
) SWIG_fail
;
29526 swig_obj
[0] = args
;
29527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29528 if (!SWIG_IsOK(res1
)) {
29529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29531 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29534 result
= (int)(arg1
)->GetZoomControl();
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29538 resultobj
= SWIG_From_int(static_cast< int >(result
));
29545 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
= 0;
29547 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29553 PyObject
* obj0
= 0 ;
29554 PyObject
* obj1
= 0 ;
29555 char * kwnames
[] = {
29556 (char *) "self",(char *) "zoom", NULL
29559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29561 if (!SWIG_IsOK(res1
)) {
29562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29564 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29566 if (!SWIG_IsOK(ecode2
)) {
29567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29569 arg2
= static_cast< int >(val2
);
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 (arg1
)->SetZoomControl(arg2
);
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29576 resultobj
= SWIG_Py_Void();
29583 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29584 PyObject
*resultobj
= 0;
29585 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29586 wxPrintPreview
*result
= 0 ;
29589 PyObject
*swig_obj
[1] ;
29591 if (!args
) SWIG_fail
;
29592 swig_obj
[0] = args
;
29593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29594 if (!SWIG_IsOK(res1
)) {
29595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29597 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29611 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29612 PyObject
*resultobj
= 0;
29613 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29616 PyObject
*swig_obj
[1] ;
29618 if (!args
) SWIG_fail
;
29619 swig_obj
[0] = args
;
29620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29621 if (!SWIG_IsOK(res1
)) {
29622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29624 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 wxPyEndAllowThreads(__tstate
);
29629 if (PyErr_Occurred()) SWIG_fail
;
29631 resultobj
= SWIG_Py_Void();
29638 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29639 PyObject
*resultobj
= 0;
29640 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29643 PyObject
*swig_obj
[1] ;
29645 if (!args
) SWIG_fail
;
29646 swig_obj
[0] = args
;
29647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29648 if (!SWIG_IsOK(res1
)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29651 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 (arg1
)->OnPrevious();
29655 wxPyEndAllowThreads(__tstate
);
29656 if (PyErr_Occurred()) SWIG_fail
;
29658 resultobj
= SWIG_Py_Void();
29665 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29666 PyObject
*resultobj
= 0;
29667 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29670 PyObject
*swig_obj
[1] ;
29672 if (!args
) SWIG_fail
;
29673 swig_obj
[0] = args
;
29674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29675 if (!SWIG_IsOK(res1
)) {
29676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29678 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29685 resultobj
= SWIG_Py_Void();
29692 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29693 PyObject
*resultobj
= 0;
29694 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29697 PyObject
*swig_obj
[1] ;
29699 if (!args
) SWIG_fail
;
29700 swig_obj
[0] = args
;
29701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29702 if (!SWIG_IsOK(res1
)) {
29703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29705 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= SWIG_Py_Void();
29719 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29720 PyObject
*resultobj
= 0;
29721 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29724 PyObject
*swig_obj
[1] ;
29726 if (!args
) SWIG_fail
;
29727 swig_obj
[0] = args
;
29728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29729 if (!SWIG_IsOK(res1
)) {
29730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29732 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29739 resultobj
= SWIG_Py_Void();
29746 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29749 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29750 return SWIG_Py_Void();
29753 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29754 return SWIG_Python_InitShadowInstance(args
);
29757 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29758 PyObject
*resultobj
= 0;
29759 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29760 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29761 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29762 wxPrintPreview
*result
= 0 ;
29768 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29769 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29770 if (!SWIG_IsOK(res1
)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29773 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29774 if (!SWIG_IsOK(res2
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29778 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29779 if (!SWIG_IsOK(res3
)) {
29780 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29782 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29785 if (!wxPyCheckForApp()) SWIG_fail
;
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29787 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29798 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29799 PyObject
*resultobj
= 0;
29800 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29801 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29802 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29803 wxPrintPreview
*result
= 0 ;
29809 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29810 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29811 if (!SWIG_IsOK(res1
)) {
29812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29814 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29815 if (!SWIG_IsOK(res2
)) {
29816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29818 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29819 if (!SWIG_IsOK(res3
)) {
29820 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29822 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29824 if (!wxPyCheckForApp()) SWIG_fail
;
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29827 wxPyEndAllowThreads(__tstate
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29837 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29841 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29843 if ((argc
>= 2) && (argc
<= 3)) {
29848 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29849 _v
= SWIG_CheckState(res
);
29851 if (!_v
) goto check_1
;
29853 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29858 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29862 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29867 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29868 PyObject
*resultobj
= 0;
29869 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29872 PyObject
*swig_obj
[1] ;
29874 if (!args
) SWIG_fail
;
29875 swig_obj
[0] = args
;
29876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29877 if (!SWIG_IsOK(res1
)) {
29878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29880 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29888 resultobj
= SWIG_Py_Void();
29895 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29896 PyObject
*resultobj
= 0;
29897 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29904 PyObject
* obj0
= 0 ;
29905 PyObject
* obj1
= 0 ;
29906 char * kwnames
[] = {
29907 (char *) "self",(char *) "pageNum", NULL
29910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29912 if (!SWIG_IsOK(res1
)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29915 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29917 if (!SWIG_IsOK(ecode2
)) {
29918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29920 arg2
= static_cast< int >(val2
);
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29923 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29924 wxPyEndAllowThreads(__tstate
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29936 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29937 PyObject
*resultobj
= 0;
29938 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29942 PyObject
*swig_obj
[1] ;
29944 if (!args
) SWIG_fail
;
29945 swig_obj
[0] = args
;
29946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29947 if (!SWIG_IsOK(res1
)) {
29948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29950 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (int)(arg1
)->GetCurrentPage();
29954 wxPyEndAllowThreads(__tstate
);
29955 if (PyErr_Occurred()) SWIG_fail
;
29957 resultobj
= SWIG_From_int(static_cast< int >(result
));
29964 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29965 PyObject
*resultobj
= 0;
29966 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29967 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29971 PyObject
* obj0
= 0 ;
29972 PyObject
* obj1
= 0 ;
29973 char * kwnames
[] = {
29974 (char *) "self",(char *) "printout", NULL
29977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29979 if (!SWIG_IsOK(res1
)) {
29980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29982 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29983 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29984 if (!SWIG_IsOK(res2
)) {
29985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 (arg1
)->SetPrintout(arg2
);
29990 wxPyEndAllowThreads(__tstate
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= SWIG_Py_Void();
30000 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30001 PyObject
*resultobj
= 0;
30002 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30003 wxPyPrintout
*result
= 0 ;
30006 PyObject
*swig_obj
[1] ;
30008 if (!args
) SWIG_fail
;
30009 swig_obj
[0] = args
;
30010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30011 if (!SWIG_IsOK(res1
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30014 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30022 resultobj
= wxPyMake_wxObject(result
, 0);
30030 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30031 PyObject
*resultobj
= 0;
30032 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30033 wxPyPrintout
*result
= 0 ;
30036 PyObject
*swig_obj
[1] ;
30038 if (!args
) SWIG_fail
;
30039 swig_obj
[0] = args
;
30040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30041 if (!SWIG_IsOK(res1
)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30044 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30047 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= wxPyMake_wxObject(result
, 0);
30060 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
= 0;
30062 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30063 wxFrame
*arg2
= (wxFrame
*) 0 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 char * kwnames
[] = {
30071 (char *) "self",(char *) "frame", NULL
30074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30076 if (!SWIG_IsOK(res1
)) {
30077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30079 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30081 if (!SWIG_IsOK(res2
)) {
30082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30084 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 (arg1
)->SetFrame(arg2
);
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30091 resultobj
= SWIG_Py_Void();
30098 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
= 0;
30100 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30101 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30106 PyObject
* obj0
= 0 ;
30107 PyObject
* obj1
= 0 ;
30108 char * kwnames
[] = {
30109 (char *) "self",(char *) "canvas", NULL
30112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30114 if (!SWIG_IsOK(res1
)) {
30115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30117 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30119 if (!SWIG_IsOK(res2
)) {
30120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30122 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 (arg1
)->SetCanvas(arg2
);
30126 wxPyEndAllowThreads(__tstate
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= SWIG_Py_Void();
30136 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30137 PyObject
*resultobj
= 0;
30138 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30139 wxFrame
*result
= 0 ;
30142 PyObject
*swig_obj
[1] ;
30144 if (!args
) SWIG_fail
;
30145 swig_obj
[0] = args
;
30146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30147 if (!SWIG_IsOK(res1
)) {
30148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30150 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 result
= (wxFrame
*)(arg1
)->GetFrame();
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30158 resultobj
= wxPyMake_wxObject(result
, 0);
30166 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30167 PyObject
*resultobj
= 0;
30168 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30169 wxPreviewCanvas
*result
= 0 ;
30172 PyObject
*swig_obj
[1] ;
30174 if (!args
) SWIG_fail
;
30175 swig_obj
[0] = args
;
30176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30177 if (!SWIG_IsOK(res1
)) {
30178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30180 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30183 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30184 wxPyEndAllowThreads(__tstate
);
30185 if (PyErr_Occurred()) SWIG_fail
;
30187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30194 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30195 PyObject
*resultobj
= 0;
30196 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30197 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30206 PyObject
* obj0
= 0 ;
30207 PyObject
* obj1
= 0 ;
30208 PyObject
* obj2
= 0 ;
30209 char * kwnames
[] = {
30210 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30215 if (!SWIG_IsOK(res1
)) {
30216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30218 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30219 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30220 if (!SWIG_IsOK(res2
)) {
30221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30223 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30224 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30225 if (!SWIG_IsOK(res3
)) {
30226 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30231 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30234 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30235 wxPyEndAllowThreads(__tstate
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30247 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30248 PyObject
*resultobj
= 0;
30249 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30250 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30259 PyObject
* obj0
= 0 ;
30260 PyObject
* obj1
= 0 ;
30261 PyObject
* obj2
= 0 ;
30262 char * kwnames
[] = {
30263 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30268 if (!SWIG_IsOK(res1
)) {
30269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30271 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30272 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30273 if (!SWIG_IsOK(res2
)) {
30274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30276 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30277 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30278 if (!SWIG_IsOK(res3
)) {
30279 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30284 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30287 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30288 wxPyEndAllowThreads(__tstate
);
30289 if (PyErr_Occurred()) SWIG_fail
;
30292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30300 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30301 PyObject
*resultobj
= 0;
30302 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30309 PyObject
* obj0
= 0 ;
30310 PyObject
* obj1
= 0 ;
30311 char * kwnames
[] = {
30312 (char *) "self",(char *) "pageNum", NULL
30315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30317 if (!SWIG_IsOK(res1
)) {
30318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30320 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30322 if (!SWIG_IsOK(ecode2
)) {
30323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30325 arg2
= static_cast< int >(val2
);
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 result
= (bool)(arg1
)->RenderPage(arg2
);
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30341 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30342 PyObject
*resultobj
= 0;
30343 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30344 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30349 PyObject
* obj0
= 0 ;
30350 PyObject
* obj1
= 0 ;
30351 char * kwnames
[] = {
30352 (char *) "self",(char *) "canvas", NULL
30355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30357 if (!SWIG_IsOK(res1
)) {
30358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30360 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30362 if (!SWIG_IsOK(res2
)) {
30363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30365 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30368 (arg1
)->AdjustScrollbars(arg2
);
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30372 resultobj
= SWIG_Py_Void();
30379 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30380 PyObject
*resultobj
= 0;
30381 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30382 wxPrintDialogData
*result
= 0 ;
30385 PyObject
*swig_obj
[1] ;
30387 if (!args
) SWIG_fail
;
30388 swig_obj
[0] = args
;
30389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30390 if (!SWIG_IsOK(res1
)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30393 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30398 result
= (wxPrintDialogData
*) &_result_ref
;
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30410 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
= 0;
30412 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30418 PyObject
* obj0
= 0 ;
30419 PyObject
* obj1
= 0 ;
30420 char * kwnames
[] = {
30421 (char *) "self",(char *) "percent", NULL
30424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30426 if (!SWIG_IsOK(res1
)) {
30427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30429 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30431 if (!SWIG_IsOK(ecode2
)) {
30432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30434 arg2
= static_cast< int >(val2
);
30436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30437 (arg1
)->SetZoom(arg2
);
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 resultobj
= SWIG_Py_Void();
30448 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30449 PyObject
*resultobj
= 0;
30450 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30454 PyObject
*swig_obj
[1] ;
30456 if (!args
) SWIG_fail
;
30457 swig_obj
[0] = args
;
30458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30459 if (!SWIG_IsOK(res1
)) {
30460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30462 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 result
= (int)(arg1
)->GetZoom();
30466 wxPyEndAllowThreads(__tstate
);
30467 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= SWIG_From_int(static_cast< int >(result
));
30476 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30477 PyObject
*resultobj
= 0;
30478 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30482 PyObject
*swig_obj
[1] ;
30484 if (!args
) SWIG_fail
;
30485 swig_obj
[0] = args
;
30486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30487 if (!SWIG_IsOK(res1
)) {
30488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30490 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30493 result
= (int)(arg1
)->GetMaxPage();
30494 wxPyEndAllowThreads(__tstate
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30497 resultobj
= SWIG_From_int(static_cast< int >(result
));
30504 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30505 PyObject
*resultobj
= 0;
30506 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30510 PyObject
*swig_obj
[1] ;
30512 if (!args
) SWIG_fail
;
30513 swig_obj
[0] = args
;
30514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30515 if (!SWIG_IsOK(res1
)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30518 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 result
= (int)(arg1
)->GetMinPage();
30522 wxPyEndAllowThreads(__tstate
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30525 resultobj
= SWIG_From_int(static_cast< int >(result
));
30532 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30533 PyObject
*resultobj
= 0;
30534 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30538 PyObject
*swig_obj
[1] ;
30540 if (!args
) SWIG_fail
;
30541 swig_obj
[0] = args
;
30542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30543 if (!SWIG_IsOK(res1
)) {
30544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30546 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 result
= (bool)(arg1
)->IsOk();
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30562 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30563 PyObject
*resultobj
= 0;
30564 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30570 PyObject
* obj0
= 0 ;
30571 PyObject
* obj1
= 0 ;
30572 char * kwnames
[] = {
30573 (char *) "self",(char *) "ok", NULL
30576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30578 if (!SWIG_IsOK(res1
)) {
30579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30581 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30582 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30583 if (!SWIG_IsOK(ecode2
)) {
30584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30586 arg2
= static_cast< bool >(val2
);
30588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30589 (arg1
)->SetOk(arg2
);
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30593 resultobj
= SWIG_Py_Void();
30600 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
= 0;
30602 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30609 PyObject
* obj0
= 0 ;
30610 PyObject
* obj1
= 0 ;
30611 char * kwnames
[] = {
30612 (char *) "self",(char *) "interactive", NULL
30615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30617 if (!SWIG_IsOK(res1
)) {
30618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30620 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30621 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30622 if (!SWIG_IsOK(ecode2
)) {
30623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30625 arg2
= static_cast< bool >(val2
);
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30628 result
= (bool)(arg1
)->Print(arg2
);
30629 wxPyEndAllowThreads(__tstate
);
30630 if (PyErr_Occurred()) SWIG_fail
;
30633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30641 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30642 PyObject
*resultobj
= 0;
30643 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30646 PyObject
*swig_obj
[1] ;
30648 if (!args
) SWIG_fail
;
30649 swig_obj
[0] = args
;
30650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30651 if (!SWIG_IsOK(res1
)) {
30652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30654 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 (arg1
)->DetermineScaling();
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= SWIG_Py_Void();
30668 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30671 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30672 return SWIG_Py_Void();
30675 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30676 return SWIG_Python_InitShadowInstance(args
);
30679 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30680 PyObject
*resultobj
= 0;
30681 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30682 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30683 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30684 wxPyPrintPreview
*result
= 0 ;
30690 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30691 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30692 if (!SWIG_IsOK(res1
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30695 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30696 if (!SWIG_IsOK(res2
)) {
30697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30700 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30701 if (!SWIG_IsOK(res3
)) {
30702 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30704 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30707 if (!wxPyCheckForApp()) SWIG_fail
;
30708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30709 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30720 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30721 PyObject
*resultobj
= 0;
30722 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30723 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30724 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30725 wxPyPrintPreview
*result
= 0 ;
30731 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30732 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30733 if (!SWIG_IsOK(res1
)) {
30734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30736 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30737 if (!SWIG_IsOK(res2
)) {
30738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30740 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30741 if (!SWIG_IsOK(res3
)) {
30742 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30744 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30746 if (!wxPyCheckForApp()) SWIG_fail
;
30747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30749 wxPyEndAllowThreads(__tstate
);
30750 if (PyErr_Occurred()) SWIG_fail
;
30752 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30759 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30763 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30765 if ((argc
>= 2) && (argc
<= 3)) {
30770 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30771 _v
= SWIG_CheckState(res
);
30773 if (!_v
) goto check_1
;
30775 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30780 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30784 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30789 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
= 0;
30791 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30792 PyObject
*arg2
= (PyObject
*) 0 ;
30793 PyObject
*arg3
= (PyObject
*) 0 ;
30796 PyObject
* obj0
= 0 ;
30797 PyObject
* obj1
= 0 ;
30798 PyObject
* obj2
= 0 ;
30799 char * kwnames
[] = {
30800 (char *) "self",(char *) "self",(char *) "_class", NULL
30803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30805 if (!SWIG_IsOK(res1
)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30808 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30813 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30817 resultobj
= SWIG_Py_Void();
30824 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30827 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30828 return SWIG_Py_Void();
30831 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30832 return SWIG_Python_InitShadowInstance(args
);
30835 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
= 0;
30837 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30838 wxFrame
*arg2
= (wxFrame
*) 0 ;
30839 wxString
*arg3
= 0 ;
30840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30844 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30845 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30846 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30847 wxPyPreviewFrame
*result
= 0 ;
30852 bool temp3
= false ;
30857 bool temp7
= false ;
30858 PyObject
* obj0
= 0 ;
30859 PyObject
* obj1
= 0 ;
30860 PyObject
* obj2
= 0 ;
30861 PyObject
* obj3
= 0 ;
30862 PyObject
* obj4
= 0 ;
30863 PyObject
* obj5
= 0 ;
30864 PyObject
* obj6
= 0 ;
30865 char * kwnames
[] = {
30866 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30874 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30875 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30876 if (!SWIG_IsOK(res2
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30879 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30881 arg3
= wxString_in_helper(obj2
);
30882 if (arg3
== NULL
) SWIG_fail
;
30888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30898 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30899 if (!SWIG_IsOK(ecode6
)) {
30900 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30902 arg6
= static_cast< long >(val6
);
30906 arg7
= wxString_in_helper(obj6
);
30907 if (arg7
== NULL
) SWIG_fail
;
30912 if (!wxPyCheckForApp()) SWIG_fail
;
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30915 wxPyEndAllowThreads(__tstate
);
30916 if (PyErr_Occurred()) SWIG_fail
;
30918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30941 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30942 PyObject
*resultobj
= 0;
30943 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30944 PyObject
*arg2
= (PyObject
*) 0 ;
30945 PyObject
*arg3
= (PyObject
*) 0 ;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 PyObject
* obj2
= 0 ;
30951 char * kwnames
[] = {
30952 (char *) "self",(char *) "self",(char *) "_class", NULL
30955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30957 if (!SWIG_IsOK(res1
)) {
30958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30960 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30969 resultobj
= SWIG_Py_Void();
30976 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30977 PyObject
*resultobj
= 0;
30978 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30979 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30984 PyObject
* obj0
= 0 ;
30985 PyObject
* obj1
= 0 ;
30986 char * kwnames
[] = {
30987 (char *) "self",(char *) "canvas", NULL
30990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30992 if (!SWIG_IsOK(res1
)) {
30993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30995 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30996 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30997 if (!SWIG_IsOK(res2
)) {
30998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31000 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31003 (arg1
)->SetPreviewCanvas(arg2
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= SWIG_Py_Void();
31014 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
= 0;
31016 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31017 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31022 PyObject
* obj0
= 0 ;
31023 PyObject
* obj1
= 0 ;
31024 char * kwnames
[] = {
31025 (char *) "self",(char *) "bar", NULL
31028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31030 if (!SWIG_IsOK(res1
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31033 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31034 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31035 if (!SWIG_IsOK(res2
)) {
31036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31038 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 (arg1
)->SetControlBar(arg2
);
31042 wxPyEndAllowThreads(__tstate
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= SWIG_Py_Void();
31052 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31053 PyObject
*resultobj
= 0;
31054 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31057 PyObject
*swig_obj
[1] ;
31059 if (!args
) SWIG_fail
;
31060 swig_obj
[0] = args
;
31061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31062 if (!SWIG_IsOK(res1
)) {
31063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31065 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31068 (arg1
)->Initialize();
31069 wxPyEndAllowThreads(__tstate
);
31070 if (PyErr_Occurred()) SWIG_fail
;
31072 resultobj
= SWIG_Py_Void();
31079 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31080 PyObject
*resultobj
= 0;
31081 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31084 PyObject
*swig_obj
[1] ;
31086 if (!args
) SWIG_fail
;
31087 swig_obj
[0] = args
;
31088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31089 if (!SWIG_IsOK(res1
)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31092 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31095 (arg1
)->CreateCanvas();
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31099 resultobj
= SWIG_Py_Void();
31106 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31107 PyObject
*resultobj
= 0;
31108 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31111 PyObject
*swig_obj
[1] ;
31113 if (!args
) SWIG_fail
;
31114 swig_obj
[0] = args
;
31115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31116 if (!SWIG_IsOK(res1
)) {
31117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31119 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31122 (arg1
)->CreateControlBar();
31123 wxPyEndAllowThreads(__tstate
);
31124 if (PyErr_Occurred()) SWIG_fail
;
31126 resultobj
= SWIG_Py_Void();
31133 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31136 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31137 return SWIG_Py_Void();
31140 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31141 return SWIG_Python_InitShadowInstance(args
);
31144 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
= 0;
31146 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31148 wxWindow
*arg3
= (wxWindow
*) 0 ;
31149 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31150 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31151 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31152 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31153 long arg6
= (long) 0 ;
31154 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31155 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31156 wxPyPreviewControlBar
*result
= 0 ;
31167 bool temp7
= false ;
31168 PyObject
* obj0
= 0 ;
31169 PyObject
* obj1
= 0 ;
31170 PyObject
* obj2
= 0 ;
31171 PyObject
* obj3
= 0 ;
31172 PyObject
* obj4
= 0 ;
31173 PyObject
* obj5
= 0 ;
31174 PyObject
* obj6
= 0 ;
31175 char * kwnames
[] = {
31176 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31181 if (!SWIG_IsOK(res1
)) {
31182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31184 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
31185 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31186 if (!SWIG_IsOK(ecode2
)) {
31187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31189 arg2
= static_cast< long >(val2
);
31190 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31191 if (!SWIG_IsOK(res3
)) {
31192 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31194 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31208 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31209 if (!SWIG_IsOK(ecode6
)) {
31210 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31212 arg6
= static_cast< long >(val6
);
31216 arg7
= wxString_in_helper(obj6
);
31217 if (arg7
== NULL
) SWIG_fail
;
31222 if (!wxPyCheckForApp()) SWIG_fail
;
31223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31224 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31225 wxPyEndAllowThreads(__tstate
);
31226 if (PyErr_Occurred()) SWIG_fail
;
31228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31243 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
= 0;
31245 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31246 PyObject
*arg2
= (PyObject
*) 0 ;
31247 PyObject
*arg3
= (PyObject
*) 0 ;
31250 PyObject
* obj0
= 0 ;
31251 PyObject
* obj1
= 0 ;
31252 PyObject
* obj2
= 0 ;
31253 char * kwnames
[] = {
31254 (char *) "self",(char *) "self",(char *) "_class", NULL
31257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31259 if (!SWIG_IsOK(res1
)) {
31260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31262 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31271 resultobj
= SWIG_Py_Void();
31278 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31279 PyObject
*resultobj
= 0;
31280 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31281 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31286 PyObject
* obj0
= 0 ;
31287 PyObject
* obj1
= 0 ;
31288 char * kwnames
[] = {
31289 (char *) "self",(char *) "preview", NULL
31292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31294 if (!SWIG_IsOK(res1
)) {
31295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31297 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31299 if (!SWIG_IsOK(res2
)) {
31300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31302 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
31304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31305 (arg1
)->SetPrintPreview(arg2
);
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= SWIG_Py_Void();
31316 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31317 PyObject
*resultobj
= 0;
31318 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31321 PyObject
*swig_obj
[1] ;
31323 if (!args
) SWIG_fail
;
31324 swig_obj
[0] = args
;
31325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31326 if (!SWIG_IsOK(res1
)) {
31327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31329 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 (arg1
)->CreateButtons();
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31336 resultobj
= SWIG_Py_Void();
31343 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
= 0;
31345 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31351 PyObject
* obj0
= 0 ;
31352 PyObject
* obj1
= 0 ;
31353 char * kwnames
[] = {
31354 (char *) "self",(char *) "zoom", NULL
31357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31359 if (!SWIG_IsOK(res1
)) {
31360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31362 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31364 if (!SWIG_IsOK(ecode2
)) {
31365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31367 arg2
= static_cast< int >(val2
);
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 (arg1
)->SetZoomControl(arg2
);
31371 wxPyEndAllowThreads(__tstate
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31374 resultobj
= SWIG_Py_Void();
31381 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31384 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31385 return SWIG_Py_Void();
31388 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31389 return SWIG_Python_InitShadowInstance(args
);
31392 static PyMethodDef SwigMethods
[] = {
31393 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31395 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31397 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31399 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31400 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31402 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31409 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31411 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31413 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31414 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31415 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31416 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31417 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31420 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31423 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31424 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31426 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31428 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31429 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31430 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31431 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31435 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31437 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31441 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31443 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31445 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31448 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31449 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31451 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31453 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31455 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31458 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31465 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31467 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31472 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31473 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31475 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31478 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31480 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31482 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31487 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31488 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31491 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31492 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31494 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31496 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31497 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31500 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31501 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31502 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31504 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31505 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31506 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31507 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31508 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31510 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31513 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31522 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31523 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31525 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31526 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31528 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31530 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31531 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31533 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31539 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31540 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31543 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31544 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31546 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31548 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31550 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31552 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31554 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31556 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31557 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31560 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31561 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31562 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31563 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31564 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31565 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31567 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31575 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31577 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31580 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31581 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31584 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31585 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31587 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31588 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31589 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31592 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31594 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31596 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31597 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31598 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31601 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31603 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31605 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31607 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31609 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31610 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31611 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31614 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31616 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31617 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31618 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31620 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31622 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31623 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31627 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31628 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31629 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31630 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31634 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31635 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31637 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31640 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31641 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31643 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31646 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31647 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31648 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31651 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31652 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31653 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31655 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31664 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31665 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31666 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31667 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31669 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31670 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31673 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31674 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31676 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31679 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31680 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31681 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31684 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31685 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31687 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31688 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31690 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31695 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31696 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31702 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31703 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31705 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31709 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31711 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31712 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31713 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31714 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31716 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31717 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31718 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31720 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31722 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31723 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31725 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31726 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31727 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31728 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31729 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31730 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31735 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31736 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31738 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31739 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31740 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31743 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31744 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31747 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31748 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31756 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31757 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31758 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31759 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31760 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31761 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31762 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31763 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31764 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31765 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31768 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31769 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31770 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31772 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31773 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31775 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31776 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31778 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31780 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31781 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31783 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31784 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31786 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31787 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31788 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31789 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31790 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31792 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31793 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31794 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31795 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31796 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31797 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31804 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31805 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31807 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31808 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31809 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31812 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31813 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31817 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31818 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31819 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31821 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31822 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31823 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31824 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31828 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31829 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31831 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31832 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31833 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31834 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31838 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31839 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31841 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31843 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31845 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31846 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31848 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31850 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31851 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31852 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31853 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31854 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31855 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31857 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31858 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31860 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31862 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31863 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31864 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31866 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31868 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31869 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31871 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31878 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31879 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31880 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31881 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31882 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31883 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31884 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31885 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31886 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31888 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31895 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31896 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31897 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31898 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31899 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31900 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31901 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31902 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31903 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31905 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31912 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31913 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31914 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31915 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31916 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31917 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31918 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31919 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31920 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31921 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31922 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31923 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31924 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31925 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
31926 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31927 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31928 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31929 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31930 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31931 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31932 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31933 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31934 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
31935 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31948 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31950 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31952 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31953 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31954 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31955 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31961 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31962 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31963 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31964 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31965 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31966 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31967 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31968 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31969 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31970 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31971 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31972 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31973 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31974 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
31975 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31985 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31986 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31987 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31988 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31990 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31991 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31992 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31993 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31994 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31995 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31996 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31997 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31998 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31999 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32000 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32001 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32002 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32003 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32004 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32005 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32006 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32020 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32021 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32022 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32023 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32024 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32025 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32027 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32028 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32030 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32031 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32032 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32033 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32034 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32035 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32036 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32038 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32044 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32045 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32046 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32047 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32048 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32050 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32052 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32053 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32058 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32059 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32061 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32062 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32063 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32068 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32070 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32072 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32074 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32076 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32077 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32080 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32081 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32082 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32083 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32085 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32086 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32087 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32089 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32090 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32092 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32093 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32094 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32095 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32096 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32097 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32099 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32101 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32102 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32103 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32104 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32105 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32106 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32107 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32108 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32109 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32110 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32112 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32114 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32115 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32118 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32119 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32124 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32126 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32127 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32128 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32129 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32132 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32133 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32134 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32135 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32137 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32138 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32143 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32144 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32145 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32146 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32147 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32151 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32153 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32154 { NULL
, NULL
, 0, NULL
}
32158 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32160 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32161 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32163 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32164 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32166 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32167 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32169 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32170 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32172 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32173 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32175 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32176 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32178 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32179 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32181 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32182 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32184 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32185 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32187 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32188 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32190 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32193 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32194 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32196 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32197 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32199 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32200 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32202 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32203 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32205 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32206 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32208 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32209 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32211 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32212 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32214 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32215 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32217 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32218 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32220 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32221 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32223 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32224 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32226 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32227 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32229 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32230 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32232 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32233 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32235 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32236 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32238 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32239 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32241 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32242 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32244 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32245 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32247 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32248 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32250 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32251 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32253 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32254 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32256 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32257 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32259 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32260 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32262 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32263 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32265 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32266 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32268 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32269 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32271 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32272 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32274 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32275 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32277 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32278 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32280 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32283 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32284 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32286 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32287 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32289 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32290 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32292 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32293 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32295 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32296 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32298 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32299 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32301 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32302 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32304 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32305 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32307 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32308 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32310 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32311 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32313 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32314 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32316 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32317 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32319 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32320 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32322 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32323 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32325 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32326 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32328 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32329 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32331 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32332 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32334 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32335 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32337 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32338 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32340 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32341 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32343 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32344 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32346 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32349 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32350 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32352 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32353 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32355 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32356 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32358 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32359 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32361 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32362 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32364 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32365 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32367 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32368 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32370 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32371 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32373 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32374 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32376 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32377 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32379 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32380 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32382 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32385 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32386 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32388 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32389 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32391 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32394 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32395 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32397 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32398 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32400 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32403 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32406 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32407 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32409 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32410 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32412 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32413 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32415 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32418 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32421 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32424 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32427 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32430 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32431 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32433 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32436 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32439 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32442 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32445 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32448 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32451 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32452 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32454 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32455 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32457 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32458 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32460 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32461 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32463 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32464 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32466 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32467 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32469 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32470 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32472 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32473 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32475 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32476 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32478 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32479 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32481 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32484 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32487 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32488 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32490 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32491 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32493 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32494 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32496 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32497 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32499 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32500 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32502 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32505 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) ((wxSizer
*) x
));
32508 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32511 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32514 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32517 static void *_p_wxEventTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) ((wxEvent
*) x
));
32520 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) ((wxFontData
*) x
));
32523 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32526 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32529 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32532 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32535 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32538 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32541 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32544 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32547 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32550 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32553 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32556 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32559 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32562 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32565 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32568 static void *_p_wxControlTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32571 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32574 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32577 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32580 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32583 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32586 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32589 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) ((wxColourData
*) x
));
32592 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32595 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32598 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32601 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32604 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32607 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32610 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32613 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32616 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32619 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32622 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32625 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32628 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32631 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32634 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32637 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32638 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32640 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32641 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32643 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32644 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32646 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32647 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32649 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32650 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32652 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32653 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32655 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32656 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32658 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32659 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32661 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32662 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32664 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32665 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32667 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32668 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32670 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32671 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32673 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32674 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32676 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32677 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32679 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32680 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32682 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32685 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32688 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32691 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32694 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32697 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32700 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32703 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32706 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
32709 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32712 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32715 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32718 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32721 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32724 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32727 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32730 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32733 static void *_p_wxImageTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) ((wxImage
*) x
));
32736 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32739 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32742 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32745 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32748 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32751 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32754 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32757 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32758 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32760 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32761 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32763 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32766 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32769 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32772 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32775 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32778 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32781 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32784 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32787 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32790 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32793 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32796 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32799 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32802 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32805 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32808 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32811 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32814 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32817 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32820 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32823 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32826 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32829 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32832 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32835 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32838 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32841 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32844 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32845 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32847 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32848 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32850 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32851 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32853 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32854 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32856 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32857 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32859 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32860 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32862 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32863 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32865 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32868 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32871 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32872 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32874 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32875 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32877 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32878 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32880 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32883 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32884 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32886 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32887 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32889 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32892 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32893 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32895 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32896 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32898 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32899 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32901 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32902 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32904 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32905 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32907 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32908 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32910 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32911 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32913 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32914 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32916 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32917 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32919 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32920 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32922 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32923 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32925 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32926 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32928 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32929 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32931 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32932 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32934 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32935 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32937 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32938 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32940 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32941 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32943 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32944 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32946 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32947 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32949 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32950 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32952 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32953 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32955 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32956 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32958 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32959 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32961 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32962 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32964 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32965 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32967 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32968 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32970 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32971 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32973 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32974 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32976 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32977 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32979 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32980 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32982 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32983 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32985 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32986 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32988 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32989 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32991 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32992 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32994 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32995 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32997 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32998 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33000 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33001 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33003 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33004 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33006 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33007 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33009 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33010 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33012 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33013 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33015 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33016 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33018 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33019 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33021 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33022 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
33024 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33025 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33027 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33028 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33030 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33031 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33033 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33034 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33036 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33037 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33039 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33040 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33042 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33043 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33045 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33046 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33048 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33049 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33051 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33052 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33054 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33055 return (void *)((wxWindow
*) ((wxControl
*) x
));
33057 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33058 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33060 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33061 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33063 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33064 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33066 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33067 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33069 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33070 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33072 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33073 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33075 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33076 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33078 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33079 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33081 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33082 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33084 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33085 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33087 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33088 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33090 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33091 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33093 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33094 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33096 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33097 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33099 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33100 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33102 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33103 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33105 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33106 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33108 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33109 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33111 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33112 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33114 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33115 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33117 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33118 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33120 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33121 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33123 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33124 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33126 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33127 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33129 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33130 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33132 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33133 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33135 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33136 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33138 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33139 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33141 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33142 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33144 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33145 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33147 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33148 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33150 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33151 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33153 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33154 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33156 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33157 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33159 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33160 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33162 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33163 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33165 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33166 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33168 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33169 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33171 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33172 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33174 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33175 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33177 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33178 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33180 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33181 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33183 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33184 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33186 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33187 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33189 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33190 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33192 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33193 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33195 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33196 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33198 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33199 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33201 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33202 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33204 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33205 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33207 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33208 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33210 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33211 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33213 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33214 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33216 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33217 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33218 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};
33219 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33220 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33221 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33222 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33223 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33224 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33225 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33226 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33227 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33228 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33229 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33230 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33231 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33232 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33233 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33234 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33235 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33236 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33237 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33238 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33239 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33240 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33241 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33242 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33243 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33244 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33245 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33246 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33247 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33248 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33249 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33250 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33251 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33252 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33253 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33254 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33255 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33256 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33257 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33258 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33259 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33260 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33261 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33262 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33263 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33264 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33265 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33266 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33267 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33268 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33269 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33270 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33271 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
33272 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33273 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33274 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33275 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33276 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33277 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33278 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33279 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33280 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33281 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33282 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33283 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33284 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33285 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33286 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33287 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33288 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33289 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33290 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33291 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33292 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33293 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33294 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33295 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33296 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33297 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33298 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33299 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33300 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33301 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33302 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33303 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33304 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33305 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33306 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33307 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33308 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33309 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33310 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33311 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33312 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33313 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33314 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33315 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33316 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33317 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33318 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33319 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33320 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33321 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33322 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33323 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33324 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33325 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33326 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33327 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33328 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33329 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33330 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33331 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33332 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33333 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33334 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33335 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33336 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33337 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33338 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33339 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33340 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33341 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33342 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33343 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33344 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33345 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33346 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33347 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33348 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33349 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33350 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33351 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33352 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33353 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33354 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33355 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33356 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33357 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33358 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33359 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33360 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33361 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33362 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33363 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33364 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33365 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33366 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33367 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33368 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33369 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33370 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33371 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33372 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33373 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33374 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33375 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33376 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33377 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33378 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33379 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33380 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33381 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33383 static swig_type_info
*swig_type_initial
[] = {
33386 &_swigt__p_form_ops_t
,
33388 &_swigt__p_unsigned_char
,
33389 &_swigt__p_unsigned_int
,
33390 &_swigt__p_unsigned_long
,
33391 &_swigt__p_wxANIHandler
,
33392 &_swigt__p_wxAcceleratorTable
,
33393 &_swigt__p_wxActivateEvent
,
33394 &_swigt__p_wxArrayInt
,
33395 &_swigt__p_wxBMPHandler
,
33396 &_swigt__p_wxBitmap
,
33397 &_swigt__p_wxBoxSizer
,
33398 &_swigt__p_wxCURHandler
,
33399 &_swigt__p_wxCalculateLayoutEvent
,
33400 &_swigt__p_wxChildFocusEvent
,
33401 &_swigt__p_wxClipboardTextEvent
,
33402 &_swigt__p_wxCloseEvent
,
33403 &_swigt__p_wxColour
,
33404 &_swigt__p_wxColourData
,
33405 &_swigt__p_wxColourDialog
,
33406 &_swigt__p_wxCommandEvent
,
33407 &_swigt__p_wxContextMenuEvent
,
33408 &_swigt__p_wxControl
,
33409 &_swigt__p_wxControlWithItems
,
33411 &_swigt__p_wxDateEvent
,
33412 &_swigt__p_wxDialog
,
33413 &_swigt__p_wxDirDialog
,
33414 &_swigt__p_wxDisplayChangedEvent
,
33415 &_swigt__p_wxDropFilesEvent
,
33416 &_swigt__p_wxDuplexMode
,
33417 &_swigt__p_wxEraseEvent
,
33418 &_swigt__p_wxEvent
,
33419 &_swigt__p_wxEvtHandler
,
33420 &_swigt__p_wxFSFile
,
33421 &_swigt__p_wxFileDialog
,
33422 &_swigt__p_wxFileSystem
,
33423 &_swigt__p_wxFindDialogEvent
,
33424 &_swigt__p_wxFindReplaceData
,
33425 &_swigt__p_wxFindReplaceDialog
,
33426 &_swigt__p_wxFlexGridSizer
,
33427 &_swigt__p_wxFocusEvent
,
33429 &_swigt__p_wxFontData
,
33430 &_swigt__p_wxFontDialog
,
33431 &_swigt__p_wxFrame
,
33432 &_swigt__p_wxGBSizerItem
,
33433 &_swigt__p_wxGIFHandler
,
33434 &_swigt__p_wxGridBagSizer
,
33435 &_swigt__p_wxGridSizer
,
33436 &_swigt__p_wxHtmlLinkInfo
,
33437 &_swigt__p_wxICOHandler
,
33439 &_swigt__p_wxIconBundle
,
33440 &_swigt__p_wxIconizeEvent
,
33441 &_swigt__p_wxIdleEvent
,
33442 &_swigt__p_wxImage
,
33443 &_swigt__p_wxImageHandler
,
33444 &_swigt__p_wxIndividualLayoutConstraint
,
33445 &_swigt__p_wxInitDialogEvent
,
33446 &_swigt__p_wxJPEGHandler
,
33447 &_swigt__p_wxKeyEvent
,
33448 &_swigt__p_wxLayoutAlgorithm
,
33449 &_swigt__p_wxLayoutConstraints
,
33450 &_swigt__p_wxMDIChildFrame
,
33451 &_swigt__p_wxMDIClientWindow
,
33452 &_swigt__p_wxMDIParentFrame
,
33453 &_swigt__p_wxMaximizeEvent
,
33455 &_swigt__p_wxMenuBar
,
33456 &_swigt__p_wxMenuEvent
,
33457 &_swigt__p_wxMenuItem
,
33458 &_swigt__p_wxMessageDialog
,
33459 &_swigt__p_wxMiniFrame
,
33460 &_swigt__p_wxMouseCaptureChangedEvent
,
33461 &_swigt__p_wxMouseCaptureLostEvent
,
33462 &_swigt__p_wxMouseEvent
,
33463 &_swigt__p_wxMoveEvent
,
33464 &_swigt__p_wxMultiChoiceDialog
,
33465 &_swigt__p_wxNavigationKeyEvent
,
33466 &_swigt__p_wxNcPaintEvent
,
33467 &_swigt__p_wxNotifyEvent
,
33468 &_swigt__p_wxNumberEntryDialog
,
33469 &_swigt__p_wxObject
,
33470 &_swigt__p_wxPCXHandler
,
33471 &_swigt__p_wxPNGHandler
,
33472 &_swigt__p_wxPNMHandler
,
33473 &_swigt__p_wxPageSetupDialog
,
33474 &_swigt__p_wxPageSetupDialogData
,
33475 &_swigt__p_wxPaintEvent
,
33476 &_swigt__p_wxPaletteChangedEvent
,
33477 &_swigt__p_wxPanel
,
33478 &_swigt__p_wxPaperSize
,
33479 &_swigt__p_wxPasswordEntryDialog
,
33480 &_swigt__p_wxPoint
,
33481 &_swigt__p_wxPopupWindow
,
33482 &_swigt__p_wxPreviewCanvas
,
33483 &_swigt__p_wxPreviewControlBar
,
33484 &_swigt__p_wxPreviewFrame
,
33485 &_swigt__p_wxPrintData
,
33486 &_swigt__p_wxPrintDialog
,
33487 &_swigt__p_wxPrintDialogData
,
33488 &_swigt__p_wxPrintPreview
,
33489 &_swigt__p_wxPrinter
,
33490 &_swigt__p_wxProgressDialog
,
33491 &_swigt__p_wxPyApp
,
33492 &_swigt__p_wxPyCommandEvent
,
33493 &_swigt__p_wxPyEvent
,
33494 &_swigt__p_wxPyHtmlListBox
,
33495 &_swigt__p_wxPyImageHandler
,
33496 &_swigt__p_wxPyPanel
,
33497 &_swigt__p_wxPyPopupTransientWindow
,
33498 &_swigt__p_wxPyPreviewControlBar
,
33499 &_swigt__p_wxPyPreviewFrame
,
33500 &_swigt__p_wxPyPrintPreview
,
33501 &_swigt__p_wxPyPrintout
,
33502 &_swigt__p_wxPyScrolledWindow
,
33503 &_swigt__p_wxPySizer
,
33504 &_swigt__p_wxPyTaskBarIcon
,
33505 &_swigt__p_wxPyVListBox
,
33506 &_swigt__p_wxPyVScrolledWindow
,
33507 &_swigt__p_wxPyValidator
,
33508 &_swigt__p_wxPyWindow
,
33509 &_swigt__p_wxQueryLayoutInfoEvent
,
33510 &_swigt__p_wxQueryNewPaletteEvent
,
33512 &_swigt__p_wxRegion
,
33513 &_swigt__p_wxSashEvent
,
33514 &_swigt__p_wxSashLayoutWindow
,
33515 &_swigt__p_wxSashWindow
,
33516 &_swigt__p_wxScrollEvent
,
33517 &_swigt__p_wxScrollWinEvent
,
33518 &_swigt__p_wxScrolledWindow
,
33519 &_swigt__p_wxSetCursorEvent
,
33520 &_swigt__p_wxShowEvent
,
33521 &_swigt__p_wxSingleChoiceDialog
,
33523 &_swigt__p_wxSizeEvent
,
33524 &_swigt__p_wxSizer
,
33525 &_swigt__p_wxSizerItem
,
33526 &_swigt__p_wxSplashScreen
,
33527 &_swigt__p_wxSplashScreenWindow
,
33528 &_swigt__p_wxSplitterEvent
,
33529 &_swigt__p_wxSplitterWindow
,
33530 &_swigt__p_wxStaticBoxSizer
,
33531 &_swigt__p_wxStatusBar
,
33532 &_swigt__p_wxStdDialogButtonSizer
,
33533 &_swigt__p_wxString
,
33534 &_swigt__p_wxSysColourChangedEvent
,
33535 &_swigt__p_wxTGAHandler
,
33536 &_swigt__p_wxTIFFHandler
,
33537 &_swigt__p_wxTaskBarIcon
,
33538 &_swigt__p_wxTaskBarIconEvent
,
33539 &_swigt__p_wxTextEntryDialog
,
33540 &_swigt__p_wxTipWindow
,
33541 &_swigt__p_wxToolBar
,
33542 &_swigt__p_wxTopLevelWindow
,
33543 &_swigt__p_wxUpdateUIEvent
,
33544 &_swigt__p_wxValidator
,
33545 &_swigt__p_wxVisualAttributes
,
33546 &_swigt__p_wxWindow
,
33547 &_swigt__p_wxWindowCreateEvent
,
33548 &_swigt__p_wxWindowDestroyEvent
,
33549 &_swigt__p_wxXPMHandler
,
33552 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33553 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33554 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33555 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33556 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33557 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33558 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33559 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33560 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33561 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33562 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33563 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33564 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33565 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33566 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33567 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33568 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33569 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33570 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33571 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33572 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33573 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33574 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}};
33575 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33576 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}};
33577 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33578 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33579 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33580 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33581 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33582 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33583 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33584 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33585 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33586 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33587 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33588 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33589 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33590 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33591 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33592 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33593 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33594 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33595 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33596 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33597 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33598 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33599 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33600 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33601 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33602 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33603 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33604 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33605 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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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}};
33606 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33607 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33608 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33609 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33610 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33611 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_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_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}};
33612 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33613 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33614 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33615 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33616 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33617 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33618 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33619 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33620 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
33621 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33622 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33623 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33624 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33625 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33626 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33627 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33628 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33629 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33630 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33631 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33632 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33633 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}};
33634 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33635 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33636 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33637 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33638 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33639 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33640 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33641 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33642 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33643 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33644 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33645 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33646 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33647 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33648 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33649 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33650 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33651 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33652 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33653 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33654 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33655 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33656 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33657 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33658 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33659 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33660 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33661 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
33662 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33663 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33664 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_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_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_wxActivateEvent
, _p_wxActivateEventTo_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_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_wxTGAHandler
, _p_wxTGAHandlerTo_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_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_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}};
33665 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33666 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33667 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}};
33668 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33669 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33670 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33671 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
33672 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33673 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}};
33674 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}};
33675 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33676 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33677 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33678 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}};
33679 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33680 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33681 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33682 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33683 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
33684 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33685 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33686 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33687 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33688 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33690 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}};
33691 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}};
33692 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33693 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33694 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33695 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33698 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}};
33699 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33700 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}};
33701 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33702 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33703 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33704 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33710 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33711 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33712 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}};
33713 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33714 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33715 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_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}};
33716 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33717 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_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
33719 static swig_cast_info
*swig_cast_initial
[] = {
33722 _swigc__p_form_ops_t
,
33724 _swigc__p_unsigned_char
,
33725 _swigc__p_unsigned_int
,
33726 _swigc__p_unsigned_long
,
33727 _swigc__p_wxANIHandler
,
33728 _swigc__p_wxAcceleratorTable
,
33729 _swigc__p_wxActivateEvent
,
33730 _swigc__p_wxArrayInt
,
33731 _swigc__p_wxBMPHandler
,
33732 _swigc__p_wxBitmap
,
33733 _swigc__p_wxBoxSizer
,
33734 _swigc__p_wxCURHandler
,
33735 _swigc__p_wxCalculateLayoutEvent
,
33736 _swigc__p_wxChildFocusEvent
,
33737 _swigc__p_wxClipboardTextEvent
,
33738 _swigc__p_wxCloseEvent
,
33739 _swigc__p_wxColour
,
33740 _swigc__p_wxColourData
,
33741 _swigc__p_wxColourDialog
,
33742 _swigc__p_wxCommandEvent
,
33743 _swigc__p_wxContextMenuEvent
,
33744 _swigc__p_wxControl
,
33745 _swigc__p_wxControlWithItems
,
33747 _swigc__p_wxDateEvent
,
33748 _swigc__p_wxDialog
,
33749 _swigc__p_wxDirDialog
,
33750 _swigc__p_wxDisplayChangedEvent
,
33751 _swigc__p_wxDropFilesEvent
,
33752 _swigc__p_wxDuplexMode
,
33753 _swigc__p_wxEraseEvent
,
33755 _swigc__p_wxEvtHandler
,
33756 _swigc__p_wxFSFile
,
33757 _swigc__p_wxFileDialog
,
33758 _swigc__p_wxFileSystem
,
33759 _swigc__p_wxFindDialogEvent
,
33760 _swigc__p_wxFindReplaceData
,
33761 _swigc__p_wxFindReplaceDialog
,
33762 _swigc__p_wxFlexGridSizer
,
33763 _swigc__p_wxFocusEvent
,
33765 _swigc__p_wxFontData
,
33766 _swigc__p_wxFontDialog
,
33768 _swigc__p_wxGBSizerItem
,
33769 _swigc__p_wxGIFHandler
,
33770 _swigc__p_wxGridBagSizer
,
33771 _swigc__p_wxGridSizer
,
33772 _swigc__p_wxHtmlLinkInfo
,
33773 _swigc__p_wxICOHandler
,
33775 _swigc__p_wxIconBundle
,
33776 _swigc__p_wxIconizeEvent
,
33777 _swigc__p_wxIdleEvent
,
33779 _swigc__p_wxImageHandler
,
33780 _swigc__p_wxIndividualLayoutConstraint
,
33781 _swigc__p_wxInitDialogEvent
,
33782 _swigc__p_wxJPEGHandler
,
33783 _swigc__p_wxKeyEvent
,
33784 _swigc__p_wxLayoutAlgorithm
,
33785 _swigc__p_wxLayoutConstraints
,
33786 _swigc__p_wxMDIChildFrame
,
33787 _swigc__p_wxMDIClientWindow
,
33788 _swigc__p_wxMDIParentFrame
,
33789 _swigc__p_wxMaximizeEvent
,
33791 _swigc__p_wxMenuBar
,
33792 _swigc__p_wxMenuEvent
,
33793 _swigc__p_wxMenuItem
,
33794 _swigc__p_wxMessageDialog
,
33795 _swigc__p_wxMiniFrame
,
33796 _swigc__p_wxMouseCaptureChangedEvent
,
33797 _swigc__p_wxMouseCaptureLostEvent
,
33798 _swigc__p_wxMouseEvent
,
33799 _swigc__p_wxMoveEvent
,
33800 _swigc__p_wxMultiChoiceDialog
,
33801 _swigc__p_wxNavigationKeyEvent
,
33802 _swigc__p_wxNcPaintEvent
,
33803 _swigc__p_wxNotifyEvent
,
33804 _swigc__p_wxNumberEntryDialog
,
33805 _swigc__p_wxObject
,
33806 _swigc__p_wxPCXHandler
,
33807 _swigc__p_wxPNGHandler
,
33808 _swigc__p_wxPNMHandler
,
33809 _swigc__p_wxPageSetupDialog
,
33810 _swigc__p_wxPageSetupDialogData
,
33811 _swigc__p_wxPaintEvent
,
33812 _swigc__p_wxPaletteChangedEvent
,
33814 _swigc__p_wxPaperSize
,
33815 _swigc__p_wxPasswordEntryDialog
,
33817 _swigc__p_wxPopupWindow
,
33818 _swigc__p_wxPreviewCanvas
,
33819 _swigc__p_wxPreviewControlBar
,
33820 _swigc__p_wxPreviewFrame
,
33821 _swigc__p_wxPrintData
,
33822 _swigc__p_wxPrintDialog
,
33823 _swigc__p_wxPrintDialogData
,
33824 _swigc__p_wxPrintPreview
,
33825 _swigc__p_wxPrinter
,
33826 _swigc__p_wxProgressDialog
,
33828 _swigc__p_wxPyCommandEvent
,
33829 _swigc__p_wxPyEvent
,
33830 _swigc__p_wxPyHtmlListBox
,
33831 _swigc__p_wxPyImageHandler
,
33832 _swigc__p_wxPyPanel
,
33833 _swigc__p_wxPyPopupTransientWindow
,
33834 _swigc__p_wxPyPreviewControlBar
,
33835 _swigc__p_wxPyPreviewFrame
,
33836 _swigc__p_wxPyPrintPreview
,
33837 _swigc__p_wxPyPrintout
,
33838 _swigc__p_wxPyScrolledWindow
,
33839 _swigc__p_wxPySizer
,
33840 _swigc__p_wxPyTaskBarIcon
,
33841 _swigc__p_wxPyVListBox
,
33842 _swigc__p_wxPyVScrolledWindow
,
33843 _swigc__p_wxPyValidator
,
33844 _swigc__p_wxPyWindow
,
33845 _swigc__p_wxQueryLayoutInfoEvent
,
33846 _swigc__p_wxQueryNewPaletteEvent
,
33848 _swigc__p_wxRegion
,
33849 _swigc__p_wxSashEvent
,
33850 _swigc__p_wxSashLayoutWindow
,
33851 _swigc__p_wxSashWindow
,
33852 _swigc__p_wxScrollEvent
,
33853 _swigc__p_wxScrollWinEvent
,
33854 _swigc__p_wxScrolledWindow
,
33855 _swigc__p_wxSetCursorEvent
,
33856 _swigc__p_wxShowEvent
,
33857 _swigc__p_wxSingleChoiceDialog
,
33859 _swigc__p_wxSizeEvent
,
33861 _swigc__p_wxSizerItem
,
33862 _swigc__p_wxSplashScreen
,
33863 _swigc__p_wxSplashScreenWindow
,
33864 _swigc__p_wxSplitterEvent
,
33865 _swigc__p_wxSplitterWindow
,
33866 _swigc__p_wxStaticBoxSizer
,
33867 _swigc__p_wxStatusBar
,
33868 _swigc__p_wxStdDialogButtonSizer
,
33869 _swigc__p_wxString
,
33870 _swigc__p_wxSysColourChangedEvent
,
33871 _swigc__p_wxTGAHandler
,
33872 _swigc__p_wxTIFFHandler
,
33873 _swigc__p_wxTaskBarIcon
,
33874 _swigc__p_wxTaskBarIconEvent
,
33875 _swigc__p_wxTextEntryDialog
,
33876 _swigc__p_wxTipWindow
,
33877 _swigc__p_wxToolBar
,
33878 _swigc__p_wxTopLevelWindow
,
33879 _swigc__p_wxUpdateUIEvent
,
33880 _swigc__p_wxValidator
,
33881 _swigc__p_wxVisualAttributes
,
33882 _swigc__p_wxWindow
,
33883 _swigc__p_wxWindowCreateEvent
,
33884 _swigc__p_wxWindowDestroyEvent
,
33885 _swigc__p_wxXPMHandler
,
33889 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33891 static swig_const_info swig_const_table
[] = {
33892 {0, 0, 0, 0.0, 0, 0}};
33897 /* -----------------------------------------------------------------------------
33898 * Type initialization:
33899 * This problem is tough by the requirement that no dynamic
33900 * memory is used. Also, since swig_type_info structures store pointers to
33901 * swig_cast_info structures and swig_cast_info structures store pointers back
33902 * to swig_type_info structures, we need some lookup code at initialization.
33903 * The idea is that swig generates all the structures that are needed.
33904 * The runtime then collects these partially filled structures.
33905 * The SWIG_InitializeModule function takes these initial arrays out of
33906 * swig_module, and does all the lookup, filling in the swig_module.types
33907 * array with the correct data and linking the correct swig_cast_info
33908 * structures together.
33910 * The generated swig_type_info structures are assigned staticly to an initial
33911 * array. We just loop though that array, and handle each type individually.
33912 * First we lookup if this type has been already loaded, and if so, use the
33913 * loaded structure instead of the generated one. Then we have to fill in the
33914 * cast linked list. The cast data is initially stored in something like a
33915 * two-dimensional array. Each row corresponds to a type (there are the same
33916 * number of rows as there are in the swig_type_initial array). Each entry in
33917 * a column is one of the swig_cast_info structures for that type.
33918 * The cast_initial array is actually an array of arrays, because each row has
33919 * a variable number of columns. So to actually build the cast linked list,
33920 * we find the array of casts associated with the type, and loop through it
33921 * adding the casts to the list. The one last trick we need to do is making
33922 * sure the type pointer in the swig_cast_info struct is correct.
33924 * First off, we lookup the cast->type name to see if it is already loaded.
33925 * There are three cases to handle:
33926 * 1) If the cast->type has already been loaded AND the type we are adding
33927 * casting info to has not been loaded (it is in this module), THEN we
33928 * replace the cast->type pointer with the type pointer that has already
33930 * 2) If BOTH types (the one we are adding casting info to, and the
33931 * cast->type) are loaded, THEN the cast info has already been loaded by
33932 * the previous module so we just ignore it.
33933 * 3) Finally, if cast->type has not already been loaded, then we add that
33934 * swig_cast_info to the linked list (because the cast->type) pointer will
33936 * ----------------------------------------------------------------------------- */
33946 #define SWIGRUNTIME_DEBUG
33950 SWIG_InitializeModule(void *clientdata
) {
33952 swig_module_info
*module_head
;
33953 static int init_run
= 0;
33955 clientdata
= clientdata
;
33957 if (init_run
) return;
33960 /* Initialize the swig_module */
33961 swig_module
.type_initial
= swig_type_initial
;
33962 swig_module
.cast_initial
= swig_cast_initial
;
33964 /* Try and load any already created modules */
33965 module_head
= SWIG_GetModule(clientdata
);
33967 swig_module
.next
= module_head
->next
;
33968 module_head
->next
= &swig_module
;
33970 /* This is the first module loaded */
33971 swig_module
.next
= &swig_module
;
33972 SWIG_SetModule(clientdata
, &swig_module
);
33975 /* Now work on filling in swig_module.types */
33976 #ifdef SWIGRUNTIME_DEBUG
33977 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33979 for (i
= 0; i
< swig_module
.size
; ++i
) {
33980 swig_type_info
*type
= 0;
33981 swig_type_info
*ret
;
33982 swig_cast_info
*cast
;
33984 #ifdef SWIGRUNTIME_DEBUG
33985 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33988 /* if there is another module already loaded */
33989 if (swig_module
.next
!= &swig_module
) {
33990 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33993 /* Overwrite clientdata field */
33994 #ifdef SWIGRUNTIME_DEBUG
33995 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33997 if (swig_module
.type_initial
[i
]->clientdata
) {
33998 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33999 #ifdef SWIGRUNTIME_DEBUG
34000 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34004 type
= swig_module
.type_initial
[i
];
34007 /* Insert casting types */
34008 cast
= swig_module
.cast_initial
[i
];
34009 while (cast
->type
) {
34010 /* Don't need to add information already in the list */
34012 #ifdef SWIGRUNTIME_DEBUG
34013 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34015 if (swig_module
.next
!= &swig_module
) {
34016 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34017 #ifdef SWIGRUNTIME_DEBUG
34018 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34022 if (type
== swig_module
.type_initial
[i
]) {
34023 #ifdef SWIGRUNTIME_DEBUG
34024 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34029 /* Check for casting already in the list */
34030 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34031 #ifdef SWIGRUNTIME_DEBUG
34032 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34034 if (!ocast
) ret
= 0;
34039 #ifdef SWIGRUNTIME_DEBUG
34040 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34043 type
->cast
->prev
= cast
;
34044 cast
->next
= type
->cast
;
34050 /* Set entry in modules->types array equal to the type */
34051 swig_module
.types
[i
] = type
;
34053 swig_module
.types
[i
] = 0;
34055 #ifdef SWIGRUNTIME_DEBUG
34056 printf("**** SWIG_InitializeModule: Cast List ******\n");
34057 for (i
= 0; i
< swig_module
.size
; ++i
) {
34059 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34060 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34061 while (cast
->type
) {
34062 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34066 printf("---- Total casts: %d\n",j
);
34068 printf("**** SWIG_InitializeModule: Cast List ******\n");
34072 /* This function will propagate the clientdata field of type to
34073 * any new swig_type_info structures that have been added into the list
34074 * of equivalent types. It is like calling
34075 * SWIG_TypeClientData(type, clientdata) a second time.
34078 SWIG_PropagateClientData(void) {
34080 swig_cast_info
*equiv
;
34081 static int init_run
= 0;
34083 if (init_run
) return;
34086 for (i
= 0; i
< swig_module
.size
; i
++) {
34087 if (swig_module
.types
[i
]->clientdata
) {
34088 equiv
= swig_module
.types
[i
]->cast
;
34090 if (!equiv
->converter
) {
34091 if (equiv
->type
&& !equiv
->type
->clientdata
)
34092 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34094 equiv
= equiv
->next
;
34114 /* Python-specific SWIG API */
34115 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34116 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34117 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34119 /* -----------------------------------------------------------------------------
34120 * global variable support code.
34121 * ----------------------------------------------------------------------------- */
34123 typedef struct swig_globalvar
{
34124 char *name
; /* Name of global variable */
34125 PyObject
*(*get_attr
)(void); /* Return the current value */
34126 int (*set_attr
)(PyObject
*); /* Set the value */
34127 struct swig_globalvar
*next
;
34130 typedef struct swig_varlinkobject
{
34132 swig_globalvar
*vars
;
34133 } swig_varlinkobject
;
34135 SWIGINTERN PyObject
*
34136 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34137 return PyString_FromString("<Swig global variables>");
34140 SWIGINTERN PyObject
*
34141 swig_varlink_str(swig_varlinkobject
*v
) {
34142 PyObject
*str
= PyString_FromString("(");
34143 swig_globalvar
*var
;
34144 for (var
= v
->vars
; var
; var
=var
->next
) {
34145 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34146 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34148 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34153 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34154 PyObject
*str
= swig_varlink_str(v
);
34155 fprintf(fp
,"Swig global variables ");
34156 fprintf(fp
,"%s\n", PyString_AsString(str
));
34162 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34163 swig_globalvar
*var
= v
->vars
;
34165 swig_globalvar
*n
= var
->next
;
34172 SWIGINTERN PyObject
*
34173 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34174 PyObject
*res
= NULL
;
34175 swig_globalvar
*var
= v
->vars
;
34177 if (strcmp(var
->name
,n
) == 0) {
34178 res
= (*var
->get_attr
)();
34183 if (res
== NULL
&& !PyErr_Occurred()) {
34184 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34190 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34192 swig_globalvar
*var
= v
->vars
;
34194 if (strcmp(var
->name
,n
) == 0) {
34195 res
= (*var
->set_attr
)(p
);
34200 if (res
== 1 && !PyErr_Occurred()) {
34201 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34206 SWIGINTERN PyTypeObject
*
34207 swig_varlink_type(void) {
34208 static char varlink__doc__
[] = "Swig var link object";
34209 static PyTypeObject varlink_type
;
34210 static int type_init
= 0;
34212 const PyTypeObject tmp
34214 PyObject_HEAD_INIT(NULL
)
34215 0, /* Number of items in variable part (ob_size) */
34216 (char *)"swigvarlink", /* Type name (tp_name) */
34217 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34218 0, /* Itemsize (tp_itemsize) */
34219 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34220 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34221 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34222 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34223 0, /* tp_compare */
34224 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34225 0, /* tp_as_number */
34226 0, /* tp_as_sequence */
34227 0, /* tp_as_mapping */
34230 (reprfunc
)swig_varlink_str
, /* tp_str */
34231 0, /* tp_getattro */
34232 0, /* tp_setattro */
34233 0, /* tp_as_buffer */
34235 varlink__doc__
, /* tp_doc */
34236 0, /* tp_traverse */
34238 0, /* tp_richcompare */
34239 0, /* tp_weaklistoffset */
34240 #if PY_VERSION_HEX >= 0x02020000
34241 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34243 #if PY_VERSION_HEX >= 0x02030000
34246 #ifdef COUNT_ALLOCS
34247 0,0,0,0 /* tp_alloc -> tp_next */
34250 varlink_type
= tmp
;
34251 varlink_type
.ob_type
= &PyType_Type
;
34254 return &varlink_type
;
34257 /* Create a variable linking object for use later */
34258 SWIGINTERN PyObject
*
34259 SWIG_Python_newvarlink(void) {
34260 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34264 return ((PyObject
*) result
);
34268 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34269 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34270 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34272 size_t size
= strlen(name
)+1;
34273 gv
->name
= (char *)malloc(size
);
34275 strncpy(gv
->name
,name
,size
);
34276 gv
->get_attr
= get_attr
;
34277 gv
->set_attr
= set_attr
;
34278 gv
->next
= v
->vars
;
34284 SWIGINTERN PyObject
*
34286 static PyObject
*_SWIG_globals
= 0;
34287 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34288 return _SWIG_globals
;
34291 /* -----------------------------------------------------------------------------
34292 * constants/methods manipulation
34293 * ----------------------------------------------------------------------------- */
34295 /* Install Constants */
34297 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34300 for (i
= 0; constants
[i
].type
; ++i
) {
34301 switch(constants
[i
].type
) {
34302 case SWIG_PY_POINTER
:
34303 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34305 case SWIG_PY_BINARY
:
34306 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34313 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34319 /* -----------------------------------------------------------------------------*/
34320 /* Fix SwigMethods to carry the callback ptrs when needed */
34321 /* -----------------------------------------------------------------------------*/
34324 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34325 swig_const_info
*const_table
,
34326 swig_type_info
**types
,
34327 swig_type_info
**types_initial
) {
34329 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34330 const char *c
= methods
[i
].ml_doc
;
34331 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34333 swig_const_info
*ci
= 0;
34334 const char *name
= c
+ 10;
34335 for (j
= 0; const_table
[j
].type
; ++j
) {
34336 if (strncmp(const_table
[j
].name
, name
,
34337 strlen(const_table
[j
].name
)) == 0) {
34338 ci
= &(const_table
[j
]);
34343 size_t shift
= (ci
->ptype
) - types
;
34344 swig_type_info
*ty
= types_initial
[shift
];
34345 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34346 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34347 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34350 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34352 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34354 strncpy(buff
, "swig_ptr: ", 10);
34356 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34357 methods
[i
].ml_doc
= ndoc
;
34369 /* -----------------------------------------------------------------------------*
34370 * Partial Init method
34371 * -----------------------------------------------------------------------------*/
34376 SWIGEXPORT
void SWIG_init(void) {
34379 /* Fix SwigMethods to carry the callback ptrs when needed */
34380 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34382 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34383 d
= PyModule_GetDict(m
);
34385 SWIG_InitializeModule(0);
34386 SWIG_InstallConstants(d
,swig_const_table
);
34389 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34390 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34391 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34392 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34393 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34394 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34395 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34396 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34397 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34398 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34399 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34400 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34401 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34402 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34403 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34404 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34405 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34406 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34407 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34408 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34409 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34410 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34411 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34412 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34413 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34414 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34415 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34416 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34417 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34418 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34419 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34420 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34421 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34422 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34423 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34424 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34425 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34426 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34427 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34428 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34429 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34430 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34431 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34432 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34433 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34434 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34435 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34436 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34437 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34438 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34439 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34440 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34441 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34442 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34443 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34444 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34445 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34446 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34447 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34448 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34449 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34450 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34451 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34452 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34453 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34454 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34455 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34456 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34457 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34458 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34459 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34460 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34461 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34462 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34463 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34464 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34465 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34466 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34467 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34468 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34469 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34470 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34471 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34472 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34473 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34474 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34475 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34476 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34477 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34478 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34479 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34480 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34481 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34482 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34483 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34484 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34485 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34486 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34487 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34488 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34489 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34490 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34491 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34492 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34493 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34495 // Map renamed classes back to their common name for OOR
34496 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34497 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34498 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34500 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34501 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34502 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34503 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34504 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34505 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34506 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34507 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34508 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34509 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34510 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34511 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34512 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34513 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34514 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34515 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34516 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34517 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34518 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34519 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34520 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34521 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34522 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34523 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34524 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34525 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34526 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34527 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34528 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34529 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34530 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34531 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34532 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34533 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34534 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34535 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34536 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34537 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34538 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34539 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34540 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34541 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34542 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34543 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34544 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34545 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34546 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34547 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34548 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34549 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34550 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34551 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34552 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34553 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34554 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34555 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34556 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34557 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34558 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34559 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34560 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34561 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34562 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34563 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34564 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34565 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34566 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34567 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34568 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34569 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34570 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34571 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34572 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34573 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34574 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34575 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34576 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34577 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34578 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34579 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34580 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34581 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34582 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34583 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34584 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34585 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34586 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34587 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34588 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34589 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34590 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34591 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34592 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34593 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34594 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34595 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34596 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34597 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34598 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34599 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34600 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34601 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34602 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34603 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34605 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");