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_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info
*swig_types
[166];
2632 static swig_module_info swig_module
= {swig_types
, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2658 #define SWIG_name "_windows_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2735 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2766 int res
= SWIG_AsVal_long (obj
, &v
);
2767 if (SWIG_IsOK(res
)) {
2768 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2769 return SWIG_OverflowError
;
2771 if (val
) *val
= static_cast< int >(v
);
2779 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2781 if (obj
== Py_True
) {
2782 if (val
) *val
= true;
2784 } else if (obj
== Py_False
) {
2785 if (val
) *val
= false;
2789 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2790 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2796 #define SWIG_From_long PyInt_FromLong
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_int (int value
)
2802 return SWIG_From_long (value
);
2807 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2809 if (PyNumber_Check(obj
)) {
2810 if (val
) *val
= PyFloat_AsDouble(obj
);
2813 return SWIG_TypeError
;
2817 #define SWIG_From_double PyFloat_FromDouble
2819 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2820 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2821 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2822 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2823 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2827 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2830 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2831 return SWIG_TypeError
;
2834 *val
= (unsigned long)v
;
2840 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2843 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2844 if (SWIG_IsOK(res
)) {
2845 if ((v
> UCHAR_MAX
)) {
2846 return SWIG_OverflowError
;
2848 if (val
) *val
= static_cast< unsigned char >(v
);
2856 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2858 self
->GetFieldRect(i
, r
);
2861 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2862 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2863 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2865 #include <wx/popupwin.h>
2868 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2871 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2872 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2873 : wxPopupTransientWindow(parent
, style
) {}
2875 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2876 DEC_PYCALLBACK__(OnDismiss
);
2877 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2882 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2883 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2884 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2887 #include <wx/tipwin.h>
2889 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2890 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2893 #include <wx/tipwin.h>
2896 #include <wx/vscroll.h>
2899 class wxPyVScrolledWindow
: public wxVScrolledWindow
2901 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2903 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2905 wxPyVScrolledWindow(wxWindow
*parent
,
2906 wxWindowID id
= wxID_ANY
,
2907 const wxPoint
& pos
= wxDefaultPosition
,
2908 const wxSize
& size
= wxDefaultSize
,
2910 const wxString
& name
= wxPyPanelNameStr
)
2911 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2914 // Overridable virtuals
2916 // this function must be overridden in the derived class and it should
2917 // return the height of the given line in pixels
2918 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2921 // this function doesn't have to be overridden but it may be useful to do
2922 // it if calculating the lines heights is a relatively expensive operation
2923 // as it gives the user code a possibility to calculate several of them at
2926 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2927 // shouldn't rely on the latter being called for all lines in the interval
2928 // specified here. It is also possible that OnGetLineHeight() will be
2929 // called for the lines outside of this interval, so this is really just a
2930 // hint, not a promise.
2932 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2934 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2937 // when the number of lines changes, we try to estimate the total height
2938 // of all lines which is a rather expensive operation in terms of lines
2939 // access, so if the user code may estimate the average height
2940 // better/faster than we do, it should override this function to implement
2943 // this function should return the best guess for the total height it may
2945 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2948 // Also expose some other interesting protected methods
2951 // find the index of the line we need to show at the top of the window such
2952 // that the last (fully or partially) visible line is the given one
2953 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2954 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2956 // get the total height of the lines between lineMin (inclusive) and
2957 // lineMax (exclusive)
2958 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2959 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2961 // update the thumb size shown by the scrollbar
2962 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2964 // remove the scrollbar completely because we don't need it
2965 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2970 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2972 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2973 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2974 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2977 SWIGINTERNINLINE
int
2978 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2981 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2982 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2987 SWIGINTERNINLINE PyObject
*
2988 SWIG_From_unsigned_SS_long (unsigned long value
)
2990 return (value
> LONG_MAX
) ?
2991 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2995 SWIGINTERNINLINE PyObject
*
2996 SWIG_From_size_t (size_t value
)
2998 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3002 #include <wx/vlbox.h>
3004 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
3006 class wxPyVListBox
: public wxVListBox
3008 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3010 wxPyVListBox() : wxVListBox() {}
3012 wxPyVListBox(wxWindow
*parent
,
3013 wxWindowID id
= wxID_ANY
,
3014 const wxPoint
& pos
= wxDefaultPosition
,
3015 const wxSize
& size
= wxDefaultSize
,
3017 const wxString
& name
= wxPyVListBoxNameStr
)
3018 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3021 // Overridable virtuals
3023 // the derived class must implement this function to actually draw the item
3024 // with the given index on the provided DC
3025 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3026 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3029 // the derived class must implement this method to return the height of the
3031 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3032 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3035 // this method may be used to draw separators between the lines; note that
3036 // the rectangle may be modified, typically to deflate it a bit before
3037 // passing to OnDrawItem()
3039 // the base class version doesn't do anything
3040 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3041 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3044 // this method is used to draw the items background and, maybe, a border
3047 // the base class version implements a reasonable default behaviour which
3048 // consists in drawing the selected item with the standard background
3049 // colour and drawing a border around the item if it is either selected or
3051 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3052 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3058 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3060 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3061 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3062 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3063 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3066 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3067 unsigned long cookie
= 0;
3068 int selected
= self
->GetFirstSelected(cookie
);
3069 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3070 PyObject
* tup
= PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3072 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3073 wxPyEndBlockThreads(blocked
);
3076 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3077 int selected
= self
->GetNextSelected(cookie
);
3078 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3079 PyObject
* tup
= PyTuple_New(2);
3080 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3081 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3082 wxPyEndBlockThreads(blocked
);
3086 #include <wx/htmllbox.h>
3089 class wxPyHtmlListBox
: public wxHtmlListBox
3091 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3093 wxPyHtmlListBox() : wxHtmlListBox() {}
3095 wxPyHtmlListBox(wxWindow
*parent
,
3096 wxWindowID id
= wxID_ANY
,
3097 const wxPoint
& pos
= wxDefaultPosition
,
3098 const wxSize
& size
= wxDefaultSize
,
3100 const wxString
& name
= wxPyVListBoxNameStr
)
3101 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3104 // Overridable virtuals
3106 // this method must be implemented in the derived class and should return
3107 // the body (i.e. without <html>) of the HTML for the given item
3108 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3110 // this function may be overridden to decorate HTML returned by OnGetItem()
3111 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3113 // These are from wxVListBox
3114 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3115 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3118 // // this method allows to customize the selection appearance: it may be used
3119 // // to specify the colour of the text which normally has the given colour
3120 // // colFg when it is inside the selection
3122 // // by default, the original colour is not used at all and all text has the
3123 // // same (default for this system) colour inside selection
3124 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3126 // // this is the same as GetSelectedTextColour() but allows to customize the
3127 // // background colour -- this is even more rarely used as you can change it
3128 // // globally using SetSelectionBackground()
3129 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3132 // This method may be overriden to handle clicking on a link in
3133 // the listbox. By default, clicking links is ignored.
3134 virtual void OnLinkClicked(size_t n
,
3135 const wxHtmlLinkInfo
& link
);
3141 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3143 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3144 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3145 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3146 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3149 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3150 const wxHtmlLinkInfo
& link
) {
3152 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3153 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3154 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3155 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3158 wxPyEndBlockThreads(blocked
);
3160 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3167 #ifndef wxHAS_TASK_BAR_ICON
3168 // implement dummy classes for platforms that don't have it
3170 class wxTaskBarIcon
: public wxEvtHandler
3173 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3177 class wxTaskBarIconEvent
: public wxEvent
3180 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3181 { wxPyRaiseNotImplemented(); }
3182 virtual wxEvent
* Clone() const { return NULL
; }
3183 bool IsOk() const { return false; }
3184 bool IsIconInstalled() const { return false; }
3185 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3186 bool RemoveIcon() { return false; }
3187 bool PopupMenu(wxMenu
*menu
) { return false; }
3191 wxEVT_TASKBAR_MOVE
= 0,
3192 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3193 wxEVT_TASKBAR_LEFT_UP
= 0,
3194 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3195 wxEVT_TASKBAR_RIGHT_UP
= 0,
3196 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3197 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3202 // Otherwise make a class that can virtualize CreatePopupMenu
3203 class wxPyTaskBarIcon
: public wxTaskBarIcon
3205 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3207 wxPyTaskBarIcon() : wxTaskBarIcon()
3210 wxMenu
* CreatePopupMenu() {
3211 wxMenu
*rval
= NULL
;
3213 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3214 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3217 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3219 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3224 wxPyEndBlockThreads(blocked
);
3226 rval
= wxTaskBarIcon::CreatePopupMenu();
3233 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3237 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3241 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3242 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3243 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3244 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3245 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3246 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3248 // for compatibility only
3249 #define wxHIDE_READONLY 0
3251 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3253 self
->GetFilenames(arr
);
3254 return wxArrayString2PyList_helper(arr
);
3256 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3258 self
->GetPaths(arr
);
3259 return wxArrayString2PyList_helper(arr
);
3261 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3262 return wxArrayInt2PyList_helper(self
->GetSelections());
3264 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
){
3265 return new wxSingleChoiceDialog(parent
, message
, caption
,
3266 choices
, choices_array
, NULL
, style
, pos
);
3268 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3270 SWIGINTERNINLINE PyObject
*
3271 SWIG_From_bool (bool value
)
3273 return PyBool_FromLong(value
? 1 : 0);
3279 // C++ version of Python aware wxWindow
3280 class wxPyWindow
: public wxWindow
3282 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3284 wxPyWindow() : wxWindow() {}
3285 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3286 const wxPoint
& pos
= wxDefaultPosition
,
3287 const wxSize
& size
= wxDefaultSize
,
3289 const wxString
& name
= wxPyPanelNameStr
)
3290 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3292 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3294 bool DoEraseBackground(wxDC
* dc
) {
3296 return wxWindow::DoEraseBackground(dc
->GetHDC());
3298 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3304 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3305 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3306 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3307 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3313 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3314 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3316 DEC_PYCALLBACK__(InitDialog
);
3317 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3318 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3319 DEC_PYCALLBACK_BOOL_(Validate
);
3321 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3322 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3323 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3325 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3326 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3328 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3329 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3331 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3333 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3338 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3340 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3341 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3342 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3343 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3345 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3347 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3349 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3350 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3352 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3355 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3357 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3358 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3359 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3361 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3362 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3364 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3365 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3367 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3369 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3371 // C++ version of Python aware wxPanel
3372 class wxPyPanel
: public wxPanel
3374 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3376 wxPyPanel() : wxPanel() {}
3377 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3378 const wxPoint
& pos
= wxDefaultPosition
,
3379 const wxSize
& size
= wxDefaultSize
,
3381 const wxString
& name
= wxPyPanelNameStr
)
3382 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3384 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3385 bool DoEraseBackground(wxDC
* dc
) {
3387 return wxWindow::DoEraseBackground(dc
->GetHDC());
3389 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3396 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3397 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3398 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3399 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3401 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3405 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3406 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3408 DEC_PYCALLBACK__(InitDialog
);
3409 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3410 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3411 DEC_PYCALLBACK_BOOL_(Validate
);
3413 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3414 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3415 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3417 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3418 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3420 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3421 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3423 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3425 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3430 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3432 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3433 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3434 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3435 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3437 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3439 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3441 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3442 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3444 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3447 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3451 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3453 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3454 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3456 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3457 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3459 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3461 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3463 // C++ version of Python aware wxScrolledWindow
3464 class wxPyScrolledWindow
: public wxScrolledWindow
3466 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3468 wxPyScrolledWindow() : wxScrolledWindow() {}
3469 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3470 const wxPoint
& pos
= wxDefaultPosition
,
3471 const wxSize
& size
= wxDefaultSize
,
3473 const wxString
& name
= wxPyPanelNameStr
)
3474 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3476 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3477 bool DoEraseBackground(wxDC
* dc
) {
3479 return wxWindow::DoEraseBackground(dc
->GetHDC());
3481 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3487 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3488 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3489 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3490 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3492 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3496 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3497 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3499 DEC_PYCALLBACK__(InitDialog
);
3500 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3501 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3502 DEC_PYCALLBACK_BOOL_(Validate
);
3504 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3505 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3506 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3508 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3509 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3511 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3512 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3514 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3516 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3521 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3523 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3524 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3525 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3526 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3528 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3530 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3532 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3533 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3535 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3538 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3542 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3544 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3545 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3547 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3548 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3550 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3552 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3555 #include "wx/wxPython/printfw.h"
3558 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3559 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3560 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3562 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3563 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3564 self
->GetPrivDataLen());
3565 wxPyEndBlockThreads(blocked
);
3568 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3569 if (! PyString_Check(data
)) {
3570 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3571 "Expected string object"));
3575 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3576 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3577 wxPyEndBlockThreads(blocked
);
3581 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3583 // Since this one would be tough and ugly to do with the Macros...
3584 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3585 bool hadErr
= false;
3588 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3589 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3590 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3591 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3594 val
= PyTuple_GetItem(result
, 0);
3595 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3598 val
= PyTuple_GetItem(result
, 1);
3599 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3602 val
= PyTuple_GetItem(result
, 2);
3603 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3606 val
= PyTuple_GetItem(result
, 3);
3607 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3614 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3619 wxPyEndBlockThreads(blocked
);
3621 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3626 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3627 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3628 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3629 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3630 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3631 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3632 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3638 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3639 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3642 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3643 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3646 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3647 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3648 PyObject* win = wxPyMake_wxObject(a,false); \
3649 PyObject* dc = wxPyMake_wxObject(&b,false); \
3650 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3654 wxPyEndBlockThreads(blocked); \
3656 rval = PCLASS::CBNAME(a, b); \
3663 class wxPyPrintPreview
: public wxPrintPreview
3665 DECLARE_CLASS(wxPyPrintPreview
)
3667 wxPyPrintPreview(wxPyPrintout
* printout
,
3668 wxPyPrintout
* printoutForPrinting
,
3669 wxPrintDialogData
* data
=NULL
)
3670 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3672 wxPyPrintPreview(wxPyPrintout
* printout
,
3673 wxPyPrintout
* printoutForPrinting
,
3675 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3678 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3679 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3680 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3681 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3682 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3683 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3684 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3689 // Stupid renamed classes... Fix this in 2.5...
3690 #if defined(__WXMSW__)
3691 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3692 #elif defined(__WXMAC__)
3693 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3695 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3698 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3699 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3700 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3701 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3702 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3703 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3704 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3707 class wxPyPreviewFrame
: public wxPreviewFrame
3709 DECLARE_CLASS(wxPyPreviewFrame
)
3711 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3712 const wxString
& title
,
3713 const wxPoint
& pos
= wxDefaultPosition
,
3714 const wxSize
& size
= wxDefaultSize
,
3715 long style
= wxDEFAULT_FRAME_STYLE
,
3716 const wxString
& name
= wxPyFrameNameStr
)
3717 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3720 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3721 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3723 DEC_PYCALLBACK_VOID_(Initialize
);
3724 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3725 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3730 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3732 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3734 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3737 class wxPyPreviewControlBar
: public wxPreviewControlBar
3739 DECLARE_CLASS(wxPyPreviewControlBar
)
3741 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3744 const wxPoint
& pos
= wxDefaultPosition
,
3745 const wxSize
& size
= wxDefaultSize
,
3747 const wxString
& name
= wxPyPanelNameStr
)
3748 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3751 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3753 DEC_PYCALLBACK_VOID_(CreateButtons
);
3754 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3759 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3760 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3761 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3766 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
= 0;
3768 wxWindow
*arg1
= (wxWindow
*) 0 ;
3769 int arg2
= (int) (int)-1 ;
3770 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3771 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3772 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3773 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3774 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3775 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3776 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3777 wxPanel
*result
= 0 ;
3786 bool temp6
= false ;
3787 PyObject
* obj0
= 0 ;
3788 PyObject
* obj1
= 0 ;
3789 PyObject
* obj2
= 0 ;
3790 PyObject
* obj3
= 0 ;
3791 PyObject
* obj4
= 0 ;
3792 PyObject
* obj5
= 0 ;
3793 char * kwnames
[] = {
3794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3799 if (!SWIG_IsOK(res1
)) {
3800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3802 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3805 if (!SWIG_IsOK(ecode2
)) {
3806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3808 arg2
= static_cast< int >(val2
);
3813 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3819 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3823 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3824 if (!SWIG_IsOK(ecode5
)) {
3825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3827 arg5
= static_cast< long >(val5
);
3831 arg6
= wxString_in_helper(obj5
);
3832 if (arg6
== NULL
) SWIG_fail
;
3837 if (!wxPyCheckForApp()) SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3858 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3859 PyObject
*resultobj
= 0;
3860 wxPanel
*result
= 0 ;
3862 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3864 if (!wxPyCheckForApp()) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (wxPanel
*)new wxPanel();
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3877 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
= 0;
3879 wxPanel
*arg1
= (wxPanel
*) 0 ;
3880 wxWindow
*arg2
= (wxWindow
*) 0 ;
3881 int arg3
= (int) (int)-1 ;
3882 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3883 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3884 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3885 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3886 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3887 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3888 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3900 bool temp7
= false ;
3901 PyObject
* obj0
= 0 ;
3902 PyObject
* obj1
= 0 ;
3903 PyObject
* obj2
= 0 ;
3904 PyObject
* obj3
= 0 ;
3905 PyObject
* obj4
= 0 ;
3906 PyObject
* obj5
= 0 ;
3907 PyObject
* obj6
= 0 ;
3908 char * kwnames
[] = {
3909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3914 if (!SWIG_IsOK(res1
)) {
3915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3917 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3919 if (!SWIG_IsOK(res2
)) {
3920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3922 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3925 if (!SWIG_IsOK(ecode3
)) {
3926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3928 arg3
= static_cast< int >(val3
);
3933 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3939 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3943 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3944 if (!SWIG_IsOK(ecode6
)) {
3945 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3947 arg6
= static_cast< long >(val6
);
3951 arg7
= wxString_in_helper(obj6
);
3952 if (arg7
== NULL
) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3979 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3980 PyObject
*resultobj
= 0;
3981 wxPanel
*arg1
= (wxPanel
*) 0 ;
3984 PyObject
*swig_obj
[1] ;
3986 if (!args
) SWIG_fail
;
3988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3989 if (!SWIG_IsOK(res1
)) {
3990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3992 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 (arg1
)->SetFocusIgnoringChildren();
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= SWIG_Py_Void();
4006 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
= 0;
4008 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4009 SwigValueWrapper
<wxVisualAttributes
> result
;
4012 PyObject
* obj0
= 0 ;
4013 char * kwnames
[] = {
4014 (char *) "variant", NULL
4017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4020 if (!SWIG_IsOK(ecode1
)) {
4021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4023 arg1
= static_cast< wxWindowVariant
>(val1
);
4026 if (!wxPyCheckForApp()) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4039 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4042 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4043 return SWIG_Py_Void();
4046 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4047 return SWIG_Python_InitShadowInstance(args
);
4050 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
= 0;
4052 wxWindow
*arg1
= (wxWindow
*) 0 ;
4053 int arg2
= (int) (int)-1 ;
4054 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4055 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4056 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4057 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4058 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4059 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4060 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4061 wxScrolledWindow
*result
= 0 ;
4070 bool temp6
= false ;
4071 PyObject
* obj0
= 0 ;
4072 PyObject
* obj1
= 0 ;
4073 PyObject
* obj2
= 0 ;
4074 PyObject
* obj3
= 0 ;
4075 PyObject
* obj4
= 0 ;
4076 PyObject
* obj5
= 0 ;
4077 char * kwnames
[] = {
4078 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4083 if (!SWIG_IsOK(res1
)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4086 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4089 if (!SWIG_IsOK(ecode2
)) {
4090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4092 arg2
= static_cast< int >(val2
);
4097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4107 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4108 if (!SWIG_IsOK(ecode5
)) {
4109 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4111 arg5
= static_cast< long >(val5
);
4115 arg6
= wxString_in_helper(obj5
);
4116 if (arg6
== NULL
) SWIG_fail
;
4121 if (!wxPyCheckForApp()) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4142 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4143 PyObject
*resultobj
= 0;
4144 wxScrolledWindow
*result
= 0 ;
4146 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4148 if (!wxPyCheckForApp()) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4161 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
= 0;
4163 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4164 wxWindow
*arg2
= (wxWindow
*) 0 ;
4165 int arg3
= (int) (int)-1 ;
4166 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4167 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4168 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4169 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4170 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4171 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4172 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4184 bool temp7
= false ;
4185 PyObject
* obj0
= 0 ;
4186 PyObject
* obj1
= 0 ;
4187 PyObject
* obj2
= 0 ;
4188 PyObject
* obj3
= 0 ;
4189 PyObject
* obj4
= 0 ;
4190 PyObject
* obj5
= 0 ;
4191 PyObject
* obj6
= 0 ;
4192 char * kwnames
[] = {
4193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4198 if (!SWIG_IsOK(res1
)) {
4199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4201 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4203 if (!SWIG_IsOK(res2
)) {
4204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4206 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4209 if (!SWIG_IsOK(ecode3
)) {
4210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4212 arg3
= static_cast< int >(val3
);
4217 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4223 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4227 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4228 if (!SWIG_IsOK(ecode6
)) {
4229 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4231 arg6
= static_cast< long >(val6
);
4235 arg7
= wxString_in_helper(obj6
);
4236 if (arg7
== NULL
) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4263 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
= 0;
4265 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4270 int arg6
= (int) 0 ;
4271 int arg7
= (int) 0 ;
4272 bool arg8
= (bool) false ;
4289 PyObject
* obj0
= 0 ;
4290 PyObject
* obj1
= 0 ;
4291 PyObject
* obj2
= 0 ;
4292 PyObject
* obj3
= 0 ;
4293 PyObject
* obj4
= 0 ;
4294 PyObject
* obj5
= 0 ;
4295 PyObject
* obj6
= 0 ;
4296 PyObject
* obj7
= 0 ;
4297 char * kwnames
[] = {
4298 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4303 if (!SWIG_IsOK(res1
)) {
4304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4306 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4308 if (!SWIG_IsOK(ecode2
)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4311 arg2
= static_cast< int >(val2
);
4312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4313 if (!SWIG_IsOK(ecode3
)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4316 arg3
= static_cast< int >(val3
);
4317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4318 if (!SWIG_IsOK(ecode4
)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4321 arg4
= static_cast< int >(val4
);
4322 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4323 if (!SWIG_IsOK(ecode5
)) {
4324 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4326 arg5
= static_cast< int >(val5
);
4328 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4329 if (!SWIG_IsOK(ecode6
)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4332 arg6
= static_cast< int >(val6
);
4335 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4336 if (!SWIG_IsOK(ecode7
)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4339 arg7
= static_cast< int >(val7
);
4342 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4343 if (!SWIG_IsOK(ecode8
)) {
4344 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4346 arg8
= static_cast< bool >(val8
);
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= SWIG_Py_Void();
4361 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
= 0;
4363 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4374 PyObject
* obj2
= 0 ;
4375 char * kwnames
[] = {
4376 (char *) "self",(char *) "x",(char *) "y", NULL
4379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4381 if (!SWIG_IsOK(res1
)) {
4382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4384 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4386 if (!SWIG_IsOK(ecode2
)) {
4387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4389 arg2
= static_cast< int >(val2
);
4390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4391 if (!SWIG_IsOK(ecode3
)) {
4392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4394 arg3
= static_cast< int >(val3
);
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 (arg1
)->Scroll(arg2
,arg3
);
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= SWIG_Py_Void();
4408 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
= 0;
4410 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4417 PyObject
* obj0
= 0 ;
4418 PyObject
* obj1
= 0 ;
4419 char * kwnames
[] = {
4420 (char *) "self",(char *) "orient", NULL
4423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4425 if (!SWIG_IsOK(res1
)) {
4426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4428 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4430 if (!SWIG_IsOK(ecode2
)) {
4431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4433 arg2
= static_cast< int >(val2
);
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= SWIG_From_int(static_cast< int >(result
));
4447 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
= 0;
4449 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4460 PyObject
* obj2
= 0 ;
4461 char * kwnames
[] = {
4462 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4467 if (!SWIG_IsOK(res1
)) {
4468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4470 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4472 if (!SWIG_IsOK(ecode2
)) {
4473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4475 arg2
= static_cast< int >(val2
);
4476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4477 if (!SWIG_IsOK(ecode3
)) {
4478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4480 arg3
= static_cast< int >(val3
);
4482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 resultobj
= SWIG_Py_Void();
4494 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
= 0;
4496 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4507 PyObject
* obj2
= 0 ;
4508 char * kwnames
[] = {
4509 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4514 if (!SWIG_IsOK(res1
)) {
4515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4517 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4519 if (!SWIG_IsOK(ecode2
)) {
4520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4522 arg2
= static_cast< int >(val2
);
4523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4524 if (!SWIG_IsOK(ecode3
)) {
4525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4527 arg3
= static_cast< int >(val3
);
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 (arg1
)->SetScrollRate(arg2
,arg3
);
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= SWIG_Py_Void();
4541 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4542 PyObject
*resultobj
= 0;
4543 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4544 int *arg2
= (int *) 0 ;
4545 int *arg3
= (int *) 0 ;
4549 int res2
= SWIG_TMPOBJ
;
4551 int res3
= SWIG_TMPOBJ
;
4552 PyObject
*swig_obj
[1] ;
4556 if (!args
) SWIG_fail
;
4558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4559 if (!SWIG_IsOK(res1
)) {
4560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4562 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4569 resultobj
= SWIG_Py_Void();
4570 if (SWIG_IsTmpObj(res2
)) {
4571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4573 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4576 if (SWIG_IsTmpObj(res3
)) {
4577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4579 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4580 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4588 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
= 0;
4590 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4601 PyObject
* obj2
= 0 ;
4602 char * kwnames
[] = {
4603 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4608 if (!SWIG_IsOK(res1
)) {
4609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4611 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4612 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4613 if (!SWIG_IsOK(ecode2
)) {
4614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4616 arg2
= static_cast< bool >(val2
);
4617 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4618 if (!SWIG_IsOK(ecode3
)) {
4619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4621 arg3
= static_cast< bool >(val3
);
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 (arg1
)->EnableScrolling(arg2
,arg3
);
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= SWIG_Py_Void();
4635 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4636 PyObject
*resultobj
= 0;
4637 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4638 int *arg2
= (int *) 0 ;
4639 int *arg3
= (int *) 0 ;
4643 int res2
= SWIG_TMPOBJ
;
4645 int res3
= SWIG_TMPOBJ
;
4646 PyObject
*swig_obj
[1] ;
4650 if (!args
) SWIG_fail
;
4652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4653 if (!SWIG_IsOK(res1
)) {
4654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4656 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= SWIG_Py_Void();
4664 if (SWIG_IsTmpObj(res2
)) {
4665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4667 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4670 if (SWIG_IsTmpObj(res3
)) {
4671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4673 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4682 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
= 0;
4684 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4694 PyObject
* obj1
= 0 ;
4695 PyObject
* obj2
= 0 ;
4696 char * kwnames
[] = {
4697 (char *) "self",(char *) "xs",(char *) "ys", NULL
4700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4702 if (!SWIG_IsOK(res1
)) {
4703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4705 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4706 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4707 if (!SWIG_IsOK(ecode2
)) {
4708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4710 arg2
= static_cast< double >(val2
);
4711 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4712 if (!SWIG_IsOK(ecode3
)) {
4713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4715 arg3
= static_cast< double >(val3
);
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 (arg1
)->SetScale(arg2
,arg3
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= SWIG_Py_Void();
4729 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4730 PyObject
*resultobj
= 0;
4731 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4735 PyObject
*swig_obj
[1] ;
4737 if (!args
) SWIG_fail
;
4739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4740 if (!SWIG_IsOK(res1
)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4743 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= SWIG_From_double(static_cast< double >(result
));
4757 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4758 PyObject
*resultobj
= 0;
4759 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4763 PyObject
*swig_obj
[1] ;
4765 if (!args
) SWIG_fail
;
4767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4768 if (!SWIG_IsOK(res1
)) {
4769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4771 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 resultobj
= SWIG_From_double(static_cast< double >(result
));
4785 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4786 PyObject
*resultobj
= 0;
4787 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4794 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4796 if (!SWIG_IsOK(res1
)) {
4797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4799 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4802 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4817 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4818 PyObject
*resultobj
= 0;
4819 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4822 int *arg4
= (int *) 0 ;
4823 int *arg5
= (int *) 0 ;
4831 int res4
= SWIG_TMPOBJ
;
4833 int res5
= SWIG_TMPOBJ
;
4837 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4839 if (!SWIG_IsOK(res1
)) {
4840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4842 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4843 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4844 if (!SWIG_IsOK(ecode2
)) {
4845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4847 arg2
= static_cast< int >(val2
);
4848 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4849 if (!SWIG_IsOK(ecode3
)) {
4850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4852 arg3
= static_cast< int >(val3
);
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= SWIG_Py_Void();
4860 if (SWIG_IsTmpObj(res4
)) {
4861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4863 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4866 if (SWIG_IsTmpObj(res5
)) {
4867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4869 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4878 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4882 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4885 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4888 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4892 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4897 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4898 PyObject
*resultobj
= 0;
4899 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4906 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4908 if (!SWIG_IsOK(res1
)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4911 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4914 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4929 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4930 PyObject
*resultobj
= 0;
4931 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4934 int *arg4
= (int *) 0 ;
4935 int *arg5
= (int *) 0 ;
4943 int res4
= SWIG_TMPOBJ
;
4945 int res5
= SWIG_TMPOBJ
;
4949 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4951 if (!SWIG_IsOK(res1
)) {
4952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4954 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4955 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4956 if (!SWIG_IsOK(ecode2
)) {
4957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4959 arg2
= static_cast< int >(val2
);
4960 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4961 if (!SWIG_IsOK(ecode3
)) {
4962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4964 arg3
= static_cast< int >(val3
);
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 resultobj
= SWIG_Py_Void();
4972 if (SWIG_IsTmpObj(res4
)) {
4973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4975 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4978 if (SWIG_IsTmpObj(res5
)) {
4979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4981 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4990 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4994 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4997 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
5000 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
5004 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5009 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5010 PyObject
*resultobj
= 0;
5011 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5014 PyObject
*swig_obj
[1] ;
5016 if (!args
) SWIG_fail
;
5018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5019 if (!SWIG_IsOK(res1
)) {
5020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5022 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 (arg1
)->AdjustScrollbars();
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) SWIG_fail
;
5029 resultobj
= SWIG_Py_Void();
5036 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
= 0;
5038 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5039 wxScrollWinEvent
*arg2
= 0 ;
5045 PyObject
* obj0
= 0 ;
5046 PyObject
* obj1
= 0 ;
5047 char * kwnames
[] = {
5048 (char *) "self",(char *) "event", NULL
5051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5053 if (!SWIG_IsOK(res1
)) {
5054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5056 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5057 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5058 if (!SWIG_IsOK(res2
)) {
5059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5064 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= SWIG_From_int(static_cast< int >(result
));
5078 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
= 0;
5080 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5081 wxWindow
*arg2
= (wxWindow
*) 0 ;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5088 char * kwnames
[] = {
5089 (char *) "self",(char *) "target", NULL
5092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5094 if (!SWIG_IsOK(res1
)) {
5095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5097 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5098 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5099 if (!SWIG_IsOK(res2
)) {
5100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5102 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 (arg1
)->SetTargetWindow(arg2
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= SWIG_Py_Void();
5116 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5117 PyObject
*resultobj
= 0;
5118 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5119 wxWindow
*result
= 0 ;
5122 PyObject
*swig_obj
[1] ;
5124 if (!args
) SWIG_fail
;
5126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5130 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= wxPyMake_wxObject(result
, 0);
5146 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
= 0;
5148 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5153 PyObject
* obj0
= 0 ;
5154 PyObject
* obj1
= 0 ;
5155 char * kwnames
[] = {
5156 (char *) "self",(char *) "rect", NULL
5159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5161 if (!SWIG_IsOK(res1
)) {
5162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5164 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5167 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= SWIG_Py_Void();
5182 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5183 PyObject
*resultobj
= 0;
5184 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5188 PyObject
*swig_obj
[1] ;
5190 if (!args
) SWIG_fail
;
5192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5193 if (!SWIG_IsOK(res1
)) {
5194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5196 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5210 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
= 0;
5212 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5218 PyObject
* obj0
= 0 ;
5219 PyObject
* obj1
= 0 ;
5220 char * kwnames
[] = {
5221 (char *) "self",(char *) "dc", NULL
5224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5226 if (!SWIG_IsOK(res1
)) {
5227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5229 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5231 if (!SWIG_IsOK(res2
)) {
5232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5237 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 (arg1
)->DoPrepareDC(*arg2
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= SWIG_Py_Void();
5251 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5252 PyObject
*resultobj
= 0;
5253 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5254 SwigValueWrapper
<wxVisualAttributes
> result
;
5257 PyObject
* obj0
= 0 ;
5258 char * kwnames
[] = {
5259 (char *) "variant", NULL
5262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5264 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5265 if (!SWIG_IsOK(ecode1
)) {
5266 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5268 arg1
= static_cast< wxWindowVariant
>(val1
);
5271 if (!wxPyCheckForApp()) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5284 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5287 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5288 return SWIG_Py_Void();
5291 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5292 return SWIG_Python_InitShadowInstance(args
);
5295 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5296 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5301 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5302 PyObject
*pyobj
= 0;
5306 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5308 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5315 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5316 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5321 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5322 PyObject
*pyobj
= 0;
5326 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5328 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5335 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5336 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5341 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5342 PyObject
*pyobj
= 0;
5346 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5348 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5355 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5356 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5361 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5362 PyObject
*pyobj
= 0;
5366 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5368 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5375 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
= 0;
5377 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5378 bool arg2
= (bool) true ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5385 char * kwnames
[] = {
5386 (char *) "self",(char *) "maximize", NULL
5389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5391 if (!SWIG_IsOK(res1
)) {
5392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5394 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5396 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5397 if (!SWIG_IsOK(ecode2
)) {
5398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5400 arg2
= static_cast< bool >(val2
);
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 (arg1
)->Maximize(arg2
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= SWIG_Py_Void();
5415 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5416 PyObject
*resultobj
= 0;
5417 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5420 PyObject
*swig_obj
[1] ;
5422 if (!args
) SWIG_fail
;
5424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5425 if (!SWIG_IsOK(res1
)) {
5426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5428 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 resultobj
= SWIG_Py_Void();
5442 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
= 0;
5444 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5445 bool arg2
= (bool) true ;
5450 PyObject
* obj0
= 0 ;
5451 PyObject
* obj1
= 0 ;
5452 char * kwnames
[] = {
5453 (char *) "self",(char *) "iconize", NULL
5456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5458 if (!SWIG_IsOK(res1
)) {
5459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5461 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5463 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5464 if (!SWIG_IsOK(ecode2
)) {
5465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5467 arg2
= static_cast< bool >(val2
);
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 (arg1
)->Iconize(arg2
);
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5475 resultobj
= SWIG_Py_Void();
5482 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5483 PyObject
*resultobj
= 0;
5484 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5488 PyObject
*swig_obj
[1] ;
5490 if (!args
) SWIG_fail
;
5492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5493 if (!SWIG_IsOK(res1
)) {
5494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5496 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5512 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5513 PyObject
*resultobj
= 0;
5514 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5518 PyObject
*swig_obj
[1] ;
5520 if (!args
) SWIG_fail
;
5522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5523 if (!SWIG_IsOK(res1
)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5526 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5542 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5543 PyObject
*resultobj
= 0;
5544 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5548 PyObject
*swig_obj
[1] ;
5550 if (!args
) SWIG_fail
;
5552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5553 if (!SWIG_IsOK(res1
)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5556 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5572 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5573 PyObject
*resultobj
= 0;
5574 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5578 PyObject
*swig_obj
[1] ;
5580 if (!args
) SWIG_fail
;
5582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5583 if (!SWIG_IsOK(res1
)) {
5584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5586 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5589 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5600 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
*resultobj
= 0;
5602 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5608 PyObject
* obj0
= 0 ;
5609 PyObject
* obj1
= 0 ;
5610 char * kwnames
[] = {
5611 (char *) "self",(char *) "icon", NULL
5614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5616 if (!SWIG_IsOK(res1
)) {
5617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5619 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5621 if (!SWIG_IsOK(res2
)) {
5622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5627 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5630 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= SWIG_Py_Void();
5641 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
= 0;
5643 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5644 wxIconBundle
*arg2
= 0 ;
5649 PyObject
* obj0
= 0 ;
5650 PyObject
* obj1
= 0 ;
5651 char * kwnames
[] = {
5652 (char *) "self",(char *) "icons", NULL
5655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5657 if (!SWIG_IsOK(res1
)) {
5658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5660 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5662 if (!SWIG_IsOK(res2
)) {
5663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5668 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= SWIG_Py_Void();
5682 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
= 0;
5684 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5686 long arg3
= (long) wxFULLSCREEN_ALL
;
5694 PyObject
* obj0
= 0 ;
5695 PyObject
* obj1
= 0 ;
5696 PyObject
* obj2
= 0 ;
5697 char * kwnames
[] = {
5698 (char *) "self",(char *) "show",(char *) "style", NULL
5701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5703 if (!SWIG_IsOK(res1
)) {
5704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5706 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5707 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5708 if (!SWIG_IsOK(ecode2
)) {
5709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5711 arg2
= static_cast< bool >(val2
);
5713 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5714 if (!SWIG_IsOK(ecode3
)) {
5715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5717 arg3
= static_cast< long >(val3
);
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5734 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5735 PyObject
*resultobj
= 0;
5736 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5740 PyObject
*swig_obj
[1] ;
5742 if (!args
) SWIG_fail
;
5744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5745 if (!SWIG_IsOK(res1
)) {
5746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5748 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5764 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
= 0;
5766 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5767 wxString
*arg2
= 0 ;
5770 bool temp2
= false ;
5771 PyObject
* obj0
= 0 ;
5772 PyObject
* obj1
= 0 ;
5773 char * kwnames
[] = {
5774 (char *) "self",(char *) "title", NULL
5777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5779 if (!SWIG_IsOK(res1
)) {
5780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5782 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5784 arg2
= wxString_in_helper(obj1
);
5785 if (arg2
== NULL
) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 (arg1
)->SetTitle((wxString
const &)*arg2
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= SWIG_Py_Void();
5809 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5810 PyObject
*resultobj
= 0;
5811 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5815 PyObject
*swig_obj
[1] ;
5817 if (!args
) SWIG_fail
;
5819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5820 if (!SWIG_IsOK(res1
)) {
5821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5823 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5843 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
= 0;
5845 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5846 wxRegion
*arg2
= 0 ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5854 char * kwnames
[] = {
5855 (char *) "self",(char *) "region", NULL
5858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5860 if (!SWIG_IsOK(res1
)) {
5861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5863 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5865 if (!SWIG_IsOK(res2
)) {
5866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5871 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5887 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
*resultobj
= 0;
5889 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5890 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5895 PyObject
* obj0
= 0 ;
5896 PyObject
* obj1
= 0 ;
5897 char * kwnames
[] = {
5898 (char *) "self",(char *) "flags", NULL
5901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5903 if (!SWIG_IsOK(res1
)) {
5904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5906 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5909 if (!SWIG_IsOK(ecode2
)) {
5910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5912 arg2
= static_cast< int >(val2
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 (arg1
)->RequestUserAttention(arg2
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5933 PyObject
*swig_obj
[1] ;
5935 if (!args
) SWIG_fail
;
5937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5938 if (!SWIG_IsOK(res1
)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5941 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= (bool)(arg1
)->IsActive();
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5957 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
= 0;
5959 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5966 PyObject
* obj1
= 0 ;
5967 char * kwnames
[] = {
5968 (char *) "self",(char *) "on", NULL
5971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5973 if (!SWIG_IsOK(res1
)) {
5974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5976 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5977 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5978 if (!SWIG_IsOK(ecode2
)) {
5979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5981 arg2
= static_cast< bool >(val2
);
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_Py_Void();
5995 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5996 PyObject
*resultobj
= 0;
5997 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6001 PyObject
*swig_obj
[1] ;
6003 if (!args
) SWIG_fail
;
6005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6006 if (!SWIG_IsOK(res1
)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6009 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6025 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
= 0;
6027 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6028 int arg2
= (int) wxBOTH
;
6033 PyObject
* obj0
= 0 ;
6034 PyObject
* obj1
= 0 ;
6035 char * kwnames
[] = {
6036 (char *) "self",(char *) "dir", NULL
6039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6041 if (!SWIG_IsOK(res1
)) {
6042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6044 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6047 if (!SWIG_IsOK(ecode2
)) {
6048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6050 arg2
= static_cast< int >(val2
);
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 (arg1
)->CenterOnScreen(arg2
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= SWIG_Py_Void();
6065 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
= 0;
6067 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6068 bool arg2
= (bool) true ;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6076 char * kwnames
[] = {
6077 (char *) "self",(char *) "enable", NULL
6080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6082 if (!SWIG_IsOK(res1
)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6085 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6087 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6088 if (!SWIG_IsOK(ecode2
)) {
6089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6091 arg2
= static_cast< bool >(val2
);
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6108 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
= 0;
6110 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6115 unsigned char val2
;
6117 PyObject
* obj0
= 0 ;
6118 PyObject
* obj1
= 0 ;
6119 char * kwnames
[] = {
6120 (char *) "self",(char *) "alpha", NULL
6123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6125 if (!SWIG_IsOK(res1
)) {
6126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6128 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6129 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
6130 if (!SWIG_IsOK(ecode2
)) {
6131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6133 arg2
= static_cast< byte
>(val2
);
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (bool)(arg1
)->SetTransparent(arg2
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6149 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6150 PyObject
*resultobj
= 0;
6151 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6155 PyObject
*swig_obj
[1] ;
6157 if (!args
) SWIG_fail
;
6159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6160 if (!SWIG_IsOK(res1
)) {
6161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6163 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (bool)(arg1
)->CanSetTransparent();
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6179 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6180 PyObject
*resultobj
= 0;
6181 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6182 wxWindow
*result
= 0 ;
6185 PyObject
*swig_obj
[1] ;
6187 if (!args
) SWIG_fail
;
6189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6190 if (!SWIG_IsOK(res1
)) {
6191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6193 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= wxPyMake_wxObject(result
, 0);
6209 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
= 0;
6211 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6212 wxWindow
*arg2
= (wxWindow
*) 0 ;
6213 wxWindow
*result
= 0 ;
6218 PyObject
* obj0
= 0 ;
6219 PyObject
* obj1
= 0 ;
6220 char * kwnames
[] = {
6221 (char *) "self",(char *) "child", NULL
6224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6226 if (!SWIG_IsOK(res1
)) {
6227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6229 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6230 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6231 if (!SWIG_IsOK(res2
)) {
6232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6234 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6242 resultobj
= wxPyMake_wxObject(result
, 0);
6250 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
= 0;
6252 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6253 wxWindow
*arg2
= (wxWindow
*) 0 ;
6258 PyObject
* obj0
= 0 ;
6259 PyObject
* obj1
= 0 ;
6260 char * kwnames
[] = {
6261 (char *) "self",(char *) "win", NULL
6264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6266 if (!SWIG_IsOK(res1
)) {
6267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6269 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6271 if (!SWIG_IsOK(res2
)) {
6272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6274 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 (arg1
)->SetTmpDefaultItem(arg2
);
6278 wxPyEndAllowThreads(__tstate
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= SWIG_Py_Void();
6288 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6289 PyObject
*resultobj
= 0;
6290 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6291 wxWindow
*result
= 0 ;
6294 PyObject
*swig_obj
[1] ;
6296 if (!args
) SWIG_fail
;
6298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6299 if (!SWIG_IsOK(res1
)) {
6300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6302 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6306 wxPyEndAllowThreads(__tstate
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6310 resultobj
= wxPyMake_wxObject(result
, 0);
6318 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6321 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6322 return SWIG_Py_Void();
6325 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
= 0;
6327 wxWindow
*arg1
= (wxWindow
*) 0 ;
6328 int arg2
= (int) (int)-1 ;
6329 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6330 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6335 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6336 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6337 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6338 wxFrame
*result
= 0 ;
6343 bool temp3
= false ;
6348 bool temp7
= false ;
6349 PyObject
* obj0
= 0 ;
6350 PyObject
* obj1
= 0 ;
6351 PyObject
* obj2
= 0 ;
6352 PyObject
* obj3
= 0 ;
6353 PyObject
* obj4
= 0 ;
6354 PyObject
* obj5
= 0 ;
6355 PyObject
* obj6
= 0 ;
6356 char * kwnames
[] = {
6357 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6362 if (!SWIG_IsOK(res1
)) {
6363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6365 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6368 if (!SWIG_IsOK(ecode2
)) {
6369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6371 arg2
= static_cast< int >(val2
);
6375 arg3
= wxString_in_helper(obj2
);
6376 if (arg3
== NULL
) SWIG_fail
;
6383 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6389 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6393 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6394 if (!SWIG_IsOK(ecode6
)) {
6395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6397 arg6
= static_cast< long >(val6
);
6401 arg7
= wxString_in_helper(obj6
);
6402 if (arg7
== NULL
) SWIG_fail
;
6407 if (!wxPyCheckForApp()) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6436 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6437 PyObject
*resultobj
= 0;
6438 wxFrame
*result
= 0 ;
6440 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6442 if (!wxPyCheckForApp()) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 result
= (wxFrame
*)new wxFrame();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6455 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
= 0;
6457 wxFrame
*arg1
= (wxFrame
*) 0 ;
6458 wxWindow
*arg2
= (wxWindow
*) 0 ;
6459 int arg3
= (int) (int)-1 ;
6460 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6461 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6462 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6463 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6464 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6465 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6466 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6467 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6468 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6476 bool temp4
= false ;
6481 bool temp8
= false ;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6484 PyObject
* obj2
= 0 ;
6485 PyObject
* obj3
= 0 ;
6486 PyObject
* obj4
= 0 ;
6487 PyObject
* obj5
= 0 ;
6488 PyObject
* obj6
= 0 ;
6489 PyObject
* obj7
= 0 ;
6490 char * kwnames
[] = {
6491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6496 if (!SWIG_IsOK(res1
)) {
6497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6499 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6501 if (!SWIG_IsOK(res2
)) {
6502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6504 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6507 if (!SWIG_IsOK(ecode3
)) {
6508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6510 arg3
= static_cast< int >(val3
);
6514 arg4
= wxString_in_helper(obj3
);
6515 if (arg4
== NULL
) SWIG_fail
;
6522 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6528 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6532 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6533 if (!SWIG_IsOK(ecode7
)) {
6534 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6536 arg7
= static_cast< long >(val7
);
6540 arg8
= wxString_in_helper(obj7
);
6541 if (arg8
== NULL
) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6576 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6577 PyObject
*resultobj
= 0;
6578 wxFrame
*arg1
= (wxFrame
*) 0 ;
6581 PyObject
*swig_obj
[1] ;
6583 if (!args
) SWIG_fail
;
6585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6586 if (!SWIG_IsOK(res1
)) {
6587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6589 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 (arg1
)->SendSizeEvent();
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_Py_Void();
6603 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
= 0;
6605 wxFrame
*arg1
= (wxFrame
*) 0 ;
6606 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6613 char * kwnames
[] = {
6614 (char *) "self",(char *) "menubar", NULL
6617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6619 if (!SWIG_IsOK(res1
)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6622 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6624 if (!SWIG_IsOK(res2
)) {
6625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6627 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 (arg1
)->SetMenuBar(arg2
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= SWIG_Py_Void();
6641 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6642 PyObject
*resultobj
= 0;
6643 wxFrame
*arg1
= (wxFrame
*) 0 ;
6644 wxMenuBar
*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_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6655 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 resultobj
= wxPyMake_wxObject(result
, 0);
6671 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
= 0;
6673 wxFrame
*arg1
= (wxFrame
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6682 char * kwnames
[] = {
6683 (char *) "self",(char *) "winid", NULL
6686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6688 if (!SWIG_IsOK(res1
)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6691 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6693 if (!SWIG_IsOK(ecode2
)) {
6694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6696 arg2
= static_cast< int >(val2
);
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6700 wxPyEndAllowThreads(__tstate
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6712 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
= 0;
6714 wxFrame
*arg1
= (wxFrame
*) 0 ;
6715 int arg2
= (int) 1 ;
6716 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6717 int arg4
= (int) 0 ;
6718 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6719 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6720 wxStatusBar
*result
= 0 ;
6729 bool temp5
= false ;
6730 PyObject
* obj0
= 0 ;
6731 PyObject
* obj1
= 0 ;
6732 PyObject
* obj2
= 0 ;
6733 PyObject
* obj3
= 0 ;
6734 PyObject
* obj4
= 0 ;
6735 char * kwnames
[] = {
6736 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6741 if (!SWIG_IsOK(res1
)) {
6742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6744 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6747 if (!SWIG_IsOK(ecode2
)) {
6748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6750 arg2
= static_cast< int >(val2
);
6753 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6754 if (!SWIG_IsOK(ecode3
)) {
6755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6757 arg3
= static_cast< long >(val3
);
6760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6761 if (!SWIG_IsOK(ecode4
)) {
6762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6764 arg4
= static_cast< int >(val4
);
6768 arg5
= wxString_in_helper(obj4
);
6769 if (arg5
== NULL
) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6796 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6797 PyObject
*resultobj
= 0;
6798 wxFrame
*arg1
= (wxFrame
*) 0 ;
6799 wxStatusBar
*result
= 0 ;
6802 PyObject
*swig_obj
[1] ;
6804 if (!args
) SWIG_fail
;
6806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6807 if (!SWIG_IsOK(res1
)) {
6808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6810 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6814 wxPyEndAllowThreads(__tstate
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6818 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6826 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
= 0;
6828 wxFrame
*arg1
= (wxFrame
*) 0 ;
6829 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6834 PyObject
* obj0
= 0 ;
6835 PyObject
* obj1
= 0 ;
6836 char * kwnames
[] = {
6837 (char *) "self",(char *) "statBar", NULL
6840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6842 if (!SWIG_IsOK(res1
)) {
6843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6845 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6846 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6847 if (!SWIG_IsOK(res2
)) {
6848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6850 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 (arg1
)->SetStatusBar(arg2
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_Py_Void();
6864 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
= 0;
6866 wxFrame
*arg1
= (wxFrame
*) 0 ;
6867 wxString
*arg2
= 0 ;
6868 int arg3
= (int) 0 ;
6871 bool temp2
= false ;
6874 PyObject
* obj0
= 0 ;
6875 PyObject
* obj1
= 0 ;
6876 PyObject
* obj2
= 0 ;
6877 char * kwnames
[] = {
6878 (char *) "self",(char *) "text",(char *) "number", NULL
6881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6883 if (!SWIG_IsOK(res1
)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6886 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6888 arg2
= wxString_in_helper(obj1
);
6889 if (arg2
== NULL
) SWIG_fail
;
6893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6894 if (!SWIG_IsOK(ecode3
)) {
6895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6897 arg3
= static_cast< int >(val3
);
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_Py_Void();
6920 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
= 0;
6922 wxFrame
*arg1
= (wxFrame
*) 0 ;
6924 int *arg3
= (int *) 0 ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "widths", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6938 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6940 arg2
= PyList_Size(obj1
);
6941 arg3
= int_LIST_helper(obj1
);
6942 if (arg3
== NULL
) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 resultobj
= SWIG_Py_Void();
6952 if (arg3
) delete [] arg3
;
6957 if (arg3
) delete [] arg3
;
6963 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
= 0;
6965 wxFrame
*arg1
= (wxFrame
*) 0 ;
6966 wxString
*arg2
= 0 ;
6967 int arg3
= (int) 0 ;
6970 bool temp2
= false ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6975 PyObject
* obj2
= 0 ;
6976 char * kwnames
[] = {
6977 (char *) "self",(char *) "text",(char *) "number", NULL
6980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6982 if (!SWIG_IsOK(res1
)) {
6983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6985 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6987 arg2
= wxString_in_helper(obj1
);
6988 if (arg2
== NULL
) SWIG_fail
;
6992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6993 if (!SWIG_IsOK(ecode3
)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6996 arg3
= static_cast< int >(val3
);
6999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7000 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_Py_Void();
7019 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
= 0;
7021 wxFrame
*arg1
= (wxFrame
*) 0 ;
7022 int arg2
= (int) 0 ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7029 char * kwnames
[] = {
7030 (char *) "self",(char *) "number", NULL
7033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7035 if (!SWIG_IsOK(res1
)) {
7036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7038 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7041 if (!SWIG_IsOK(ecode2
)) {
7042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7044 arg2
= static_cast< int >(val2
);
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 (arg1
)->PopStatusText(arg2
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 resultobj
= SWIG_Py_Void();
7059 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
*resultobj
= 0;
7061 wxFrame
*arg1
= (wxFrame
*) 0 ;
7067 PyObject
* obj0
= 0 ;
7068 PyObject
* obj1
= 0 ;
7069 char * kwnames
[] = {
7070 (char *) "self",(char *) "n", NULL
7073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7075 if (!SWIG_IsOK(res1
)) {
7076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7078 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7080 if (!SWIG_IsOK(ecode2
)) {
7081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7083 arg2
= static_cast< int >(val2
);
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 (arg1
)->SetStatusBarPane(arg2
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= SWIG_Py_Void();
7097 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7098 PyObject
*resultobj
= 0;
7099 wxFrame
*arg1
= (wxFrame
*) 0 ;
7103 PyObject
*swig_obj
[1] ;
7105 if (!args
) SWIG_fail
;
7107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7108 if (!SWIG_IsOK(res1
)) {
7109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7111 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7118 resultobj
= SWIG_From_int(static_cast< int >(result
));
7125 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
= 0;
7127 wxFrame
*arg1
= (wxFrame
*) 0 ;
7128 long arg2
= (long) -1 ;
7129 int arg3
= (int) -1 ;
7130 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7131 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7132 wxToolBar
*result
= 0 ;
7139 bool temp4
= false ;
7140 PyObject
* obj0
= 0 ;
7141 PyObject
* obj1
= 0 ;
7142 PyObject
* obj2
= 0 ;
7143 PyObject
* obj3
= 0 ;
7144 char * kwnames
[] = {
7145 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7150 if (!SWIG_IsOK(res1
)) {
7151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7153 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7155 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7156 if (!SWIG_IsOK(ecode2
)) {
7157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7159 arg2
= static_cast< long >(val2
);
7162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7163 if (!SWIG_IsOK(ecode3
)) {
7164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7166 arg3
= static_cast< int >(val3
);
7170 arg4
= wxString_in_helper(obj3
);
7171 if (arg4
== NULL
) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7182 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7198 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7199 PyObject
*resultobj
= 0;
7200 wxFrame
*arg1
= (wxFrame
*) 0 ;
7201 wxToolBar
*result
= 0 ;
7204 PyObject
*swig_obj
[1] ;
7206 if (!args
) SWIG_fail
;
7208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7209 if (!SWIG_IsOK(res1
)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7212 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7220 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7228 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
= 0;
7230 wxFrame
*arg1
= (wxFrame
*) 0 ;
7231 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7236 PyObject
* obj0
= 0 ;
7237 PyObject
* obj1
= 0 ;
7238 char * kwnames
[] = {
7239 (char *) "self",(char *) "toolbar", NULL
7242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7244 if (!SWIG_IsOK(res1
)) {
7245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7247 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7249 if (!SWIG_IsOK(res2
)) {
7250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7252 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 (arg1
)->SetToolBar(arg2
);
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 resultobj
= SWIG_Py_Void();
7266 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
= 0;
7268 wxFrame
*arg1
= (wxFrame
*) 0 ;
7269 wxString
*arg2
= 0 ;
7273 bool temp2
= false ;
7276 PyObject
* obj0
= 0 ;
7277 PyObject
* obj1
= 0 ;
7278 PyObject
* obj2
= 0 ;
7279 char * kwnames
[] = {
7280 (char *) "self",(char *) "text",(char *) "show", NULL
7283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7285 if (!SWIG_IsOK(res1
)) {
7286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7288 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7290 arg2
= wxString_in_helper(obj1
);
7291 if (arg2
== NULL
) SWIG_fail
;
7294 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7295 if (!SWIG_IsOK(ecode3
)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7298 arg3
= static_cast< bool >(val3
);
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= SWIG_Py_Void();
7320 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
= 0;
7322 wxFrame
*arg1
= (wxFrame
*) 0 ;
7323 wxMenu
*arg2
= (wxMenu
*) NULL
;
7328 PyObject
* obj0
= 0 ;
7329 PyObject
* obj1
= 0 ;
7330 char * kwnames
[] = {
7331 (char *) "self",(char *) "menu", NULL
7334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7336 if (!SWIG_IsOK(res1
)) {
7337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7339 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7341 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7342 if (!SWIG_IsOK(res2
)) {
7343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7345 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 (arg1
)->DoMenuUpdates(arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_Py_Void();
7360 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
= 0;
7362 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7363 SwigValueWrapper
<wxVisualAttributes
> result
;
7366 PyObject
* obj0
= 0 ;
7367 char * kwnames
[] = {
7368 (char *) "variant", NULL
7371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7373 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7374 if (!SWIG_IsOK(ecode1
)) {
7375 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7377 arg1
= static_cast< wxWindowVariant
>(val1
);
7380 if (!wxPyCheckForApp()) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7393 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7396 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7397 return SWIG_Py_Void();
7400 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7401 return SWIG_Python_InitShadowInstance(args
);
7404 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
= 0;
7406 wxWindow
*arg1
= (wxWindow
*) 0 ;
7407 int arg2
= (int) (int)-1 ;
7408 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7414 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7415 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7416 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7417 wxDialog
*result
= 0 ;
7422 bool temp3
= false ;
7427 bool temp7
= false ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7430 PyObject
* obj2
= 0 ;
7431 PyObject
* obj3
= 0 ;
7432 PyObject
* obj4
= 0 ;
7433 PyObject
* obj5
= 0 ;
7434 PyObject
* obj6
= 0 ;
7435 char * kwnames
[] = {
7436 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7441 if (!SWIG_IsOK(res1
)) {
7442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7444 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7447 if (!SWIG_IsOK(ecode2
)) {
7448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7450 arg2
= static_cast< int >(val2
);
7454 arg3
= wxString_in_helper(obj2
);
7455 if (arg3
== NULL
) SWIG_fail
;
7462 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7468 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7472 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7473 if (!SWIG_IsOK(ecode6
)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7476 arg6
= static_cast< long >(val6
);
7480 arg7
= wxString_in_helper(obj6
);
7481 if (arg7
== NULL
) SWIG_fail
;
7486 if (!wxPyCheckForApp()) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7515 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7516 PyObject
*resultobj
= 0;
7517 wxDialog
*result
= 0 ;
7519 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7521 if (!wxPyCheckForApp()) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= (wxDialog
*)new wxDialog();
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7534 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
= 0;
7536 wxDialog
*arg1
= (wxDialog
*) 0 ;
7537 wxWindow
*arg2
= (wxWindow
*) 0 ;
7538 int arg3
= (int) (int)-1 ;
7539 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7540 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7541 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7542 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7543 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7544 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7545 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7546 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7547 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7555 bool temp4
= false ;
7560 bool temp8
= false ;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7563 PyObject
* obj2
= 0 ;
7564 PyObject
* obj3
= 0 ;
7565 PyObject
* obj4
= 0 ;
7566 PyObject
* obj5
= 0 ;
7567 PyObject
* obj6
= 0 ;
7568 PyObject
* obj7
= 0 ;
7569 char * kwnames
[] = {
7570 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7575 if (!SWIG_IsOK(res1
)) {
7576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7578 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7580 if (!SWIG_IsOK(res2
)) {
7581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7586 if (!SWIG_IsOK(ecode3
)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7589 arg3
= static_cast< int >(val3
);
7593 arg4
= wxString_in_helper(obj3
);
7594 if (arg4
== NULL
) SWIG_fail
;
7601 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7607 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7611 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7612 if (!SWIG_IsOK(ecode7
)) {
7613 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7615 arg7
= static_cast< long >(val7
);
7619 arg8
= wxString_in_helper(obj7
);
7620 if (arg8
== NULL
) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7655 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
= 0;
7657 wxDialog
*arg1
= (wxDialog
*) 0 ;
7663 PyObject
* obj0
= 0 ;
7664 PyObject
* obj1
= 0 ;
7665 char * kwnames
[] = {
7666 (char *) "self",(char *) "returnCode", NULL
7669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7671 if (!SWIG_IsOK(res1
)) {
7672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7674 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7676 if (!SWIG_IsOK(ecode2
)) {
7677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7679 arg2
= static_cast< int >(val2
);
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 (arg1
)->SetReturnCode(arg2
);
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7686 resultobj
= SWIG_Py_Void();
7693 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7694 PyObject
*resultobj
= 0;
7695 wxDialog
*arg1
= (wxDialog
*) 0 ;
7699 PyObject
*swig_obj
[1] ;
7701 if (!args
) SWIG_fail
;
7703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7704 if (!SWIG_IsOK(res1
)) {
7705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7707 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= SWIG_From_int(static_cast< int >(result
));
7721 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
*resultobj
= 0;
7723 wxDialog
*arg1
= (wxDialog
*) 0 ;
7729 PyObject
* obj0
= 0 ;
7730 PyObject
* obj1
= 0 ;
7731 char * kwnames
[] = {
7732 (char *) "self",(char *) "affirmativeId", NULL
7735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7737 if (!SWIG_IsOK(res1
)) {
7738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7740 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7742 if (!SWIG_IsOK(ecode2
)) {
7743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7745 arg2
= static_cast< int >(val2
);
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 (arg1
)->SetAffirmativeId(arg2
);
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_Py_Void();
7759 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7760 PyObject
*resultobj
= 0;
7761 wxDialog
*arg1
= (wxDialog
*) 0 ;
7765 PyObject
*swig_obj
[1] ;
7767 if (!args
) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7773 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= SWIG_From_int(static_cast< int >(result
));
7787 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
= 0;
7789 wxDialog
*arg1
= (wxDialog
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7797 char * kwnames
[] = {
7798 (char *) "self",(char *) "escapeId", NULL
7801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7803 if (!SWIG_IsOK(res1
)) {
7804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7806 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7808 if (!SWIG_IsOK(ecode2
)) {
7809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7811 arg2
= static_cast< int >(val2
);
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 (arg1
)->SetEscapeId(arg2
);
7815 wxPyEndAllowThreads(__tstate
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= SWIG_Py_Void();
7825 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7826 PyObject
*resultobj
= 0;
7827 wxDialog
*arg1
= (wxDialog
*) 0 ;
7831 PyObject
*swig_obj
[1] ;
7833 if (!args
) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7839 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 resultobj
= SWIG_From_int(static_cast< int >(result
));
7853 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
= 0;
7855 wxDialog
*arg1
= (wxDialog
*) 0 ;
7856 wxString
*arg2
= 0 ;
7857 wxSizer
*result
= 0 ;
7860 bool temp2
= false ;
7861 PyObject
* obj0
= 0 ;
7862 PyObject
* obj1
= 0 ;
7863 char * kwnames
[] = {
7864 (char *) "self",(char *) "message", NULL
7867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7869 if (!SWIG_IsOK(res1
)) {
7870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7872 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7874 arg2
= wxString_in_helper(obj1
);
7875 if (arg2
== NULL
) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7901 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
= 0;
7903 wxDialog
*arg1
= (wxDialog
*) 0 ;
7905 bool arg3
= (bool) false ;
7906 int arg4
= (int) 0 ;
7907 wxSizer
*result
= 0 ;
7916 PyObject
* obj0
= 0 ;
7917 PyObject
* obj1
= 0 ;
7918 PyObject
* obj2
= 0 ;
7919 PyObject
* obj3
= 0 ;
7920 char * kwnames
[] = {
7921 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7926 if (!SWIG_IsOK(res1
)) {
7927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7929 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7930 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7931 if (!SWIG_IsOK(ecode2
)) {
7932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7934 arg2
= static_cast< long >(val2
);
7936 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7937 if (!SWIG_IsOK(ecode3
)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7940 arg3
= static_cast< bool >(val3
);
7943 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7944 if (!SWIG_IsOK(ecode4
)) {
7945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7947 arg4
= static_cast< int >(val4
);
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7964 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
= 0;
7966 wxDialog
*arg1
= (wxDialog
*) 0 ;
7968 wxStdDialogButtonSizer
*result
= 0 ;
7973 PyObject
* obj0
= 0 ;
7974 PyObject
* obj1
= 0 ;
7975 char * kwnames
[] = {
7976 (char *) "self",(char *) "flags", NULL
7979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7984 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7985 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7986 if (!SWIG_IsOK(ecode2
)) {
7987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7989 arg2
= static_cast< long >(val2
);
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
8003 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8004 PyObject
*resultobj
= 0;
8005 wxDialog
*arg1
= (wxDialog
*) 0 ;
8009 PyObject
*swig_obj
[1] ;
8011 if (!args
) SWIG_fail
;
8013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8014 if (!SWIG_IsOK(res1
)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8017 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8020 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8033 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8034 PyObject
*resultobj
= 0;
8035 wxDialog
*arg1
= (wxDialog
*) 0 ;
8039 PyObject
*swig_obj
[1] ;
8041 if (!args
) SWIG_fail
;
8043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8044 if (!SWIG_IsOK(res1
)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8047 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 result
= (int)(arg1
)->ShowModal();
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= SWIG_From_int(static_cast< int >(result
));
8061 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
*resultobj
= 0;
8063 wxDialog
*arg1
= (wxDialog
*) 0 ;
8069 PyObject
* obj0
= 0 ;
8070 PyObject
* obj1
= 0 ;
8071 char * kwnames
[] = {
8072 (char *) "self",(char *) "retCode", NULL
8075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8077 if (!SWIG_IsOK(res1
)) {
8078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8080 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8082 if (!SWIG_IsOK(ecode2
)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8085 arg2
= static_cast< int >(val2
);
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 (arg1
)->EndModal(arg2
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= SWIG_Py_Void();
8099 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
= 0;
8101 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8102 SwigValueWrapper
<wxVisualAttributes
> result
;
8105 PyObject
* obj0
= 0 ;
8106 char * kwnames
[] = {
8107 (char *) "variant", NULL
8110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8112 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8113 if (!SWIG_IsOK(ecode1
)) {
8114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8116 arg1
= static_cast< wxWindowVariant
>(val1
);
8119 if (!wxPyCheckForApp()) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8132 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8135 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8136 return SWIG_Py_Void();
8139 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8140 return SWIG_Python_InitShadowInstance(args
);
8143 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
= 0;
8145 wxWindow
*arg1
= (wxWindow
*) 0 ;
8146 int arg2
= (int) (int)-1 ;
8147 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8148 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8149 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8150 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8151 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8152 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8153 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8154 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8155 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8156 wxMiniFrame
*result
= 0 ;
8161 bool temp3
= false ;
8166 bool temp7
= false ;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8169 PyObject
* obj2
= 0 ;
8170 PyObject
* obj3
= 0 ;
8171 PyObject
* obj4
= 0 ;
8172 PyObject
* obj5
= 0 ;
8173 PyObject
* obj6
= 0 ;
8174 char * kwnames
[] = {
8175 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8180 if (!SWIG_IsOK(res1
)) {
8181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8183 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8186 if (!SWIG_IsOK(ecode2
)) {
8187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8189 arg2
= static_cast< int >(val2
);
8193 arg3
= wxString_in_helper(obj2
);
8194 if (arg3
== NULL
) SWIG_fail
;
8201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8211 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8212 if (!SWIG_IsOK(ecode6
)) {
8213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8215 arg6
= static_cast< long >(val6
);
8219 arg7
= wxString_in_helper(obj6
);
8220 if (arg7
== NULL
) SWIG_fail
;
8225 if (!wxPyCheckForApp()) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8254 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8255 PyObject
*resultobj
= 0;
8256 wxMiniFrame
*result
= 0 ;
8258 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8260 if (!wxPyCheckForApp()) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 result
= (wxMiniFrame
*)new wxMiniFrame();
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8273 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
= 0;
8275 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8276 wxWindow
*arg2
= (wxWindow
*) 0 ;
8277 int arg3
= (int) (int)-1 ;
8278 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8279 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8280 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8281 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8282 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8283 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8284 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8285 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8286 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8294 bool temp4
= false ;
8299 bool temp8
= false ;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8302 PyObject
* obj2
= 0 ;
8303 PyObject
* obj3
= 0 ;
8304 PyObject
* obj4
= 0 ;
8305 PyObject
* obj5
= 0 ;
8306 PyObject
* obj6
= 0 ;
8307 PyObject
* obj7
= 0 ;
8308 char * kwnames
[] = {
8309 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8314 if (!SWIG_IsOK(res1
)) {
8315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8317 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8318 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8319 if (!SWIG_IsOK(res2
)) {
8320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8322 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8325 if (!SWIG_IsOK(ecode3
)) {
8326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8328 arg3
= static_cast< int >(val3
);
8332 arg4
= wxString_in_helper(obj3
);
8333 if (arg4
== NULL
) SWIG_fail
;
8340 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8346 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8350 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8351 if (!SWIG_IsOK(ecode7
)) {
8352 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8354 arg7
= static_cast< long >(val7
);
8358 arg8
= wxString_in_helper(obj7
);
8359 if (arg8
== NULL
) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8394 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8397 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8398 return SWIG_Py_Void();
8401 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8402 return SWIG_Python_InitShadowInstance(args
);
8405 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
= 0;
8407 wxBitmap
*arg1
= 0 ;
8408 wxWindow
*arg2
= (wxWindow
*) 0 ;
8410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8414 long arg6
= (long) wxNO_BORDER
;
8415 wxSplashScreenWindow
*result
= 0 ;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8428 PyObject
* obj2
= 0 ;
8429 PyObject
* obj3
= 0 ;
8430 PyObject
* obj4
= 0 ;
8431 PyObject
* obj5
= 0 ;
8432 char * kwnames
[] = {
8433 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8437 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8438 if (!SWIG_IsOK(res1
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8444 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8446 if (!SWIG_IsOK(res2
)) {
8447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8449 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8451 if (!SWIG_IsOK(ecode3
)) {
8452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8454 arg3
= static_cast< int >(val3
);
8458 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8464 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8468 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8469 if (!SWIG_IsOK(ecode6
)) {
8470 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8472 arg6
= static_cast< long >(val6
);
8475 if (!wxPyCheckForApp()) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8488 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
= 0;
8490 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8491 wxBitmap
*arg2
= 0 ;
8496 PyObject
* obj0
= 0 ;
8497 PyObject
* obj1
= 0 ;
8498 char * kwnames
[] = {
8499 (char *) "self",(char *) "bitmap", NULL
8502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8504 if (!SWIG_IsOK(res1
)) {
8505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8507 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8509 if (!SWIG_IsOK(res2
)) {
8510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8515 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= SWIG_Py_Void();
8529 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8530 PyObject
*resultobj
= 0;
8531 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8532 wxBitmap
*result
= 0 ;
8535 PyObject
*swig_obj
[1] ;
8537 if (!args
) SWIG_fail
;
8539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8540 if (!SWIG_IsOK(res1
)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8543 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8548 result
= (wxBitmap
*) &_result_ref
;
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8554 wxBitmap
* resultptr
= new wxBitmap(*result
);
8555 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8563 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8566 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8567 return SWIG_Py_Void();
8570 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8571 return SWIG_Python_InitShadowInstance(args
);
8574 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
*resultobj
= 0;
8576 wxBitmap
*arg1
= 0 ;
8579 wxWindow
*arg4
= (wxWindow
*) 0 ;
8580 int arg5
= (int) -1 ;
8581 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8582 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8583 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8584 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8585 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8586 wxSplashScreen
*result
= 0 ;
8601 PyObject
* obj0
= 0 ;
8602 PyObject
* obj1
= 0 ;
8603 PyObject
* obj2
= 0 ;
8604 PyObject
* obj3
= 0 ;
8605 PyObject
* obj4
= 0 ;
8606 PyObject
* obj5
= 0 ;
8607 PyObject
* obj6
= 0 ;
8608 PyObject
* obj7
= 0 ;
8609 char * kwnames
[] = {
8610 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8614 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8615 if (!SWIG_IsOK(res1
)) {
8616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8621 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8622 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8623 if (!SWIG_IsOK(ecode2
)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8626 arg2
= static_cast< long >(val2
);
8627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8628 if (!SWIG_IsOK(ecode3
)) {
8629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8631 arg3
= static_cast< int >(val3
);
8632 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8633 if (!SWIG_IsOK(res4
)) {
8634 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8636 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8638 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8639 if (!SWIG_IsOK(ecode5
)) {
8640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8642 arg5
= static_cast< int >(val5
);
8647 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8653 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8657 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8658 if (!SWIG_IsOK(ecode8
)) {
8659 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8661 arg8
= static_cast< long >(val8
);
8664 if (!wxPyCheckForApp()) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8677 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8678 PyObject
*resultobj
= 0;
8679 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8683 PyObject
*swig_obj
[1] ;
8685 if (!args
) SWIG_fail
;
8687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8688 if (!SWIG_IsOK(res1
)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8691 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_From_long(static_cast< long >(result
));
8705 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8706 PyObject
*resultobj
= 0;
8707 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8708 wxSplashScreenWindow
*result
= 0 ;
8711 PyObject
*swig_obj
[1] ;
8713 if (!args
) SWIG_fail
;
8715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8716 if (!SWIG_IsOK(res1
)) {
8717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8719 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8733 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8734 PyObject
*resultobj
= 0;
8735 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8739 PyObject
*swig_obj
[1] ;
8741 if (!args
) SWIG_fail
;
8743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8744 if (!SWIG_IsOK(res1
)) {
8745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8747 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_From_int(static_cast< int >(result
));
8761 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8764 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8765 return SWIG_Py_Void();
8768 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8769 return SWIG_Python_InitShadowInstance(args
);
8772 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
= 0;
8774 wxWindow
*arg1
= (wxWindow
*) 0 ;
8775 int arg2
= (int) -1 ;
8776 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8777 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8778 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8779 wxStatusBar
*result
= 0 ;
8786 bool temp4
= false ;
8787 PyObject
* obj0
= 0 ;
8788 PyObject
* obj1
= 0 ;
8789 PyObject
* obj2
= 0 ;
8790 PyObject
* obj3
= 0 ;
8791 char * kwnames
[] = {
8792 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8797 if (!SWIG_IsOK(res1
)) {
8798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8800 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8803 if (!SWIG_IsOK(ecode2
)) {
8804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8806 arg2
= static_cast< int >(val2
);
8809 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8810 if (!SWIG_IsOK(ecode3
)) {
8811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8813 arg3
= static_cast< long >(val3
);
8817 arg4
= wxString_in_helper(obj3
);
8818 if (arg4
== NULL
) SWIG_fail
;
8823 if (!wxPyCheckForApp()) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8844 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8845 PyObject
*resultobj
= 0;
8846 wxStatusBar
*result
= 0 ;
8848 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8850 if (!wxPyCheckForApp()) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (wxStatusBar
*)new wxStatusBar();
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8863 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
= 0;
8865 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8866 wxWindow
*arg2
= (wxWindow
*) 0 ;
8867 int arg3
= (int) -1 ;
8868 long arg4
= (long) wxST_SIZEGRIP
;
8869 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8870 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8880 bool temp5
= false ;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 PyObject
* obj2
= 0 ;
8884 PyObject
* obj3
= 0 ;
8885 PyObject
* obj4
= 0 ;
8886 char * kwnames
[] = {
8887 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8892 if (!SWIG_IsOK(res1
)) {
8893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8895 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8897 if (!SWIG_IsOK(res2
)) {
8898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8900 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8903 if (!SWIG_IsOK(ecode3
)) {
8904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8906 arg3
= static_cast< int >(val3
);
8909 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8910 if (!SWIG_IsOK(ecode4
)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8913 arg4
= static_cast< long >(val4
);
8917 arg5
= wxString_in_helper(obj4
);
8918 if (arg5
== NULL
) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8945 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
= 0;
8947 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8948 int arg2
= (int) 1 ;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8955 char * kwnames
[] = {
8956 (char *) "self",(char *) "number", NULL
8959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8961 if (!SWIG_IsOK(res1
)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8964 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8967 if (!SWIG_IsOK(ecode2
)) {
8968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8970 arg2
= static_cast< int >(val2
);
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 (arg1
)->SetFieldsCount(arg2
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= SWIG_Py_Void();
8985 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8986 PyObject
*resultobj
= 0;
8987 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8991 PyObject
*swig_obj
[1] ;
8993 if (!args
) SWIG_fail
;
8995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8996 if (!SWIG_IsOK(res1
)) {
8997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8999 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
9003 wxPyEndAllowThreads(__tstate
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9006 resultobj
= SWIG_From_int(static_cast< int >(result
));
9013 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
= 0;
9015 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9016 wxString
*arg2
= 0 ;
9017 int arg3
= (int) 0 ;
9020 bool temp2
= false ;
9023 PyObject
* obj0
= 0 ;
9024 PyObject
* obj1
= 0 ;
9025 PyObject
* obj2
= 0 ;
9026 char * kwnames
[] = {
9027 (char *) "self",(char *) "text",(char *) "number", NULL
9030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9032 if (!SWIG_IsOK(res1
)) {
9033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9035 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9037 arg2
= wxString_in_helper(obj1
);
9038 if (arg2
== NULL
) SWIG_fail
;
9042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9043 if (!SWIG_IsOK(ecode3
)) {
9044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9046 arg3
= static_cast< int >(val3
);
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= SWIG_Py_Void();
9069 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
= 0;
9071 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9072 int arg2
= (int) 0 ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9080 char * kwnames
[] = {
9081 (char *) "self",(char *) "number", NULL
9084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9086 if (!SWIG_IsOK(res1
)) {
9087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9089 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9092 if (!SWIG_IsOK(ecode2
)) {
9093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9095 arg2
= static_cast< int >(val2
);
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9116 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
= 0;
9118 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9119 wxString
*arg2
= 0 ;
9120 int arg3
= (int) 0 ;
9123 bool temp2
= false ;
9126 PyObject
* obj0
= 0 ;
9127 PyObject
* obj1
= 0 ;
9128 PyObject
* obj2
= 0 ;
9129 char * kwnames
[] = {
9130 (char *) "self",(char *) "text",(char *) "number", NULL
9133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9135 if (!SWIG_IsOK(res1
)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9138 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9140 arg2
= wxString_in_helper(obj1
);
9141 if (arg2
== NULL
) SWIG_fail
;
9145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9146 if (!SWIG_IsOK(ecode3
)) {
9147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9149 arg3
= static_cast< int >(val3
);
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9172 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
= 0;
9174 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9175 int arg2
= (int) 0 ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9182 char * kwnames
[] = {
9183 (char *) "self",(char *) "number", NULL
9186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9188 if (!SWIG_IsOK(res1
)) {
9189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9191 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9194 if (!SWIG_IsOK(ecode2
)) {
9195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9197 arg2
= static_cast< int >(val2
);
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 (arg1
)->PopStatusText(arg2
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_Py_Void();
9212 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
= 0;
9214 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9216 int *arg3
= (int *) 0 ;
9219 PyObject
* obj0
= 0 ;
9220 PyObject
* obj1
= 0 ;
9221 char * kwnames
[] = {
9222 (char *) "self",(char *) "widths", NULL
9225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9227 if (!SWIG_IsOK(res1
)) {
9228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9230 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9232 arg2
= PyList_Size(obj1
);
9233 arg3
= int_LIST_helper(obj1
);
9234 if (arg3
== NULL
) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_Py_Void();
9244 if (arg3
) delete [] arg3
;
9249 if (arg3
) delete [] arg3
;
9255 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
= 0;
9257 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9259 int *arg3
= (int *) 0 ;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 char * kwnames
[] = {
9265 (char *) "self",(char *) "styles", NULL
9268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9270 if (!SWIG_IsOK(res1
)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9273 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9275 arg2
= PyList_Size(obj1
);
9276 arg3
= int_LIST_helper(obj1
);
9277 if (arg3
== NULL
) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_Py_Void();
9287 if (arg3
) delete [] arg3
;
9292 if (arg3
) delete [] arg3
;
9298 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
= 0;
9300 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9308 PyObject
* obj1
= 0 ;
9309 char * kwnames
[] = {
9310 (char *) "self",(char *) "i", NULL
9313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9315 if (!SWIG_IsOK(res1
)) {
9316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9318 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9320 if (!SWIG_IsOK(ecode2
)) {
9321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9323 arg2
= static_cast< int >(val2
);
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9337 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
= 0;
9339 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9347 char * kwnames
[] = {
9348 (char *) "self",(char *) "height", NULL
9351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9353 if (!SWIG_IsOK(res1
)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9356 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9358 if (!SWIG_IsOK(ecode2
)) {
9359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9361 arg2
= static_cast< int >(val2
);
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 (arg1
)->SetMinHeight(arg2
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= SWIG_Py_Void();
9375 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9376 PyObject
*resultobj
= 0;
9377 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9381 PyObject
*swig_obj
[1] ;
9383 if (!args
) SWIG_fail
;
9385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9386 if (!SWIG_IsOK(res1
)) {
9387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9389 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= SWIG_From_int(static_cast< int >(result
));
9403 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9404 PyObject
*resultobj
= 0;
9405 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9409 PyObject
*swig_obj
[1] ;
9411 if (!args
) SWIG_fail
;
9413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9414 if (!SWIG_IsOK(res1
)) {
9415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9417 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_From_int(static_cast< int >(result
));
9431 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
= 0;
9433 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9434 SwigValueWrapper
<wxVisualAttributes
> result
;
9437 PyObject
* obj0
= 0 ;
9438 char * kwnames
[] = {
9439 (char *) "variant", NULL
9442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9444 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9445 if (!SWIG_IsOK(ecode1
)) {
9446 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9448 arg1
= static_cast< wxWindowVariant
>(val1
);
9451 if (!wxPyCheckForApp()) SWIG_fail
;
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9464 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9467 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9468 return SWIG_Py_Void();
9471 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9472 return SWIG_Python_InitShadowInstance(args
);
9475 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9476 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9481 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9482 PyObject
*pyobj
= 0;
9486 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9488 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9495 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
= 0;
9497 wxWindow
*arg1
= (wxWindow
*) 0 ;
9498 int arg2
= (int) -1 ;
9499 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9500 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9501 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9502 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9503 long arg5
= (long) wxSP_3D
;
9504 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9505 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9506 wxSplitterWindow
*result
= 0 ;
9515 bool temp6
= false ;
9516 PyObject
* obj0
= 0 ;
9517 PyObject
* obj1
= 0 ;
9518 PyObject
* obj2
= 0 ;
9519 PyObject
* obj3
= 0 ;
9520 PyObject
* obj4
= 0 ;
9521 PyObject
* obj5
= 0 ;
9522 char * kwnames
[] = {
9523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9528 if (!SWIG_IsOK(res1
)) {
9529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9531 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9534 if (!SWIG_IsOK(ecode2
)) {
9535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9537 arg2
= static_cast< int >(val2
);
9542 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9548 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9552 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9553 if (!SWIG_IsOK(ecode5
)) {
9554 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9556 arg5
= static_cast< long >(val5
);
9560 arg6
= wxString_in_helper(obj5
);
9561 if (arg6
== NULL
) SWIG_fail
;
9566 if (!wxPyCheckForApp()) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9587 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9588 PyObject
*resultobj
= 0;
9589 wxSplitterWindow
*result
= 0 ;
9591 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9593 if (!wxPyCheckForApp()) SWIG_fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9606 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
*resultobj
= 0;
9608 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9609 wxWindow
*arg2
= (wxWindow
*) 0 ;
9610 int arg3
= (int) -1 ;
9611 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9612 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9613 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9614 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9615 long arg6
= (long) wxSP_3D
;
9616 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9617 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9629 bool temp7
= false ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9632 PyObject
* obj2
= 0 ;
9633 PyObject
* obj3
= 0 ;
9634 PyObject
* obj4
= 0 ;
9635 PyObject
* obj5
= 0 ;
9636 PyObject
* obj6
= 0 ;
9637 char * kwnames
[] = {
9638 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9643 if (!SWIG_IsOK(res1
)) {
9644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9646 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9648 if (!SWIG_IsOK(res2
)) {
9649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9654 if (!SWIG_IsOK(ecode3
)) {
9655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9657 arg3
= static_cast< int >(val3
);
9662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9672 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9673 if (!SWIG_IsOK(ecode6
)) {
9674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9676 arg6
= static_cast< long >(val6
);
9680 arg7
= wxString_in_helper(obj6
);
9681 if (arg7
== NULL
) SWIG_fail
;
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9708 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9709 PyObject
*resultobj
= 0;
9710 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9711 wxWindow
*result
= 0 ;
9714 PyObject
*swig_obj
[1] ;
9716 if (!args
) SWIG_fail
;
9718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9719 if (!SWIG_IsOK(res1
)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9722 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= wxPyMake_wxObject(result
, 0);
9738 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9739 PyObject
*resultobj
= 0;
9740 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9741 wxWindow
*result
= 0 ;
9744 PyObject
*swig_obj
[1] ;
9746 if (!args
) SWIG_fail
;
9748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9749 if (!SWIG_IsOK(res1
)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9752 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= wxPyMake_wxObject(result
, 0);
9768 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
= 0;
9770 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9778 char * kwnames
[] = {
9779 (char *) "self",(char *) "mode", NULL
9782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9784 if (!SWIG_IsOK(res1
)) {
9785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9787 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9789 if (!SWIG_IsOK(ecode2
)) {
9790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9792 arg2
= static_cast< int >(val2
);
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 (arg1
)->SetSplitMode(arg2
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= SWIG_Py_Void();
9806 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9807 PyObject
*resultobj
= 0;
9808 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9812 PyObject
*swig_obj
[1] ;
9814 if (!args
) SWIG_fail
;
9816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9817 if (!SWIG_IsOK(res1
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9820 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_From_int(static_cast< int >(result
));
9834 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
= 0;
9836 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9837 wxWindow
*arg2
= (wxWindow
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9843 PyObject
* obj1
= 0 ;
9844 char * kwnames
[] = {
9845 (char *) "self",(char *) "window", NULL
9848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9850 if (!SWIG_IsOK(res1
)) {
9851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9853 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9854 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9855 if (!SWIG_IsOK(res2
)) {
9856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9858 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 (arg1
)->Initialize(arg2
);
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= SWIG_Py_Void();
9872 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
= 0;
9874 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9875 wxWindow
*arg2
= (wxWindow
*) 0 ;
9876 wxWindow
*arg3
= (wxWindow
*) 0 ;
9877 int arg4
= (int) 0 ;
9887 PyObject
* obj0
= 0 ;
9888 PyObject
* obj1
= 0 ;
9889 PyObject
* obj2
= 0 ;
9890 PyObject
* obj3
= 0 ;
9891 char * kwnames
[] = {
9892 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9897 if (!SWIG_IsOK(res1
)) {
9898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9900 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9902 if (!SWIG_IsOK(res2
)) {
9903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9905 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9906 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9907 if (!SWIG_IsOK(res3
)) {
9908 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9910 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9913 if (!SWIG_IsOK(ecode4
)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9916 arg4
= static_cast< int >(val4
);
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9933 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
= 0;
9935 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9936 wxWindow
*arg2
= (wxWindow
*) 0 ;
9937 wxWindow
*arg3
= (wxWindow
*) 0 ;
9938 int arg4
= (int) 0 ;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9950 PyObject
* obj2
= 0 ;
9951 PyObject
* obj3
= 0 ;
9952 char * kwnames
[] = {
9953 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9958 if (!SWIG_IsOK(res1
)) {
9959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9961 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9963 if (!SWIG_IsOK(res2
)) {
9964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9966 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9967 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9968 if (!SWIG_IsOK(res3
)) {
9969 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9971 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9973 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9974 if (!SWIG_IsOK(ecode4
)) {
9975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9977 arg4
= static_cast< int >(val4
);
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9982 wxPyEndAllowThreads(__tstate
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9994 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
= 0;
9996 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9997 wxWindow
*arg2
= (wxWindow
*) NULL
;
10003 PyObject
* obj0
= 0 ;
10004 PyObject
* obj1
= 0 ;
10005 char * kwnames
[] = {
10006 (char *) "self",(char *) "toRemove", NULL
10009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10011 if (!SWIG_IsOK(res1
)) {
10012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10014 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10017 if (!SWIG_IsOK(res2
)) {
10018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 result
= (bool)(arg1
)->Unsplit(arg2
);
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10037 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
= 0;
10039 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10040 wxWindow
*arg2
= (wxWindow
*) 0 ;
10041 wxWindow
*arg3
= (wxWindow
*) 0 ;
10049 PyObject
* obj0
= 0 ;
10050 PyObject
* obj1
= 0 ;
10051 PyObject
* obj2
= 0 ;
10052 char * kwnames
[] = {
10053 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10058 if (!SWIG_IsOK(res1
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10061 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10063 if (!SWIG_IsOK(res2
)) {
10064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10066 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10067 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10068 if (!SWIG_IsOK(res3
)) {
10069 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10071 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10087 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10088 PyObject
*resultobj
= 0;
10089 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10092 PyObject
*swig_obj
[1] ;
10094 if (!args
) SWIG_fail
;
10095 swig_obj
[0] = args
;
10096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10097 if (!SWIG_IsOK(res1
)) {
10098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10100 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 (arg1
)->UpdateSize();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_Py_Void();
10114 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10120 PyObject
*swig_obj
[1] ;
10122 if (!args
) SWIG_fail
;
10123 swig_obj
[0] = args
;
10124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10125 if (!SWIG_IsOK(res1
)) {
10126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10128 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10144 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
= 0;
10146 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10152 PyObject
* obj0
= 0 ;
10153 PyObject
* obj1
= 0 ;
10154 char * kwnames
[] = {
10155 (char *) "self",(char *) "width", NULL
10158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) 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_SetSashSize" "', 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_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10168 arg2
= static_cast< int >(val2
);
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 (arg1
)->SetSashSize(arg2
);
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_Py_Void();
10182 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
= 0;
10184 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10190 PyObject
* obj0
= 0 ;
10191 PyObject
* obj1
= 0 ;
10192 char * kwnames
[] = {
10193 (char *) "self",(char *) "width", NULL
10196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10198 if (!SWIG_IsOK(res1
)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10201 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10203 if (!SWIG_IsOK(ecode2
)) {
10204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10206 arg2
= static_cast< int >(val2
);
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 (arg1
)->SetBorderSize(arg2
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_Py_Void();
10220 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10221 PyObject
*resultobj
= 0;
10222 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10226 PyObject
*swig_obj
[1] ;
10228 if (!args
) SWIG_fail
;
10229 swig_obj
[0] = args
;
10230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10231 if (!SWIG_IsOK(res1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10234 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= SWIG_From_int(static_cast< int >(result
));
10248 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10249 PyObject
*resultobj
= 0;
10250 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10254 PyObject
*swig_obj
[1] ;
10256 if (!args
) SWIG_fail
;
10257 swig_obj
[0] = args
;
10258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10259 if (!SWIG_IsOK(res1
)) {
10260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10262 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= SWIG_From_int(static_cast< int >(result
));
10276 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
= 0;
10278 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10280 bool arg3
= (bool) true ;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 PyObject
* obj2
= 0 ;
10290 char * kwnames
[] = {
10291 (char *) "self",(char *) "position",(char *) "redraw", NULL
10294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10296 if (!SWIG_IsOK(res1
)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10299 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10301 if (!SWIG_IsOK(ecode2
)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10304 arg2
= static_cast< int >(val2
);
10306 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10307 if (!SWIG_IsOK(ecode3
)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10310 arg3
= static_cast< bool >(val3
);
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 (arg1
)->SetSashPosition(arg2
,arg3
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_Py_Void();
10325 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10326 PyObject
*resultobj
= 0;
10327 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10331 PyObject
*swig_obj
[1] ;
10333 if (!args
) SWIG_fail
;
10334 swig_obj
[0] = args
;
10335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10336 if (!SWIG_IsOK(res1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10339 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= SWIG_From_int(static_cast< int >(result
));
10353 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
= 0;
10355 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 PyObject
* obj1
= 0 ;
10363 char * kwnames
[] = {
10364 (char *) "self",(char *) "gravity", NULL
10367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10369 if (!SWIG_IsOK(res1
)) {
10370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10372 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10373 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10374 if (!SWIG_IsOK(ecode2
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10377 arg2
= static_cast< double >(val2
);
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 (arg1
)->SetSashGravity(arg2
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= SWIG_Py_Void();
10391 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10392 PyObject
*resultobj
= 0;
10393 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10397 PyObject
*swig_obj
[1] ;
10399 if (!args
) SWIG_fail
;
10400 swig_obj
[0] = args
;
10401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10402 if (!SWIG_IsOK(res1
)) {
10403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10405 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_From_double(static_cast< double >(result
));
10419 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
= 0;
10421 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10427 PyObject
* obj0
= 0 ;
10428 PyObject
* obj1
= 0 ;
10429 char * kwnames
[] = {
10430 (char *) "self",(char *) "min", NULL
10433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10435 if (!SWIG_IsOK(res1
)) {
10436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10438 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10440 if (!SWIG_IsOK(ecode2
)) {
10441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10443 arg2
= static_cast< int >(val2
);
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 (arg1
)->SetMinimumPaneSize(arg2
);
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_Py_Void();
10457 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10458 PyObject
*resultobj
= 0;
10459 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10463 PyObject
*swig_obj
[1] ;
10465 if (!args
) SWIG_fail
;
10466 swig_obj
[0] = args
;
10467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10468 if (!SWIG_IsOK(res1
)) {
10469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10471 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= SWIG_From_int(static_cast< int >(result
));
10485 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
*resultobj
= 0;
10487 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10490 int arg4
= (int) 5 ;
10500 PyObject
* obj0
= 0 ;
10501 PyObject
* obj1
= 0 ;
10502 PyObject
* obj2
= 0 ;
10503 PyObject
* obj3
= 0 ;
10504 char * kwnames
[] = {
10505 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10510 if (!SWIG_IsOK(res1
)) {
10511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10513 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10515 if (!SWIG_IsOK(ecode2
)) {
10516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10518 arg2
= static_cast< int >(val2
);
10519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10520 if (!SWIG_IsOK(ecode3
)) {
10521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10523 arg3
= static_cast< int >(val3
);
10525 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10526 if (!SWIG_IsOK(ecode4
)) {
10527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10529 arg4
= static_cast< int >(val4
);
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10546 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10547 PyObject
*resultobj
= 0;
10548 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10551 PyObject
*swig_obj
[1] ;
10553 if (!args
) SWIG_fail
;
10554 swig_obj
[0] = args
;
10555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10559 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 (arg1
)->SizeWindows();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_Py_Void();
10573 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
= 0;
10575 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 char * kwnames
[] = {
10584 (char *) "self",(char *) "needUpdating", NULL
10587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10589 if (!SWIG_IsOK(res1
)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10592 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10593 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10594 if (!SWIG_IsOK(ecode2
)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10597 arg2
= static_cast< bool >(val2
);
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 (arg1
)->SetNeedUpdating(arg2
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= SWIG_Py_Void();
10611 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10612 PyObject
*resultobj
= 0;
10613 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10617 PyObject
*swig_obj
[1] ;
10619 if (!args
) SWIG_fail
;
10620 swig_obj
[0] = args
;
10621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10622 if (!SWIG_IsOK(res1
)) {
10623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10625 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10641 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
= 0;
10643 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10644 SwigValueWrapper
<wxVisualAttributes
> result
;
10647 PyObject
* obj0
= 0 ;
10648 char * kwnames
[] = {
10649 (char *) "variant", NULL
10652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10654 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10655 if (!SWIG_IsOK(ecode1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10658 arg1
= static_cast< wxWindowVariant
>(val1
);
10661 if (!wxPyCheckForApp()) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10674 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10677 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10678 return SWIG_Py_Void();
10681 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10682 return SWIG_Python_InitShadowInstance(args
);
10685 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
= 0;
10687 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10688 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10689 wxSplitterEvent
*result
= 0 ;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 char * kwnames
[] = {
10697 (char *) "type",(char *) "splitter", NULL
10700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10702 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10703 if (!SWIG_IsOK(ecode1
)) {
10704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10706 arg1
= static_cast< wxEventType
>(val1
);
10709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10710 if (!SWIG_IsOK(res2
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10713 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10728 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
= 0;
10730 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 PyObject
* obj1
= 0 ;
10738 char * kwnames
[] = {
10739 (char *) "self",(char *) "pos", NULL
10742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10744 if (!SWIG_IsOK(res1
)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10747 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10749 if (!SWIG_IsOK(ecode2
)) {
10750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10752 arg2
= static_cast< int >(val2
);
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 (arg1
)->SetSashPosition(arg2
);
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 resultobj
= SWIG_Py_Void();
10766 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10767 PyObject
*resultobj
= 0;
10768 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10772 PyObject
*swig_obj
[1] ;
10774 if (!args
) SWIG_fail
;
10775 swig_obj
[0] = args
;
10776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10777 if (!SWIG_IsOK(res1
)) {
10778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10780 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 resultobj
= SWIG_From_int(static_cast< int >(result
));
10794 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10795 PyObject
*resultobj
= 0;
10796 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10797 wxWindow
*result
= 0 ;
10800 PyObject
*swig_obj
[1] ;
10802 if (!args
) SWIG_fail
;
10803 swig_obj
[0] = args
;
10804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10805 if (!SWIG_IsOK(res1
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10808 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10816 resultobj
= wxPyMake_wxObject(result
, 0);
10824 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10825 PyObject
*resultobj
= 0;
10826 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10830 PyObject
*swig_obj
[1] ;
10832 if (!args
) SWIG_fail
;
10833 swig_obj
[0] = args
;
10834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10835 if (!SWIG_IsOK(res1
)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10838 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= SWIG_From_int(static_cast< int >(result
));
10852 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10853 PyObject
*resultobj
= 0;
10854 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10858 PyObject
*swig_obj
[1] ;
10860 if (!args
) SWIG_fail
;
10861 swig_obj
[0] = args
;
10862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10863 if (!SWIG_IsOK(res1
)) {
10864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10866 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= SWIG_From_int(static_cast< int >(result
));
10880 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10883 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10884 return SWIG_Py_Void();
10887 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10888 return SWIG_Python_InitShadowInstance(args
);
10891 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10892 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10897 SWIGINTERN PyObject
*SashNameStr_get(void) {
10898 PyObject
*pyobj
= 0;
10902 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10904 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10911 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10912 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10917 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10918 PyObject
*pyobj
= 0;
10922 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10924 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10931 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
= 0;
10933 wxWindow
*arg1
= (wxWindow
*) 0 ;
10934 int arg2
= (int) -1 ;
10935 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10936 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10937 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10938 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10939 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10940 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10941 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10942 wxSashWindow
*result
= 0 ;
10951 bool temp6
= false ;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 PyObject
* obj2
= 0 ;
10955 PyObject
* obj3
= 0 ;
10956 PyObject
* obj4
= 0 ;
10957 PyObject
* obj5
= 0 ;
10958 char * kwnames
[] = {
10959 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10964 if (!SWIG_IsOK(res1
)) {
10965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10967 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10970 if (!SWIG_IsOK(ecode2
)) {
10971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10973 arg2
= static_cast< int >(val2
);
10978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10984 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10988 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10989 if (!SWIG_IsOK(ecode5
)) {
10990 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10992 arg5
= static_cast< long >(val5
);
10996 arg6
= wxString_in_helper(obj5
);
10997 if (arg6
== NULL
) SWIG_fail
;
11002 if (!wxPyCheckForApp()) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
11023 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11024 PyObject
*resultobj
= 0;
11025 wxSashWindow
*result
= 0 ;
11027 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
11029 if (!wxPyCheckForApp()) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (wxSashWindow
*)new wxSashWindow();
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
11042 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
= 0;
11044 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11045 wxWindow
*arg2
= (wxWindow
*) 0 ;
11046 int arg3
= (int) -1 ;
11047 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11048 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11049 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11050 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11051 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
11052 wxString
const &arg7_defvalue
= wxPySashNameStr
;
11053 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11065 bool temp7
= false ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 PyObject
* obj2
= 0 ;
11069 PyObject
* obj3
= 0 ;
11070 PyObject
* obj4
= 0 ;
11071 PyObject
* obj5
= 0 ;
11072 PyObject
* obj6
= 0 ;
11073 char * kwnames
[] = {
11074 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11079 if (!SWIG_IsOK(res1
)) {
11080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11082 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11083 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11084 if (!SWIG_IsOK(res2
)) {
11085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11087 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11090 if (!SWIG_IsOK(ecode3
)) {
11091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11093 arg3
= static_cast< int >(val3
);
11098 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11104 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11108 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11109 if (!SWIG_IsOK(ecode6
)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11112 arg6
= static_cast< long >(val6
);
11116 arg7
= wxString_in_helper(obj6
);
11117 if (arg7
== NULL
) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11144 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
= 0;
11146 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11147 wxSashEdgePosition arg2
;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 PyObject
* obj2
= 0 ;
11158 char * kwnames
[] = {
11159 (char *) "self",(char *) "edge",(char *) "sash", NULL
11162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11167 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11169 if (!SWIG_IsOK(ecode2
)) {
11170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11172 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11173 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11174 if (!SWIG_IsOK(ecode3
)) {
11175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11177 arg3
= static_cast< bool >(val3
);
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 (arg1
)->SetSashVisible(arg2
,arg3
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= SWIG_Py_Void();
11191 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
= 0;
11193 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11194 wxSashEdgePosition arg2
;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 char * kwnames
[] = {
11203 (char *) "self",(char *) "edge", NULL
11206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11208 if (!SWIG_IsOK(res1
)) {
11209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11211 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11213 if (!SWIG_IsOK(ecode2
)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11216 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11232 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
= 0;
11234 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11235 wxSashEdgePosition arg2
;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 PyObject
* obj2
= 0 ;
11246 char * kwnames
[] = {
11247 (char *) "self",(char *) "edge",(char *) "border", NULL
11250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11252 if (!SWIG_IsOK(res1
)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11255 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11257 if (!SWIG_IsOK(ecode2
)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11260 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11261 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11262 if (!SWIG_IsOK(ecode3
)) {
11263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11265 arg3
= static_cast< bool >(val3
);
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 (arg1
)->SetSashBorder(arg2
,arg3
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_Py_Void();
11279 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
= 0;
11281 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11282 wxSashEdgePosition arg2
;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 char * kwnames
[] = {
11291 (char *) "self",(char *) "edge", NULL
11294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11296 if (!SWIG_IsOK(res1
)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11299 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11301 if (!SWIG_IsOK(ecode2
)) {
11302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11304 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11320 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
= 0;
11322 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11323 wxSashEdgePosition arg2
;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 char * kwnames
[] = {
11332 (char *) "self",(char *) "edge", NULL
11335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11337 if (!SWIG_IsOK(res1
)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11340 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11342 if (!SWIG_IsOK(ecode2
)) {
11343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11345 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= SWIG_From_int(static_cast< int >(result
));
11359 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
= 0;
11361 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 char * kwnames
[] = {
11370 (char *) "self",(char *) "width", NULL
11373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11375 if (!SWIG_IsOK(res1
)) {
11376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11378 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11380 if (!SWIG_IsOK(ecode2
)) {
11381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11383 arg2
= static_cast< int >(val2
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 (arg1
)->SetDefaultBorderSize(arg2
);
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_Py_Void();
11397 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11398 PyObject
*resultobj
= 0;
11399 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11403 PyObject
*swig_obj
[1] ;
11405 if (!args
) SWIG_fail
;
11406 swig_obj
[0] = args
;
11407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11411 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_From_int(static_cast< int >(result
));
11425 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
= 0;
11427 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11433 PyObject
* obj0
= 0 ;
11434 PyObject
* obj1
= 0 ;
11435 char * kwnames
[] = {
11436 (char *) "self",(char *) "width", NULL
11439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11444 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11446 if (!SWIG_IsOK(ecode2
)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11449 arg2
= static_cast< int >(val2
);
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 (arg1
)->SetExtraBorderSize(arg2
);
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11456 resultobj
= SWIG_Py_Void();
11463 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11464 PyObject
*resultobj
= 0;
11465 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11469 PyObject
*swig_obj
[1] ;
11471 if (!args
) SWIG_fail
;
11472 swig_obj
[0] = args
;
11473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11474 if (!SWIG_IsOK(res1
)) {
11475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11477 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_From_int(static_cast< int >(result
));
11491 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
= 0;
11493 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 char * kwnames
[] = {
11502 (char *) "self",(char *) "min", NULL
11505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11507 if (!SWIG_IsOK(res1
)) {
11508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11510 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11512 if (!SWIG_IsOK(ecode2
)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11515 arg2
= static_cast< int >(val2
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 (arg1
)->SetMinimumSizeX(arg2
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_Py_Void();
11529 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
= 0;
11531 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11537 PyObject
* obj0
= 0 ;
11538 PyObject
* obj1
= 0 ;
11539 char * kwnames
[] = {
11540 (char *) "self",(char *) "min", NULL
11543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11545 if (!SWIG_IsOK(res1
)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11548 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11550 if (!SWIG_IsOK(ecode2
)) {
11551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11553 arg2
= static_cast< int >(val2
);
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 (arg1
)->SetMinimumSizeY(arg2
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_Py_Void();
11567 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11568 PyObject
*resultobj
= 0;
11569 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11573 PyObject
*swig_obj
[1] ;
11575 if (!args
) SWIG_fail
;
11576 swig_obj
[0] = args
;
11577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11578 if (!SWIG_IsOK(res1
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11581 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= SWIG_From_int(static_cast< int >(result
));
11595 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11596 PyObject
*resultobj
= 0;
11597 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11601 PyObject
*swig_obj
[1] ;
11603 if (!args
) SWIG_fail
;
11604 swig_obj
[0] = args
;
11605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11606 if (!SWIG_IsOK(res1
)) {
11607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11609 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= SWIG_From_int(static_cast< int >(result
));
11623 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
= 0;
11625 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11631 PyObject
* obj0
= 0 ;
11632 PyObject
* obj1
= 0 ;
11633 char * kwnames
[] = {
11634 (char *) "self",(char *) "max", NULL
11637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11639 if (!SWIG_IsOK(res1
)) {
11640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11642 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11644 if (!SWIG_IsOK(ecode2
)) {
11645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11647 arg2
= static_cast< int >(val2
);
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 (arg1
)->SetMaximumSizeX(arg2
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 resultobj
= SWIG_Py_Void();
11661 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
= 0;
11663 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11669 PyObject
* obj0
= 0 ;
11670 PyObject
* obj1
= 0 ;
11671 char * kwnames
[] = {
11672 (char *) "self",(char *) "max", NULL
11675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11677 if (!SWIG_IsOK(res1
)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11680 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11682 if (!SWIG_IsOK(ecode2
)) {
11683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11685 arg2
= static_cast< int >(val2
);
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 (arg1
)->SetMaximumSizeY(arg2
);
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= SWIG_Py_Void();
11699 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11700 PyObject
*resultobj
= 0;
11701 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11705 PyObject
*swig_obj
[1] ;
11707 if (!args
) SWIG_fail
;
11708 swig_obj
[0] = args
;
11709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11710 if (!SWIG_IsOK(res1
)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11713 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= SWIG_From_int(static_cast< int >(result
));
11727 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11728 PyObject
*resultobj
= 0;
11729 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11733 PyObject
*swig_obj
[1] ;
11735 if (!args
) SWIG_fail
;
11736 swig_obj
[0] = args
;
11737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11738 if (!SWIG_IsOK(res1
)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11741 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_From_int(static_cast< int >(result
));
11755 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
= 0;
11757 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11760 int arg4
= (int) 2 ;
11761 wxSashEdgePosition result
;
11770 PyObject
* obj0
= 0 ;
11771 PyObject
* obj1
= 0 ;
11772 PyObject
* obj2
= 0 ;
11773 PyObject
* obj3
= 0 ;
11774 char * kwnames
[] = {
11775 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11780 if (!SWIG_IsOK(res1
)) {
11781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11783 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11784 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11785 if (!SWIG_IsOK(ecode2
)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11788 arg2
= static_cast< int >(val2
);
11789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11790 if (!SWIG_IsOK(ecode3
)) {
11791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11793 arg3
= static_cast< int >(val3
);
11795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11796 if (!SWIG_IsOK(ecode4
)) {
11797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11799 arg4
= static_cast< int >(val4
);
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11807 resultobj
= SWIG_From_int(static_cast< int >(result
));
11814 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11815 PyObject
*resultobj
= 0;
11816 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11819 PyObject
*swig_obj
[1] ;
11821 if (!args
) SWIG_fail
;
11822 swig_obj
[0] = args
;
11823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11824 if (!SWIG_IsOK(res1
)) {
11825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11827 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 (arg1
)->SizeWindows();
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= SWIG_Py_Void();
11841 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11844 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11845 return SWIG_Py_Void();
11848 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11849 return SWIG_Python_InitShadowInstance(args
);
11852 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
= 0;
11854 int arg1
= (int) 0 ;
11855 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11856 wxSashEvent
*result
= 0 ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 char * kwnames
[] = {
11864 (char *) "id",(char *) "edge", NULL
11867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11869 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11870 if (!SWIG_IsOK(ecode1
)) {
11871 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11873 arg1
= static_cast< int >(val1
);
11876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11877 if (!SWIG_IsOK(ecode2
)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11880 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11895 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
= 0;
11897 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11898 wxSashEdgePosition arg2
;
11903 PyObject
* obj0
= 0 ;
11904 PyObject
* obj1
= 0 ;
11905 char * kwnames
[] = {
11906 (char *) "self",(char *) "edge", NULL
11909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11911 if (!SWIG_IsOK(res1
)) {
11912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11914 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11916 if (!SWIG_IsOK(ecode2
)) {
11917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11919 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 (arg1
)->SetEdge(arg2
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= SWIG_Py_Void();
11933 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11934 PyObject
*resultobj
= 0;
11935 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11936 wxSashEdgePosition result
;
11939 PyObject
*swig_obj
[1] ;
11941 if (!args
) SWIG_fail
;
11942 swig_obj
[0] = args
;
11943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11944 if (!SWIG_IsOK(res1
)) {
11945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11947 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_From_int(static_cast< int >(result
));
11961 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
= 0;
11963 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 PyObject
* obj1
= 0 ;
11970 char * kwnames
[] = {
11971 (char *) "self",(char *) "rect", NULL
11974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11976 if (!SWIG_IsOK(res1
)) {
11977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11979 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11982 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= SWIG_Py_Void();
11997 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11998 PyObject
*resultobj
= 0;
11999 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12003 PyObject
*swig_obj
[1] ;
12005 if (!args
) SWIG_fail
;
12006 swig_obj
[0] = args
;
12007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12008 if (!SWIG_IsOK(res1
)) {
12009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12011 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12025 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
= 0;
12027 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12028 wxSashDragStatus arg2
;
12033 PyObject
* obj0
= 0 ;
12034 PyObject
* obj1
= 0 ;
12035 char * kwnames
[] = {
12036 (char *) "self",(char *) "status", NULL
12039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12044 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12046 if (!SWIG_IsOK(ecode2
)) {
12047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12049 arg2
= static_cast< wxSashDragStatus
>(val2
);
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 (arg1
)->SetDragStatus(arg2
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_Py_Void();
12063 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12064 PyObject
*resultobj
= 0;
12065 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12066 wxSashDragStatus result
;
12069 PyObject
*swig_obj
[1] ;
12071 if (!args
) SWIG_fail
;
12072 swig_obj
[0] = args
;
12073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12074 if (!SWIG_IsOK(res1
)) {
12075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12077 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_From_int(static_cast< int >(result
));
12091 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12094 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12095 return SWIG_Py_Void();
12098 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12099 return SWIG_Python_InitShadowInstance(args
);
12102 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12103 PyObject
*resultobj
= 0;
12104 int arg1
= (int) 0 ;
12105 wxQueryLayoutInfoEvent
*result
= 0 ;
12108 PyObject
* obj0
= 0 ;
12109 char * kwnames
[] = {
12110 (char *) "id", NULL
12113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12115 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12116 if (!SWIG_IsOK(ecode1
)) {
12117 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12119 arg1
= static_cast< int >(val1
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12134 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
= 0;
12136 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 char * kwnames
[] = {
12145 (char *) "self",(char *) "length", NULL
12148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12150 if (!SWIG_IsOK(res1
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12153 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12155 if (!SWIG_IsOK(ecode2
)) {
12156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12158 arg2
= static_cast< int >(val2
);
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 (arg1
)->SetRequestedLength(arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_Py_Void();
12172 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12173 PyObject
*resultobj
= 0;
12174 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12178 PyObject
*swig_obj
[1] ;
12180 if (!args
) SWIG_fail
;
12181 swig_obj
[0] = args
;
12182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12183 if (!SWIG_IsOK(res1
)) {
12184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12186 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= SWIG_From_int(static_cast< int >(result
));
12200 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
= 0;
12202 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 PyObject
* obj1
= 0 ;
12210 char * kwnames
[] = {
12211 (char *) "self",(char *) "flags", NULL
12214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12216 if (!SWIG_IsOK(res1
)) {
12217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12219 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12221 if (!SWIG_IsOK(ecode2
)) {
12222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12224 arg2
= static_cast< int >(val2
);
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 (arg1
)->SetFlags(arg2
);
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= SWIG_Py_Void();
12238 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12239 PyObject
*resultobj
= 0;
12240 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12244 PyObject
*swig_obj
[1] ;
12246 if (!args
) SWIG_fail
;
12247 swig_obj
[0] = args
;
12248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12249 if (!SWIG_IsOK(res1
)) {
12250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12252 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12256 wxPyEndAllowThreads(__tstate
);
12257 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= SWIG_From_int(static_cast< int >(result
));
12266 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
= 0;
12268 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12273 PyObject
* obj0
= 0 ;
12274 PyObject
* obj1
= 0 ;
12275 char * kwnames
[] = {
12276 (char *) "self",(char *) "size", NULL
12279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12281 if (!SWIG_IsOK(res1
)) {
12282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12284 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12287 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 (arg1
)->SetSize((wxSize
const &)*arg2
);
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12295 resultobj
= SWIG_Py_Void();
12302 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12303 PyObject
*resultobj
= 0;
12304 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12308 PyObject
*swig_obj
[1] ;
12310 if (!args
) SWIG_fail
;
12311 swig_obj
[0] = args
;
12312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12313 if (!SWIG_IsOK(res1
)) {
12314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12316 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12330 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
= 0;
12332 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12333 wxLayoutOrientation arg2
;
12338 PyObject
* obj0
= 0 ;
12339 PyObject
* obj1
= 0 ;
12340 char * kwnames
[] = {
12341 (char *) "self",(char *) "orient", NULL
12344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12346 if (!SWIG_IsOK(res1
)) {
12347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12349 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12351 if (!SWIG_IsOK(ecode2
)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12354 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12357 (arg1
)->SetOrientation(arg2
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 resultobj
= SWIG_Py_Void();
12368 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12369 PyObject
*resultobj
= 0;
12370 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12371 wxLayoutOrientation result
;
12374 PyObject
*swig_obj
[1] ;
12376 if (!args
) SWIG_fail
;
12377 swig_obj
[0] = args
;
12378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12379 if (!SWIG_IsOK(res1
)) {
12380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12382 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= SWIG_From_int(static_cast< int >(result
));
12396 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
= 0;
12398 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12399 wxLayoutAlignment arg2
;
12404 PyObject
* obj0
= 0 ;
12405 PyObject
* obj1
= 0 ;
12406 char * kwnames
[] = {
12407 (char *) "self",(char *) "align", NULL
12410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12412 if (!SWIG_IsOK(res1
)) {
12413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12415 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12417 if (!SWIG_IsOK(ecode2
)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12420 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 (arg1
)->SetAlignment(arg2
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= SWIG_Py_Void();
12434 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12435 PyObject
*resultobj
= 0;
12436 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12437 wxLayoutAlignment result
;
12440 PyObject
*swig_obj
[1] ;
12442 if (!args
) SWIG_fail
;
12443 swig_obj
[0] = args
;
12444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12445 if (!SWIG_IsOK(res1
)) {
12446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12448 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12451 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_From_int(static_cast< int >(result
));
12462 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12465 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12466 return SWIG_Py_Void();
12469 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12470 return SWIG_Python_InitShadowInstance(args
);
12473 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12474 PyObject
*resultobj
= 0;
12475 int arg1
= (int) 0 ;
12476 wxCalculateLayoutEvent
*result
= 0 ;
12479 PyObject
* obj0
= 0 ;
12480 char * kwnames
[] = {
12481 (char *) "id", NULL
12484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12486 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12487 if (!SWIG_IsOK(ecode1
)) {
12488 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12490 arg1
= static_cast< int >(val1
);
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12505 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
= 0;
12507 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 PyObject
* obj1
= 0 ;
12515 char * kwnames
[] = {
12516 (char *) "self",(char *) "flags", NULL
12519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12521 if (!SWIG_IsOK(res1
)) {
12522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12524 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12526 if (!SWIG_IsOK(ecode2
)) {
12527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12529 arg2
= static_cast< int >(val2
);
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 (arg1
)->SetFlags(arg2
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_Py_Void();
12543 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 PyObject
*resultobj
= 0;
12545 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12549 PyObject
*swig_obj
[1] ;
12551 if (!args
) SWIG_fail
;
12552 swig_obj
[0] = args
;
12553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12554 if (!SWIG_IsOK(res1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12557 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= SWIG_From_int(static_cast< int >(result
));
12571 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12572 PyObject
*resultobj
= 0;
12573 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char * kwnames
[] = {
12581 (char *) "self",(char *) "rect", NULL
12584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12586 if (!SWIG_IsOK(res1
)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12589 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12592 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 (arg1
)->SetRect((wxRect
const &)*arg2
);
12597 wxPyEndAllowThreads(__tstate
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= SWIG_Py_Void();
12607 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12608 PyObject
*resultobj
= 0;
12609 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12613 PyObject
*swig_obj
[1] ;
12615 if (!args
) SWIG_fail
;
12616 swig_obj
[0] = args
;
12617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12618 if (!SWIG_IsOK(res1
)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12621 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12635 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12638 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12639 return SWIG_Py_Void();
12642 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12643 return SWIG_Python_InitShadowInstance(args
);
12646 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
= 0;
12648 wxWindow
*arg1
= (wxWindow
*) 0 ;
12649 int arg2
= (int) -1 ;
12650 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12651 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12652 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12653 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12654 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12655 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12656 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12657 wxSashLayoutWindow
*result
= 0 ;
12666 bool temp6
= false ;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 PyObject
* obj2
= 0 ;
12670 PyObject
* obj3
= 0 ;
12671 PyObject
* obj4
= 0 ;
12672 PyObject
* obj5
= 0 ;
12673 char * kwnames
[] = {
12674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12679 if (!SWIG_IsOK(res1
)) {
12680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12682 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12685 if (!SWIG_IsOK(ecode2
)) {
12686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12688 arg2
= static_cast< int >(val2
);
12693 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12699 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12703 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12704 if (!SWIG_IsOK(ecode5
)) {
12705 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12707 arg5
= static_cast< long >(val5
);
12711 arg6
= wxString_in_helper(obj5
);
12712 if (arg6
== NULL
) SWIG_fail
;
12717 if (!wxPyCheckForApp()) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12738 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12739 PyObject
*resultobj
= 0;
12740 wxSashLayoutWindow
*result
= 0 ;
12742 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12744 if (!wxPyCheckForApp()) SWIG_fail
;
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12757 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
= 0;
12759 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12760 wxWindow
*arg2
= (wxWindow
*) 0 ;
12761 int arg3
= (int) -1 ;
12762 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12763 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12764 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12765 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12766 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12767 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12768 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12780 bool temp7
= false ;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 PyObject
* obj2
= 0 ;
12784 PyObject
* obj3
= 0 ;
12785 PyObject
* obj4
= 0 ;
12786 PyObject
* obj5
= 0 ;
12787 PyObject
* obj6
= 0 ;
12788 char * kwnames
[] = {
12789 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12794 if (!SWIG_IsOK(res1
)) {
12795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12797 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12798 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12799 if (!SWIG_IsOK(res2
)) {
12800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12802 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12805 if (!SWIG_IsOK(ecode3
)) {
12806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12808 arg3
= static_cast< int >(val3
);
12813 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12819 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12823 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12824 if (!SWIG_IsOK(ecode6
)) {
12825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12827 arg6
= static_cast< long >(val6
);
12831 arg7
= wxString_in_helper(obj6
);
12832 if (arg7
== NULL
) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12859 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12860 PyObject
*resultobj
= 0;
12861 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12862 wxLayoutAlignment result
;
12865 PyObject
*swig_obj
[1] ;
12867 if (!args
) SWIG_fail
;
12868 swig_obj
[0] = args
;
12869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12870 if (!SWIG_IsOK(res1
)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12873 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 resultobj
= SWIG_From_int(static_cast< int >(result
));
12887 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12888 PyObject
*resultobj
= 0;
12889 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12890 wxLayoutOrientation result
;
12893 PyObject
*swig_obj
[1] ;
12895 if (!args
) SWIG_fail
;
12896 swig_obj
[0] = args
;
12897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12898 if (!SWIG_IsOK(res1
)) {
12899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12901 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12908 resultobj
= SWIG_From_int(static_cast< int >(result
));
12915 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
= 0;
12917 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12918 wxLayoutAlignment arg2
;
12923 PyObject
* obj0
= 0 ;
12924 PyObject
* obj1
= 0 ;
12925 char * kwnames
[] = {
12926 (char *) "self",(char *) "alignment", NULL
12929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12931 if (!SWIG_IsOK(res1
)) {
12932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12934 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12936 if (!SWIG_IsOK(ecode2
)) {
12937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12939 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 (arg1
)->SetAlignment(arg2
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= SWIG_Py_Void();
12953 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
= 0;
12955 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12960 PyObject
* obj0
= 0 ;
12961 PyObject
* obj1
= 0 ;
12962 char * kwnames
[] = {
12963 (char *) "self",(char *) "size", NULL
12966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12968 if (!SWIG_IsOK(res1
)) {
12969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12971 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12974 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= SWIG_Py_Void();
12989 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
= 0;
12991 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12992 wxLayoutOrientation arg2
;
12997 PyObject
* obj0
= 0 ;
12998 PyObject
* obj1
= 0 ;
12999 char * kwnames
[] = {
13000 (char *) "self",(char *) "orientation", NULL
13003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
13005 if (!SWIG_IsOK(res1
)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
13008 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
13009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13010 if (!SWIG_IsOK(ecode2
)) {
13011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
13013 arg2
= static_cast< wxLayoutOrientation
>(val2
);
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 (arg1
)->SetOrientation(arg2
);
13017 wxPyEndAllowThreads(__tstate
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13020 resultobj
= SWIG_Py_Void();
13027 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13030 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
13031 return SWIG_Py_Void();
13034 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13035 return SWIG_Python_InitShadowInstance(args
);
13038 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13039 PyObject
*resultobj
= 0;
13040 wxLayoutAlgorithm
*result
= 0 ;
13042 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
13056 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13057 PyObject
*resultobj
= 0;
13058 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13061 PyObject
*swig_obj
[1] ;
13063 if (!args
) SWIG_fail
;
13064 swig_obj
[0] = args
;
13065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13066 if (!SWIG_IsOK(res1
)) {
13067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13069 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= SWIG_Py_Void();
13084 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
= 0;
13086 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13087 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13088 wxRect
*arg3
= (wxRect
*) NULL
;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 PyObject
* obj2
= 0 ;
13099 char * kwnames
[] = {
13100 (char *) "self",(char *) "frame",(char *) "rect", NULL
13103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13105 if (!SWIG_IsOK(res1
)) {
13106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13108 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13110 if (!SWIG_IsOK(res2
)) {
13111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13113 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13115 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13116 if (!SWIG_IsOK(res3
)) {
13117 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13119 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13136 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
= 0;
13138 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13139 wxFrame
*arg2
= (wxFrame
*) 0 ;
13140 wxWindow
*arg3
= (wxWindow
*) NULL
;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 PyObject
* obj2
= 0 ;
13151 char * kwnames
[] = {
13152 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13157 if (!SWIG_IsOK(res1
)) {
13158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13160 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13161 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13162 if (!SWIG_IsOK(res2
)) {
13163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13165 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13167 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13168 if (!SWIG_IsOK(res3
)) {
13169 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13171 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13188 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
= 0;
13190 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13191 wxWindow
*arg2
= (wxWindow
*) 0 ;
13192 wxWindow
*arg3
= (wxWindow
*) NULL
;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 PyObject
* obj2
= 0 ;
13203 char * kwnames
[] = {
13204 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13209 if (!SWIG_IsOK(res1
)) {
13210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13212 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13213 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13214 if (!SWIG_IsOK(res2
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13217 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13219 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13220 if (!SWIG_IsOK(res3
)) {
13221 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13223 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13240 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13243 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13244 return SWIG_Py_Void();
13247 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13248 return SWIG_Python_InitShadowInstance(args
);
13251 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
= 0;
13253 wxWindow
*arg1
= (wxWindow
*) 0 ;
13254 int arg2
= (int) wxBORDER_NONE
;
13255 wxPopupWindow
*result
= 0 ;
13260 PyObject
* obj0
= 0 ;
13261 PyObject
* obj1
= 0 ;
13262 char * kwnames
[] = {
13263 (char *) "parent",(char *) "flags", NULL
13266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13268 if (!SWIG_IsOK(res1
)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13271 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13274 if (!SWIG_IsOK(ecode2
)) {
13275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13277 arg2
= static_cast< int >(val2
);
13280 if (!wxPyCheckForApp()) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13293 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13294 PyObject
*resultobj
= 0;
13295 wxPopupWindow
*result
= 0 ;
13297 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13299 if (!wxPyCheckForApp()) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (wxPopupWindow
*)new wxPopupWindow();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13312 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
= 0;
13314 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13315 wxWindow
*arg2
= (wxWindow
*) 0 ;
13316 int arg3
= (int) wxBORDER_NONE
;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 PyObject
* obj2
= 0 ;
13327 char * kwnames
[] = {
13328 (char *) "self",(char *) "parent",(char *) "flags", NULL
13331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13333 if (!SWIG_IsOK(res1
)) {
13334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13336 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13338 if (!SWIG_IsOK(res2
)) {
13339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13341 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13344 if (!SWIG_IsOK(ecode3
)) {
13345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13347 arg3
= static_cast< int >(val3
);
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13364 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
= 0;
13366 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13367 wxPoint
*arg2
= 0 ;
13373 PyObject
* obj0
= 0 ;
13374 PyObject
* obj1
= 0 ;
13375 PyObject
* obj2
= 0 ;
13376 char * kwnames
[] = {
13377 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13382 if (!SWIG_IsOK(res1
)) {
13383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13385 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13392 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= SWIG_Py_Void();
13407 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13410 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13411 return SWIG_Py_Void();
13414 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13415 return SWIG_Python_InitShadowInstance(args
);
13418 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
= 0;
13420 wxWindow
*arg1
= (wxWindow
*) 0 ;
13421 int arg2
= (int) wxBORDER_NONE
;
13422 wxPyPopupTransientWindow
*result
= 0 ;
13427 PyObject
* obj0
= 0 ;
13428 PyObject
* obj1
= 0 ;
13429 char * kwnames
[] = {
13430 (char *) "parent",(char *) "style", NULL
13433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13435 if (!SWIG_IsOK(res1
)) {
13436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13438 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13441 if (!SWIG_IsOK(ecode2
)) {
13442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13444 arg2
= static_cast< int >(val2
);
13447 if (!wxPyCheckForApp()) SWIG_fail
;
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13460 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13461 PyObject
*resultobj
= 0;
13462 wxPyPopupTransientWindow
*result
= 0 ;
13464 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13466 if (!wxPyCheckForApp()) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13479 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
= 0;
13481 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13482 PyObject
*arg2
= (PyObject
*) 0 ;
13483 PyObject
*arg3
= (PyObject
*) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 PyObject
* obj1
= 0 ;
13488 PyObject
* obj2
= 0 ;
13489 char * kwnames
[] = {
13490 (char *) "self",(char *) "self",(char *) "_class", NULL
13493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13495 if (!SWIG_IsOK(res1
)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13498 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 resultobj
= SWIG_Py_Void();
13514 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
= 0;
13516 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13517 wxWindow
*arg2
= (wxWindow
*) NULL
;
13522 PyObject
* obj0
= 0 ;
13523 PyObject
* obj1
= 0 ;
13524 char * kwnames
[] = {
13525 (char *) "self",(char *) "focus", NULL
13528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13530 if (!SWIG_IsOK(res1
)) {
13531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13533 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13536 if (!SWIG_IsOK(res2
)) {
13537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13539 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 (arg1
)->Popup(arg2
);
13544 wxPyEndAllowThreads(__tstate
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13547 resultobj
= SWIG_Py_Void();
13554 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13555 PyObject
*resultobj
= 0;
13556 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13559 PyObject
*swig_obj
[1] ;
13561 if (!args
) SWIG_fail
;
13562 swig_obj
[0] = args
;
13563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13564 if (!SWIG_IsOK(res1
)) {
13565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13567 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_Py_Void();
13581 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13584 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13585 return SWIG_Py_Void();
13588 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13589 return SWIG_Python_InitShadowInstance(args
);
13592 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
= 0;
13594 wxWindow
*arg1
= (wxWindow
*) 0 ;
13595 wxString
*arg2
= 0 ;
13596 int arg3
= (int) 100 ;
13597 wxRect
*arg4
= (wxRect
*) NULL
;
13598 wxTipWindow
*result
= 0 ;
13601 bool temp2
= false ;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 PyObject
* obj2
= 0 ;
13609 PyObject
* obj3
= 0 ;
13610 char * kwnames
[] = {
13611 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13616 if (!SWIG_IsOK(res1
)) {
13617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13619 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13621 arg2
= wxString_in_helper(obj1
);
13622 if (arg2
== NULL
) SWIG_fail
;
13626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13627 if (!SWIG_IsOK(ecode3
)) {
13628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13630 arg3
= static_cast< int >(val3
);
13633 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13634 if (!SWIG_IsOK(res4
)) {
13635 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13637 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13640 if (!wxPyCheckForApp()) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13661 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
= 0;
13663 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 PyObject
* obj1
= 0 ;
13670 char * kwnames
[] = {
13671 (char *) "self",(char *) "rectBound", NULL
13674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13676 if (!SWIG_IsOK(res1
)) {
13677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13679 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13682 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_Py_Void();
13697 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13698 PyObject
*resultobj
= 0;
13699 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13702 PyObject
*swig_obj
[1] ;
13704 if (!args
) SWIG_fail
;
13705 swig_obj
[0] = args
;
13706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13707 if (!SWIG_IsOK(res1
)) {
13708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13710 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_Py_Void();
13724 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13727 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13728 return SWIG_Py_Void();
13731 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13732 return SWIG_Python_InitShadowInstance(args
);
13735 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
= 0;
13737 wxWindow
*arg1
= (wxWindow
*) 0 ;
13738 int arg2
= (int) wxID_ANY
;
13739 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13740 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13741 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13742 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13743 long arg5
= (long) 0 ;
13744 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13745 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13746 wxPyVScrolledWindow
*result
= 0 ;
13755 bool temp6
= false ;
13756 PyObject
* obj0
= 0 ;
13757 PyObject
* obj1
= 0 ;
13758 PyObject
* obj2
= 0 ;
13759 PyObject
* obj3
= 0 ;
13760 PyObject
* obj4
= 0 ;
13761 PyObject
* obj5
= 0 ;
13762 char * kwnames
[] = {
13763 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13768 if (!SWIG_IsOK(res1
)) {
13769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13771 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13774 if (!SWIG_IsOK(ecode2
)) {
13775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13777 arg2
= static_cast< int >(val2
);
13782 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13788 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13792 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13793 if (!SWIG_IsOK(ecode5
)) {
13794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13796 arg5
= static_cast< long >(val5
);
13800 arg6
= wxString_in_helper(obj5
);
13801 if (arg6
== NULL
) SWIG_fail
;
13806 if (!wxPyCheckForApp()) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13827 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13828 PyObject
*resultobj
= 0;
13829 wxPyVScrolledWindow
*result
= 0 ;
13831 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13833 if (!wxPyCheckForApp()) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13846 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
= 0;
13848 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13849 PyObject
*arg2
= (PyObject
*) 0 ;
13850 PyObject
*arg3
= (PyObject
*) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj1
= 0 ;
13855 PyObject
* obj2
= 0 ;
13856 char * kwnames
[] = {
13857 (char *) "self",(char *) "self",(char *) "_class", NULL
13860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13862 if (!SWIG_IsOK(res1
)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13865 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= SWIG_Py_Void();
13881 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
= 0;
13883 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13884 wxWindow
*arg2
= (wxWindow
*) 0 ;
13885 int arg3
= (int) wxID_ANY
;
13886 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13887 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13888 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13889 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13890 long arg6
= (long) 0 ;
13891 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13892 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13904 bool temp7
= false ;
13905 PyObject
* obj0
= 0 ;
13906 PyObject
* obj1
= 0 ;
13907 PyObject
* obj2
= 0 ;
13908 PyObject
* obj3
= 0 ;
13909 PyObject
* obj4
= 0 ;
13910 PyObject
* obj5
= 0 ;
13911 PyObject
* obj6
= 0 ;
13912 char * kwnames
[] = {
13913 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13918 if (!SWIG_IsOK(res1
)) {
13919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13921 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13923 if (!SWIG_IsOK(res2
)) {
13924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13926 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13928 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13929 if (!SWIG_IsOK(ecode3
)) {
13930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13932 arg3
= static_cast< int >(val3
);
13937 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13943 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13947 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13948 if (!SWIG_IsOK(ecode6
)) {
13949 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13951 arg6
= static_cast< long >(val6
);
13955 arg7
= wxString_in_helper(obj6
);
13956 if (arg7
== NULL
) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13983 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
= 0;
13985 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13991 PyObject
* obj0
= 0 ;
13992 PyObject
* obj1
= 0 ;
13993 char * kwnames
[] = {
13994 (char *) "self",(char *) "count", NULL
13997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13999 if (!SWIG_IsOK(res1
)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14002 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14003 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14004 if (!SWIG_IsOK(ecode2
)) {
14005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
14007 arg2
= static_cast< size_t >(val2
);
14009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14010 (arg1
)->SetLineCount(arg2
);
14011 wxPyEndAllowThreads(__tstate
);
14012 if (PyErr_Occurred()) SWIG_fail
;
14014 resultobj
= SWIG_Py_Void();
14021 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
= 0;
14023 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14030 PyObject
* obj0
= 0 ;
14031 PyObject
* obj1
= 0 ;
14032 char * kwnames
[] = {
14033 (char *) "self",(char *) "line", NULL
14036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14038 if (!SWIG_IsOK(res1
)) {
14039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14041 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14042 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14043 if (!SWIG_IsOK(ecode2
)) {
14044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
14046 arg2
= static_cast< size_t >(val2
);
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (bool)(arg1
)->ScrollToLine(arg2
);
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14062 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
= 0;
14064 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 char * kwnames
[] = {
14073 (char *) "self",(char *) "line", NULL
14076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14078 if (!SWIG_IsOK(res1
)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14081 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14082 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14083 if (!SWIG_IsOK(ecode2
)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14086 arg2
= static_cast< size_t >(val2
);
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 (arg1
)->RefreshLine(arg2
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_Py_Void();
14100 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
= 0;
14102 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 PyObject
* obj2
= 0 ;
14114 char * kwnames
[] = {
14115 (char *) "self",(char *) "from",(char *) "to", NULL
14118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14120 if (!SWIG_IsOK(res1
)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14123 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14124 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14125 if (!SWIG_IsOK(ecode2
)) {
14126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14128 arg2
= static_cast< size_t >(val2
);
14129 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14130 if (!SWIG_IsOK(ecode3
)) {
14131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14133 arg3
= static_cast< size_t >(val3
);
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 (arg1
)->RefreshLines(arg2
,arg3
);
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 resultobj
= SWIG_Py_Void();
14147 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14148 PyObject
*resultobj
= 0;
14149 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14159 PyObject
* obj0
= 0 ;
14160 PyObject
* obj1
= 0 ;
14161 PyObject
* obj2
= 0 ;
14162 char * kwnames
[] = {
14163 (char *) "self",(char *) "x",(char *) "y", NULL
14166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14168 if (!SWIG_IsOK(res1
)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14171 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14173 if (!SWIG_IsOK(ecode2
)) {
14174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14176 arg2
= static_cast< int >(val2
);
14177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14178 if (!SWIG_IsOK(ecode3
)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14181 arg3
= static_cast< int >(val3
);
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= SWIG_From_int(static_cast< int >(result
));
14195 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
= 0;
14197 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14198 wxPoint
*arg2
= 0 ;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 char * kwnames
[] = {
14206 (char *) "self",(char *) "pt", NULL
14209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14211 if (!SWIG_IsOK(res1
)) {
14212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14214 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14217 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14225 resultobj
= SWIG_From_int(static_cast< int >(result
));
14232 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14233 PyObject
*resultobj
= 0;
14234 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14237 PyObject
*swig_obj
[1] ;
14239 if (!args
) SWIG_fail
;
14240 swig_obj
[0] = args
;
14241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14242 if (!SWIG_IsOK(res1
)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14245 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 (arg1
)->RefreshAll();
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= SWIG_Py_Void();
14259 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14260 PyObject
*resultobj
= 0;
14261 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14265 PyObject
*swig_obj
[1] ;
14267 if (!args
) SWIG_fail
;
14268 swig_obj
[0] = args
;
14269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14270 if (!SWIG_IsOK(res1
)) {
14271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14273 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14287 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14288 PyObject
*resultobj
= 0;
14289 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14293 PyObject
*swig_obj
[1] ;
14295 if (!args
) SWIG_fail
;
14296 swig_obj
[0] = args
;
14297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14298 if (!SWIG_IsOK(res1
)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14301 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14315 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14316 PyObject
*resultobj
= 0;
14317 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14321 PyObject
*swig_obj
[1] ;
14323 if (!args
) SWIG_fail
;
14324 swig_obj
[0] = args
;
14325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14326 if (!SWIG_IsOK(res1
)) {
14327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14329 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14336 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14343 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14344 PyObject
*resultobj
= 0;
14345 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14352 PyObject
* obj0
= 0 ;
14353 PyObject
* obj1
= 0 ;
14354 char * kwnames
[] = {
14355 (char *) "self",(char *) "line", NULL
14358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14360 if (!SWIG_IsOK(res1
)) {
14361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14363 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14364 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14365 if (!SWIG_IsOK(ecode2
)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14368 arg2
= static_cast< size_t >(val2
);
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14384 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14385 PyObject
*resultobj
= 0;
14386 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14390 PyObject
*swig_obj
[1] ;
14392 if (!args
) SWIG_fail
;
14393 swig_obj
[0] = args
;
14394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14395 if (!SWIG_IsOK(res1
)) {
14396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14398 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14412 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14413 PyObject
*resultobj
= 0;
14414 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14418 PyObject
*swig_obj
[1] ;
14420 if (!args
) SWIG_fail
;
14421 swig_obj
[0] = args
;
14422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14423 if (!SWIG_IsOK(res1
)) {
14424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14426 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14440 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
= 0;
14442 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14444 bool arg3
= (bool) false ;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj1
= 0 ;
14454 PyObject
* obj2
= 0 ;
14455 char * kwnames
[] = {
14456 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14461 if (!SWIG_IsOK(res1
)) {
14462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14464 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14465 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14466 if (!SWIG_IsOK(ecode2
)) {
14467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14469 arg2
= static_cast< size_t >(val2
);
14471 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14472 if (!SWIG_IsOK(ecode3
)) {
14473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14475 arg3
= static_cast< bool >(val3
);
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14490 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
= 0;
14492 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14502 PyObject
* obj0
= 0 ;
14503 PyObject
* obj1
= 0 ;
14504 PyObject
* obj2
= 0 ;
14505 char * kwnames
[] = {
14506 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14511 if (!SWIG_IsOK(res1
)) {
14512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14514 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14515 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14516 if (!SWIG_IsOK(ecode2
)) {
14517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14519 arg2
= static_cast< size_t >(val2
);
14520 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14521 if (!SWIG_IsOK(ecode3
)) {
14522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14524 arg3
= static_cast< size_t >(val3
);
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= SWIG_From_int(static_cast< int >(result
));
14538 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14541 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14542 return SWIG_Py_Void();
14545 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14546 return SWIG_Python_InitShadowInstance(args
);
14549 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14550 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14555 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14556 PyObject
*pyobj
= 0;
14560 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14562 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14569 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
= 0;
14571 wxWindow
*arg1
= (wxWindow
*) 0 ;
14572 int arg2
= (int) wxID_ANY
;
14573 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14574 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14575 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14576 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14577 long arg5
= (long) 0 ;
14578 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14579 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14580 wxPyVListBox
*result
= 0 ;
14589 bool temp6
= false ;
14590 PyObject
* obj0
= 0 ;
14591 PyObject
* obj1
= 0 ;
14592 PyObject
* obj2
= 0 ;
14593 PyObject
* obj3
= 0 ;
14594 PyObject
* obj4
= 0 ;
14595 PyObject
* obj5
= 0 ;
14596 char * kwnames
[] = {
14597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14602 if (!SWIG_IsOK(res1
)) {
14603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14605 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14608 if (!SWIG_IsOK(ecode2
)) {
14609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14611 arg2
= static_cast< int >(val2
);
14616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14622 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14626 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14627 if (!SWIG_IsOK(ecode5
)) {
14628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14630 arg5
= static_cast< long >(val5
);
14634 arg6
= wxString_in_helper(obj5
);
14635 if (arg6
== NULL
) SWIG_fail
;
14640 if (!wxPyCheckForApp()) SWIG_fail
;
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14661 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14662 PyObject
*resultobj
= 0;
14663 wxPyVListBox
*result
= 0 ;
14665 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14667 if (!wxPyCheckForApp()) SWIG_fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (wxPyVListBox
*)new wxPyVListBox();
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14680 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
= 0;
14682 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14683 PyObject
*arg2
= (PyObject
*) 0 ;
14684 PyObject
*arg3
= (PyObject
*) 0 ;
14687 PyObject
* obj0
= 0 ;
14688 PyObject
* obj1
= 0 ;
14689 PyObject
* obj2
= 0 ;
14690 char * kwnames
[] = {
14691 (char *) "self",(char *) "self",(char *) "_class", NULL
14694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14696 if (!SWIG_IsOK(res1
)) {
14697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14699 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_Py_Void();
14715 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
= 0;
14717 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14718 wxWindow
*arg2
= (wxWindow
*) 0 ;
14719 int arg3
= (int) wxID_ANY
;
14720 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14721 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14722 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14723 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14724 long arg6
= (long) 0 ;
14725 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14726 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14738 bool temp7
= false ;
14739 PyObject
* obj0
= 0 ;
14740 PyObject
* obj1
= 0 ;
14741 PyObject
* obj2
= 0 ;
14742 PyObject
* obj3
= 0 ;
14743 PyObject
* obj4
= 0 ;
14744 PyObject
* obj5
= 0 ;
14745 PyObject
* obj6
= 0 ;
14746 char * kwnames
[] = {
14747 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14752 if (!SWIG_IsOK(res1
)) {
14753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14755 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14756 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14757 if (!SWIG_IsOK(res2
)) {
14758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14760 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14763 if (!SWIG_IsOK(ecode3
)) {
14764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14766 arg3
= static_cast< int >(val3
);
14771 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14777 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14781 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14782 if (!SWIG_IsOK(ecode6
)) {
14783 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14785 arg6
= static_cast< long >(val6
);
14789 arg7
= wxString_in_helper(obj6
);
14790 if (arg7
== NULL
) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14817 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14818 PyObject
*resultobj
= 0;
14819 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14823 PyObject
*swig_obj
[1] ;
14825 if (!args
) SWIG_fail
;
14826 swig_obj
[0] = args
;
14827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14828 if (!SWIG_IsOK(res1
)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14831 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14845 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14846 PyObject
*resultobj
= 0;
14847 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14851 PyObject
*swig_obj
[1] ;
14853 if (!args
) SWIG_fail
;
14854 swig_obj
[0] = args
;
14855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14856 if (!SWIG_IsOK(res1
)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14859 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14875 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14876 PyObject
*resultobj
= 0;
14877 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14881 PyObject
*swig_obj
[1] ;
14883 if (!args
) SWIG_fail
;
14884 swig_obj
[0] = args
;
14885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14886 if (!SWIG_IsOK(res1
)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14889 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_From_int(static_cast< int >(result
));
14903 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14904 PyObject
*resultobj
= 0;
14905 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14912 PyObject
* obj0
= 0 ;
14913 PyObject
* obj1
= 0 ;
14914 char * kwnames
[] = {
14915 (char *) "self",(char *) "item", NULL
14918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14920 if (!SWIG_IsOK(res1
)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14923 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14924 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14925 if (!SWIG_IsOK(ecode2
)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14928 arg2
= static_cast< size_t >(val2
);
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14944 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
= 0;
14946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 char * kwnames
[] = {
14956 (char *) "self",(char *) "item", NULL
14959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14961 if (!SWIG_IsOK(res1
)) {
14962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14964 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14965 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14966 if (!SWIG_IsOK(ecode2
)) {
14967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14969 arg2
= static_cast< size_t >(val2
);
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14985 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14986 PyObject
*resultobj
= 0;
14987 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14991 PyObject
*swig_obj
[1] ;
14993 if (!args
) SWIG_fail
;
14994 swig_obj
[0] = args
;
14995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14996 if (!SWIG_IsOK(res1
)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14999 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
15013 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15014 PyObject
*resultobj
= 0;
15015 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15016 PyObject
*result
= 0 ;
15019 PyObject
*swig_obj
[1] ;
15021 if (!args
) SWIG_fail
;
15022 swig_obj
[0] = args
;
15023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15024 if (!SWIG_IsOK(res1
)) {
15025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15027 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= result
;
15041 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
= 0;
15043 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15044 unsigned long arg2
;
15045 PyObject
*result
= 0 ;
15048 unsigned long val2
;
15050 PyObject
* obj0
= 0 ;
15051 PyObject
* obj1
= 0 ;
15052 char * kwnames
[] = {
15053 (char *) "self",(char *) "cookie", NULL
15056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15058 if (!SWIG_IsOK(res1
)) {
15059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15061 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15062 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
15063 if (!SWIG_IsOK(ecode2
)) {
15064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15066 arg2
= static_cast< unsigned long >(val2
);
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= result
;
15080 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15081 PyObject
*resultobj
= 0;
15082 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15086 PyObject
*swig_obj
[1] ;
15088 if (!args
) SWIG_fail
;
15089 swig_obj
[0] = args
;
15090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15091 if (!SWIG_IsOK(res1
)) {
15092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15094 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15108 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15109 PyObject
*resultobj
= 0;
15110 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15111 wxColour
*result
= 0 ;
15114 PyObject
*swig_obj
[1] ;
15116 if (!args
) SWIG_fail
;
15117 swig_obj
[0] = args
;
15118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15119 if (!SWIG_IsOK(res1
)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15122 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15127 result
= (wxColour
*) &_result_ref
;
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15139 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
= 0;
15141 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15147 PyObject
* obj0
= 0 ;
15148 PyObject
* obj1
= 0 ;
15149 char * kwnames
[] = {
15150 (char *) "self",(char *) "count", NULL
15153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15155 if (!SWIG_IsOK(res1
)) {
15156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15158 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15159 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15160 if (!SWIG_IsOK(ecode2
)) {
15161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15163 arg2
= static_cast< size_t >(val2
);
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 (arg1
)->SetItemCount(arg2
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 resultobj
= SWIG_Py_Void();
15177 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15178 PyObject
*resultobj
= 0;
15179 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15182 PyObject
*swig_obj
[1] ;
15184 if (!args
) SWIG_fail
;
15185 swig_obj
[0] = args
;
15186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15187 if (!SWIG_IsOK(res1
)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15190 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= SWIG_Py_Void();
15204 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
= 0;
15206 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15212 PyObject
* obj0
= 0 ;
15213 PyObject
* obj1
= 0 ;
15214 char * kwnames
[] = {
15215 (char *) "self",(char *) "selection", NULL
15218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15220 if (!SWIG_IsOK(res1
)) {
15221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15223 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15225 if (!SWIG_IsOK(ecode2
)) {
15226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15228 arg2
= static_cast< int >(val2
);
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 (arg1
)->SetSelection(arg2
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= SWIG_Py_Void();
15242 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
= 0;
15244 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15246 bool arg3
= (bool) true ;
15254 PyObject
* obj0
= 0 ;
15255 PyObject
* obj1
= 0 ;
15256 PyObject
* obj2
= 0 ;
15257 char * kwnames
[] = {
15258 (char *) "self",(char *) "item",(char *) "select", NULL
15261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15263 if (!SWIG_IsOK(res1
)) {
15264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15266 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15267 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15268 if (!SWIG_IsOK(ecode2
)) {
15269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15271 arg2
= static_cast< size_t >(val2
);
15273 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15274 if (!SWIG_IsOK(ecode3
)) {
15275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15277 arg3
= static_cast< bool >(val3
);
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15294 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
= 0;
15296 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 PyObject
* obj1
= 0 ;
15308 PyObject
* obj2
= 0 ;
15309 char * kwnames
[] = {
15310 (char *) "self",(char *) "from",(char *) "to", NULL
15313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15315 if (!SWIG_IsOK(res1
)) {
15316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15318 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15319 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15320 if (!SWIG_IsOK(ecode2
)) {
15321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15323 arg2
= static_cast< size_t >(val2
);
15324 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15325 if (!SWIG_IsOK(ecode3
)) {
15326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15328 arg3
= static_cast< size_t >(val3
);
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15344 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
= 0;
15346 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 PyObject
* obj1
= 0 ;
15354 char * kwnames
[] = {
15355 (char *) "self",(char *) "item", NULL
15358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15360 if (!SWIG_IsOK(res1
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15363 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15364 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15365 if (!SWIG_IsOK(ecode2
)) {
15366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15368 arg2
= static_cast< size_t >(val2
);
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 (arg1
)->Toggle(arg2
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= SWIG_Py_Void();
15382 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15383 PyObject
*resultobj
= 0;
15384 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15388 PyObject
*swig_obj
[1] ;
15390 if (!args
) SWIG_fail
;
15391 swig_obj
[0] = args
;
15392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15393 if (!SWIG_IsOK(res1
)) {
15394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15396 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (bool)(arg1
)->SelectAll();
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15412 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15413 PyObject
*resultobj
= 0;
15414 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15418 PyObject
*swig_obj
[1] ;
15420 if (!args
) SWIG_fail
;
15421 swig_obj
[0] = args
;
15422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15423 if (!SWIG_IsOK(res1
)) {
15424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15426 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (bool)(arg1
)->DeselectAll();
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15442 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
= 0;
15444 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15445 wxPoint
*arg2
= 0 ;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 char * kwnames
[] = {
15452 (char *) "self",(char *) "pt", NULL
15455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15457 if (!SWIG_IsOK(res1
)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15460 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15463 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= SWIG_Py_Void();
15478 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
= 0;
15480 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 PyObject
* obj1
= 0 ;
15491 PyObject
* obj2
= 0 ;
15492 char * kwnames
[] = {
15493 (char *) "self",(char *) "x",(char *) "y", NULL
15496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15498 if (!SWIG_IsOK(res1
)) {
15499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15501 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15503 if (!SWIG_IsOK(ecode2
)) {
15504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15506 arg2
= static_cast< int >(val2
);
15507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15508 if (!SWIG_IsOK(ecode3
)) {
15509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15511 arg3
= static_cast< int >(val3
);
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 (arg1
)->SetMargins(arg2
,arg3
);
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= SWIG_Py_Void();
15525 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15526 PyObject
*resultobj
= 0;
15527 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15528 wxColour
*arg2
= 0 ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 char * kwnames
[] = {
15535 (char *) "self",(char *) "col", NULL
15538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15540 if (!SWIG_IsOK(res1
)) {
15541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15543 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= SWIG_Py_Void();
15561 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
= 0;
15563 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 PyObject
* obj2
= 0 ;
15577 PyObject
* obj3
= 0 ;
15578 char * kwnames
[] = {
15579 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15584 if (!SWIG_IsOK(res1
)) {
15585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15587 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15589 if (!SWIG_IsOK(res2
)) {
15590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15595 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15598 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15600 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15601 if (!SWIG_IsOK(ecode4
)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15604 arg4
= static_cast< size_t >(val4
);
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= SWIG_Py_Void();
15618 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
= 0;
15620 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 PyObject
* obj2
= 0 ;
15634 PyObject
* obj3
= 0 ;
15635 char * kwnames
[] = {
15636 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15641 if (!SWIG_IsOK(res1
)) {
15642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15644 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15646 if (!SWIG_IsOK(res2
)) {
15647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15652 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15655 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15657 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15658 if (!SWIG_IsOK(ecode4
)) {
15659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15661 arg4
= static_cast< size_t >(val4
);
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_Py_Void();
15675 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15678 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15679 return SWIG_Py_Void();
15682 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15683 return SWIG_Python_InitShadowInstance(args
);
15686 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
= 0;
15688 wxWindow
*arg1
= (wxWindow
*) 0 ;
15689 int arg2
= (int) wxID_ANY
;
15690 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15691 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15692 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15693 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15694 long arg5
= (long) 0 ;
15695 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15696 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15697 wxPyHtmlListBox
*result
= 0 ;
15706 bool temp6
= false ;
15707 PyObject
* obj0
= 0 ;
15708 PyObject
* obj1
= 0 ;
15709 PyObject
* obj2
= 0 ;
15710 PyObject
* obj3
= 0 ;
15711 PyObject
* obj4
= 0 ;
15712 PyObject
* obj5
= 0 ;
15713 char * kwnames
[] = {
15714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15719 if (!SWIG_IsOK(res1
)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15722 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15724 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15725 if (!SWIG_IsOK(ecode2
)) {
15726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15728 arg2
= static_cast< int >(val2
);
15733 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15739 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15743 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15744 if (!SWIG_IsOK(ecode5
)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15747 arg5
= static_cast< long >(val5
);
15751 arg6
= wxString_in_helper(obj5
);
15752 if (arg6
== NULL
) SWIG_fail
;
15757 if (!wxPyCheckForApp()) SWIG_fail
;
15758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15759 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15778 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15779 PyObject
*resultobj
= 0;
15780 wxPyHtmlListBox
*result
= 0 ;
15782 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15784 if (!wxPyCheckForApp()) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15797 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
= 0;
15799 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15800 PyObject
*arg2
= (PyObject
*) 0 ;
15801 PyObject
*arg3
= (PyObject
*) 0 ;
15804 PyObject
* obj0
= 0 ;
15805 PyObject
* obj1
= 0 ;
15806 PyObject
* obj2
= 0 ;
15807 char * kwnames
[] = {
15808 (char *) "self",(char *) "self",(char *) "_class", NULL
15811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15813 if (!SWIG_IsOK(res1
)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15816 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_Py_Void();
15832 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
= 0;
15834 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15835 wxWindow
*arg2
= (wxWindow
*) 0 ;
15836 int arg3
= (int) wxID_ANY
;
15837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15841 long arg6
= (long) 0 ;
15842 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15843 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15855 bool temp7
= false ;
15856 PyObject
* obj0
= 0 ;
15857 PyObject
* obj1
= 0 ;
15858 PyObject
* obj2
= 0 ;
15859 PyObject
* obj3
= 0 ;
15860 PyObject
* obj4
= 0 ;
15861 PyObject
* obj5
= 0 ;
15862 PyObject
* obj6
= 0 ;
15863 char * kwnames
[] = {
15864 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15869 if (!SWIG_IsOK(res1
)) {
15870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15872 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15873 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15874 if (!SWIG_IsOK(res2
)) {
15875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15877 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15879 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15880 if (!SWIG_IsOK(ecode3
)) {
15881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15883 arg3
= static_cast< int >(val3
);
15888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15898 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15899 if (!SWIG_IsOK(ecode6
)) {
15900 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15902 arg6
= static_cast< long >(val6
);
15906 arg7
= wxString_in_helper(obj6
);
15907 if (arg7
== NULL
) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15934 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
= 0;
15936 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char * kwnames
[] = {
15945 (char *) "self",(char *) "count", NULL
15948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15950 if (!SWIG_IsOK(res1
)) {
15951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15953 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15954 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15955 if (!SWIG_IsOK(ecode2
)) {
15956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15958 arg2
= static_cast< size_t >(val2
);
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 (arg1
)->SetItemCount(arg2
);
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= SWIG_Py_Void();
15972 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15973 PyObject
*resultobj
= 0;
15974 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15975 wxFileSystem
*result
= 0 ;
15978 PyObject
*swig_obj
[1] ;
15980 if (!args
) SWIG_fail
;
15981 swig_obj
[0] = args
;
15982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15983 if (!SWIG_IsOK(res1
)) {
15984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15986 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15991 result
= (wxFileSystem
*) &_result_ref
;
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
16003 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
= 0;
16005 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
16007 wxHtmlLinkInfo
*arg3
= 0 ;
16014 PyObject
* obj0
= 0 ;
16015 PyObject
* obj1
= 0 ;
16016 PyObject
* obj2
= 0 ;
16017 char * kwnames
[] = {
16018 (char *) "self",(char *) "n",(char *) "link", NULL
16021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
16023 if (!SWIG_IsOK(res1
)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
16026 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
16027 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16028 if (!SWIG_IsOK(ecode2
)) {
16029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
16031 arg2
= static_cast< size_t >(val2
);
16032 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
16033 if (!SWIG_IsOK(res3
)) {
16034 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
16037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
16039 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= SWIG_Py_Void();
16053 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16056 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
16057 return SWIG_Py_Void();
16060 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16061 return SWIG_Python_InitShadowInstance(args
);
16064 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16065 PyObject
*resultobj
= 0;
16066 wxPyTaskBarIcon
*result
= 0 ;
16068 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16070 if (!wxPyCheckForApp()) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16083 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16084 PyObject
*resultobj
= 0;
16085 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16088 PyObject
*swig_obj
[1] ;
16090 if (!args
) SWIG_fail
;
16091 swig_obj
[0] = args
;
16092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16093 if (!SWIG_IsOK(res1
)) {
16094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16096 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= SWIG_Py_Void();
16111 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
= 0;
16113 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16114 PyObject
*arg2
= (PyObject
*) 0 ;
16115 PyObject
*arg3
= (PyObject
*) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 PyObject
* obj1
= 0 ;
16123 PyObject
* obj2
= 0 ;
16124 PyObject
* obj3
= 0 ;
16125 char * kwnames
[] = {
16126 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16131 if (!SWIG_IsOK(res1
)) {
16132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16134 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16137 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16138 if (!SWIG_IsOK(ecode4
)) {
16139 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16141 arg4
= static_cast< int >(val4
);
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= SWIG_Py_Void();
16155 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16156 PyObject
*resultobj
= 0;
16157 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16160 PyObject
*swig_obj
[1] ;
16162 if (!args
) SWIG_fail
;
16163 swig_obj
[0] = args
;
16164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16165 if (!SWIG_IsOK(res1
)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16168 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 wxPyTaskBarIcon_Destroy(arg1
);
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= SWIG_Py_Void();
16182 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16183 PyObject
*resultobj
= 0;
16184 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16188 PyObject
*swig_obj
[1] ;
16190 if (!args
) SWIG_fail
;
16191 swig_obj
[0] = args
;
16192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16193 if (!SWIG_IsOK(res1
)) {
16194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16196 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16212 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16213 PyObject
*resultobj
= 0;
16214 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16218 PyObject
*swig_obj
[1] ;
16220 if (!args
) SWIG_fail
;
16221 swig_obj
[0] = args
;
16222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16223 if (!SWIG_IsOK(res1
)) {
16224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16226 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16242 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
= 0;
16244 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16246 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16247 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16253 bool temp3
= false ;
16254 PyObject
* obj0
= 0 ;
16255 PyObject
* obj1
= 0 ;
16256 PyObject
* obj2
= 0 ;
16257 char * kwnames
[] = {
16258 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16263 if (!SWIG_IsOK(res1
)) {
16264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16266 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16267 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16268 if (!SWIG_IsOK(res2
)) {
16269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16274 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16277 arg3
= wxString_in_helper(obj2
);
16278 if (arg3
== NULL
) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16305 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16306 PyObject
*resultobj
= 0;
16307 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16311 PyObject
*swig_obj
[1] ;
16313 if (!args
) SWIG_fail
;
16314 swig_obj
[0] = args
;
16315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16316 if (!SWIG_IsOK(res1
)) {
16317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16319 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= (bool)(arg1
)->RemoveIcon();
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16335 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
= 0;
16337 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16338 wxMenu
*arg2
= (wxMenu
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 char * kwnames
[] = {
16347 (char *) "self",(char *) "menu", NULL
16350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16352 if (!SWIG_IsOK(res1
)) {
16353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16355 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16356 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16357 if (!SWIG_IsOK(res2
)) {
16358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16360 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16363 result
= (bool)(arg1
)->PopupMenu(arg2
);
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16376 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16379 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16380 return SWIG_Py_Void();
16383 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16384 return SWIG_Python_InitShadowInstance(args
);
16387 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
= 0;
16390 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16391 wxTaskBarIconEvent
*result
= 0 ;
16396 PyObject
* obj0
= 0 ;
16397 PyObject
* obj1
= 0 ;
16398 char * kwnames
[] = {
16399 (char *) "evtType",(char *) "tbIcon", NULL
16402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16403 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16404 if (!SWIG_IsOK(ecode1
)) {
16405 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16407 arg1
= static_cast< wxEventType
>(val1
);
16408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16409 if (!SWIG_IsOK(res2
)) {
16410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16412 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16426 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16429 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16430 return SWIG_Py_Void();
16433 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16434 return SWIG_Python_InitShadowInstance(args
);
16437 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16438 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16443 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16444 PyObject
*pyobj
= 0;
16448 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16450 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16457 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16458 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16463 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16464 PyObject
*pyobj
= 0;
16468 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16470 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16477 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16478 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16483 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16484 PyObject
*pyobj
= 0;
16488 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16490 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16497 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16498 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16503 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16504 PyObject
*pyobj
= 0;
16508 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16510 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16517 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16518 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16523 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16524 PyObject
*pyobj
= 0;
16528 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16530 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16537 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16538 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16543 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16544 PyObject
*pyobj
= 0;
16548 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16550 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16557 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16558 PyObject
*resultobj
= 0;
16559 wxColourData
*result
= 0 ;
16561 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 result
= (wxColourData
*)new wxColourData();
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16575 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16576 PyObject
*resultobj
= 0;
16577 wxColourData
*arg1
= (wxColourData
*) 0 ;
16580 PyObject
*swig_obj
[1] ;
16582 if (!args
) SWIG_fail
;
16583 swig_obj
[0] = args
;
16584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16585 if (!SWIG_IsOK(res1
)) {
16586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16588 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_Py_Void();
16603 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16604 PyObject
*resultobj
= 0;
16605 wxColourData
*arg1
= (wxColourData
*) 0 ;
16609 PyObject
*swig_obj
[1] ;
16611 if (!args
) SWIG_fail
;
16612 swig_obj
[0] = args
;
16613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16614 if (!SWIG_IsOK(res1
)) {
16615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16617 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= (bool)(arg1
)->GetChooseFull();
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16633 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16634 PyObject
*resultobj
= 0;
16635 wxColourData
*arg1
= (wxColourData
*) 0 ;
16639 PyObject
*swig_obj
[1] ;
16641 if (!args
) SWIG_fail
;
16642 swig_obj
[0] = args
;
16643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16644 if (!SWIG_IsOK(res1
)) {
16645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16647 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= (arg1
)->GetColour();
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16654 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16661 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16662 PyObject
*resultobj
= 0;
16663 wxColourData
*arg1
= (wxColourData
*) 0 ;
16670 PyObject
* obj0
= 0 ;
16671 PyObject
* obj1
= 0 ;
16672 char * kwnames
[] = {
16673 (char *) "self",(char *) "i", NULL
16676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16678 if (!SWIG_IsOK(res1
)) {
16679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16681 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16683 if (!SWIG_IsOK(ecode2
)) {
16684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16686 arg2
= static_cast< int >(val2
);
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 result
= (arg1
)->GetCustomColour(arg2
);
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16700 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
= 0;
16702 wxColourData
*arg1
= (wxColourData
*) 0 ;
16708 PyObject
* obj0
= 0 ;
16709 PyObject
* obj1
= 0 ;
16710 char * kwnames
[] = {
16711 (char *) "self",(char *) "flag", NULL
16714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16716 if (!SWIG_IsOK(res1
)) {
16717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16719 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16721 if (!SWIG_IsOK(ecode2
)) {
16722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16724 arg2
= static_cast< int >(val2
);
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 (arg1
)->SetChooseFull(arg2
);
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16731 resultobj
= SWIG_Py_Void();
16738 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
= 0;
16740 wxColourData
*arg1
= (wxColourData
*) 0 ;
16741 wxColour
*arg2
= 0 ;
16745 PyObject
* obj0
= 0 ;
16746 PyObject
* obj1
= 0 ;
16747 char * kwnames
[] = {
16748 (char *) "self",(char *) "colour", NULL
16751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16753 if (!SWIG_IsOK(res1
)) {
16754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16756 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16759 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 (arg1
)->SetColour((wxColour
const &)*arg2
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= SWIG_Py_Void();
16774 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
= 0;
16776 wxColourData
*arg1
= (wxColourData
*) 0 ;
16778 wxColour
*arg3
= 0 ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 PyObject
* obj2
= 0 ;
16787 char * kwnames
[] = {
16788 (char *) "self",(char *) "i",(char *) "colour", NULL
16791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16793 if (!SWIG_IsOK(res1
)) {
16794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16796 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16798 if (!SWIG_IsOK(ecode2
)) {
16799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16801 arg2
= static_cast< int >(val2
);
16804 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_Py_Void();
16819 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16822 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16823 return SWIG_Py_Void();
16826 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16827 return SWIG_Python_InitShadowInstance(args
);
16830 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
= 0;
16832 wxWindow
*arg1
= (wxWindow
*) 0 ;
16833 wxColourData
*arg2
= (wxColourData
*) NULL
;
16834 wxColourDialog
*result
= 0 ;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 char * kwnames
[] = {
16842 (char *) "parent",(char *) "data", NULL
16845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16847 if (!SWIG_IsOK(res1
)) {
16848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16850 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16853 if (!SWIG_IsOK(res2
)) {
16854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16856 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16859 if (!wxPyCheckForApp()) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16872 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16873 PyObject
*resultobj
= 0;
16874 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16875 wxColourData
*result
= 0 ;
16878 PyObject
*swig_obj
[1] ;
16880 if (!args
) SWIG_fail
;
16881 swig_obj
[0] = args
;
16882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16883 if (!SWIG_IsOK(res1
)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16886 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16891 result
= (wxColourData
*) &_result_ref
;
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16903 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16906 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16907 return SWIG_Py_Void();
16910 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16911 return SWIG_Python_InitShadowInstance(args
);
16914 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
= 0;
16916 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16917 wxColour
const &arg2_defvalue
= wxNullColour
;
16918 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16919 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16920 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16925 bool temp3
= false ;
16926 PyObject
* obj0
= 0 ;
16927 PyObject
* obj1
= 0 ;
16928 PyObject
* obj2
= 0 ;
16929 char * kwnames
[] = {
16930 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16939 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16944 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16949 arg3
= wxString_in_helper(obj2
);
16950 if (arg3
== NULL
) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16957 wxPyEndAllowThreads(__tstate
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16975 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
= 0;
16977 wxWindow
*arg1
= (wxWindow
*) 0 ;
16978 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16979 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16980 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16981 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16982 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16983 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16984 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16985 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16986 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16987 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16988 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16989 wxDirDialog
*result
= 0 ;
16992 bool temp2
= false ;
16993 bool temp3
= false ;
16998 bool temp7
= false ;
16999 PyObject
* obj0
= 0 ;
17000 PyObject
* obj1
= 0 ;
17001 PyObject
* obj2
= 0 ;
17002 PyObject
* obj3
= 0 ;
17003 PyObject
* obj4
= 0 ;
17004 PyObject
* obj5
= 0 ;
17005 PyObject
* obj6
= 0 ;
17006 char * kwnames
[] = {
17007 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17012 if (!SWIG_IsOK(res1
)) {
17013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17015 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17018 arg2
= wxString_in_helper(obj1
);
17019 if (arg2
== NULL
) SWIG_fail
;
17025 arg3
= wxString_in_helper(obj2
);
17026 if (arg3
== NULL
) SWIG_fail
;
17031 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17032 if (!SWIG_IsOK(ecode4
)) {
17033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17035 arg4
= static_cast< long >(val4
);
17040 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17046 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17051 arg7
= wxString_in_helper(obj6
);
17052 if (arg7
== NULL
) SWIG_fail
;
17057 if (!wxPyCheckForApp()) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17094 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17095 PyObject
*resultobj
= 0;
17096 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17100 PyObject
*swig_obj
[1] ;
17102 if (!args
) SWIG_fail
;
17103 swig_obj
[0] = args
;
17104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17105 if (!SWIG_IsOK(res1
)) {
17106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17108 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 result
= (arg1
)->GetPath();
17112 wxPyEndAllowThreads(__tstate
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17128 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17129 PyObject
*resultobj
= 0;
17130 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17134 PyObject
*swig_obj
[1] ;
17136 if (!args
) SWIG_fail
;
17137 swig_obj
[0] = args
;
17138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17139 if (!SWIG_IsOK(res1
)) {
17140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17142 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= (arg1
)->GetMessage();
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17162 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
= 0;
17164 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17165 wxString
*arg2
= 0 ;
17168 bool temp2
= false ;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 char * kwnames
[] = {
17172 (char *) "self",(char *) "message", NULL
17175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17177 if (!SWIG_IsOK(res1
)) {
17178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17180 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17182 arg2
= wxString_in_helper(obj1
);
17183 if (arg2
== NULL
) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 (arg1
)->SetMessage((wxString
const &)*arg2
);
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= SWIG_Py_Void();
17207 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
= 0;
17209 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17210 wxString
*arg2
= 0 ;
17213 bool temp2
= false ;
17214 PyObject
* obj0
= 0 ;
17215 PyObject
* obj1
= 0 ;
17216 char * kwnames
[] = {
17217 (char *) "self",(char *) "path", NULL
17220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17222 if (!SWIG_IsOK(res1
)) {
17223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17225 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17227 arg2
= wxString_in_helper(obj1
);
17228 if (arg2
== NULL
) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 (arg1
)->SetPath((wxString
const &)*arg2
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= SWIG_Py_Void();
17252 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17255 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17256 return SWIG_Py_Void();
17259 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17260 return SWIG_Python_InitShadowInstance(args
);
17263 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
= 0;
17265 wxWindow
*arg1
= (wxWindow
*) 0 ;
17266 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17267 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17268 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17269 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17270 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17271 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17272 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17273 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17274 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17275 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17276 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17277 wxFileDialog
*result
= 0 ;
17280 bool temp2
= false ;
17281 bool temp3
= false ;
17282 bool temp4
= false ;
17283 bool temp5
= false ;
17287 PyObject
* obj0
= 0 ;
17288 PyObject
* obj1
= 0 ;
17289 PyObject
* obj2
= 0 ;
17290 PyObject
* obj3
= 0 ;
17291 PyObject
* obj4
= 0 ;
17292 PyObject
* obj5
= 0 ;
17293 PyObject
* obj6
= 0 ;
17294 char * kwnames
[] = {
17295 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17300 if (!SWIG_IsOK(res1
)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17303 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17306 arg2
= wxString_in_helper(obj1
);
17307 if (arg2
== NULL
) SWIG_fail
;
17313 arg3
= wxString_in_helper(obj2
);
17314 if (arg3
== NULL
) SWIG_fail
;
17320 arg4
= wxString_in_helper(obj3
);
17321 if (arg4
== NULL
) SWIG_fail
;
17327 arg5
= wxString_in_helper(obj4
);
17328 if (arg5
== NULL
) SWIG_fail
;
17333 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17334 if (!SWIG_IsOK(ecode6
)) {
17335 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17337 arg6
= static_cast< long >(val6
);
17342 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17346 if (!wxPyCheckForApp()) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17391 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
= 0;
17393 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17394 wxString
*arg2
= 0 ;
17397 bool temp2
= false ;
17398 PyObject
* obj0
= 0 ;
17399 PyObject
* obj1
= 0 ;
17400 char * kwnames
[] = {
17401 (char *) "self",(char *) "message", NULL
17404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17406 if (!SWIG_IsOK(res1
)) {
17407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17409 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17411 arg2
= wxString_in_helper(obj1
);
17412 if (arg2
== NULL
) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 (arg1
)->SetMessage((wxString
const &)*arg2
);
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 resultobj
= SWIG_Py_Void();
17436 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
= 0;
17438 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17439 wxString
*arg2
= 0 ;
17442 bool temp2
= false ;
17443 PyObject
* obj0
= 0 ;
17444 PyObject
* obj1
= 0 ;
17445 char * kwnames
[] = {
17446 (char *) "self",(char *) "path", NULL
17449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17451 if (!SWIG_IsOK(res1
)) {
17452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17454 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17456 arg2
= wxString_in_helper(obj1
);
17457 if (arg2
== NULL
) SWIG_fail
;
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 (arg1
)->SetPath((wxString
const &)*arg2
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_Py_Void();
17481 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
= 0;
17483 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17484 wxString
*arg2
= 0 ;
17487 bool temp2
= false ;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 char * kwnames
[] = {
17491 (char *) "self",(char *) "dir", NULL
17494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",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_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17499 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17501 arg2
= wxString_in_helper(obj1
);
17502 if (arg2
== NULL
) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= SWIG_Py_Void();
17526 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
= 0;
17528 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17529 wxString
*arg2
= 0 ;
17532 bool temp2
= false ;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 char * kwnames
[] = {
17536 (char *) "self",(char *) "name", NULL
17539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17541 if (!SWIG_IsOK(res1
)) {
17542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17544 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17546 arg2
= wxString_in_helper(obj1
);
17547 if (arg2
== NULL
) SWIG_fail
;
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17552 (arg1
)->SetFilename((wxString
const &)*arg2
);
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 resultobj
= SWIG_Py_Void();
17571 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
= 0;
17573 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17574 wxString
*arg2
= 0 ;
17577 bool temp2
= false ;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 char * kwnames
[] = {
17581 (char *) "self",(char *) "wildCard", NULL
17584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17586 if (!SWIG_IsOK(res1
)) {
17587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17589 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17591 arg2
= wxString_in_helper(obj1
);
17592 if (arg2
== NULL
) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 resultobj
= SWIG_Py_Void();
17616 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
= 0;
17618 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17624 PyObject
* obj0
= 0 ;
17625 PyObject
* obj1
= 0 ;
17626 char * kwnames
[] = {
17627 (char *) "self",(char *) "filterIndex", NULL
17630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17632 if (!SWIG_IsOK(res1
)) {
17633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17635 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17637 if (!SWIG_IsOK(ecode2
)) {
17638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17640 arg2
= static_cast< int >(val2
);
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 (arg1
)->SetFilterIndex(arg2
);
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= SWIG_Py_Void();
17654 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(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_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17668 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
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_GetPath(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_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17702 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17722 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17723 PyObject
*resultobj
= 0;
17724 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17728 PyObject
*swig_obj
[1] ;
17730 if (!args
) SWIG_fail
;
17731 swig_obj
[0] = args
;
17732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17733 if (!SWIG_IsOK(res1
)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17736 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17756 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17757 PyObject
*resultobj
= 0;
17758 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17762 PyObject
*swig_obj
[1] ;
17764 if (!args
) SWIG_fail
;
17765 swig_obj
[0] = args
;
17766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17767 if (!SWIG_IsOK(res1
)) {
17768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17770 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17790 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17791 PyObject
*resultobj
= 0;
17792 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17796 PyObject
*swig_obj
[1] ;
17798 if (!args
) SWIG_fail
;
17799 swig_obj
[0] = args
;
17800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17801 if (!SWIG_IsOK(res1
)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17804 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17824 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17825 PyObject
*resultobj
= 0;
17826 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17830 PyObject
*swig_obj
[1] ;
17832 if (!args
) SWIG_fail
;
17833 swig_obj
[0] = args
;
17834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17835 if (!SWIG_IsOK(res1
)) {
17836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17838 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17845 resultobj
= SWIG_From_int(static_cast< int >(result
));
17852 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17853 PyObject
*resultobj
= 0;
17854 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17855 PyObject
*result
= 0 ;
17858 PyObject
*swig_obj
[1] ;
17860 if (!args
) SWIG_fail
;
17861 swig_obj
[0] = args
;
17862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17863 if (!SWIG_IsOK(res1
)) {
17864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17866 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17870 wxPyEndAllowThreads(__tstate
);
17871 if (PyErr_Occurred()) SWIG_fail
;
17873 resultobj
= result
;
17880 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17881 PyObject
*resultobj
= 0;
17882 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17883 PyObject
*result
= 0 ;
17886 PyObject
*swig_obj
[1] ;
17888 if (!args
) SWIG_fail
;
17889 swig_obj
[0] = args
;
17890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17891 if (!SWIG_IsOK(res1
)) {
17892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17894 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= result
;
17908 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17910 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17911 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17912 return SWIG_Py_Void();
17915 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17916 return SWIG_Python_InitShadowInstance(args
);
17919 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
= 0;
17921 wxWindow
*arg1
= (wxWindow
*) 0 ;
17922 wxString
*arg2
= 0 ;
17923 wxString
*arg3
= 0 ;
17924 int arg4
= (int) 0 ;
17925 wxString
*arg5
= (wxString
*) NULL
;
17926 long arg6
= (long) wxCHOICEDLG_STYLE
;
17927 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17928 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17929 wxMultiChoiceDialog
*result
= 0 ;
17932 bool temp2
= false ;
17933 bool temp3
= false ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 PyObject
* obj2
= 0 ;
17940 PyObject
* obj3
= 0 ;
17941 PyObject
* obj4
= 0 ;
17942 PyObject
* obj5
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17952 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17954 arg2
= wxString_in_helper(obj1
);
17955 if (arg2
== NULL
) SWIG_fail
;
17959 arg3
= wxString_in_helper(obj2
);
17960 if (arg3
== NULL
) SWIG_fail
;
17965 arg4
= PyList_Size(obj3
);
17966 arg5
= wxString_LIST_helper(obj3
);
17967 if (arg5
== NULL
) SWIG_fail
;
17971 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17972 if (!SWIG_IsOK(ecode6
)) {
17973 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17975 arg6
= static_cast< long >(val6
);
17980 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17984 if (!wxPyCheckForApp()) SWIG_fail
;
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18000 if (arg5
) delete [] arg5
;
18013 if (arg5
) delete [] arg5
;
18019 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18020 PyObject
*resultobj
= 0;
18021 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18022 wxArrayInt
*arg2
= 0 ;
18025 bool temp2
= false ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 char * kwnames
[] = {
18029 (char *) "self",(char *) "selections", NULL
18032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18034 if (!SWIG_IsOK(res1
)) {
18035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18037 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18039 if (! PySequence_Check(obj1
)) {
18040 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18043 arg2
= new wxArrayInt
;
18045 int i
, len
=PySequence_Length(obj1
);
18046 for (i
=0; i
<len
; i
++) {
18047 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18048 PyObject
* number
= PyNumber_Int(item
);
18049 arg2
->Add(PyInt_AS_LONG(number
));
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= SWIG_Py_Void();
18062 if (temp2
) delete arg2
;
18067 if (temp2
) delete arg2
;
18073 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18074 PyObject
*resultobj
= 0;
18075 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18076 PyObject
*result
= 0 ;
18079 PyObject
*swig_obj
[1] ;
18081 if (!args
) SWIG_fail
;
18082 swig_obj
[0] = args
;
18083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18084 if (!SWIG_IsOK(res1
)) {
18085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18087 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= result
;
18101 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18104 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18105 return SWIG_Py_Void();
18108 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18109 return SWIG_Python_InitShadowInstance(args
);
18112 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
= 0;
18114 wxWindow
*arg1
= (wxWindow
*) 0 ;
18115 wxString
*arg2
= 0 ;
18116 wxString
*arg3
= 0 ;
18118 wxString
*arg5
= (wxString
*) 0 ;
18119 long arg6
= (long) wxCHOICEDLG_STYLE
;
18120 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18121 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18122 wxSingleChoiceDialog
*result
= 0 ;
18125 bool temp2
= false ;
18126 bool temp3
= false ;
18130 PyObject
* obj0
= 0 ;
18131 PyObject
* obj1
= 0 ;
18132 PyObject
* obj2
= 0 ;
18133 PyObject
* obj3
= 0 ;
18134 PyObject
* obj4
= 0 ;
18135 PyObject
* obj5
= 0 ;
18136 char * kwnames
[] = {
18137 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18142 if (!SWIG_IsOK(res1
)) {
18143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18145 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18147 arg2
= wxString_in_helper(obj1
);
18148 if (arg2
== NULL
) SWIG_fail
;
18152 arg3
= wxString_in_helper(obj2
);
18153 if (arg3
== NULL
) SWIG_fail
;
18157 arg4
= PyList_Size(obj3
);
18158 arg5
= wxString_LIST_helper(obj3
);
18159 if (arg5
== NULL
) SWIG_fail
;
18162 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18163 if (!SWIG_IsOK(ecode6
)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18166 arg6
= static_cast< long >(val6
);
18171 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18175 if (!wxPyCheckForApp()) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18191 if (arg5
) delete [] arg5
;
18204 if (arg5
) delete [] arg5
;
18210 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18211 PyObject
*resultobj
= 0;
18212 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18216 PyObject
*swig_obj
[1] ;
18218 if (!args
) SWIG_fail
;
18219 swig_obj
[0] = args
;
18220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18221 if (!SWIG_IsOK(res1
)) {
18222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18224 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 result
= (int)(arg1
)->GetSelection();
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 resultobj
= SWIG_From_int(static_cast< int >(result
));
18238 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18239 PyObject
*resultobj
= 0;
18240 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18244 PyObject
*swig_obj
[1] ;
18246 if (!args
) SWIG_fail
;
18247 swig_obj
[0] = args
;
18248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18249 if (!SWIG_IsOK(res1
)) {
18250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18252 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 result
= (arg1
)->GetStringSelection();
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18272 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
= 0;
18274 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 char * kwnames
[] = {
18283 (char *) "self",(char *) "sel", NULL
18286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18288 if (!SWIG_IsOK(res1
)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18291 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18293 if (!SWIG_IsOK(ecode2
)) {
18294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18296 arg2
= static_cast< int >(val2
);
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 (arg1
)->SetSelection(arg2
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 resultobj
= SWIG_Py_Void();
18310 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18313 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18314 return SWIG_Py_Void();
18317 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18318 return SWIG_Python_InitShadowInstance(args
);
18321 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
= 0;
18323 wxWindow
*arg1
= (wxWindow
*) 0 ;
18324 wxString
*arg2
= 0 ;
18325 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18326 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18327 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18328 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18329 long arg5
= (long) wxTextEntryDialogStyle
;
18330 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18331 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18332 wxTextEntryDialog
*result
= 0 ;
18335 bool temp2
= false ;
18336 bool temp3
= false ;
18337 bool temp4
= false ;
18341 PyObject
* obj0
= 0 ;
18342 PyObject
* obj1
= 0 ;
18343 PyObject
* obj2
= 0 ;
18344 PyObject
* obj3
= 0 ;
18345 PyObject
* obj4
= 0 ;
18346 PyObject
* obj5
= 0 ;
18347 char * kwnames
[] = {
18348 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18353 if (!SWIG_IsOK(res1
)) {
18354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18356 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18358 arg2
= wxString_in_helper(obj1
);
18359 if (arg2
== NULL
) SWIG_fail
;
18364 arg3
= wxString_in_helper(obj2
);
18365 if (arg3
== NULL
) SWIG_fail
;
18371 arg4
= wxString_in_helper(obj3
);
18372 if (arg4
== NULL
) SWIG_fail
;
18377 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18378 if (!SWIG_IsOK(ecode5
)) {
18379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18381 arg5
= static_cast< long >(val5
);
18386 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18390 if (!wxPyCheckForApp()) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18427 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18428 PyObject
*resultobj
= 0;
18429 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18433 PyObject
*swig_obj
[1] ;
18435 if (!args
) SWIG_fail
;
18436 swig_obj
[0] = args
;
18437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18438 if (!SWIG_IsOK(res1
)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18441 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 result
= (arg1
)->GetValue();
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18461 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
= 0;
18463 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18464 wxString
*arg2
= 0 ;
18467 bool temp2
= false ;
18468 PyObject
* obj0
= 0 ;
18469 PyObject
* obj1
= 0 ;
18470 char * kwnames
[] = {
18471 (char *) "self",(char *) "value", NULL
18474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18476 if (!SWIG_IsOK(res1
)) {
18477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18479 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18481 arg2
= wxString_in_helper(obj1
);
18482 if (arg2
== NULL
) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 (arg1
)->SetValue((wxString
const &)*arg2
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= SWIG_Py_Void();
18506 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18509 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18510 return SWIG_Py_Void();
18513 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18514 return SWIG_Python_InitShadowInstance(args
);
18517 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18518 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18523 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18524 PyObject
*pyobj
= 0;
18528 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18530 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18537 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18538 PyObject
*resultobj
= 0;
18539 wxWindow
*arg1
= (wxWindow
*) 0 ;
18540 wxString
*arg2
= 0 ;
18541 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18542 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18543 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18544 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18545 long arg5
= (long) wxTextEntryDialogStyle
;
18546 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18547 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18548 wxPasswordEntryDialog
*result
= 0 ;
18551 bool temp2
= false ;
18552 bool temp3
= false ;
18553 bool temp4
= false ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 PyObject
* obj2
= 0 ;
18560 PyObject
* obj3
= 0 ;
18561 PyObject
* obj4
= 0 ;
18562 PyObject
* obj5
= 0 ;
18563 char * kwnames
[] = {
18564 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18569 if (!SWIG_IsOK(res1
)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18574 arg2
= wxString_in_helper(obj1
);
18575 if (arg2
== NULL
) SWIG_fail
;
18580 arg3
= wxString_in_helper(obj2
);
18581 if (arg3
== NULL
) SWIG_fail
;
18587 arg4
= wxString_in_helper(obj3
);
18588 if (arg4
== NULL
) SWIG_fail
;
18593 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18594 if (!SWIG_IsOK(ecode5
)) {
18595 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18597 arg5
= static_cast< long >(val5
);
18602 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18642 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18645 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18646 return SWIG_Py_Void();
18649 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18650 return SWIG_Python_InitShadowInstance(args
);
18653 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
= 0;
18655 wxWindow
*arg1
= (wxWindow
*) 0 ;
18656 wxString
*arg2
= 0 ;
18657 wxString
*arg3
= 0 ;
18658 wxString
*arg4
= 0 ;
18662 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18663 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18664 wxNumberEntryDialog
*result
= 0 ;
18667 bool temp2
= false ;
18668 bool temp3
= false ;
18669 bool temp4
= false ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 PyObject
* obj2
= 0 ;
18680 PyObject
* obj3
= 0 ;
18681 PyObject
* obj4
= 0 ;
18682 PyObject
* obj5
= 0 ;
18683 PyObject
* obj6
= 0 ;
18684 PyObject
* obj7
= 0 ;
18685 char * kwnames
[] = {
18686 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18691 if (!SWIG_IsOK(res1
)) {
18692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18694 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18696 arg2
= wxString_in_helper(obj1
);
18697 if (arg2
== NULL
) SWIG_fail
;
18701 arg3
= wxString_in_helper(obj2
);
18702 if (arg3
== NULL
) SWIG_fail
;
18706 arg4
= wxString_in_helper(obj3
);
18707 if (arg4
== NULL
) SWIG_fail
;
18710 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18711 if (!SWIG_IsOK(ecode5
)) {
18712 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18714 arg5
= static_cast< long >(val5
);
18715 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18716 if (!SWIG_IsOK(ecode6
)) {
18717 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18719 arg6
= static_cast< long >(val6
);
18720 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18721 if (!SWIG_IsOK(ecode7
)) {
18722 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18724 arg7
= static_cast< long >(val7
);
18728 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18732 if (!wxPyCheckForApp()) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18769 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18770 PyObject
*resultobj
= 0;
18771 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18775 PyObject
*swig_obj
[1] ;
18777 if (!args
) SWIG_fail
;
18778 swig_obj
[0] = args
;
18779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18780 if (!SWIG_IsOK(res1
)) {
18781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18783 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (long)(arg1
)->GetValue();
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 resultobj
= SWIG_From_long(static_cast< long >(result
));
18797 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18800 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18801 return SWIG_Py_Void();
18804 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18805 return SWIG_Python_InitShadowInstance(args
);
18808 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18809 PyObject
*resultobj
= 0;
18810 wxFontData
*result
= 0 ;
18812 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 result
= (wxFontData
*)new wxFontData();
18816 wxPyEndAllowThreads(__tstate
);
18817 if (PyErr_Occurred()) SWIG_fail
;
18819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18826 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18827 PyObject
*resultobj
= 0;
18828 wxFontData
*arg1
= (wxFontData
*) 0 ;
18831 PyObject
*swig_obj
[1] ;
18833 if (!args
) SWIG_fail
;
18834 swig_obj
[0] = args
;
18835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18836 if (!SWIG_IsOK(res1
)) {
18837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18839 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 resultobj
= SWIG_Py_Void();
18854 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
= 0;
18856 wxFontData
*arg1
= (wxFontData
*) 0 ;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 char * kwnames
[] = {
18865 (char *) "self",(char *) "enable", NULL
18868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18870 if (!SWIG_IsOK(res1
)) {
18871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18873 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18874 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18875 if (!SWIG_IsOK(ecode2
)) {
18876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18878 arg2
= static_cast< bool >(val2
);
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 (arg1
)->EnableEffects(arg2
);
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= SWIG_Py_Void();
18892 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18893 PyObject
*resultobj
= 0;
18894 wxFontData
*arg1
= (wxFontData
*) 0 ;
18898 PyObject
*swig_obj
[1] ;
18900 if (!args
) SWIG_fail
;
18901 swig_obj
[0] = args
;
18902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18903 if (!SWIG_IsOK(res1
)) {
18904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18906 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 result
= (bool)(arg1
)->GetAllowSymbols();
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18922 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18923 PyObject
*resultobj
= 0;
18924 wxFontData
*arg1
= (wxFontData
*) 0 ;
18928 PyObject
*swig_obj
[1] ;
18930 if (!args
) SWIG_fail
;
18931 swig_obj
[0] = args
;
18932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18933 if (!SWIG_IsOK(res1
)) {
18934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18936 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 result
= (arg1
)->GetColour();
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18950 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18951 PyObject
*resultobj
= 0;
18952 wxFontData
*arg1
= (wxFontData
*) 0 ;
18956 PyObject
*swig_obj
[1] ;
18958 if (!args
) SWIG_fail
;
18959 swig_obj
[0] = args
;
18960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18961 if (!SWIG_IsOK(res1
)) {
18962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18964 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 result
= (arg1
)->GetChosenFont();
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18978 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18979 PyObject
*resultobj
= 0;
18980 wxFontData
*arg1
= (wxFontData
*) 0 ;
18984 PyObject
*swig_obj
[1] ;
18986 if (!args
) SWIG_fail
;
18987 swig_obj
[0] = args
;
18988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18989 if (!SWIG_IsOK(res1
)) {
18990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18992 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= (bool)(arg1
)->GetEnableEffects();
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19008 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19009 PyObject
*resultobj
= 0;
19010 wxFontData
*arg1
= (wxFontData
*) 0 ;
19014 PyObject
*swig_obj
[1] ;
19016 if (!args
) SWIG_fail
;
19017 swig_obj
[0] = args
;
19018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19019 if (!SWIG_IsOK(res1
)) {
19020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19022 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 result
= (arg1
)->GetInitialFont();
19026 wxPyEndAllowThreads(__tstate
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19036 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19037 PyObject
*resultobj
= 0;
19038 wxFontData
*arg1
= (wxFontData
*) 0 ;
19042 PyObject
*swig_obj
[1] ;
19044 if (!args
) SWIG_fail
;
19045 swig_obj
[0] = args
;
19046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19047 if (!SWIG_IsOK(res1
)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19050 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (bool)(arg1
)->GetShowHelp();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19066 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
= 0;
19068 wxFontData
*arg1
= (wxFontData
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char * kwnames
[] = {
19077 (char *) "self",(char *) "allowSymbols", NULL
19080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19082 if (!SWIG_IsOK(res1
)) {
19083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19085 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19086 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19087 if (!SWIG_IsOK(ecode2
)) {
19088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19090 arg2
= static_cast< bool >(val2
);
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 (arg1
)->SetAllowSymbols(arg2
);
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= SWIG_Py_Void();
19104 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
= 0;
19106 wxFontData
*arg1
= (wxFontData
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char * kwnames
[] = {
19115 (char *) "self",(char *) "font", NULL
19118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19120 if (!SWIG_IsOK(res1
)) {
19121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19123 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19124 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19125 if (!SWIG_IsOK(res2
)) {
19126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19131 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19134 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19135 wxPyEndAllowThreads(__tstate
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= SWIG_Py_Void();
19145 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
= 0;
19147 wxFontData
*arg1
= (wxFontData
*) 0 ;
19148 wxColour
*arg2
= 0 ;
19152 PyObject
* obj0
= 0 ;
19153 PyObject
* obj1
= 0 ;
19154 char * kwnames
[] = {
19155 (char *) "self",(char *) "colour", NULL
19158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19160 if (!SWIG_IsOK(res1
)) {
19161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19163 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19166 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 (arg1
)->SetColour((wxColour
const &)*arg2
);
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 resultobj
= SWIG_Py_Void();
19181 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
= 0;
19183 wxFontData
*arg1
= (wxFontData
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 PyObject
* obj1
= 0 ;
19191 char * kwnames
[] = {
19192 (char *) "self",(char *) "font", NULL
19195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19197 if (!SWIG_IsOK(res1
)) {
19198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19200 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19202 if (!SWIG_IsOK(res2
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19208 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 resultobj
= SWIG_Py_Void();
19222 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
= 0;
19224 wxFontData
*arg1
= (wxFontData
*) 0 ;
19233 PyObject
* obj0
= 0 ;
19234 PyObject
* obj1
= 0 ;
19235 PyObject
* obj2
= 0 ;
19236 char * kwnames
[] = {
19237 (char *) "self",(char *) "min",(char *) "max", NULL
19240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19242 if (!SWIG_IsOK(res1
)) {
19243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19245 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19247 if (!SWIG_IsOK(ecode2
)) {
19248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19250 arg2
= static_cast< int >(val2
);
19251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19252 if (!SWIG_IsOK(ecode3
)) {
19253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19255 arg3
= static_cast< int >(val3
);
19257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 (arg1
)->SetRange(arg2
,arg3
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 resultobj
= SWIG_Py_Void();
19269 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
= 0;
19271 wxFontData
*arg1
= (wxFontData
*) 0 ;
19277 PyObject
* obj0
= 0 ;
19278 PyObject
* obj1
= 0 ;
19279 char * kwnames
[] = {
19280 (char *) "self",(char *) "showHelp", NULL
19283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19285 if (!SWIG_IsOK(res1
)) {
19286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19288 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19289 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19290 if (!SWIG_IsOK(ecode2
)) {
19291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19293 arg2
= static_cast< bool >(val2
);
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 (arg1
)->SetShowHelp(arg2
);
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= SWIG_Py_Void();
19307 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19310 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19311 return SWIG_Py_Void();
19314 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19315 return SWIG_Python_InitShadowInstance(args
);
19318 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
= 0;
19320 wxWindow
*arg1
= (wxWindow
*) 0 ;
19321 wxFontData
*arg2
= 0 ;
19322 wxFontDialog
*result
= 0 ;
19327 PyObject
* obj0
= 0 ;
19328 PyObject
* obj1
= 0 ;
19329 char * kwnames
[] = {
19330 (char *) "parent",(char *) "data", NULL
19333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19335 if (!SWIG_IsOK(res1
)) {
19336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19340 if (!SWIG_IsOK(res2
)) {
19341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19346 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19348 if (!wxPyCheckForApp()) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19361 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19362 PyObject
*resultobj
= 0;
19363 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19364 wxFontData
*result
= 0 ;
19367 PyObject
*swig_obj
[1] ;
19369 if (!args
) SWIG_fail
;
19370 swig_obj
[0] = args
;
19371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19372 if (!SWIG_IsOK(res1
)) {
19373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19375 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19380 result
= (wxFontData
*) &_result_ref
;
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19392 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19395 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19396 return SWIG_Py_Void();
19399 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19400 return SWIG_Python_InitShadowInstance(args
);
19403 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
= 0;
19405 wxWindow
*arg1
= (wxWindow
*) NULL
;
19406 wxFont
const &arg2_defvalue
= wxNullFont
;
19407 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19408 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19415 bool temp3
= false ;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 PyObject
* obj2
= 0 ;
19419 char * kwnames
[] = {
19420 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19426 if (!SWIG_IsOK(res1
)) {
19427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19429 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19432 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19433 if (!SWIG_IsOK(res2
)) {
19434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19439 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19443 arg3
= wxString_in_helper(obj2
);
19444 if (arg3
== NULL
) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19469 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19470 PyObject
*resultobj
= 0;
19471 wxWindow
*arg1
= (wxWindow
*) 0 ;
19472 wxString
*arg2
= 0 ;
19473 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19474 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19475 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19476 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19477 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19478 wxMessageDialog
*result
= 0 ;
19481 bool temp2
= false ;
19482 bool temp3
= false ;
19486 PyObject
* obj0
= 0 ;
19487 PyObject
* obj1
= 0 ;
19488 PyObject
* obj2
= 0 ;
19489 PyObject
* obj3
= 0 ;
19490 PyObject
* obj4
= 0 ;
19491 char * kwnames
[] = {
19492 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19497 if (!SWIG_IsOK(res1
)) {
19498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19502 arg2
= wxString_in_helper(obj1
);
19503 if (arg2
== NULL
) SWIG_fail
;
19508 arg3
= wxString_in_helper(obj2
);
19509 if (arg3
== NULL
) SWIG_fail
;
19514 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19515 if (!SWIG_IsOK(ecode4
)) {
19516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19518 arg4
= static_cast< long >(val4
);
19523 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19527 if (!wxPyCheckForApp()) SWIG_fail
;
19528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19529 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19530 wxPyEndAllowThreads(__tstate
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19556 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19559 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19560 return SWIG_Py_Void();
19563 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19564 return SWIG_Python_InitShadowInstance(args
);
19567 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
= 0;
19569 wxString
*arg1
= 0 ;
19570 wxString
*arg2
= 0 ;
19571 int arg3
= (int) 100 ;
19572 wxWindow
*arg4
= (wxWindow
*) NULL
;
19573 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19574 wxProgressDialog
*result
= 0 ;
19575 bool temp1
= false ;
19576 bool temp2
= false ;
19583 PyObject
* obj0
= 0 ;
19584 PyObject
* obj1
= 0 ;
19585 PyObject
* obj2
= 0 ;
19586 PyObject
* obj3
= 0 ;
19587 PyObject
* obj4
= 0 ;
19588 char * kwnames
[] = {
19589 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19594 arg1
= wxString_in_helper(obj0
);
19595 if (arg1
== NULL
) SWIG_fail
;
19599 arg2
= wxString_in_helper(obj1
);
19600 if (arg2
== NULL
) SWIG_fail
;
19604 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19605 if (!SWIG_IsOK(ecode3
)) {
19606 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19608 arg3
= static_cast< int >(val3
);
19611 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19612 if (!SWIG_IsOK(res4
)) {
19613 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19615 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19618 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19619 if (!SWIG_IsOK(ecode5
)) {
19620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19622 arg5
= static_cast< int >(val5
);
19625 if (!wxPyCheckForApp()) SWIG_fail
;
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19654 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
= 0;
19656 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19658 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19659 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19660 bool *arg4
= (bool *) 0 ;
19666 bool temp3
= false ;
19668 int res4
= SWIG_TMPOBJ
;
19669 PyObject
* obj0
= 0 ;
19670 PyObject
* obj1
= 0 ;
19671 PyObject
* obj2
= 0 ;
19672 char * kwnames
[] = {
19673 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19679 if (!SWIG_IsOK(res1
)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19682 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19684 if (!SWIG_IsOK(ecode2
)) {
19685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19687 arg2
= static_cast< int >(val2
);
19690 arg3
= wxString_in_helper(obj2
);
19691 if (arg3
== NULL
) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19704 if (SWIG_IsTmpObj(res4
)) {
19705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19707 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19724 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19725 PyObject
*resultobj
= 0;
19726 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19729 PyObject
*swig_obj
[1] ;
19731 if (!args
) SWIG_fail
;
19732 swig_obj
[0] = args
;
19733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19734 if (!SWIG_IsOK(res1
)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19737 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= SWIG_Py_Void();
19751 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19754 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19755 return SWIG_Py_Void();
19758 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19759 return SWIG_Python_InitShadowInstance(args
);
19762 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19763 PyObject
*resultobj
= 0;
19764 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19765 int arg2
= (int) 0 ;
19766 wxFindDialogEvent
*result
= 0 ;
19771 PyObject
* obj0
= 0 ;
19772 PyObject
* obj1
= 0 ;
19773 char * kwnames
[] = {
19774 (char *) "commandType",(char *) "id", NULL
19777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19779 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19780 if (!SWIG_IsOK(ecode1
)) {
19781 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19783 arg1
= static_cast< wxEventType
>(val1
);
19786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19787 if (!SWIG_IsOK(ecode2
)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19790 arg2
= static_cast< int >(val2
);
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19805 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19806 PyObject
*resultobj
= 0;
19807 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19811 PyObject
*swig_obj
[1] ;
19813 if (!args
) SWIG_fail
;
19814 swig_obj
[0] = args
;
19815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19816 if (!SWIG_IsOK(res1
)) {
19817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19819 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (int)(arg1
)->GetFlags();
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= SWIG_From_int(static_cast< int >(result
));
19833 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19834 PyObject
*resultobj
= 0;
19835 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19836 wxString
*result
= 0 ;
19839 PyObject
*swig_obj
[1] ;
19841 if (!args
) SWIG_fail
;
19842 swig_obj
[0] = args
;
19843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19844 if (!SWIG_IsOK(res1
)) {
19845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19847 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 wxString
const &_result_ref
= (arg1
)->GetFindString();
19852 result
= (wxString
*) &_result_ref
;
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19859 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19861 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19870 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19871 PyObject
*resultobj
= 0;
19872 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19873 wxString
*result
= 0 ;
19876 PyObject
*swig_obj
[1] ;
19878 if (!args
) SWIG_fail
;
19879 swig_obj
[0] = args
;
19880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19881 if (!SWIG_IsOK(res1
)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19884 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19889 result
= (wxString
*) &_result_ref
;
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19898 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19907 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19908 PyObject
*resultobj
= 0;
19909 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19910 wxFindReplaceDialog
*result
= 0 ;
19913 PyObject
*swig_obj
[1] ;
19915 if (!args
) SWIG_fail
;
19916 swig_obj
[0] = args
;
19917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19918 if (!SWIG_IsOK(res1
)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19921 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19935 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
= 0;
19937 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 char * kwnames
[] = {
19946 (char *) "self",(char *) "flags", NULL
19949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19951 if (!SWIG_IsOK(res1
)) {
19952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19954 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19956 if (!SWIG_IsOK(ecode2
)) {
19957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19959 arg2
= static_cast< int >(val2
);
19961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19962 (arg1
)->SetFlags(arg2
);
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= SWIG_Py_Void();
19973 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
= 0;
19975 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19976 wxString
*arg2
= 0 ;
19979 bool temp2
= false ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char * kwnames
[] = {
19983 (char *) "self",(char *) "str", NULL
19986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19988 if (!SWIG_IsOK(res1
)) {
19989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19991 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19993 arg2
= wxString_in_helper(obj1
);
19994 if (arg2
== NULL
) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 (arg1
)->SetFindString((wxString
const &)*arg2
);
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 resultobj
= SWIG_Py_Void();
20018 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
= 0;
20020 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20021 wxString
*arg2
= 0 ;
20024 bool temp2
= false ;
20025 PyObject
* obj0
= 0 ;
20026 PyObject
* obj1
= 0 ;
20027 char * kwnames
[] = {
20028 (char *) "self",(char *) "str", NULL
20031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20033 if (!SWIG_IsOK(res1
)) {
20034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20036 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20038 arg2
= wxString_in_helper(obj1
);
20039 if (arg2
== NULL
) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= SWIG_Py_Void();
20063 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20066 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20067 return SWIG_Py_Void();
20070 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20071 return SWIG_Python_InitShadowInstance(args
);
20074 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
= 0;
20076 int arg1
= (int) 0 ;
20077 wxFindReplaceData
*result
= 0 ;
20080 PyObject
* obj0
= 0 ;
20081 char * kwnames
[] = {
20082 (char *) "flags", NULL
20085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20088 if (!SWIG_IsOK(ecode1
)) {
20089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20091 arg1
= static_cast< int >(val1
);
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20106 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20107 PyObject
*resultobj
= 0;
20108 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20111 PyObject
*swig_obj
[1] ;
20113 if (!args
) SWIG_fail
;
20114 swig_obj
[0] = args
;
20115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20116 if (!SWIG_IsOK(res1
)) {
20117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20119 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= SWIG_Py_Void();
20134 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20135 PyObject
*resultobj
= 0;
20136 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20137 wxString
*result
= 0 ;
20140 PyObject
*swig_obj
[1] ;
20142 if (!args
) SWIG_fail
;
20143 swig_obj
[0] = args
;
20144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20145 if (!SWIG_IsOK(res1
)) {
20146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20148 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 wxString
const &_result_ref
= (arg1
)->GetFindString();
20153 result
= (wxString
*) &_result_ref
;
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20162 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20171 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20172 PyObject
*resultobj
= 0;
20173 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20174 wxString
*result
= 0 ;
20177 PyObject
*swig_obj
[1] ;
20179 if (!args
) SWIG_fail
;
20180 swig_obj
[0] = args
;
20181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20182 if (!SWIG_IsOK(res1
)) {
20183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20185 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20190 result
= (wxString
*) &_result_ref
;
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20197 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20199 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20208 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20209 PyObject
*resultobj
= 0;
20210 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20214 PyObject
*swig_obj
[1] ;
20216 if (!args
) SWIG_fail
;
20217 swig_obj
[0] = args
;
20218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20219 if (!SWIG_IsOK(res1
)) {
20220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20222 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 result
= (int)(arg1
)->GetFlags();
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20229 resultobj
= SWIG_From_int(static_cast< int >(result
));
20236 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
= 0;
20238 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 char * kwnames
[] = {
20247 (char *) "self",(char *) "flags", NULL
20250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20252 if (!SWIG_IsOK(res1
)) {
20253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20255 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20257 if (!SWIG_IsOK(ecode2
)) {
20258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20260 arg2
= static_cast< int >(val2
);
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 (arg1
)->SetFlags(arg2
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= SWIG_Py_Void();
20274 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
= 0;
20276 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20277 wxString
*arg2
= 0 ;
20280 bool temp2
= false ;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 char * kwnames
[] = {
20284 (char *) "self",(char *) "str", NULL
20287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20289 if (!SWIG_IsOK(res1
)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20292 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20294 arg2
= wxString_in_helper(obj1
);
20295 if (arg2
== NULL
) SWIG_fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 (arg1
)->SetFindString((wxString
const &)*arg2
);
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_Py_Void();
20319 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
= 0;
20321 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20322 wxString
*arg2
= 0 ;
20325 bool temp2
= false ;
20326 PyObject
* obj0
= 0 ;
20327 PyObject
* obj1
= 0 ;
20328 char * kwnames
[] = {
20329 (char *) "self",(char *) "str", NULL
20332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20334 if (!SWIG_IsOK(res1
)) {
20335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20337 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20339 arg2
= wxString_in_helper(obj1
);
20340 if (arg2
== NULL
) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 resultobj
= SWIG_Py_Void();
20364 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20367 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20368 return SWIG_Py_Void();
20371 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20372 return SWIG_Python_InitShadowInstance(args
);
20375 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
= 0;
20377 wxWindow
*arg1
= (wxWindow
*) 0 ;
20378 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20379 wxString
*arg3
= 0 ;
20380 int arg4
= (int) 0 ;
20381 wxFindReplaceDialog
*result
= 0 ;
20386 bool temp3
= false ;
20389 PyObject
* obj0
= 0 ;
20390 PyObject
* obj1
= 0 ;
20391 PyObject
* obj2
= 0 ;
20392 PyObject
* obj3
= 0 ;
20393 char * kwnames
[] = {
20394 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20399 if (!SWIG_IsOK(res1
)) {
20400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20402 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20404 if (!SWIG_IsOK(res2
)) {
20405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20407 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20409 arg3
= wxString_in_helper(obj2
);
20410 if (arg3
== NULL
) SWIG_fail
;
20414 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20415 if (!SWIG_IsOK(ecode4
)) {
20416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20418 arg4
= static_cast< int >(val4
);
20421 if (!wxPyCheckForApp()) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20442 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20443 PyObject
*resultobj
= 0;
20444 wxFindReplaceDialog
*result
= 0 ;
20446 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20448 if (!wxPyCheckForApp()) SWIG_fail
;
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20461 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20462 PyObject
*resultobj
= 0;
20463 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20464 wxWindow
*arg2
= (wxWindow
*) 0 ;
20465 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20466 wxString
*arg4
= 0 ;
20467 int arg5
= (int) 0 ;
20475 bool temp4
= false ;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20480 PyObject
* obj2
= 0 ;
20481 PyObject
* obj3
= 0 ;
20482 PyObject
* obj4
= 0 ;
20483 char * kwnames
[] = {
20484 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20489 if (!SWIG_IsOK(res1
)) {
20490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20492 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20493 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20494 if (!SWIG_IsOK(res2
)) {
20495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20497 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20498 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20499 if (!SWIG_IsOK(res3
)) {
20500 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20502 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20504 arg4
= wxString_in_helper(obj3
);
20505 if (arg4
== NULL
) SWIG_fail
;
20509 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20510 if (!SWIG_IsOK(ecode5
)) {
20511 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20513 arg5
= static_cast< int >(val5
);
20516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20517 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20538 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20539 PyObject
*resultobj
= 0;
20540 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20541 wxFindReplaceData
*result
= 0 ;
20544 PyObject
*swig_obj
[1] ;
20546 if (!args
) SWIG_fail
;
20547 swig_obj
[0] = args
;
20548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20549 if (!SWIG_IsOK(res1
)) {
20550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20552 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20566 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
= 0;
20568 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20569 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20576 char * kwnames
[] = {
20577 (char *) "self",(char *) "data", NULL
20580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20582 if (!SWIG_IsOK(res1
)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20585 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20587 if (!SWIG_IsOK(res2
)) {
20588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20590 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 (arg1
)->SetData(arg2
);
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20597 resultobj
= SWIG_Py_Void();
20604 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20607 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20608 return SWIG_Py_Void();
20611 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20612 return SWIG_Python_InitShadowInstance(args
);
20615 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
= 0;
20617 wxWindow
*arg1
= (wxWindow
*) 0 ;
20618 int arg2
= (int) (int)-1 ;
20619 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20620 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20621 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20622 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20623 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20624 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20625 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20626 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20627 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20628 wxMDIParentFrame
*result
= 0 ;
20633 bool temp3
= false ;
20638 bool temp7
= false ;
20639 PyObject
* obj0
= 0 ;
20640 PyObject
* obj1
= 0 ;
20641 PyObject
* obj2
= 0 ;
20642 PyObject
* obj3
= 0 ;
20643 PyObject
* obj4
= 0 ;
20644 PyObject
* obj5
= 0 ;
20645 PyObject
* obj6
= 0 ;
20646 char * kwnames
[] = {
20647 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20652 if (!SWIG_IsOK(res1
)) {
20653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20655 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20658 if (!SWIG_IsOK(ecode2
)) {
20659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20661 arg2
= static_cast< int >(val2
);
20665 arg3
= wxString_in_helper(obj2
);
20666 if (arg3
== NULL
) SWIG_fail
;
20673 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20679 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20683 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20684 if (!SWIG_IsOK(ecode6
)) {
20685 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20687 arg6
= static_cast< long >(val6
);
20691 arg7
= wxString_in_helper(obj6
);
20692 if (arg7
== NULL
) SWIG_fail
;
20697 if (!wxPyCheckForApp()) SWIG_fail
;
20698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20699 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20700 wxPyEndAllowThreads(__tstate
);
20701 if (PyErr_Occurred()) SWIG_fail
;
20703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20726 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20727 PyObject
*resultobj
= 0;
20728 wxMDIParentFrame
*result
= 0 ;
20730 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20732 if (!wxPyCheckForApp()) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20745 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20746 PyObject
*resultobj
= 0;
20747 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20748 wxWindow
*arg2
= (wxWindow
*) 0 ;
20749 int arg3
= (int) (int)-1 ;
20750 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20751 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20752 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20753 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20754 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20755 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20756 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20757 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20758 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20766 bool temp4
= false ;
20771 bool temp8
= false ;
20772 PyObject
* obj0
= 0 ;
20773 PyObject
* obj1
= 0 ;
20774 PyObject
* obj2
= 0 ;
20775 PyObject
* obj3
= 0 ;
20776 PyObject
* obj4
= 0 ;
20777 PyObject
* obj5
= 0 ;
20778 PyObject
* obj6
= 0 ;
20779 PyObject
* obj7
= 0 ;
20780 char * kwnames
[] = {
20781 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20786 if (!SWIG_IsOK(res1
)) {
20787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20789 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20790 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20791 if (!SWIG_IsOK(res2
)) {
20792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20794 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20797 if (!SWIG_IsOK(ecode3
)) {
20798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20800 arg3
= static_cast< int >(val3
);
20804 arg4
= wxString_in_helper(obj3
);
20805 if (arg4
== NULL
) SWIG_fail
;
20812 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20818 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20822 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20823 if (!SWIG_IsOK(ecode7
)) {
20824 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20826 arg7
= static_cast< long >(val7
);
20830 arg8
= wxString_in_helper(obj7
);
20831 if (arg8
== NULL
) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20866 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20867 PyObject
*resultobj
= 0;
20868 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20871 PyObject
*swig_obj
[1] ;
20873 if (!args
) SWIG_fail
;
20874 swig_obj
[0] = args
;
20875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20876 if (!SWIG_IsOK(res1
)) {
20877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20879 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 (arg1
)->ActivateNext();
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= SWIG_Py_Void();
20893 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20894 PyObject
*resultobj
= 0;
20895 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20898 PyObject
*swig_obj
[1] ;
20900 if (!args
) SWIG_fail
;
20901 swig_obj
[0] = args
;
20902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20903 if (!SWIG_IsOK(res1
)) {
20904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20906 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 (arg1
)->ActivatePrevious();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_Py_Void();
20920 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20921 PyObject
*resultobj
= 0;
20922 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20925 PyObject
*swig_obj
[1] ;
20927 if (!args
) SWIG_fail
;
20928 swig_obj
[0] = args
;
20929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20930 if (!SWIG_IsOK(res1
)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20933 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 (arg1
)->ArrangeIcons();
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 resultobj
= SWIG_Py_Void();
20947 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20948 PyObject
*resultobj
= 0;
20949 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20952 PyObject
*swig_obj
[1] ;
20954 if (!args
) SWIG_fail
;
20955 swig_obj
[0] = args
;
20956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20957 if (!SWIG_IsOK(res1
)) {
20958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20960 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 wxPyEndAllowThreads(__tstate
);
20965 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= SWIG_Py_Void();
20974 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20975 PyObject
*resultobj
= 0;
20976 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20977 wxMDIChildFrame
*result
= 0 ;
20980 PyObject
*swig_obj
[1] ;
20982 if (!args
) SWIG_fail
;
20983 swig_obj
[0] = args
;
20984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20985 if (!SWIG_IsOK(res1
)) {
20986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20988 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21004 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21005 PyObject
*resultobj
= 0;
21006 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21007 wxMDIClientWindow
*result
= 0 ;
21010 PyObject
*swig_obj
[1] ;
21012 if (!args
) SWIG_fail
;
21013 swig_obj
[0] = args
;
21014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21015 if (!SWIG_IsOK(res1
)) {
21016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21018 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21034 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21035 PyObject
*resultobj
= 0;
21036 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21037 wxWindow
*result
= 0 ;
21040 PyObject
*swig_obj
[1] ;
21042 if (!args
) SWIG_fail
;
21043 swig_obj
[0] = args
;
21044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21045 if (!SWIG_IsOK(res1
)) {
21046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21048 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 result
= (wxWindow
*)(arg1
)->GetToolBar();
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= wxPyMake_wxObject(result
, 0);
21064 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21065 PyObject
*resultobj
= 0;
21066 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21067 wxMenu
*result
= 0 ;
21070 PyObject
*swig_obj
[1] ;
21072 if (!args
) SWIG_fail
;
21073 swig_obj
[0] = args
;
21074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21075 if (!SWIG_IsOK(res1
)) {
21076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21078 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21081 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= wxPyMake_wxObject(result
, 0);
21094 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
= 0;
21096 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21097 wxMenu
*arg2
= (wxMenu
*) 0 ;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 char * kwnames
[] = {
21105 (char *) "self",(char *) "menu", NULL
21108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21110 if (!SWIG_IsOK(res1
)) {
21111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21113 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21114 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
21115 if (!SWIG_IsOK(res2
)) {
21116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21118 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 (arg1
)->SetWindowMenu(arg2
);
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_Py_Void();
21132 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
= 0;
21134 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21135 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21140 PyObject
* obj0
= 0 ;
21141 PyObject
* obj1
= 0 ;
21142 char * kwnames
[] = {
21143 (char *) "self",(char *) "orient", NULL
21146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21148 if (!SWIG_IsOK(res1
)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21151 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21154 if (!SWIG_IsOK(ecode2
)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21157 arg2
= static_cast< wxOrientation
>(val2
);
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 (arg1
)->Tile(arg2
);
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21165 resultobj
= SWIG_Py_Void();
21172 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21175 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21176 return SWIG_Py_Void();
21179 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21180 return SWIG_Python_InitShadowInstance(args
);
21183 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
= 0;
21185 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21186 int arg2
= (int) (int)-1 ;
21187 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21188 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21189 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21190 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21191 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21192 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21193 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21194 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21195 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21196 wxMDIChildFrame
*result
= 0 ;
21201 bool temp3
= false ;
21206 bool temp7
= false ;
21207 PyObject
* obj0
= 0 ;
21208 PyObject
* obj1
= 0 ;
21209 PyObject
* obj2
= 0 ;
21210 PyObject
* obj3
= 0 ;
21211 PyObject
* obj4
= 0 ;
21212 PyObject
* obj5
= 0 ;
21213 PyObject
* obj6
= 0 ;
21214 char * kwnames
[] = {
21215 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21220 if (!SWIG_IsOK(res1
)) {
21221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21223 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21226 if (!SWIG_IsOK(ecode2
)) {
21227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21229 arg2
= static_cast< int >(val2
);
21233 arg3
= wxString_in_helper(obj2
);
21234 if (arg3
== NULL
) SWIG_fail
;
21241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21251 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21252 if (!SWIG_IsOK(ecode6
)) {
21253 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21255 arg6
= static_cast< long >(val6
);
21259 arg7
= wxString_in_helper(obj6
);
21260 if (arg7
== NULL
) SWIG_fail
;
21265 if (!wxPyCheckForApp()) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21294 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21295 PyObject
*resultobj
= 0;
21296 wxMDIChildFrame
*result
= 0 ;
21298 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21300 if (!wxPyCheckForApp()) SWIG_fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21313 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
= 0;
21315 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21316 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21317 int arg3
= (int) (int)-1 ;
21318 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21319 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21320 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21321 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21322 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21323 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21324 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21325 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21326 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21334 bool temp4
= false ;
21339 bool temp8
= false ;
21340 PyObject
* obj0
= 0 ;
21341 PyObject
* obj1
= 0 ;
21342 PyObject
* obj2
= 0 ;
21343 PyObject
* obj3
= 0 ;
21344 PyObject
* obj4
= 0 ;
21345 PyObject
* obj5
= 0 ;
21346 PyObject
* obj6
= 0 ;
21347 PyObject
* obj7
= 0 ;
21348 char * kwnames
[] = {
21349 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21354 if (!SWIG_IsOK(res1
)) {
21355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21357 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21359 if (!SWIG_IsOK(res2
)) {
21360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21362 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21365 if (!SWIG_IsOK(ecode3
)) {
21366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21368 arg3
= static_cast< int >(val3
);
21372 arg4
= wxString_in_helper(obj3
);
21373 if (arg4
== NULL
) SWIG_fail
;
21380 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21386 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21390 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21391 if (!SWIG_IsOK(ecode7
)) {
21392 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21394 arg7
= static_cast< long >(val7
);
21398 arg8
= wxString_in_helper(obj7
);
21399 if (arg8
== NULL
) SWIG_fail
;
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21434 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21435 PyObject
*resultobj
= 0;
21436 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21439 PyObject
*swig_obj
[1] ;
21441 if (!args
) SWIG_fail
;
21442 swig_obj
[0] = args
;
21443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21444 if (!SWIG_IsOK(res1
)) {
21445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21447 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 (arg1
)->Activate();
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 resultobj
= SWIG_Py_Void();
21461 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21464 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21465 return SWIG_Py_Void();
21468 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21469 return SWIG_Python_InitShadowInstance(args
);
21472 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
= 0;
21474 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21475 long arg2
= (long) 0 ;
21476 wxMDIClientWindow
*result
= 0 ;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 char * kwnames
[] = {
21484 (char *) "parent",(char *) "style", NULL
21487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21492 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21494 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21495 if (!SWIG_IsOK(ecode2
)) {
21496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21498 arg2
= static_cast< long >(val2
);
21501 if (!wxPyCheckForApp()) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21514 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21515 PyObject
*resultobj
= 0;
21516 wxMDIClientWindow
*result
= 0 ;
21518 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21520 if (!wxPyCheckForApp()) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21533 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
= 0;
21535 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21536 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21537 long arg3
= (long) 0 ;
21545 PyObject
* obj0
= 0 ;
21546 PyObject
* obj1
= 0 ;
21547 PyObject
* obj2
= 0 ;
21548 char * kwnames
[] = {
21549 (char *) "self",(char *) "parent",(char *) "style", NULL
21552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21554 if (!SWIG_IsOK(res1
)) {
21555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21557 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21558 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21559 if (!SWIG_IsOK(res2
)) {
21560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21562 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21564 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21565 if (!SWIG_IsOK(ecode3
)) {
21566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21568 arg3
= static_cast< long >(val3
);
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21585 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21587 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21588 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21589 return SWIG_Py_Void();
21592 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21593 return SWIG_Python_InitShadowInstance(args
);
21596 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
= 0;
21598 wxWindow
*arg1
= (wxWindow
*) 0 ;
21599 int arg2
= (int) (int)-1 ;
21600 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21601 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21602 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21603 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21604 long arg5
= (long) 0 ;
21605 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21606 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21607 wxPyWindow
*result
= 0 ;
21616 bool temp6
= false ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 PyObject
* obj2
= 0 ;
21620 PyObject
* obj3
= 0 ;
21621 PyObject
* obj4
= 0 ;
21622 PyObject
* obj5
= 0 ;
21623 char * kwnames
[] = {
21624 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21629 if (!SWIG_IsOK(res1
)) {
21630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21632 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21635 if (!SWIG_IsOK(ecode2
)) {
21636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21638 arg2
= static_cast< int >(val2
);
21643 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21649 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21653 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21654 if (!SWIG_IsOK(ecode5
)) {
21655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21657 arg5
= static_cast< long >(val5
);
21661 arg6
= wxString_in_helper(obj5
);
21662 if (arg6
== NULL
) SWIG_fail
;
21667 if (!wxPyCheckForApp()) SWIG_fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21688 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21689 PyObject
*resultobj
= 0;
21690 wxPyWindow
*result
= 0 ;
21692 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21694 if (!wxPyCheckForApp()) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (wxPyWindow
*)new wxPyWindow();
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21707 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
= 0;
21709 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21710 PyObject
*arg2
= (PyObject
*) 0 ;
21711 PyObject
*arg3
= (PyObject
*) 0 ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 PyObject
* obj2
= 0 ;
21717 char * kwnames
[] = {
21718 (char *) "self",(char *) "self",(char *) "_class", NULL
21721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21723 if (!SWIG_IsOK(res1
)) {
21724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21726 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= SWIG_Py_Void();
21742 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
= 0;
21744 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21749 PyObject
* obj0
= 0 ;
21750 PyObject
* obj1
= 0 ;
21751 char * kwnames
[] = {
21752 (char *) "self",(char *) "size", NULL
21755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21757 if (!SWIG_IsOK(res1
)) {
21758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21760 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21763 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= SWIG_Py_Void();
21778 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
= 0;
21780 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21781 wxDC
*arg2
= (wxDC
*) 0 ;
21787 PyObject
* obj0
= 0 ;
21788 PyObject
* obj1
= 0 ;
21789 char * kwnames
[] = {
21790 (char *) "self",(char *) "dc", NULL
21793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21795 if (!SWIG_IsOK(res1
)) {
21796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21798 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21799 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21800 if (!SWIG_IsOK(res2
)) {
21801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21803 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21819 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
= 0;
21821 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 PyObject
* obj1
= 0 ;
21838 PyObject
* obj2
= 0 ;
21839 PyObject
* obj3
= 0 ;
21840 PyObject
* obj4
= 0 ;
21841 char * kwnames
[] = {
21842 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21847 if (!SWIG_IsOK(res1
)) {
21848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21850 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21852 if (!SWIG_IsOK(ecode2
)) {
21853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21855 arg2
= static_cast< int >(val2
);
21856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21857 if (!SWIG_IsOK(ecode3
)) {
21858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21860 arg3
= static_cast< int >(val3
);
21861 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21862 if (!SWIG_IsOK(ecode4
)) {
21863 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21865 arg4
= static_cast< int >(val4
);
21866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21867 if (!SWIG_IsOK(ecode5
)) {
21868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21870 arg5
= static_cast< int >(val5
);
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= SWIG_Py_Void();
21884 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
= 0;
21886 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21891 int arg6
= (int) wxSIZE_AUTO
;
21904 PyObject
* obj0
= 0 ;
21905 PyObject
* obj1
= 0 ;
21906 PyObject
* obj2
= 0 ;
21907 PyObject
* obj3
= 0 ;
21908 PyObject
* obj4
= 0 ;
21909 PyObject
* obj5
= 0 ;
21910 char * kwnames
[] = {
21911 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21916 if (!SWIG_IsOK(res1
)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21919 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21921 if (!SWIG_IsOK(ecode2
)) {
21922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21924 arg2
= static_cast< int >(val2
);
21925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21926 if (!SWIG_IsOK(ecode3
)) {
21927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21929 arg3
= static_cast< int >(val3
);
21930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21931 if (!SWIG_IsOK(ecode4
)) {
21932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21934 arg4
= static_cast< int >(val4
);
21935 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21936 if (!SWIG_IsOK(ecode5
)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21939 arg5
= static_cast< int >(val5
);
21941 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21942 if (!SWIG_IsOK(ecode6
)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21945 arg6
= static_cast< int >(val6
);
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= SWIG_Py_Void();
21960 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
= 0;
21962 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21971 PyObject
* obj0
= 0 ;
21972 PyObject
* obj1
= 0 ;
21973 PyObject
* obj2
= 0 ;
21974 char * kwnames
[] = {
21975 (char *) "self",(char *) "width",(char *) "height", NULL
21978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21980 if (!SWIG_IsOK(res1
)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21983 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21985 if (!SWIG_IsOK(ecode2
)) {
21986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21988 arg2
= static_cast< int >(val2
);
21989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21990 if (!SWIG_IsOK(ecode3
)) {
21991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21993 arg3
= static_cast< int >(val3
);
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 (arg1
)->DoSetClientSize(arg2
,arg3
);
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 resultobj
= SWIG_Py_Void();
22007 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
= 0;
22009 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22018 PyObject
* obj0
= 0 ;
22019 PyObject
* obj1
= 0 ;
22020 PyObject
* obj2
= 0 ;
22021 char * kwnames
[] = {
22022 (char *) "self",(char *) "x",(char *) "y", NULL
22025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22027 if (!SWIG_IsOK(res1
)) {
22028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22030 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22032 if (!SWIG_IsOK(ecode2
)) {
22033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22035 arg2
= static_cast< int >(val2
);
22036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22037 if (!SWIG_IsOK(ecode3
)) {
22038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22040 arg3
= static_cast< int >(val3
);
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= SWIG_Py_Void();
22054 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22055 PyObject
*resultobj
= 0;
22056 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22057 int *arg2
= (int *) 0 ;
22058 int *arg3
= (int *) 0 ;
22062 int res2
= SWIG_TMPOBJ
;
22064 int res3
= SWIG_TMPOBJ
;
22065 PyObject
*swig_obj
[1] ;
22069 if (!args
) SWIG_fail
;
22070 swig_obj
[0] = args
;
22071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22072 if (!SWIG_IsOK(res1
)) {
22073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22075 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= SWIG_Py_Void();
22083 if (SWIG_IsTmpObj(res2
)) {
22084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22086 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22089 if (SWIG_IsTmpObj(res3
)) {
22090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22092 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22101 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22102 PyObject
*resultobj
= 0;
22103 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22104 int *arg2
= (int *) 0 ;
22105 int *arg3
= (int *) 0 ;
22109 int res2
= SWIG_TMPOBJ
;
22111 int res3
= SWIG_TMPOBJ
;
22112 PyObject
*swig_obj
[1] ;
22116 if (!args
) SWIG_fail
;
22117 swig_obj
[0] = args
;
22118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22119 if (!SWIG_IsOK(res1
)) {
22120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22122 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_Py_Void();
22130 if (SWIG_IsTmpObj(res2
)) {
22131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22133 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22136 if (SWIG_IsTmpObj(res3
)) {
22137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22139 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22148 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22149 PyObject
*resultobj
= 0;
22150 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22151 int *arg2
= (int *) 0 ;
22152 int *arg3
= (int *) 0 ;
22156 int res2
= SWIG_TMPOBJ
;
22158 int res3
= SWIG_TMPOBJ
;
22159 PyObject
*swig_obj
[1] ;
22163 if (!args
) SWIG_fail
;
22164 swig_obj
[0] = args
;
22165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22166 if (!SWIG_IsOK(res1
)) {
22167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22169 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= SWIG_Py_Void();
22177 if (SWIG_IsTmpObj(res2
)) {
22178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22180 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22181 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22183 if (SWIG_IsTmpObj(res3
)) {
22184 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22186 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22187 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22195 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22196 PyObject
*resultobj
= 0;
22197 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22201 PyObject
*swig_obj
[1] ;
22203 if (!args
) SWIG_fail
;
22204 swig_obj
[0] = args
;
22205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22206 if (!SWIG_IsOK(res1
)) {
22207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22209 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22216 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22223 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22224 PyObject
*resultobj
= 0;
22225 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22229 PyObject
*swig_obj
[1] ;
22231 if (!args
) SWIG_fail
;
22232 swig_obj
[0] = args
;
22233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22234 if (!SWIG_IsOK(res1
)) {
22235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22237 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22251 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22252 PyObject
*resultobj
= 0;
22253 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22254 SwigValueWrapper
<wxVisualAttributes
> result
;
22257 PyObject
*swig_obj
[1] ;
22259 if (!args
) SWIG_fail
;
22260 swig_obj
[0] = args
;
22261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22262 if (!SWIG_IsOK(res1
)) {
22263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22265 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 result
= (arg1
)->GetDefaultAttributes();
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22279 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22280 PyObject
*resultobj
= 0;
22281 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22284 PyObject
*swig_obj
[1] ;
22286 if (!args
) SWIG_fail
;
22287 swig_obj
[0] = args
;
22288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22289 if (!SWIG_IsOK(res1
)) {
22290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22292 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22295 (arg1
)->OnInternalIdle();
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= SWIG_Py_Void();
22306 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22309 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22310 return SWIG_Py_Void();
22313 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22314 return SWIG_Python_InitShadowInstance(args
);
22317 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22318 PyObject
*resultobj
= 0;
22319 wxWindow
*arg1
= (wxWindow
*) 0 ;
22320 int arg2
= (int) (int)-1 ;
22321 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22322 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22323 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22324 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22325 long arg5
= (long) 0 ;
22326 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22327 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22328 wxPyPanel
*result
= 0 ;
22337 bool temp6
= false ;
22338 PyObject
* obj0
= 0 ;
22339 PyObject
* obj1
= 0 ;
22340 PyObject
* obj2
= 0 ;
22341 PyObject
* obj3
= 0 ;
22342 PyObject
* obj4
= 0 ;
22343 PyObject
* obj5
= 0 ;
22344 char * kwnames
[] = {
22345 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22350 if (!SWIG_IsOK(res1
)) {
22351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22353 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22356 if (!SWIG_IsOK(ecode2
)) {
22357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22359 arg2
= static_cast< int >(val2
);
22364 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22370 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22374 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22375 if (!SWIG_IsOK(ecode5
)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22378 arg5
= static_cast< long >(val5
);
22382 arg6
= wxString_in_helper(obj5
);
22383 if (arg6
== NULL
) SWIG_fail
;
22388 if (!wxPyCheckForApp()) SWIG_fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22409 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22410 PyObject
*resultobj
= 0;
22411 wxPyPanel
*result
= 0 ;
22413 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22415 if (!wxPyCheckForApp()) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= (wxPyPanel
*)new wxPyPanel();
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22428 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
= 0;
22430 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22431 PyObject
*arg2
= (PyObject
*) 0 ;
22432 PyObject
*arg3
= (PyObject
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 PyObject
* obj2
= 0 ;
22438 char * kwnames
[] = {
22439 (char *) "self",(char *) "self",(char *) "_class", NULL
22442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22444 if (!SWIG_IsOK(res1
)) {
22445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22447 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22452 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= SWIG_Py_Void();
22463 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
= 0;
22465 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22470 PyObject
* obj0
= 0 ;
22471 PyObject
* obj1
= 0 ;
22472 char * kwnames
[] = {
22473 (char *) "self",(char *) "size", NULL
22476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22478 if (!SWIG_IsOK(res1
)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22481 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22484 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 resultobj
= SWIG_Py_Void();
22499 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
= 0;
22501 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22502 wxDC
*arg2
= (wxDC
*) 0 ;
22508 PyObject
* obj0
= 0 ;
22509 PyObject
* obj1
= 0 ;
22510 char * kwnames
[] = {
22511 (char *) "self",(char *) "dc", NULL
22514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22516 if (!SWIG_IsOK(res1
)) {
22517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22519 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22521 if (!SWIG_IsOK(res2
)) {
22522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22524 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22540 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
= 0;
22542 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22557 PyObject
* obj0
= 0 ;
22558 PyObject
* obj1
= 0 ;
22559 PyObject
* obj2
= 0 ;
22560 PyObject
* obj3
= 0 ;
22561 PyObject
* obj4
= 0 ;
22562 char * kwnames
[] = {
22563 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22568 if (!SWIG_IsOK(res1
)) {
22569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22571 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22573 if (!SWIG_IsOK(ecode2
)) {
22574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22576 arg2
= static_cast< int >(val2
);
22577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22578 if (!SWIG_IsOK(ecode3
)) {
22579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22581 arg3
= static_cast< int >(val3
);
22582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22583 if (!SWIG_IsOK(ecode4
)) {
22584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22586 arg4
= static_cast< int >(val4
);
22587 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22588 if (!SWIG_IsOK(ecode5
)) {
22589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22591 arg5
= static_cast< int >(val5
);
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 resultobj
= SWIG_Py_Void();
22605 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
= 0;
22607 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22612 int arg6
= (int) wxSIZE_AUTO
;
22625 PyObject
* obj0
= 0 ;
22626 PyObject
* obj1
= 0 ;
22627 PyObject
* obj2
= 0 ;
22628 PyObject
* obj3
= 0 ;
22629 PyObject
* obj4
= 0 ;
22630 PyObject
* obj5
= 0 ;
22631 char * kwnames
[] = {
22632 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22637 if (!SWIG_IsOK(res1
)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22640 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22642 if (!SWIG_IsOK(ecode2
)) {
22643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22645 arg2
= static_cast< int >(val2
);
22646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22647 if (!SWIG_IsOK(ecode3
)) {
22648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22650 arg3
= static_cast< int >(val3
);
22651 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22652 if (!SWIG_IsOK(ecode4
)) {
22653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22655 arg4
= static_cast< int >(val4
);
22656 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22657 if (!SWIG_IsOK(ecode5
)) {
22658 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22660 arg5
= static_cast< int >(val5
);
22662 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22663 if (!SWIG_IsOK(ecode6
)) {
22664 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22666 arg6
= static_cast< int >(val6
);
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= SWIG_Py_Void();
22681 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
= 0;
22683 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 PyObject
* obj2
= 0 ;
22695 char * kwnames
[] = {
22696 (char *) "self",(char *) "width",(char *) "height", NULL
22699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22701 if (!SWIG_IsOK(res1
)) {
22702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22704 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22706 if (!SWIG_IsOK(ecode2
)) {
22707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22709 arg2
= static_cast< int >(val2
);
22710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22711 if (!SWIG_IsOK(ecode3
)) {
22712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22714 arg3
= static_cast< int >(val3
);
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 (arg1
)->DoSetClientSize(arg2
,arg3
);
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= SWIG_Py_Void();
22728 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
= 0;
22730 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 PyObject
* obj2
= 0 ;
22742 char * kwnames
[] = {
22743 (char *) "self",(char *) "x",(char *) "y", NULL
22746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22748 if (!SWIG_IsOK(res1
)) {
22749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22751 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22753 if (!SWIG_IsOK(ecode2
)) {
22754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22756 arg2
= static_cast< int >(val2
);
22757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22758 if (!SWIG_IsOK(ecode3
)) {
22759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22761 arg3
= static_cast< int >(val3
);
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22768 resultobj
= SWIG_Py_Void();
22775 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22776 PyObject
*resultobj
= 0;
22777 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22778 int *arg2
= (int *) 0 ;
22779 int *arg3
= (int *) 0 ;
22783 int res2
= SWIG_TMPOBJ
;
22785 int res3
= SWIG_TMPOBJ
;
22786 PyObject
*swig_obj
[1] ;
22790 if (!args
) SWIG_fail
;
22791 swig_obj
[0] = args
;
22792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22793 if (!SWIG_IsOK(res1
)) {
22794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22796 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 resultobj
= SWIG_Py_Void();
22804 if (SWIG_IsTmpObj(res2
)) {
22805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22807 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22810 if (SWIG_IsTmpObj(res3
)) {
22811 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22813 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22814 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22822 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22823 PyObject
*resultobj
= 0;
22824 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22825 int *arg2
= (int *) 0 ;
22826 int *arg3
= (int *) 0 ;
22830 int res2
= SWIG_TMPOBJ
;
22832 int res3
= SWIG_TMPOBJ
;
22833 PyObject
*swig_obj
[1] ;
22837 if (!args
) SWIG_fail
;
22838 swig_obj
[0] = args
;
22839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22840 if (!SWIG_IsOK(res1
)) {
22841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22843 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_Py_Void();
22851 if (SWIG_IsTmpObj(res2
)) {
22852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22854 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22857 if (SWIG_IsTmpObj(res3
)) {
22858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22860 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22869 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22870 PyObject
*resultobj
= 0;
22871 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22872 int *arg2
= (int *) 0 ;
22873 int *arg3
= (int *) 0 ;
22877 int res2
= SWIG_TMPOBJ
;
22879 int res3
= SWIG_TMPOBJ
;
22880 PyObject
*swig_obj
[1] ;
22884 if (!args
) SWIG_fail
;
22885 swig_obj
[0] = args
;
22886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22887 if (!SWIG_IsOK(res1
)) {
22888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22890 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= SWIG_Py_Void();
22898 if (SWIG_IsTmpObj(res2
)) {
22899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22901 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22904 if (SWIG_IsTmpObj(res3
)) {
22905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22907 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22916 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22917 PyObject
*resultobj
= 0;
22918 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22922 PyObject
*swig_obj
[1] ;
22924 if (!args
) SWIG_fail
;
22925 swig_obj
[0] = args
;
22926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22927 if (!SWIG_IsOK(res1
)) {
22928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22930 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22944 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22945 PyObject
*resultobj
= 0;
22946 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22950 PyObject
*swig_obj
[1] ;
22952 if (!args
) SWIG_fail
;
22953 swig_obj
[0] = args
;
22954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22955 if (!SWIG_IsOK(res1
)) {
22956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22958 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22972 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22973 PyObject
*resultobj
= 0;
22974 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22975 SwigValueWrapper
<wxVisualAttributes
> result
;
22978 PyObject
*swig_obj
[1] ;
22980 if (!args
) SWIG_fail
;
22981 swig_obj
[0] = args
;
22982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22983 if (!SWIG_IsOK(res1
)) {
22984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22986 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 result
= (arg1
)->GetDefaultAttributes();
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23000 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23001 PyObject
*resultobj
= 0;
23002 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23005 PyObject
*swig_obj
[1] ;
23007 if (!args
) SWIG_fail
;
23008 swig_obj
[0] = args
;
23009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23010 if (!SWIG_IsOK(res1
)) {
23011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23013 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 (arg1
)->OnInternalIdle();
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 resultobj
= SWIG_Py_Void();
23027 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23030 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
23031 return SWIG_Py_Void();
23034 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23035 return SWIG_Python_InitShadowInstance(args
);
23038 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
= 0;
23040 wxWindow
*arg1
= (wxWindow
*) 0 ;
23041 int arg2
= (int) (int)-1 ;
23042 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23043 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23044 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23045 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23046 long arg5
= (long) 0 ;
23047 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23048 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23049 wxPyScrolledWindow
*result
= 0 ;
23058 bool temp6
= false ;
23059 PyObject
* obj0
= 0 ;
23060 PyObject
* obj1
= 0 ;
23061 PyObject
* obj2
= 0 ;
23062 PyObject
* obj3
= 0 ;
23063 PyObject
* obj4
= 0 ;
23064 PyObject
* obj5
= 0 ;
23065 char * kwnames
[] = {
23066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23071 if (!SWIG_IsOK(res1
)) {
23072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23074 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23077 if (!SWIG_IsOK(ecode2
)) {
23078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23080 arg2
= static_cast< int >(val2
);
23085 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23091 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23095 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23096 if (!SWIG_IsOK(ecode5
)) {
23097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23099 arg5
= static_cast< long >(val5
);
23103 arg6
= wxString_in_helper(obj5
);
23104 if (arg6
== NULL
) SWIG_fail
;
23109 if (!wxPyCheckForApp()) SWIG_fail
;
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23130 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23131 PyObject
*resultobj
= 0;
23132 wxPyScrolledWindow
*result
= 0 ;
23134 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23136 if (!wxPyCheckForApp()) SWIG_fail
;
23137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23138 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23149 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
= 0;
23151 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23152 PyObject
*arg2
= (PyObject
*) 0 ;
23153 PyObject
*arg3
= (PyObject
*) 0 ;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 PyObject
* obj2
= 0 ;
23159 char * kwnames
[] = {
23160 (char *) "self",(char *) "self",(char *) "_class", NULL
23163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23165 if (!SWIG_IsOK(res1
)) {
23166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23168 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 resultobj
= SWIG_Py_Void();
23184 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
= 0;
23186 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23191 PyObject
* obj0
= 0 ;
23192 PyObject
* obj1
= 0 ;
23193 char * kwnames
[] = {
23194 (char *) "self",(char *) "size", NULL
23197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23199 if (!SWIG_IsOK(res1
)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23202 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23205 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= SWIG_Py_Void();
23220 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
= 0;
23222 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23223 wxDC
*arg2
= (wxDC
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23231 char * kwnames
[] = {
23232 (char *) "self",(char *) "dc", NULL
23235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23237 if (!SWIG_IsOK(res1
)) {
23238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23240 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23242 if (!SWIG_IsOK(res2
)) {
23243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23245 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23261 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
= 0;
23263 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23278 PyObject
* obj0
= 0 ;
23279 PyObject
* obj1
= 0 ;
23280 PyObject
* obj2
= 0 ;
23281 PyObject
* obj3
= 0 ;
23282 PyObject
* obj4
= 0 ;
23283 char * kwnames
[] = {
23284 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23289 if (!SWIG_IsOK(res1
)) {
23290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23292 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23294 if (!SWIG_IsOK(ecode2
)) {
23295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23297 arg2
= static_cast< int >(val2
);
23298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23299 if (!SWIG_IsOK(ecode3
)) {
23300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23302 arg3
= static_cast< int >(val3
);
23303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23304 if (!SWIG_IsOK(ecode4
)) {
23305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23307 arg4
= static_cast< int >(val4
);
23308 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23309 if (!SWIG_IsOK(ecode5
)) {
23310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23312 arg5
= static_cast< int >(val5
);
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= SWIG_Py_Void();
23326 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
= 0;
23328 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23333 int arg6
= (int) wxSIZE_AUTO
;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 PyObject
* obj2
= 0 ;
23349 PyObject
* obj3
= 0 ;
23350 PyObject
* obj4
= 0 ;
23351 PyObject
* obj5
= 0 ;
23352 char * kwnames
[] = {
23353 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23358 if (!SWIG_IsOK(res1
)) {
23359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23361 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23363 if (!SWIG_IsOK(ecode2
)) {
23364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23366 arg2
= static_cast< int >(val2
);
23367 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23368 if (!SWIG_IsOK(ecode3
)) {
23369 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23371 arg3
= static_cast< int >(val3
);
23372 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23373 if (!SWIG_IsOK(ecode4
)) {
23374 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23376 arg4
= static_cast< int >(val4
);
23377 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23378 if (!SWIG_IsOK(ecode5
)) {
23379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23381 arg5
= static_cast< int >(val5
);
23383 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23384 if (!SWIG_IsOK(ecode6
)) {
23385 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23387 arg6
= static_cast< int >(val6
);
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_Py_Void();
23402 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23403 PyObject
*resultobj
= 0;
23404 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 char * kwnames
[] = {
23417 (char *) "self",(char *) "width",(char *) "height", NULL
23420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23422 if (!SWIG_IsOK(res1
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23425 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23427 if (!SWIG_IsOK(ecode2
)) {
23428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23430 arg2
= static_cast< int >(val2
);
23431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23432 if (!SWIG_IsOK(ecode3
)) {
23433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23435 arg3
= static_cast< int >(val3
);
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 (arg1
)->DoSetClientSize(arg2
,arg3
);
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= SWIG_Py_Void();
23449 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
= 0;
23451 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23460 PyObject
* obj0
= 0 ;
23461 PyObject
* obj1
= 0 ;
23462 PyObject
* obj2
= 0 ;
23463 char * kwnames
[] = {
23464 (char *) "self",(char *) "x",(char *) "y", NULL
23467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23469 if (!SWIG_IsOK(res1
)) {
23470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23472 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23474 if (!SWIG_IsOK(ecode2
)) {
23475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23477 arg2
= static_cast< int >(val2
);
23478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23479 if (!SWIG_IsOK(ecode3
)) {
23480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23482 arg3
= static_cast< int >(val3
);
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= SWIG_Py_Void();
23496 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23497 PyObject
*resultobj
= 0;
23498 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23499 int *arg2
= (int *) 0 ;
23500 int *arg3
= (int *) 0 ;
23504 int res2
= SWIG_TMPOBJ
;
23506 int res3
= SWIG_TMPOBJ
;
23507 PyObject
*swig_obj
[1] ;
23511 if (!args
) SWIG_fail
;
23512 swig_obj
[0] = args
;
23513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23514 if (!SWIG_IsOK(res1
)) {
23515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23517 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23521 wxPyEndAllowThreads(__tstate
);
23522 if (PyErr_Occurred()) SWIG_fail
;
23524 resultobj
= SWIG_Py_Void();
23525 if (SWIG_IsTmpObj(res2
)) {
23526 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23528 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23529 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23531 if (SWIG_IsTmpObj(res3
)) {
23532 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23534 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23535 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23543 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23544 PyObject
*resultobj
= 0;
23545 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23546 int *arg2
= (int *) 0 ;
23547 int *arg3
= (int *) 0 ;
23551 int res2
= SWIG_TMPOBJ
;
23553 int res3
= SWIG_TMPOBJ
;
23554 PyObject
*swig_obj
[1] ;
23558 if (!args
) SWIG_fail
;
23559 swig_obj
[0] = args
;
23560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23561 if (!SWIG_IsOK(res1
)) {
23562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23564 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= SWIG_Py_Void();
23572 if (SWIG_IsTmpObj(res2
)) {
23573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23575 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23578 if (SWIG_IsTmpObj(res3
)) {
23579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23581 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23590 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23591 PyObject
*resultobj
= 0;
23592 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23593 int *arg2
= (int *) 0 ;
23594 int *arg3
= (int *) 0 ;
23598 int res2
= SWIG_TMPOBJ
;
23600 int res3
= SWIG_TMPOBJ
;
23601 PyObject
*swig_obj
[1] ;
23605 if (!args
) SWIG_fail
;
23606 swig_obj
[0] = args
;
23607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23608 if (!SWIG_IsOK(res1
)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23611 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23615 wxPyEndAllowThreads(__tstate
);
23616 if (PyErr_Occurred()) SWIG_fail
;
23618 resultobj
= SWIG_Py_Void();
23619 if (SWIG_IsTmpObj(res2
)) {
23620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23622 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23625 if (SWIG_IsTmpObj(res3
)) {
23626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23628 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23637 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23638 PyObject
*resultobj
= 0;
23639 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23643 PyObject
*swig_obj
[1] ;
23645 if (!args
) SWIG_fail
;
23646 swig_obj
[0] = args
;
23647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23648 if (!SWIG_IsOK(res1
)) {
23649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23651 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23655 wxPyEndAllowThreads(__tstate
);
23656 if (PyErr_Occurred()) SWIG_fail
;
23658 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23665 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23666 PyObject
*resultobj
= 0;
23667 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23671 PyObject
*swig_obj
[1] ;
23673 if (!args
) SWIG_fail
;
23674 swig_obj
[0] = args
;
23675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23676 if (!SWIG_IsOK(res1
)) {
23677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23679 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23693 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23694 PyObject
*resultobj
= 0;
23695 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23696 SwigValueWrapper
<wxVisualAttributes
> result
;
23699 PyObject
*swig_obj
[1] ;
23701 if (!args
) SWIG_fail
;
23702 swig_obj
[0] = args
;
23703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23704 if (!SWIG_IsOK(res1
)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23707 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 result
= (arg1
)->GetDefaultAttributes();
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23714 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23721 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23722 PyObject
*resultobj
= 0;
23723 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23726 PyObject
*swig_obj
[1] ;
23728 if (!args
) SWIG_fail
;
23729 swig_obj
[0] = args
;
23730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23731 if (!SWIG_IsOK(res1
)) {
23732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23734 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 (arg1
)->OnInternalIdle();
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= SWIG_Py_Void();
23748 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23751 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23752 return SWIG_Py_Void();
23755 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23756 return SWIG_Python_InitShadowInstance(args
);
23759 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23760 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23765 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23766 PyObject
*pyobj
= 0;
23770 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23772 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23779 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23780 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23785 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23786 PyObject
*pyobj
= 0;
23790 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23792 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23799 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23800 PyObject
*resultobj
= 0;
23801 wxPrintData
*result
= 0 ;
23803 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (wxPrintData
*)new wxPrintData();
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23817 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23818 PyObject
*resultobj
= 0;
23819 wxPrintData
*arg1
= 0 ;
23820 wxPrintData
*result
= 0 ;
23824 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23826 if (!SWIG_IsOK(res1
)) {
23827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23832 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23846 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23850 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23853 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23856 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23860 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23865 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23866 PyObject
*resultobj
= 0;
23867 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23870 PyObject
*swig_obj
[1] ;
23872 if (!args
) SWIG_fail
;
23873 swig_obj
[0] = args
;
23874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23875 if (!SWIG_IsOK(res1
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23878 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= SWIG_Py_Void();
23893 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23894 PyObject
*resultobj
= 0;
23895 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23899 PyObject
*swig_obj
[1] ;
23901 if (!args
) SWIG_fail
;
23902 swig_obj
[0] = args
;
23903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23904 if (!SWIG_IsOK(res1
)) {
23905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23907 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (int)(arg1
)->GetNoCopies();
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= SWIG_From_int(static_cast< int >(result
));
23921 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23922 PyObject
*resultobj
= 0;
23923 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23927 PyObject
*swig_obj
[1] ;
23929 if (!args
) SWIG_fail
;
23930 swig_obj
[0] = args
;
23931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23932 if (!SWIG_IsOK(res1
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23935 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (bool)(arg1
)->GetCollate();
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23951 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23952 PyObject
*resultobj
= 0;
23953 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23957 PyObject
*swig_obj
[1] ;
23959 if (!args
) SWIG_fail
;
23960 swig_obj
[0] = args
;
23961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23962 if (!SWIG_IsOK(res1
)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23965 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= (int)(arg1
)->GetOrientation();
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= SWIG_From_int(static_cast< int >(result
));
23979 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23980 PyObject
*resultobj
= 0;
23981 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23985 PyObject
*swig_obj
[1] ;
23987 if (!args
) SWIG_fail
;
23988 swig_obj
[0] = args
;
23989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23990 if (!SWIG_IsOK(res1
)) {
23991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23993 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 result
= (bool)(arg1
)->Ok();
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24009 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24010 PyObject
*resultobj
= 0;
24011 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24012 wxString
*result
= 0 ;
24015 PyObject
*swig_obj
[1] ;
24017 if (!args
) SWIG_fail
;
24018 swig_obj
[0] = args
;
24019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24020 if (!SWIG_IsOK(res1
)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24023 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
24028 result
= (wxString
*) &_result_ref
;
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24037 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24046 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24047 PyObject
*resultobj
= 0;
24048 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24052 PyObject
*swig_obj
[1] ;
24054 if (!args
) SWIG_fail
;
24055 swig_obj
[0] = args
;
24056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24057 if (!SWIG_IsOK(res1
)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24060 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= (bool)(arg1
)->GetColour();
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24076 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24077 PyObject
*resultobj
= 0;
24078 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24079 wxDuplexMode result
;
24082 PyObject
*swig_obj
[1] ;
24084 if (!args
) SWIG_fail
;
24085 swig_obj
[0] = args
;
24086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24087 if (!SWIG_IsOK(res1
)) {
24088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24090 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24093 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 resultobj
= SWIG_From_int(static_cast< int >(result
));
24104 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24105 PyObject
*resultobj
= 0;
24106 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24107 wxPaperSize result
;
24110 PyObject
*swig_obj
[1] ;
24112 if (!args
) SWIG_fail
;
24113 swig_obj
[0] = args
;
24114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24115 if (!SWIG_IsOK(res1
)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24118 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24125 resultobj
= SWIG_From_int(static_cast< int >(result
));
24132 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24133 PyObject
*resultobj
= 0;
24134 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24135 wxSize
*result
= 0 ;
24138 PyObject
*swig_obj
[1] ;
24140 if (!args
) SWIG_fail
;
24141 swig_obj
[0] = args
;
24142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24143 if (!SWIG_IsOK(res1
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24146 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24151 result
= (wxSize
*) &_result_ref
;
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24163 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24164 PyObject
*resultobj
= 0;
24165 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24169 PyObject
*swig_obj
[1] ;
24171 if (!args
) SWIG_fail
;
24172 swig_obj
[0] = args
;
24173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24174 if (!SWIG_IsOK(res1
)) {
24175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24177 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (int)(arg1
)->GetQuality();
24181 wxPyEndAllowThreads(__tstate
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24184 resultobj
= SWIG_From_int(static_cast< int >(result
));
24191 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24192 PyObject
*resultobj
= 0;
24193 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24197 PyObject
*swig_obj
[1] ;
24199 if (!args
) SWIG_fail
;
24200 swig_obj
[0] = args
;
24201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24202 if (!SWIG_IsOK(res1
)) {
24203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24205 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (wxPrintBin
)(arg1
)->GetBin();
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= SWIG_From_int(static_cast< int >(result
));
24219 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24220 PyObject
*resultobj
= 0;
24221 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24222 wxPrintMode result
;
24225 PyObject
*swig_obj
[1] ;
24227 if (!args
) SWIG_fail
;
24228 swig_obj
[0] = args
;
24229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24230 if (!SWIG_IsOK(res1
)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24233 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= SWIG_From_int(static_cast< int >(result
));
24247 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
= 0;
24249 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 char * kwnames
[] = {
24258 (char *) "self",(char *) "v", NULL
24261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24263 if (!SWIG_IsOK(res1
)) {
24264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24266 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24268 if (!SWIG_IsOK(ecode2
)) {
24269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24271 arg2
= static_cast< int >(val2
);
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 (arg1
)->SetNoCopies(arg2
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 resultobj
= SWIG_Py_Void();
24285 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
= 0;
24287 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24293 PyObject
* obj0
= 0 ;
24294 PyObject
* obj1
= 0 ;
24295 char * kwnames
[] = {
24296 (char *) "self",(char *) "flag", NULL
24299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24301 if (!SWIG_IsOK(res1
)) {
24302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24304 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24305 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24306 if (!SWIG_IsOK(ecode2
)) {
24307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24309 arg2
= static_cast< bool >(val2
);
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 (arg1
)->SetCollate(arg2
);
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= SWIG_Py_Void();
24323 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
= 0;
24325 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 char * kwnames
[] = {
24334 (char *) "self",(char *) "orient", NULL
24337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24339 if (!SWIG_IsOK(res1
)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24342 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24344 if (!SWIG_IsOK(ecode2
)) {
24345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24347 arg2
= static_cast< int >(val2
);
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 (arg1
)->SetOrientation(arg2
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_Py_Void();
24361 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24362 PyObject
*resultobj
= 0;
24363 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24364 wxString
*arg2
= 0 ;
24367 bool temp2
= false ;
24368 PyObject
* obj0
= 0 ;
24369 PyObject
* obj1
= 0 ;
24370 char * kwnames
[] = {
24371 (char *) "self",(char *) "name", NULL
24374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24376 if (!SWIG_IsOK(res1
)) {
24377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24379 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24381 arg2
= wxString_in_helper(obj1
);
24382 if (arg2
== NULL
) SWIG_fail
;
24386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24388 wxPyEndAllowThreads(__tstate
);
24389 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= SWIG_Py_Void();
24406 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
= 0;
24408 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24414 PyObject
* obj0
= 0 ;
24415 PyObject
* obj1
= 0 ;
24416 char * kwnames
[] = {
24417 (char *) "self",(char *) "colour", NULL
24420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24422 if (!SWIG_IsOK(res1
)) {
24423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24425 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24426 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24427 if (!SWIG_IsOK(ecode2
)) {
24428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24430 arg2
= static_cast< bool >(val2
);
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 (arg1
)->SetColour(arg2
);
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= SWIG_Py_Void();
24444 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= 0;
24446 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24447 wxDuplexMode arg2
;
24452 PyObject
* obj0
= 0 ;
24453 PyObject
* obj1
= 0 ;
24454 char * kwnames
[] = {
24455 (char *) "self",(char *) "duplex", NULL
24458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24460 if (!SWIG_IsOK(res1
)) {
24461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24463 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24465 if (!SWIG_IsOK(ecode2
)) {
24466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24468 arg2
= static_cast< wxDuplexMode
>(val2
);
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 (arg1
)->SetDuplex(arg2
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_Py_Void();
24482 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
= 0;
24484 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 PyObject
* obj1
= 0 ;
24492 char * kwnames
[] = {
24493 (char *) "self",(char *) "sizeId", NULL
24496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24498 if (!SWIG_IsOK(res1
)) {
24499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24501 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24503 if (!SWIG_IsOK(ecode2
)) {
24504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24506 arg2
= static_cast< wxPaperSize
>(val2
);
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24509 (arg1
)->SetPaperId(arg2
);
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= SWIG_Py_Void();
24520 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
= 0;
24522 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24527 PyObject
* obj0
= 0 ;
24528 PyObject
* obj1
= 0 ;
24529 char * kwnames
[] = {
24530 (char *) "self",(char *) "sz", NULL
24533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24535 if (!SWIG_IsOK(res1
)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24538 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24541 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24546 wxPyEndAllowThreads(__tstate
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24549 resultobj
= SWIG_Py_Void();
24556 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
= 0;
24558 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24564 PyObject
* obj0
= 0 ;
24565 PyObject
* obj1
= 0 ;
24566 char * kwnames
[] = {
24567 (char *) "self",(char *) "quality", NULL
24570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24572 if (!SWIG_IsOK(res1
)) {
24573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24575 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24577 if (!SWIG_IsOK(ecode2
)) {
24578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24580 arg2
= static_cast< int >(val2
);
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24583 (arg1
)->SetQuality(arg2
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 resultobj
= SWIG_Py_Void();
24594 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
= 0;
24596 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 char * kwnames
[] = {
24605 (char *) "self",(char *) "bin", NULL
24608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24610 if (!SWIG_IsOK(res1
)) {
24611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24613 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24615 if (!SWIG_IsOK(ecode2
)) {
24616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24618 arg2
= static_cast< wxPrintBin
>(val2
);
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 (arg1
)->SetBin(arg2
);
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 resultobj
= SWIG_Py_Void();
24632 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
= 0;
24634 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24640 PyObject
* obj0
= 0 ;
24641 PyObject
* obj1
= 0 ;
24642 char * kwnames
[] = {
24643 (char *) "self",(char *) "printMode", NULL
24646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24648 if (!SWIG_IsOK(res1
)) {
24649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24651 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24653 if (!SWIG_IsOK(ecode2
)) {
24654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24656 arg2
= static_cast< wxPrintMode
>(val2
);
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 (arg1
)->SetPrintMode(arg2
);
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 resultobj
= SWIG_Py_Void();
24670 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24671 PyObject
*resultobj
= 0;
24672 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24676 PyObject
*swig_obj
[1] ;
24678 if (!args
) SWIG_fail
;
24679 swig_obj
[0] = args
;
24680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24681 if (!SWIG_IsOK(res1
)) {
24682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24684 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24704 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
= 0;
24706 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24707 wxString
*arg2
= 0 ;
24710 bool temp2
= false ;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 char * kwnames
[] = {
24714 (char *) "self",(char *) "filename", NULL
24717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24719 if (!SWIG_IsOK(res1
)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24722 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24724 arg2
= wxString_in_helper(obj1
);
24725 if (arg2
== NULL
) SWIG_fail
;
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 (arg1
)->SetFilename((wxString
const &)*arg2
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= SWIG_Py_Void();
24749 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24750 PyObject
*resultobj
= 0;
24751 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24752 PyObject
*result
= 0 ;
24755 PyObject
*swig_obj
[1] ;
24757 if (!args
) SWIG_fail
;
24758 swig_obj
[0] = args
;
24759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24760 if (!SWIG_IsOK(res1
)) {
24761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24763 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= result
;
24777 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
= 0;
24779 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24780 PyObject
*arg2
= (PyObject
*) 0 ;
24783 PyObject
* obj0
= 0 ;
24784 PyObject
* obj1
= 0 ;
24785 char * kwnames
[] = {
24786 (char *) "self",(char *) "data", NULL
24789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24791 if (!SWIG_IsOK(res1
)) {
24792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24794 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24798 wxPrintData_SetPrivData(arg1
,arg2
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= SWIG_Py_Void();
24809 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24812 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24813 return SWIG_Py_Void();
24816 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24817 return SWIG_Python_InitShadowInstance(args
);
24820 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24821 PyObject
*resultobj
= 0;
24822 wxPageSetupDialogData
*result
= 0 ;
24824 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24838 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24839 PyObject
*resultobj
= 0;
24840 wxPageSetupDialogData
*arg1
= 0 ;
24841 wxPageSetupDialogData
*result
= 0 ;
24845 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24847 if (!SWIG_IsOK(res1
)) {
24848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24853 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24867 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24868 PyObject
*resultobj
= 0;
24869 wxPrintData
*arg1
= 0 ;
24870 wxPageSetupDialogData
*result
= 0 ;
24874 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24876 if (!SWIG_IsOK(res1
)) {
24877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24882 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24896 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24900 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24903 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24908 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24909 _v
= SWIG_CheckState(res
);
24911 if (!_v
) goto check_2
;
24912 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24917 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24921 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24926 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24927 PyObject
*resultobj
= 0;
24928 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24931 PyObject
*swig_obj
[1] ;
24933 if (!args
) SWIG_fail
;
24934 swig_obj
[0] = args
;
24935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24936 if (!SWIG_IsOK(res1
)) {
24937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24939 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= SWIG_Py_Void();
24954 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
= 0;
24956 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 char * kwnames
[] = {
24965 (char *) "self",(char *) "flag", NULL
24968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24970 if (!SWIG_IsOK(res1
)) {
24971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24973 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24974 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24975 if (!SWIG_IsOK(ecode2
)) {
24976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24978 arg2
= static_cast< bool >(val2
);
24980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24981 (arg1
)->EnableHelp(arg2
);
24982 wxPyEndAllowThreads(__tstate
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24985 resultobj
= SWIG_Py_Void();
24992 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
= 0;
24994 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25000 PyObject
* obj0
= 0 ;
25001 PyObject
* obj1
= 0 ;
25002 char * kwnames
[] = {
25003 (char *) "self",(char *) "flag", NULL
25006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25008 if (!SWIG_IsOK(res1
)) {
25009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25011 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25012 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25013 if (!SWIG_IsOK(ecode2
)) {
25014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25016 arg2
= static_cast< bool >(val2
);
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 (arg1
)->EnableMargins(arg2
);
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= SWIG_Py_Void();
25030 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
= 0;
25032 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25038 PyObject
* obj0
= 0 ;
25039 PyObject
* obj1
= 0 ;
25040 char * kwnames
[] = {
25041 (char *) "self",(char *) "flag", NULL
25044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25046 if (!SWIG_IsOK(res1
)) {
25047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25049 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25050 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25051 if (!SWIG_IsOK(ecode2
)) {
25052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25054 arg2
= static_cast< bool >(val2
);
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 (arg1
)->EnableOrientation(arg2
);
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_Py_Void();
25068 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
= 0;
25070 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25076 PyObject
* obj0
= 0 ;
25077 PyObject
* obj1
= 0 ;
25078 char * kwnames
[] = {
25079 (char *) "self",(char *) "flag", NULL
25082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25084 if (!SWIG_IsOK(res1
)) {
25085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25087 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25088 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25089 if (!SWIG_IsOK(ecode2
)) {
25090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25092 arg2
= static_cast< bool >(val2
);
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 (arg1
)->EnablePaper(arg2
);
25096 wxPyEndAllowThreads(__tstate
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25099 resultobj
= SWIG_Py_Void();
25106 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25107 PyObject
*resultobj
= 0;
25108 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25114 PyObject
* obj0
= 0 ;
25115 PyObject
* obj1
= 0 ;
25116 char * kwnames
[] = {
25117 (char *) "self",(char *) "flag", NULL
25120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25122 if (!SWIG_IsOK(res1
)) {
25123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25125 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25126 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25127 if (!SWIG_IsOK(ecode2
)) {
25128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25130 arg2
= static_cast< bool >(val2
);
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 (arg1
)->EnablePrinter(arg2
);
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= SWIG_Py_Void();
25144 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25145 PyObject
*resultobj
= 0;
25146 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25150 PyObject
*swig_obj
[1] ;
25152 if (!args
) SWIG_fail
;
25153 swig_obj
[0] = args
;
25154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25155 if (!SWIG_IsOK(res1
)) {
25156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25158 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (bool)(arg1
)->GetDefaultMinMargins();
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25174 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25175 PyObject
*resultobj
= 0;
25176 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25180 PyObject
*swig_obj
[1] ;
25182 if (!args
) SWIG_fail
;
25183 swig_obj
[0] = args
;
25184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25185 if (!SWIG_IsOK(res1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25188 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25191 result
= (bool)(arg1
)->GetEnableMargins();
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25204 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25205 PyObject
*resultobj
= 0;
25206 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25210 PyObject
*swig_obj
[1] ;
25212 if (!args
) SWIG_fail
;
25213 swig_obj
[0] = args
;
25214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25215 if (!SWIG_IsOK(res1
)) {
25216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25218 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (bool)(arg1
)->GetEnableOrientation();
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25234 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25235 PyObject
*resultobj
= 0;
25236 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25240 PyObject
*swig_obj
[1] ;
25242 if (!args
) SWIG_fail
;
25243 swig_obj
[0] = args
;
25244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25245 if (!SWIG_IsOK(res1
)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25248 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25251 result
= (bool)(arg1
)->GetEnablePaper();
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25264 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25265 PyObject
*resultobj
= 0;
25266 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25270 PyObject
*swig_obj
[1] ;
25272 if (!args
) SWIG_fail
;
25273 swig_obj
[0] = args
;
25274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25275 if (!SWIG_IsOK(res1
)) {
25276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25278 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= (bool)(arg1
)->GetEnablePrinter();
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25294 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25295 PyObject
*resultobj
= 0;
25296 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25300 PyObject
*swig_obj
[1] ;
25302 if (!args
) SWIG_fail
;
25303 swig_obj
[0] = args
;
25304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25305 if (!SWIG_IsOK(res1
)) {
25306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25308 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 result
= (bool)(arg1
)->GetEnableHelp();
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25324 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25325 PyObject
*resultobj
= 0;
25326 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25330 PyObject
*swig_obj
[1] ;
25332 if (!args
) SWIG_fail
;
25333 swig_obj
[0] = args
;
25334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25335 if (!SWIG_IsOK(res1
)) {
25336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25338 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 result
= (bool)(arg1
)->GetDefaultInfo();
25342 wxPyEndAllowThreads(__tstate
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25354 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25355 PyObject
*resultobj
= 0;
25356 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25360 PyObject
*swig_obj
[1] ;
25362 if (!args
) SWIG_fail
;
25363 swig_obj
[0] = args
;
25364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25365 if (!SWIG_IsOK(res1
)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25368 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (arg1
)->GetMarginTopLeft();
25372 wxPyEndAllowThreads(__tstate
);
25373 if (PyErr_Occurred()) SWIG_fail
;
25375 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25382 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25383 PyObject
*resultobj
= 0;
25384 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25388 PyObject
*swig_obj
[1] ;
25390 if (!args
) SWIG_fail
;
25391 swig_obj
[0] = args
;
25392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25396 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 result
= (arg1
)->GetMarginBottomRight();
25400 wxPyEndAllowThreads(__tstate
);
25401 if (PyErr_Occurred()) SWIG_fail
;
25403 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25410 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25411 PyObject
*resultobj
= 0;
25412 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25416 PyObject
*swig_obj
[1] ;
25418 if (!args
) SWIG_fail
;
25419 swig_obj
[0] = args
;
25420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25421 if (!SWIG_IsOK(res1
)) {
25422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25424 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 result
= (arg1
)->GetMinMarginTopLeft();
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25438 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25439 PyObject
*resultobj
= 0;
25440 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25444 PyObject
*swig_obj
[1] ;
25446 if (!args
) SWIG_fail
;
25447 swig_obj
[0] = args
;
25448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25449 if (!SWIG_IsOK(res1
)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25452 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 result
= (arg1
)->GetMinMarginBottomRight();
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25459 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25466 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25467 PyObject
*resultobj
= 0;
25468 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25469 wxPaperSize result
;
25472 PyObject
*swig_obj
[1] ;
25474 if (!args
) SWIG_fail
;
25475 swig_obj
[0] = args
;
25476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25477 if (!SWIG_IsOK(res1
)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25480 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= SWIG_From_int(static_cast< int >(result
));
25494 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25495 PyObject
*resultobj
= 0;
25496 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25500 PyObject
*swig_obj
[1] ;
25502 if (!args
) SWIG_fail
;
25503 swig_obj
[0] = args
;
25504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25505 if (!SWIG_IsOK(res1
)) {
25506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25508 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= (arg1
)->GetPaperSize();
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25522 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25523 PyObject
*resultobj
= 0;
25524 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25525 wxPrintData
*result
= 0 ;
25528 PyObject
*swig_obj
[1] ;
25530 if (!args
) SWIG_fail
;
25531 swig_obj
[0] = args
;
25532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25533 if (!SWIG_IsOK(res1
)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25536 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25541 result
= (wxPrintData
*) &_result_ref
;
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25553 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25554 PyObject
*resultobj
= 0;
25555 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25559 PyObject
*swig_obj
[1] ;
25561 if (!args
) SWIG_fail
;
25562 swig_obj
[0] = args
;
25563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25564 if (!SWIG_IsOK(res1
)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25567 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (bool)(arg1
)->Ok();
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25583 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
= 0;
25585 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 char * kwnames
[] = {
25594 (char *) "self",(char *) "flag", NULL
25597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25599 if (!SWIG_IsOK(res1
)) {
25600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25602 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25603 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25604 if (!SWIG_IsOK(ecode2
)) {
25605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25607 arg2
= static_cast< bool >(val2
);
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 (arg1
)->SetDefaultInfo(arg2
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= SWIG_Py_Void();
25621 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
= 0;
25623 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25629 PyObject
* obj0
= 0 ;
25630 PyObject
* obj1
= 0 ;
25631 char * kwnames
[] = {
25632 (char *) "self",(char *) "flag", NULL
25635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25637 if (!SWIG_IsOK(res1
)) {
25638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25640 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25641 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25642 if (!SWIG_IsOK(ecode2
)) {
25643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25645 arg2
= static_cast< bool >(val2
);
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 (arg1
)->SetDefaultMinMargins(arg2
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= SWIG_Py_Void();
25659 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
= 0;
25661 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25662 wxPoint
*arg2
= 0 ;
25666 PyObject
* obj0
= 0 ;
25667 PyObject
* obj1
= 0 ;
25668 char * kwnames
[] = {
25669 (char *) "self",(char *) "pt", NULL
25672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25674 if (!SWIG_IsOK(res1
)) {
25675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25677 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25680 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_Py_Void();
25695 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
= 0;
25697 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25698 wxPoint
*arg2
= 0 ;
25702 PyObject
* obj0
= 0 ;
25703 PyObject
* obj1
= 0 ;
25704 char * kwnames
[] = {
25705 (char *) "self",(char *) "pt", NULL
25708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25710 if (!SWIG_IsOK(res1
)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25713 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 resultobj
= SWIG_Py_Void();
25731 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25732 PyObject
*resultobj
= 0;
25733 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25734 wxPoint
*arg2
= 0 ;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 char * kwnames
[] = {
25741 (char *) "self",(char *) "pt", NULL
25744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25746 if (!SWIG_IsOK(res1
)) {
25747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25749 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25756 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= SWIG_Py_Void();
25767 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
= 0;
25769 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25770 wxPoint
*arg2
= 0 ;
25774 PyObject
* obj0
= 0 ;
25775 PyObject
* obj1
= 0 ;
25776 char * kwnames
[] = {
25777 (char *) "self",(char *) "pt", NULL
25780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25782 if (!SWIG_IsOK(res1
)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25785 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25792 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 resultobj
= SWIG_Py_Void();
25803 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
= 0;
25805 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25811 PyObject
* obj0
= 0 ;
25812 PyObject
* obj1
= 0 ;
25813 char * kwnames
[] = {
25814 (char *) "self",(char *) "id", NULL
25817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25819 if (!SWIG_IsOK(res1
)) {
25820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25822 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25824 if (!SWIG_IsOK(ecode2
)) {
25825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25827 arg2
= static_cast< wxPaperSize
>(val2
);
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 (arg1
)->SetPaperId(arg2
);
25831 wxPyEndAllowThreads(__tstate
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= SWIG_Py_Void();
25841 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
= 0;
25843 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25848 PyObject
* obj0
= 0 ;
25849 PyObject
* obj1
= 0 ;
25850 char * kwnames
[] = {
25851 (char *) "self",(char *) "size", NULL
25854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25856 if (!SWIG_IsOK(res1
)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25859 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25862 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= SWIG_Py_Void();
25877 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25878 PyObject
*resultobj
= 0;
25879 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25880 wxPrintData
*arg2
= 0 ;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 char * kwnames
[] = {
25888 (char *) "self",(char *) "printData", NULL
25891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25893 if (!SWIG_IsOK(res1
)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25896 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25898 if (!SWIG_IsOK(res2
)) {
25899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25904 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 resultobj
= SWIG_Py_Void();
25918 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25919 PyObject
*resultobj
= 0;
25920 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25923 PyObject
*swig_obj
[1] ;
25925 if (!args
) SWIG_fail
;
25926 swig_obj
[0] = args
;
25927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25928 if (!SWIG_IsOK(res1
)) {
25929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25931 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 (arg1
)->CalculateIdFromPaperSize();
25935 wxPyEndAllowThreads(__tstate
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25938 resultobj
= SWIG_Py_Void();
25945 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25946 PyObject
*resultobj
= 0;
25947 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25950 PyObject
*swig_obj
[1] ;
25952 if (!args
) SWIG_fail
;
25953 swig_obj
[0] = args
;
25954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25955 if (!SWIG_IsOK(res1
)) {
25956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25958 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 (arg1
)->CalculatePaperSizeFromId();
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= SWIG_Py_Void();
25972 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25975 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25976 return SWIG_Py_Void();
25979 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25980 return SWIG_Python_InitShadowInstance(args
);
25983 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25984 PyObject
*resultobj
= 0;
25985 wxWindow
*arg1
= (wxWindow
*) 0 ;
25986 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25987 wxPageSetupDialog
*result
= 0 ;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 char * kwnames
[] = {
25995 (char *) "parent",(char *) "data", NULL
25998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26000 if (!SWIG_IsOK(res1
)) {
26001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26003 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26005 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26006 if (!SWIG_IsOK(res2
)) {
26007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26009 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26012 if (!wxPyCheckForApp()) SWIG_fail
;
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26025 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26026 PyObject
*resultobj
= 0;
26027 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26030 PyObject
*swig_obj
[1] ;
26032 if (!args
) SWIG_fail
;
26033 swig_obj
[0] = args
;
26034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26035 if (!SWIG_IsOK(res1
)) {
26036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26038 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 resultobj
= SWIG_Py_Void();
26053 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26054 PyObject
*resultobj
= 0;
26055 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26056 wxPageSetupDialogData
*result
= 0 ;
26059 PyObject
*swig_obj
[1] ;
26061 if (!args
) SWIG_fail
;
26062 swig_obj
[0] = args
;
26063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26064 if (!SWIG_IsOK(res1
)) {
26065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26067 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26072 result
= (wxPageSetupDialogData
*) &_result_ref
;
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26084 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26085 PyObject
*resultobj
= 0;
26086 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26087 wxPageSetupDialogData
*result
= 0 ;
26090 PyObject
*swig_obj
[1] ;
26092 if (!args
) SWIG_fail
;
26093 swig_obj
[0] = args
;
26094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26095 if (!SWIG_IsOK(res1
)) {
26096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26098 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26103 result
= (wxPageSetupDialogData
*) &_result_ref
;
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26115 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26116 PyObject
*resultobj
= 0;
26117 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26121 PyObject
*swig_obj
[1] ;
26123 if (!args
) SWIG_fail
;
26124 swig_obj
[0] = args
;
26125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26126 if (!SWIG_IsOK(res1
)) {
26127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26129 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26132 result
= (int)(arg1
)->ShowModal();
26133 wxPyEndAllowThreads(__tstate
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= SWIG_From_int(static_cast< int >(result
));
26143 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26145 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26146 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26147 return SWIG_Py_Void();
26150 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26151 return SWIG_Python_InitShadowInstance(args
);
26154 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26155 PyObject
*resultobj
= 0;
26156 wxPrintDialogData
*result
= 0 ;
26158 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26161 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26172 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26173 PyObject
*resultobj
= 0;
26174 wxPrintData
*arg1
= 0 ;
26175 wxPrintDialogData
*result
= 0 ;
26179 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26181 if (!SWIG_IsOK(res1
)) {
26182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26187 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26201 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26202 PyObject
*resultobj
= 0;
26203 wxPrintDialogData
*arg1
= 0 ;
26204 wxPrintDialogData
*result
= 0 ;
26208 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26210 if (!SWIG_IsOK(res1
)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26216 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26230 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26234 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26237 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26242 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26243 _v
= SWIG_CheckState(res
);
26245 if (!_v
) goto check_2
;
26246 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26251 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26255 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26260 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26261 PyObject
*resultobj
= 0;
26262 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26265 PyObject
*swig_obj
[1] ;
26267 if (!args
) SWIG_fail
;
26268 swig_obj
[0] = args
;
26269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26270 if (!SWIG_IsOK(res1
)) {
26271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26273 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= SWIG_Py_Void();
26288 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26289 PyObject
*resultobj
= 0;
26290 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26294 PyObject
*swig_obj
[1] ;
26296 if (!args
) SWIG_fail
;
26297 swig_obj
[0] = args
;
26298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26299 if (!SWIG_IsOK(res1
)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26302 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26306 wxPyEndAllowThreads(__tstate
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26309 resultobj
= SWIG_From_int(static_cast< int >(result
));
26316 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26317 PyObject
*resultobj
= 0;
26318 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26322 PyObject
*swig_obj
[1] ;
26324 if (!args
) SWIG_fail
;
26325 swig_obj
[0] = args
;
26326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26327 if (!SWIG_IsOK(res1
)) {
26328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26330 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= SWIG_From_int(static_cast< int >(result
));
26344 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26345 PyObject
*resultobj
= 0;
26346 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26350 PyObject
*swig_obj
[1] ;
26352 if (!args
) SWIG_fail
;
26353 swig_obj
[0] = args
;
26354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26355 if (!SWIG_IsOK(res1
)) {
26356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26358 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26362 wxPyEndAllowThreads(__tstate
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26365 resultobj
= SWIG_From_int(static_cast< int >(result
));
26372 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26373 PyObject
*resultobj
= 0;
26374 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26378 PyObject
*swig_obj
[1] ;
26380 if (!args
) SWIG_fail
;
26381 swig_obj
[0] = args
;
26382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26383 if (!SWIG_IsOK(res1
)) {
26384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26386 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 resultobj
= SWIG_From_int(static_cast< int >(result
));
26400 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26401 PyObject
*resultobj
= 0;
26402 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26406 PyObject
*swig_obj
[1] ;
26408 if (!args
) SWIG_fail
;
26409 swig_obj
[0] = args
;
26410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26411 if (!SWIG_IsOK(res1
)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26414 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26417 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26421 resultobj
= SWIG_From_int(static_cast< int >(result
));
26428 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26429 PyObject
*resultobj
= 0;
26430 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26434 PyObject
*swig_obj
[1] ;
26436 if (!args
) SWIG_fail
;
26437 swig_obj
[0] = args
;
26438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26439 if (!SWIG_IsOK(res1
)) {
26440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26442 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26458 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26459 PyObject
*resultobj
= 0;
26460 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26464 PyObject
*swig_obj
[1] ;
26466 if (!args
) SWIG_fail
;
26467 swig_obj
[0] = args
;
26468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26469 if (!SWIG_IsOK(res1
)) {
26470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26472 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26475 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26476 wxPyEndAllowThreads(__tstate
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26488 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26489 PyObject
*resultobj
= 0;
26490 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26494 PyObject
*swig_obj
[1] ;
26496 if (!args
) SWIG_fail
;
26497 swig_obj
[0] = args
;
26498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26499 if (!SWIG_IsOK(res1
)) {
26500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26502 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26518 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26519 PyObject
*resultobj
= 0;
26520 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26524 PyObject
*swig_obj
[1] ;
26526 if (!args
) SWIG_fail
;
26527 swig_obj
[0] = args
;
26528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26529 if (!SWIG_IsOK(res1
)) {
26530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26532 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26548 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26549 PyObject
*resultobj
= 0;
26550 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26556 PyObject
* obj0
= 0 ;
26557 PyObject
* obj1
= 0 ;
26558 char * kwnames
[] = {
26559 (char *) "self",(char *) "v", NULL
26562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26564 if (!SWIG_IsOK(res1
)) {
26565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26567 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26569 if (!SWIG_IsOK(ecode2
)) {
26570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26572 arg2
= static_cast< int >(val2
);
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 (arg1
)->SetFromPage(arg2
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 resultobj
= SWIG_Py_Void();
26586 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
= 0;
26588 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26594 PyObject
* obj0
= 0 ;
26595 PyObject
* obj1
= 0 ;
26596 char * kwnames
[] = {
26597 (char *) "self",(char *) "v", NULL
26600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26602 if (!SWIG_IsOK(res1
)) {
26603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26605 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26607 if (!SWIG_IsOK(ecode2
)) {
26608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26610 arg2
= static_cast< int >(val2
);
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 (arg1
)->SetToPage(arg2
);
26614 wxPyEndAllowThreads(__tstate
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26617 resultobj
= SWIG_Py_Void();
26624 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26625 PyObject
*resultobj
= 0;
26626 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26632 PyObject
* obj0
= 0 ;
26633 PyObject
* obj1
= 0 ;
26634 char * kwnames
[] = {
26635 (char *) "self",(char *) "v", NULL
26638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26640 if (!SWIG_IsOK(res1
)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26643 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26645 if (!SWIG_IsOK(ecode2
)) {
26646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26648 arg2
= static_cast< int >(val2
);
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26651 (arg1
)->SetMinPage(arg2
);
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= SWIG_Py_Void();
26662 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26663 PyObject
*resultobj
= 0;
26664 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26670 PyObject
* obj0
= 0 ;
26671 PyObject
* obj1
= 0 ;
26672 char * kwnames
[] = {
26673 (char *) "self",(char *) "v", NULL
26676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26678 if (!SWIG_IsOK(res1
)) {
26679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26681 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26683 if (!SWIG_IsOK(ecode2
)) {
26684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26686 arg2
= static_cast< int >(val2
);
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 (arg1
)->SetMaxPage(arg2
);
26690 wxPyEndAllowThreads(__tstate
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= SWIG_Py_Void();
26700 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26701 PyObject
*resultobj
= 0;
26702 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26708 PyObject
* obj0
= 0 ;
26709 PyObject
* obj1
= 0 ;
26710 char * kwnames
[] = {
26711 (char *) "self",(char *) "v", NULL
26714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26716 if (!SWIG_IsOK(res1
)) {
26717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26719 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26721 if (!SWIG_IsOK(ecode2
)) {
26722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26724 arg2
= static_cast< int >(val2
);
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 (arg1
)->SetNoCopies(arg2
);
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= SWIG_Py_Void();
26738 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
= 0;
26740 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26746 PyObject
* obj0
= 0 ;
26747 PyObject
* obj1
= 0 ;
26748 char * kwnames
[] = {
26749 (char *) "self",(char *) "flag", NULL
26752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26754 if (!SWIG_IsOK(res1
)) {
26755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26757 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26758 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26759 if (!SWIG_IsOK(ecode2
)) {
26760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26762 arg2
= static_cast< bool >(val2
);
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 (arg1
)->SetAllPages(arg2
);
26766 wxPyEndAllowThreads(__tstate
);
26767 if (PyErr_Occurred()) SWIG_fail
;
26769 resultobj
= SWIG_Py_Void();
26776 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26777 PyObject
*resultobj
= 0;
26778 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26784 PyObject
* obj0
= 0 ;
26785 PyObject
* obj1
= 0 ;
26786 char * kwnames
[] = {
26787 (char *) "self",(char *) "flag", NULL
26790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26792 if (!SWIG_IsOK(res1
)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26795 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26796 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26797 if (!SWIG_IsOK(ecode2
)) {
26798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26800 arg2
= static_cast< bool >(val2
);
26802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26803 (arg1
)->SetSelection(arg2
);
26804 wxPyEndAllowThreads(__tstate
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26807 resultobj
= SWIG_Py_Void();
26814 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26815 PyObject
*resultobj
= 0;
26816 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26822 PyObject
* obj0
= 0 ;
26823 PyObject
* obj1
= 0 ;
26824 char * kwnames
[] = {
26825 (char *) "self",(char *) "flag", NULL
26828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26830 if (!SWIG_IsOK(res1
)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26833 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26834 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26835 if (!SWIG_IsOK(ecode2
)) {
26836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26838 arg2
= static_cast< bool >(val2
);
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 (arg1
)->SetCollate(arg2
);
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26845 resultobj
= SWIG_Py_Void();
26852 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26853 PyObject
*resultobj
= 0;
26854 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 char * kwnames
[] = {
26863 (char *) "self",(char *) "flag", NULL
26866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26868 if (!SWIG_IsOK(res1
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26871 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26872 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26873 if (!SWIG_IsOK(ecode2
)) {
26874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26876 arg2
= static_cast< bool >(val2
);
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 (arg1
)->SetPrintToFile(arg2
);
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26883 resultobj
= SWIG_Py_Void();
26890 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
= 0;
26892 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 char * kwnames
[] = {
26901 (char *) "self",(char *) "flag", NULL
26904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26906 if (!SWIG_IsOK(res1
)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26909 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26910 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26911 if (!SWIG_IsOK(ecode2
)) {
26912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26914 arg2
= static_cast< bool >(val2
);
26916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 (arg1
)->EnablePrintToFile(arg2
);
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26921 resultobj
= SWIG_Py_Void();
26928 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26929 PyObject
*resultobj
= 0;
26930 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 char * kwnames
[] = {
26939 (char *) "self",(char *) "flag", NULL
26942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26944 if (!SWIG_IsOK(res1
)) {
26945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26947 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26949 if (!SWIG_IsOK(ecode2
)) {
26950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26952 arg2
= static_cast< bool >(val2
);
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 (arg1
)->EnableSelection(arg2
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 resultobj
= SWIG_Py_Void();
26966 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
= 0;
26968 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 char * kwnames
[] = {
26977 (char *) "self",(char *) "flag", NULL
26980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26982 if (!SWIG_IsOK(res1
)) {
26983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26985 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26986 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26987 if (!SWIG_IsOK(ecode2
)) {
26988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26990 arg2
= static_cast< bool >(val2
);
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 (arg1
)->EnablePageNumbers(arg2
);
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= SWIG_Py_Void();
27004 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27005 PyObject
*resultobj
= 0;
27006 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27012 PyObject
* obj0
= 0 ;
27013 PyObject
* obj1
= 0 ;
27014 char * kwnames
[] = {
27015 (char *) "self",(char *) "flag", NULL
27018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27020 if (!SWIG_IsOK(res1
)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27023 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27024 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27025 if (!SWIG_IsOK(ecode2
)) {
27026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27028 arg2
= static_cast< bool >(val2
);
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 (arg1
)->EnableHelp(arg2
);
27032 wxPyEndAllowThreads(__tstate
);
27033 if (PyErr_Occurred()) SWIG_fail
;
27035 resultobj
= SWIG_Py_Void();
27042 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27043 PyObject
*resultobj
= 0;
27044 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27048 PyObject
*swig_obj
[1] ;
27050 if (!args
) SWIG_fail
;
27051 swig_obj
[0] = args
;
27052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27053 if (!SWIG_IsOK(res1
)) {
27054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27056 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27072 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27073 PyObject
*resultobj
= 0;
27074 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27078 PyObject
*swig_obj
[1] ;
27080 if (!args
) SWIG_fail
;
27081 swig_obj
[0] = args
;
27082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27083 if (!SWIG_IsOK(res1
)) {
27084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27086 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27090 wxPyEndAllowThreads(__tstate
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27102 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27103 PyObject
*resultobj
= 0;
27104 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27108 PyObject
*swig_obj
[1] ;
27110 if (!args
) SWIG_fail
;
27111 swig_obj
[0] = args
;
27112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27113 if (!SWIG_IsOK(res1
)) {
27114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27116 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27132 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27133 PyObject
*resultobj
= 0;
27134 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27138 PyObject
*swig_obj
[1] ;
27140 if (!args
) SWIG_fail
;
27141 swig_obj
[0] = args
;
27142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27143 if (!SWIG_IsOK(res1
)) {
27144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27146 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27162 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27163 PyObject
*resultobj
= 0;
27164 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27168 PyObject
*swig_obj
[1] ;
27170 if (!args
) SWIG_fail
;
27171 swig_obj
[0] = args
;
27172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27173 if (!SWIG_IsOK(res1
)) {
27174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27176 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
27180 wxPyEndAllowThreads(__tstate
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27192 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27193 PyObject
*resultobj
= 0;
27194 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27195 wxPrintData
*result
= 0 ;
27198 PyObject
*swig_obj
[1] ;
27200 if (!args
) SWIG_fail
;
27201 swig_obj
[0] = args
;
27202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27203 if (!SWIG_IsOK(res1
)) {
27204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27206 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27210 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27211 result
= (wxPrintData
*) &_result_ref
;
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27223 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
= 0;
27225 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27226 wxPrintData
*arg2
= 0 ;
27231 PyObject
* obj0
= 0 ;
27232 PyObject
* obj1
= 0 ;
27233 char * kwnames
[] = {
27234 (char *) "self",(char *) "printData", NULL
27237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27239 if (!SWIG_IsOK(res1
)) {
27240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27242 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27243 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27244 if (!SWIG_IsOK(res2
)) {
27245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27250 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27254 wxPyEndAllowThreads(__tstate
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= SWIG_Py_Void();
27264 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27267 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27268 return SWIG_Py_Void();
27271 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27272 return SWIG_Python_InitShadowInstance(args
);
27275 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27276 PyObject
*resultobj
= 0;
27277 wxWindow
*arg1
= (wxWindow
*) 0 ;
27278 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27279 wxPrintDialog
*result
= 0 ;
27284 PyObject
* obj0
= 0 ;
27285 PyObject
* obj1
= 0 ;
27286 char * kwnames
[] = {
27287 (char *) "parent",(char *) "data", NULL
27290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27292 if (!SWIG_IsOK(res1
)) {
27293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27295 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27298 if (!SWIG_IsOK(res2
)) {
27299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27301 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27304 if (!wxPyCheckForApp()) SWIG_fail
;
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27317 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27318 PyObject
*resultobj
= 0;
27319 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27322 PyObject
*swig_obj
[1] ;
27324 if (!args
) SWIG_fail
;
27325 swig_obj
[0] = args
;
27326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27327 if (!SWIG_IsOK(res1
)) {
27328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27330 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 wxPyEndAllowThreads(__tstate
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27338 resultobj
= SWIG_Py_Void();
27345 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27346 PyObject
*resultobj
= 0;
27347 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27351 PyObject
*swig_obj
[1] ;
27353 if (!args
) SWIG_fail
;
27354 swig_obj
[0] = args
;
27355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27356 if (!SWIG_IsOK(res1
)) {
27357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27359 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 result
= (int)(arg1
)->ShowModal();
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_From_int(static_cast< int >(result
));
27373 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27374 PyObject
*resultobj
= 0;
27375 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27376 wxPrintDialogData
*result
= 0 ;
27379 PyObject
*swig_obj
[1] ;
27381 if (!args
) SWIG_fail
;
27382 swig_obj
[0] = args
;
27383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27384 if (!SWIG_IsOK(res1
)) {
27385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27387 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27391 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27392 result
= (wxPrintDialogData
*) &_result_ref
;
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27404 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27405 PyObject
*resultobj
= 0;
27406 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27407 wxPrintData
*result
= 0 ;
27410 PyObject
*swig_obj
[1] ;
27412 if (!args
) SWIG_fail
;
27413 swig_obj
[0] = args
;
27414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27415 if (!SWIG_IsOK(res1
)) {
27416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27418 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27423 result
= (wxPrintData
*) &_result_ref
;
27425 wxPyEndAllowThreads(__tstate
);
27426 if (PyErr_Occurred()) SWIG_fail
;
27428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27435 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27436 PyObject
*resultobj
= 0;
27437 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27441 PyObject
*swig_obj
[1] ;
27443 if (!args
) SWIG_fail
;
27444 swig_obj
[0] = args
;
27445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27446 if (!SWIG_IsOK(res1
)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27449 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 result
= (wxDC
*)(arg1
)->GetPrintDC();
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27465 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27468 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27469 return SWIG_Py_Void();
27472 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27473 return SWIG_Python_InitShadowInstance(args
);
27476 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
= 0;
27478 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27479 wxPrinter
*result
= 0 ;
27482 PyObject
* obj0
= 0 ;
27483 char * kwnames
[] = {
27484 (char *) "data", NULL
27487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27490 if (!SWIG_IsOK(res1
)) {
27491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27493 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27496 if (!wxPyCheckForApp()) SWIG_fail
;
27497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27498 result
= (wxPrinter
*)new wxPrinter(arg1
);
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27509 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27510 PyObject
*resultobj
= 0;
27511 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27514 PyObject
*swig_obj
[1] ;
27516 if (!args
) SWIG_fail
;
27517 swig_obj
[0] = args
;
27518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27519 if (!SWIG_IsOK(res1
)) {
27520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27522 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= SWIG_Py_Void();
27537 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
= 0;
27539 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27540 wxWindow
*arg2
= (wxWindow
*) 0 ;
27541 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27542 wxWindow
*result
= 0 ;
27549 PyObject
* obj0
= 0 ;
27550 PyObject
* obj1
= 0 ;
27551 PyObject
* obj2
= 0 ;
27552 char * kwnames
[] = {
27553 (char *) "self",(char *) "parent",(char *) "printout", NULL
27556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27558 if (!SWIG_IsOK(res1
)) {
27559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27561 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27563 if (!SWIG_IsOK(res2
)) {
27564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27567 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27568 if (!SWIG_IsOK(res3
)) {
27569 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27571 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= wxPyMake_wxObject(result
, 0);
27587 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
= 0;
27589 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27590 wxWindow
*arg2
= (wxWindow
*) 0 ;
27591 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27592 wxString
*arg4
= 0 ;
27599 bool temp4
= false ;
27600 PyObject
* obj0
= 0 ;
27601 PyObject
* obj1
= 0 ;
27602 PyObject
* obj2
= 0 ;
27603 PyObject
* obj3
= 0 ;
27604 char * kwnames
[] = {
27605 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27610 if (!SWIG_IsOK(res1
)) {
27611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27613 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27615 if (!SWIG_IsOK(res2
)) {
27616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27618 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27619 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27620 if (!SWIG_IsOK(res3
)) {
27621 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27623 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27625 arg4
= wxString_in_helper(obj3
);
27626 if (arg4
== NULL
) SWIG_fail
;
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27635 resultobj
= SWIG_Py_Void();
27650 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
= 0;
27652 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27653 wxWindow
*arg2
= (wxWindow
*) 0 ;
27659 PyObject
* obj0
= 0 ;
27660 PyObject
* obj1
= 0 ;
27661 char * kwnames
[] = {
27662 (char *) "self",(char *) "parent", NULL
27665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27667 if (!SWIG_IsOK(res1
)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27670 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27672 if (!SWIG_IsOK(res2
)) {
27673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27675 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 result
= (bool)(arg1
)->Setup(arg2
);
27679 wxPyEndAllowThreads(__tstate
);
27680 if (PyErr_Occurred()) SWIG_fail
;
27683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27691 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
= 0;
27693 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27694 wxWindow
*arg2
= (wxWindow
*) 0 ;
27695 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27696 bool arg4
= (bool) true ;
27706 PyObject
* obj0
= 0 ;
27707 PyObject
* obj1
= 0 ;
27708 PyObject
* obj2
= 0 ;
27709 PyObject
* obj3
= 0 ;
27710 char * kwnames
[] = {
27711 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27716 if (!SWIG_IsOK(res1
)) {
27717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27719 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27720 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27721 if (!SWIG_IsOK(res2
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27724 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27725 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27726 if (!SWIG_IsOK(res3
)) {
27727 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27729 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27731 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27732 if (!SWIG_IsOK(ecode4
)) {
27733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27735 arg4
= static_cast< bool >(val4
);
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27752 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
= 0;
27754 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27755 wxWindow
*arg2
= (wxWindow
*) 0 ;
27761 PyObject
* obj0
= 0 ;
27762 PyObject
* obj1
= 0 ;
27763 char * kwnames
[] = {
27764 (char *) "self",(char *) "parent", NULL
27767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27769 if (!SWIG_IsOK(res1
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27772 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27774 if (!SWIG_IsOK(res2
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27777 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27793 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27794 PyObject
*resultobj
= 0;
27795 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27796 wxPrintDialogData
*result
= 0 ;
27799 PyObject
*swig_obj
[1] ;
27801 if (!args
) SWIG_fail
;
27802 swig_obj
[0] = args
;
27803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27804 if (!SWIG_IsOK(res1
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27807 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27811 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27812 result
= (wxPrintDialogData
*) &_result_ref
;
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27824 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27825 PyObject
*resultobj
= 0;
27826 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27830 PyObject
*swig_obj
[1] ;
27832 if (!args
) SWIG_fail
;
27833 swig_obj
[0] = args
;
27834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27835 if (!SWIG_IsOK(res1
)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27838 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 result
= (bool)(arg1
)->GetAbort();
27842 wxPyEndAllowThreads(__tstate
);
27843 if (PyErr_Occurred()) SWIG_fail
;
27846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27854 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27855 PyObject
*resultobj
= 0;
27856 wxPrinterError result
;
27858 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 result
= (wxPrinterError
)wxPrinter::GetLastError();
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27865 resultobj
= SWIG_From_int(static_cast< int >(result
));
27872 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27875 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27876 return SWIG_Py_Void();
27879 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27880 return SWIG_Python_InitShadowInstance(args
);
27883 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27884 PyObject
*resultobj
= 0;
27885 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27886 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27887 wxPyPrintout
*result
= 0 ;
27888 bool temp1
= false ;
27889 PyObject
* obj0
= 0 ;
27890 char * kwnames
[] = {
27891 (char *) "title", NULL
27894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27897 arg1
= wxString_in_helper(obj0
);
27898 if (arg1
== NULL
) SWIG_fail
;
27903 if (!wxPyCheckForApp()) SWIG_fail
;
27904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27924 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27925 PyObject
*resultobj
= 0;
27926 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27929 PyObject
*swig_obj
[1] ;
27931 if (!args
) SWIG_fail
;
27932 swig_obj
[0] = args
;
27933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27934 if (!SWIG_IsOK(res1
)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27937 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 wxPyEndAllowThreads(__tstate
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27945 resultobj
= SWIG_Py_Void();
27952 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27953 PyObject
*resultobj
= 0;
27954 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27955 PyObject
*arg2
= (PyObject
*) 0 ;
27956 PyObject
*arg3
= (PyObject
*) 0 ;
27959 PyObject
* obj0
= 0 ;
27960 PyObject
* obj1
= 0 ;
27961 PyObject
* obj2
= 0 ;
27962 char * kwnames
[] = {
27963 (char *) "self",(char *) "self",(char *) "_class", NULL
27966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27968 if (!SWIG_IsOK(res1
)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27971 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27977 wxPyEndAllowThreads(__tstate
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27980 resultobj
= SWIG_Py_Void();
27987 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27988 PyObject
*resultobj
= 0;
27989 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27993 PyObject
*swig_obj
[1] ;
27995 if (!args
) SWIG_fail
;
27996 swig_obj
[0] = args
;
27997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27998 if (!SWIG_IsOK(res1
)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28001 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28021 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28027 PyObject
*swig_obj
[1] ;
28029 if (!args
) SWIG_fail
;
28030 swig_obj
[0] = args
;
28031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28032 if (!SWIG_IsOK(res1
)) {
28033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28035 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 result
= (wxDC
*)(arg1
)->GetDC();
28039 wxPyEndAllowThreads(__tstate
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28043 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28051 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
= 0;
28053 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28054 wxDC
*arg2
= (wxDC
*) 0 ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 char * kwnames
[] = {
28062 (char *) "self",(char *) "dc", NULL
28065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28067 if (!SWIG_IsOK(res1
)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28070 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28072 if (!SWIG_IsOK(res2
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28075 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28078 (arg1
)->SetDC(arg2
);
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28082 resultobj
= SWIG_Py_Void();
28089 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28090 PyObject
*resultobj
= 0;
28091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28100 PyObject
* obj0
= 0 ;
28101 PyObject
* obj1
= 0 ;
28102 PyObject
* obj2
= 0 ;
28103 char * kwnames
[] = {
28104 (char *) "self",(char *) "w",(char *) "h", NULL
28107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28112 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28114 if (!SWIG_IsOK(ecode2
)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28117 arg2
= static_cast< int >(val2
);
28118 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28119 if (!SWIG_IsOK(ecode3
)) {
28120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28122 arg3
= static_cast< int >(val3
);
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 resultobj
= SWIG_Py_Void();
28136 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28137 PyObject
*resultobj
= 0;
28138 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28139 int *arg2
= (int *) 0 ;
28140 int *arg3
= (int *) 0 ;
28144 int res2
= SWIG_TMPOBJ
;
28146 int res3
= SWIG_TMPOBJ
;
28147 PyObject
*swig_obj
[1] ;
28151 if (!args
) SWIG_fail
;
28152 swig_obj
[0] = args
;
28153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28154 if (!SWIG_IsOK(res1
)) {
28155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28157 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28160 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28161 wxPyEndAllowThreads(__tstate
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= SWIG_Py_Void();
28165 if (SWIG_IsTmpObj(res2
)) {
28166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28168 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28171 if (SWIG_IsTmpObj(res3
)) {
28172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28174 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28183 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
= 0;
28185 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28194 PyObject
* obj0
= 0 ;
28195 PyObject
* obj1
= 0 ;
28196 PyObject
* obj2
= 0 ;
28197 char * kwnames
[] = {
28198 (char *) "self",(char *) "w",(char *) "h", NULL
28201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28203 if (!SWIG_IsOK(res1
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28206 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28208 if (!SWIG_IsOK(ecode2
)) {
28209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28211 arg2
= static_cast< int >(val2
);
28212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28213 if (!SWIG_IsOK(ecode3
)) {
28214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28216 arg3
= static_cast< int >(val3
);
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= SWIG_Py_Void();
28230 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28231 PyObject
*resultobj
= 0;
28232 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28233 int *arg2
= (int *) 0 ;
28234 int *arg3
= (int *) 0 ;
28238 int res2
= SWIG_TMPOBJ
;
28240 int res3
= SWIG_TMPOBJ
;
28241 PyObject
*swig_obj
[1] ;
28245 if (!args
) SWIG_fail
;
28246 swig_obj
[0] = args
;
28247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28248 if (!SWIG_IsOK(res1
)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28251 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= SWIG_Py_Void();
28259 if (SWIG_IsTmpObj(res2
)) {
28260 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28262 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28265 if (SWIG_IsTmpObj(res3
)) {
28266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28268 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28277 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
= 0;
28279 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28288 PyObject
* obj0
= 0 ;
28289 PyObject
* obj1
= 0 ;
28290 PyObject
* obj2
= 0 ;
28291 char * kwnames
[] = {
28292 (char *) "self",(char *) "x",(char *) "y", NULL
28295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28297 if (!SWIG_IsOK(res1
)) {
28298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28300 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28302 if (!SWIG_IsOK(ecode2
)) {
28303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28305 arg2
= static_cast< int >(val2
);
28306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28307 if (!SWIG_IsOK(ecode3
)) {
28308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28310 arg3
= static_cast< int >(val3
);
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 (arg1
)->SetPPIScreen(arg2
,arg3
);
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= SWIG_Py_Void();
28324 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28325 PyObject
*resultobj
= 0;
28326 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28327 int *arg2
= (int *) 0 ;
28328 int *arg3
= (int *) 0 ;
28332 int res2
= SWIG_TMPOBJ
;
28334 int res3
= SWIG_TMPOBJ
;
28335 PyObject
*swig_obj
[1] ;
28339 if (!args
) SWIG_fail
;
28340 swig_obj
[0] = args
;
28341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28342 if (!SWIG_IsOK(res1
)) {
28343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28345 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28348 (arg1
)->GetPPIScreen(arg2
,arg3
);
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28352 resultobj
= SWIG_Py_Void();
28353 if (SWIG_IsTmpObj(res2
)) {
28354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28356 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28359 if (SWIG_IsTmpObj(res3
)) {
28360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28362 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28371 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28372 PyObject
*resultobj
= 0;
28373 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28382 PyObject
* obj0
= 0 ;
28383 PyObject
* obj1
= 0 ;
28384 PyObject
* obj2
= 0 ;
28385 char * kwnames
[] = {
28386 (char *) "self",(char *) "x",(char *) "y", NULL
28389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28391 if (!SWIG_IsOK(res1
)) {
28392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28394 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28396 if (!SWIG_IsOK(ecode2
)) {
28397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28399 arg2
= static_cast< int >(val2
);
28400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28401 if (!SWIG_IsOK(ecode3
)) {
28402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28404 arg3
= static_cast< int >(val3
);
28406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28407 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28408 wxPyEndAllowThreads(__tstate
);
28409 if (PyErr_Occurred()) SWIG_fail
;
28411 resultobj
= SWIG_Py_Void();
28418 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28419 PyObject
*resultobj
= 0;
28420 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28421 int *arg2
= (int *) 0 ;
28422 int *arg3
= (int *) 0 ;
28426 int res2
= SWIG_TMPOBJ
;
28428 int res3
= SWIG_TMPOBJ
;
28429 PyObject
*swig_obj
[1] ;
28433 if (!args
) SWIG_fail
;
28434 swig_obj
[0] = args
;
28435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28436 if (!SWIG_IsOK(res1
)) {
28437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28439 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28443 wxPyEndAllowThreads(__tstate
);
28444 if (PyErr_Occurred()) SWIG_fail
;
28446 resultobj
= SWIG_Py_Void();
28447 if (SWIG_IsTmpObj(res2
)) {
28448 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28450 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28451 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28453 if (SWIG_IsTmpObj(res3
)) {
28454 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28456 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28457 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28465 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28466 PyObject
*resultobj
= 0;
28467 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28471 PyObject
*swig_obj
[1] ;
28473 if (!args
) SWIG_fail
;
28474 swig_obj
[0] = args
;
28475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28476 if (!SWIG_IsOK(res1
)) {
28477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28479 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (bool)(arg1
)->IsPreview();
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28495 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
= 0;
28497 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28503 PyObject
* obj0
= 0 ;
28504 PyObject
* obj1
= 0 ;
28505 char * kwnames
[] = {
28506 (char *) "self",(char *) "p", NULL
28509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28511 if (!SWIG_IsOK(res1
)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28514 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28515 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28516 if (!SWIG_IsOK(ecode2
)) {
28517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28519 arg2
= static_cast< bool >(val2
);
28521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28522 (arg1
)->SetIsPreview(arg2
);
28523 wxPyEndAllowThreads(__tstate
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28526 resultobj
= SWIG_Py_Void();
28533 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28534 PyObject
*resultobj
= 0;
28535 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28545 PyObject
* obj0
= 0 ;
28546 PyObject
* obj1
= 0 ;
28547 PyObject
* obj2
= 0 ;
28548 char * kwnames
[] = {
28549 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28554 if (!SWIG_IsOK(res1
)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28557 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28559 if (!SWIG_IsOK(ecode2
)) {
28560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28562 arg2
= static_cast< int >(val2
);
28563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28564 if (!SWIG_IsOK(ecode3
)) {
28565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28567 arg3
= static_cast< int >(val3
);
28569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28570 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28571 wxPyEndAllowThreads(__tstate
);
28572 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28583 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28584 PyObject
*resultobj
= 0;
28585 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28588 PyObject
*swig_obj
[1] ;
28590 if (!args
) SWIG_fail
;
28591 swig_obj
[0] = args
;
28592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28593 if (!SWIG_IsOK(res1
)) {
28594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28596 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 (arg1
)->OnEndDocument();
28600 wxPyEndAllowThreads(__tstate
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28603 resultobj
= SWIG_Py_Void();
28610 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28611 PyObject
*resultobj
= 0;
28612 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28615 PyObject
*swig_obj
[1] ;
28617 if (!args
) SWIG_fail
;
28618 swig_obj
[0] = args
;
28619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28620 if (!SWIG_IsOK(res1
)) {
28621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28623 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 (arg1
)->OnBeginPrinting();
28627 wxPyEndAllowThreads(__tstate
);
28628 if (PyErr_Occurred()) SWIG_fail
;
28630 resultobj
= SWIG_Py_Void();
28637 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28638 PyObject
*resultobj
= 0;
28639 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28642 PyObject
*swig_obj
[1] ;
28644 if (!args
) SWIG_fail
;
28645 swig_obj
[0] = args
;
28646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28647 if (!SWIG_IsOK(res1
)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28650 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 (arg1
)->OnEndPrinting();
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 resultobj
= SWIG_Py_Void();
28664 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28665 PyObject
*resultobj
= 0;
28666 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28669 PyObject
*swig_obj
[1] ;
28671 if (!args
) SWIG_fail
;
28672 swig_obj
[0] = args
;
28673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28674 if (!SWIG_IsOK(res1
)) {
28675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28677 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 (arg1
)->OnPreparePrinting();
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= SWIG_Py_Void();
28691 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
= 0;
28693 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28700 PyObject
* obj0
= 0 ;
28701 PyObject
* obj1
= 0 ;
28702 char * kwnames
[] = {
28703 (char *) "self",(char *) "page", NULL
28706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28708 if (!SWIG_IsOK(res1
)) {
28709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28711 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28713 if (!SWIG_IsOK(ecode2
)) {
28714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28716 arg2
= static_cast< int >(val2
);
28718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28719 result
= (bool)(arg1
)->HasPage(arg2
);
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28732 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28733 PyObject
*resultobj
= 0;
28734 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28735 int *arg2
= (int *) 0 ;
28736 int *arg3
= (int *) 0 ;
28737 int *arg4
= (int *) 0 ;
28738 int *arg5
= (int *) 0 ;
28742 int res2
= SWIG_TMPOBJ
;
28744 int res3
= SWIG_TMPOBJ
;
28746 int res4
= SWIG_TMPOBJ
;
28748 int res5
= SWIG_TMPOBJ
;
28749 PyObject
*swig_obj
[1] ;
28755 if (!args
) SWIG_fail
;
28756 swig_obj
[0] = args
;
28757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28758 if (!SWIG_IsOK(res1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28761 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= SWIG_Py_Void();
28769 if (SWIG_IsTmpObj(res2
)) {
28770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28772 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28775 if (SWIG_IsTmpObj(res3
)) {
28776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28778 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28781 if (SWIG_IsTmpObj(res4
)) {
28782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28784 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28787 if (SWIG_IsTmpObj(res5
)) {
28788 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28790 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28791 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28799 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28802 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28803 return SWIG_Py_Void();
28806 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28807 return SWIG_Python_InitShadowInstance(args
);
28810 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28811 PyObject
*resultobj
= 0;
28812 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28813 wxWindow
*arg2
= (wxWindow
*) 0 ;
28814 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28815 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28816 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28817 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28818 long arg5
= (long) 0 ;
28819 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28820 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28821 wxPreviewCanvas
*result
= 0 ;
28830 bool temp6
= false ;
28831 PyObject
* obj0
= 0 ;
28832 PyObject
* obj1
= 0 ;
28833 PyObject
* obj2
= 0 ;
28834 PyObject
* obj3
= 0 ;
28835 PyObject
* obj4
= 0 ;
28836 PyObject
* obj5
= 0 ;
28837 char * kwnames
[] = {
28838 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28843 if (!SWIG_IsOK(res1
)) {
28844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28846 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28847 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28848 if (!SWIG_IsOK(res2
)) {
28849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28851 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28855 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28861 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28865 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28866 if (!SWIG_IsOK(ecode5
)) {
28867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28869 arg5
= static_cast< long >(val5
);
28873 arg6
= wxString_in_helper(obj5
);
28874 if (arg6
== NULL
) SWIG_fail
;
28879 if (!wxPyCheckForApp()) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28882 wxPyEndAllowThreads(__tstate
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28900 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28903 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28904 return SWIG_Py_Void();
28907 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28908 return SWIG_Python_InitShadowInstance(args
);
28911 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28912 PyObject
*resultobj
= 0;
28913 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28914 wxFrame
*arg2
= (wxFrame
*) 0 ;
28915 wxString
*arg3
= 0 ;
28916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28920 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28921 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28922 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28923 wxPreviewFrame
*result
= 0 ;
28927 bool temp3
= false ;
28932 bool temp7
= false ;
28933 PyObject
* obj0
= 0 ;
28934 PyObject
* obj1
= 0 ;
28935 PyObject
* obj2
= 0 ;
28936 PyObject
* obj3
= 0 ;
28937 PyObject
* obj4
= 0 ;
28938 PyObject
* obj5
= 0 ;
28939 PyObject
* obj6
= 0 ;
28940 char * kwnames
[] = {
28941 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28945 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28946 if (!SWIG_IsOK(res1
)) {
28947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28949 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28950 if (!SWIG_IsOK(res2
)) {
28951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28953 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28955 arg3
= wxString_in_helper(obj2
);
28956 if (arg3
== NULL
) SWIG_fail
;
28962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28972 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28973 if (!SWIG_IsOK(ecode6
)) {
28974 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28976 arg6
= static_cast< long >(val6
);
28980 arg7
= wxString_in_helper(obj6
);
28981 if (arg7
== NULL
) SWIG_fail
;
28986 if (!wxPyCheckForApp()) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28989 wxPyEndAllowThreads(__tstate
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29015 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29016 PyObject
*resultobj
= 0;
29017 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29020 PyObject
*swig_obj
[1] ;
29022 if (!args
) SWIG_fail
;
29023 swig_obj
[0] = args
;
29024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29025 if (!SWIG_IsOK(res1
)) {
29026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29028 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 (arg1
)->Initialize();
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29035 resultobj
= SWIG_Py_Void();
29042 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29043 PyObject
*resultobj
= 0;
29044 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29047 PyObject
*swig_obj
[1] ;
29049 if (!args
) SWIG_fail
;
29050 swig_obj
[0] = args
;
29051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29052 if (!SWIG_IsOK(res1
)) {
29053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29055 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 (arg1
)->CreateControlBar();
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= SWIG_Py_Void();
29069 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29070 PyObject
*resultobj
= 0;
29071 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29074 PyObject
*swig_obj
[1] ;
29076 if (!args
) SWIG_fail
;
29077 swig_obj
[0] = args
;
29078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29079 if (!SWIG_IsOK(res1
)) {
29080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29082 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29085 (arg1
)->CreateCanvas();
29086 wxPyEndAllowThreads(__tstate
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_Py_Void();
29096 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29097 PyObject
*resultobj
= 0;
29098 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29099 wxPreviewControlBar
*result
= 0 ;
29102 PyObject
*swig_obj
[1] ;
29104 if (!args
) SWIG_fail
;
29105 swig_obj
[0] = args
;
29106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29107 if (!SWIG_IsOK(res1
)) {
29108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29110 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29113 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29124 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29127 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29128 return SWIG_Py_Void();
29131 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29132 return SWIG_Python_InitShadowInstance(args
);
29135 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29136 PyObject
*resultobj
= 0;
29137 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29139 wxWindow
*arg3
= (wxWindow
*) 0 ;
29140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29144 long arg6
= (long) wxTAB_TRAVERSAL
;
29145 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29146 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29147 wxPreviewControlBar
*result
= 0 ;
29158 bool temp7
= false ;
29159 PyObject
* obj0
= 0 ;
29160 PyObject
* obj1
= 0 ;
29161 PyObject
* obj2
= 0 ;
29162 PyObject
* obj3
= 0 ;
29163 PyObject
* obj4
= 0 ;
29164 PyObject
* obj5
= 0 ;
29165 PyObject
* obj6
= 0 ;
29166 char * kwnames
[] = {
29167 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29172 if (!SWIG_IsOK(res1
)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29175 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29176 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29177 if (!SWIG_IsOK(ecode2
)) {
29178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29180 arg2
= static_cast< long >(val2
);
29181 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29182 if (!SWIG_IsOK(res3
)) {
29183 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29185 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29189 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29195 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29199 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29200 if (!SWIG_IsOK(ecode6
)) {
29201 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29203 arg6
= static_cast< long >(val6
);
29207 arg7
= wxString_in_helper(obj6
);
29208 if (arg7
== NULL
) SWIG_fail
;
29213 if (!wxPyCheckForApp()) SWIG_fail
;
29214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29215 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29216 wxPyEndAllowThreads(__tstate
);
29217 if (PyErr_Occurred()) SWIG_fail
;
29219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29234 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29235 PyObject
*resultobj
= 0;
29236 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29240 PyObject
*swig_obj
[1] ;
29242 if (!args
) SWIG_fail
;
29243 swig_obj
[0] = args
;
29244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29245 if (!SWIG_IsOK(res1
)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29248 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 result
= (int)(arg1
)->GetZoomControl();
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 resultobj
= SWIG_From_int(static_cast< int >(result
));
29262 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29263 PyObject
*resultobj
= 0;
29264 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29270 PyObject
* obj0
= 0 ;
29271 PyObject
* obj1
= 0 ;
29272 char * kwnames
[] = {
29273 (char *) "self",(char *) "zoom", NULL
29276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29278 if (!SWIG_IsOK(res1
)) {
29279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29281 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29283 if (!SWIG_IsOK(ecode2
)) {
29284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29286 arg2
= static_cast< int >(val2
);
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 (arg1
)->SetZoomControl(arg2
);
29290 wxPyEndAllowThreads(__tstate
);
29291 if (PyErr_Occurred()) SWIG_fail
;
29293 resultobj
= SWIG_Py_Void();
29300 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29301 PyObject
*resultobj
= 0;
29302 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29303 wxPrintPreview
*result
= 0 ;
29306 PyObject
*swig_obj
[1] ;
29308 if (!args
) SWIG_fail
;
29309 swig_obj
[0] = args
;
29310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29311 if (!SWIG_IsOK(res1
)) {
29312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29314 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29317 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29318 wxPyEndAllowThreads(__tstate
);
29319 if (PyErr_Occurred()) SWIG_fail
;
29321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29328 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29329 PyObject
*resultobj
= 0;
29330 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29333 PyObject
*swig_obj
[1] ;
29335 if (!args
) SWIG_fail
;
29336 swig_obj
[0] = args
;
29337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29338 if (!SWIG_IsOK(res1
)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29341 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_Py_Void();
29355 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29356 PyObject
*resultobj
= 0;
29357 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29360 PyObject
*swig_obj
[1] ;
29362 if (!args
) SWIG_fail
;
29363 swig_obj
[0] = args
;
29364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29365 if (!SWIG_IsOK(res1
)) {
29366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29368 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29371 (arg1
)->OnPrevious();
29372 wxPyEndAllowThreads(__tstate
);
29373 if (PyErr_Occurred()) SWIG_fail
;
29375 resultobj
= SWIG_Py_Void();
29382 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29383 PyObject
*resultobj
= 0;
29384 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29387 PyObject
*swig_obj
[1] ;
29389 if (!args
) SWIG_fail
;
29390 swig_obj
[0] = args
;
29391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29392 if (!SWIG_IsOK(res1
)) {
29393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29395 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29399 wxPyEndAllowThreads(__tstate
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29402 resultobj
= SWIG_Py_Void();
29409 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29410 PyObject
*resultobj
= 0;
29411 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29414 PyObject
*swig_obj
[1] ;
29416 if (!args
) SWIG_fail
;
29417 swig_obj
[0] = args
;
29418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29419 if (!SWIG_IsOK(res1
)) {
29420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29422 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29426 wxPyEndAllowThreads(__tstate
);
29427 if (PyErr_Occurred()) SWIG_fail
;
29429 resultobj
= SWIG_Py_Void();
29436 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29437 PyObject
*resultobj
= 0;
29438 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29441 PyObject
*swig_obj
[1] ;
29443 if (!args
) SWIG_fail
;
29444 swig_obj
[0] = args
;
29445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29446 if (!SWIG_IsOK(res1
)) {
29447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29449 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29453 wxPyEndAllowThreads(__tstate
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= SWIG_Py_Void();
29463 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29466 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29467 return SWIG_Py_Void();
29470 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29471 return SWIG_Python_InitShadowInstance(args
);
29474 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29475 PyObject
*resultobj
= 0;
29476 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29477 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29478 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29479 wxPrintPreview
*result
= 0 ;
29485 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29486 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29487 if (!SWIG_IsOK(res1
)) {
29488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29490 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29491 if (!SWIG_IsOK(res2
)) {
29492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29495 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29496 if (!SWIG_IsOK(res3
)) {
29497 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29499 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29502 if (!wxPyCheckForApp()) SWIG_fail
;
29503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29504 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29505 wxPyEndAllowThreads(__tstate
);
29506 if (PyErr_Occurred()) SWIG_fail
;
29508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29515 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29516 PyObject
*resultobj
= 0;
29517 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29518 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29519 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29520 wxPrintPreview
*result
= 0 ;
29526 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29527 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29528 if (!SWIG_IsOK(res1
)) {
29529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29531 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29532 if (!SWIG_IsOK(res2
)) {
29533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29535 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29536 if (!SWIG_IsOK(res3
)) {
29537 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29539 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29541 if (!wxPyCheckForApp()) SWIG_fail
;
29542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29543 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29554 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29558 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29560 if ((argc
>= 2) && (argc
<= 3)) {
29565 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29566 _v
= SWIG_CheckState(res
);
29568 if (!_v
) goto check_1
;
29570 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29575 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29579 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29584 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29585 PyObject
*resultobj
= 0;
29586 wxPrintPreview
*arg1
= (wxPrintPreview
*) 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_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29594 if (!SWIG_IsOK(res1
)) {
29595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29597 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29605 resultobj
= SWIG_Py_Void();
29612 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29613 PyObject
*resultobj
= 0;
29614 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29621 PyObject
* obj0
= 0 ;
29622 PyObject
* obj1
= 0 ;
29623 char * kwnames
[] = {
29624 (char *) "self",(char *) "pageNum", NULL
29627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29629 if (!SWIG_IsOK(res1
)) {
29630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29632 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29634 if (!SWIG_IsOK(ecode2
)) {
29635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29637 arg2
= static_cast< int >(val2
);
29639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29640 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29641 wxPyEndAllowThreads(__tstate
);
29642 if (PyErr_Occurred()) SWIG_fail
;
29645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29653 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29654 PyObject
*resultobj
= 0;
29655 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29659 PyObject
*swig_obj
[1] ;
29661 if (!args
) SWIG_fail
;
29662 swig_obj
[0] = args
;
29663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29664 if (!SWIG_IsOK(res1
)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29667 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29670 result
= (int)(arg1
)->GetCurrentPage();
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29674 resultobj
= SWIG_From_int(static_cast< int >(result
));
29681 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29682 PyObject
*resultobj
= 0;
29683 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29684 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 char * kwnames
[] = {
29691 (char *) "self",(char *) "printout", NULL
29694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29696 if (!SWIG_IsOK(res1
)) {
29697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29699 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29700 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29701 if (!SWIG_IsOK(res2
)) {
29702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29706 (arg1
)->SetPrintout(arg2
);
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 resultobj
= SWIG_Py_Void();
29717 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29718 PyObject
*resultobj
= 0;
29719 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29720 wxPyPrintout
*result
= 0 ;
29723 PyObject
*swig_obj
[1] ;
29725 if (!args
) SWIG_fail
;
29726 swig_obj
[0] = args
;
29727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29728 if (!SWIG_IsOK(res1
)) {
29729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29731 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29739 resultobj
= wxPyMake_wxObject(result
, 0);
29747 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29748 PyObject
*resultobj
= 0;
29749 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29750 wxPyPrintout
*result
= 0 ;
29753 PyObject
*swig_obj
[1] ;
29755 if (!args
) SWIG_fail
;
29756 swig_obj
[0] = args
;
29757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29758 if (!SWIG_IsOK(res1
)) {
29759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29761 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29764 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29765 wxPyEndAllowThreads(__tstate
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29769 resultobj
= wxPyMake_wxObject(result
, 0);
29777 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
= 0;
29779 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29780 wxFrame
*arg2
= (wxFrame
*) 0 ;
29785 PyObject
* obj0
= 0 ;
29786 PyObject
* obj1
= 0 ;
29787 char * kwnames
[] = {
29788 (char *) "self",(char *) "frame", NULL
29791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29793 if (!SWIG_IsOK(res1
)) {
29794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29796 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29797 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29798 if (!SWIG_IsOK(res2
)) {
29799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29801 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 (arg1
)->SetFrame(arg2
);
29805 wxPyEndAllowThreads(__tstate
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29808 resultobj
= SWIG_Py_Void();
29815 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29816 PyObject
*resultobj
= 0;
29817 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29818 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29823 PyObject
* obj0
= 0 ;
29824 PyObject
* obj1
= 0 ;
29825 char * kwnames
[] = {
29826 (char *) "self",(char *) "canvas", NULL
29829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29831 if (!SWIG_IsOK(res1
)) {
29832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29834 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29836 if (!SWIG_IsOK(res2
)) {
29837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29839 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 (arg1
)->SetCanvas(arg2
);
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= SWIG_Py_Void();
29853 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29854 PyObject
*resultobj
= 0;
29855 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29856 wxFrame
*result
= 0 ;
29859 PyObject
*swig_obj
[1] ;
29861 if (!args
) SWIG_fail
;
29862 swig_obj
[0] = args
;
29863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29864 if (!SWIG_IsOK(res1
)) {
29865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29867 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 result
= (wxFrame
*)(arg1
)->GetFrame();
29871 wxPyEndAllowThreads(__tstate
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29875 resultobj
= wxPyMake_wxObject(result
, 0);
29883 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29884 PyObject
*resultobj
= 0;
29885 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29886 wxPreviewCanvas
*result
= 0 ;
29889 PyObject
*swig_obj
[1] ;
29891 if (!args
) SWIG_fail
;
29892 swig_obj
[0] = args
;
29893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29897 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29911 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
= 0;
29913 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29914 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29923 PyObject
* obj0
= 0 ;
29924 PyObject
* obj1
= 0 ;
29925 PyObject
* obj2
= 0 ;
29926 char * kwnames
[] = {
29927 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29932 if (!SWIG_IsOK(res1
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29935 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29937 if (!SWIG_IsOK(res2
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29940 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29941 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29942 if (!SWIG_IsOK(res3
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29948 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29952 wxPyEndAllowThreads(__tstate
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29964 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29965 PyObject
*resultobj
= 0;
29966 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29967 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29976 PyObject
* obj0
= 0 ;
29977 PyObject
* obj1
= 0 ;
29978 PyObject
* obj2
= 0 ;
29979 char * kwnames
[] = {
29980 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29985 if (!SWIG_IsOK(res1
)) {
29986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29988 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29990 if (!SWIG_IsOK(res2
)) {
29991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29993 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29994 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29995 if (!SWIG_IsOK(res3
)) {
29996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30001 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30017 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
= 0;
30019 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30026 PyObject
* obj0
= 0 ;
30027 PyObject
* obj1
= 0 ;
30028 char * kwnames
[] = {
30029 (char *) "self",(char *) "pageNum", NULL
30032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30034 if (!SWIG_IsOK(res1
)) {
30035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30037 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30039 if (!SWIG_IsOK(ecode2
)) {
30040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30042 arg2
= static_cast< int >(val2
);
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 result
= (bool)(arg1
)->RenderPage(arg2
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30058 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
= 0;
30060 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30061 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30066 PyObject
* obj0
= 0 ;
30067 PyObject
* obj1
= 0 ;
30068 char * kwnames
[] = {
30069 (char *) "self",(char *) "canvas", NULL
30072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30074 if (!SWIG_IsOK(res1
)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30077 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30079 if (!SWIG_IsOK(res2
)) {
30080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30082 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30085 (arg1
)->AdjustScrollbars(arg2
);
30086 wxPyEndAllowThreads(__tstate
);
30087 if (PyErr_Occurred()) SWIG_fail
;
30089 resultobj
= SWIG_Py_Void();
30096 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30097 PyObject
*resultobj
= 0;
30098 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30099 wxPrintDialogData
*result
= 0 ;
30102 PyObject
*swig_obj
[1] ;
30104 if (!args
) SWIG_fail
;
30105 swig_obj
[0] = args
;
30106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30107 if (!SWIG_IsOK(res1
)) {
30108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30110 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30114 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30115 result
= (wxPrintDialogData
*) &_result_ref
;
30117 wxPyEndAllowThreads(__tstate
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30127 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30128 PyObject
*resultobj
= 0;
30129 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30135 PyObject
* obj0
= 0 ;
30136 PyObject
* obj1
= 0 ;
30137 char * kwnames
[] = {
30138 (char *) "self",(char *) "percent", NULL
30141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30143 if (!SWIG_IsOK(res1
)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30146 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30148 if (!SWIG_IsOK(ecode2
)) {
30149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30151 arg2
= static_cast< int >(val2
);
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 (arg1
)->SetZoom(arg2
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30158 resultobj
= SWIG_Py_Void();
30165 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30166 PyObject
*resultobj
= 0;
30167 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30171 PyObject
*swig_obj
[1] ;
30173 if (!args
) SWIG_fail
;
30174 swig_obj
[0] = args
;
30175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30176 if (!SWIG_IsOK(res1
)) {
30177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30179 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30182 result
= (int)(arg1
)->GetZoom();
30183 wxPyEndAllowThreads(__tstate
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 resultobj
= SWIG_From_int(static_cast< int >(result
));
30193 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30194 PyObject
*resultobj
= 0;
30195 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30199 PyObject
*swig_obj
[1] ;
30201 if (!args
) SWIG_fail
;
30202 swig_obj
[0] = args
;
30203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30204 if (!SWIG_IsOK(res1
)) {
30205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30207 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30210 result
= (int)(arg1
)->GetMaxPage();
30211 wxPyEndAllowThreads(__tstate
);
30212 if (PyErr_Occurred()) SWIG_fail
;
30214 resultobj
= SWIG_From_int(static_cast< int >(result
));
30221 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30222 PyObject
*resultobj
= 0;
30223 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30227 PyObject
*swig_obj
[1] ;
30229 if (!args
) SWIG_fail
;
30230 swig_obj
[0] = args
;
30231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30232 if (!SWIG_IsOK(res1
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30235 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30238 result
= (int)(arg1
)->GetMinPage();
30239 wxPyEndAllowThreads(__tstate
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30242 resultobj
= SWIG_From_int(static_cast< int >(result
));
30249 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30250 PyObject
*resultobj
= 0;
30251 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30255 PyObject
*swig_obj
[1] ;
30257 if (!args
) SWIG_fail
;
30258 swig_obj
[0] = args
;
30259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30260 if (!SWIG_IsOK(res1
)) {
30261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30263 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 result
= (bool)(arg1
)->Ok();
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30279 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
= 0;
30281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30287 PyObject
* obj0
= 0 ;
30288 PyObject
* obj1
= 0 ;
30289 char * kwnames
[] = {
30290 (char *) "self",(char *) "ok", NULL
30293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30298 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30299 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30300 if (!SWIG_IsOK(ecode2
)) {
30301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30303 arg2
= static_cast< bool >(val2
);
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 (arg1
)->SetOk(arg2
);
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30310 resultobj
= SWIG_Py_Void();
30317 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
= 0;
30319 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 char * kwnames
[] = {
30329 (char *) "self",(char *) "interactive", NULL
30332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30334 if (!SWIG_IsOK(res1
)) {
30335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30337 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30338 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30339 if (!SWIG_IsOK(ecode2
)) {
30340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30342 arg2
= static_cast< bool >(val2
);
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 result
= (bool)(arg1
)->Print(arg2
);
30346 wxPyEndAllowThreads(__tstate
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30358 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30359 PyObject
*resultobj
= 0;
30360 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30363 PyObject
*swig_obj
[1] ;
30365 if (!args
) SWIG_fail
;
30366 swig_obj
[0] = args
;
30367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30368 if (!SWIG_IsOK(res1
)) {
30369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30371 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30374 (arg1
)->DetermineScaling();
30375 wxPyEndAllowThreads(__tstate
);
30376 if (PyErr_Occurred()) SWIG_fail
;
30378 resultobj
= SWIG_Py_Void();
30385 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30388 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30389 return SWIG_Py_Void();
30392 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30393 return SWIG_Python_InitShadowInstance(args
);
30396 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30397 PyObject
*resultobj
= 0;
30398 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30399 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30400 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30401 wxPyPrintPreview
*result
= 0 ;
30407 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30408 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30409 if (!SWIG_IsOK(res1
)) {
30410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30412 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30413 if (!SWIG_IsOK(res2
)) {
30414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30417 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30418 if (!SWIG_IsOK(res3
)) {
30419 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30421 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30424 if (!wxPyCheckForApp()) SWIG_fail
;
30425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30427 wxPyEndAllowThreads(__tstate
);
30428 if (PyErr_Occurred()) SWIG_fail
;
30430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30437 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30438 PyObject
*resultobj
= 0;
30439 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30440 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30441 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30442 wxPyPrintPreview
*result
= 0 ;
30448 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30449 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30450 if (!SWIG_IsOK(res1
)) {
30451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30453 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30454 if (!SWIG_IsOK(res2
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30457 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30458 if (!SWIG_IsOK(res3
)) {
30459 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30461 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30463 if (!wxPyCheckForApp()) SWIG_fail
;
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30466 wxPyEndAllowThreads(__tstate
);
30467 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30476 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30480 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30482 if ((argc
>= 2) && (argc
<= 3)) {
30487 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30488 _v
= SWIG_CheckState(res
);
30490 if (!_v
) goto check_1
;
30492 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30497 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30501 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30506 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30507 PyObject
*resultobj
= 0;
30508 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30509 PyObject
*arg2
= (PyObject
*) 0 ;
30510 PyObject
*arg3
= (PyObject
*) 0 ;
30513 PyObject
* obj0
= 0 ;
30514 PyObject
* obj1
= 0 ;
30515 PyObject
* obj2
= 0 ;
30516 char * kwnames
[] = {
30517 (char *) "self",(char *) "self",(char *) "_class", NULL
30520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30522 if (!SWIG_IsOK(res1
)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30525 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= SWIG_Py_Void();
30541 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30544 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30545 return SWIG_Py_Void();
30548 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30549 return SWIG_Python_InitShadowInstance(args
);
30552 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30553 PyObject
*resultobj
= 0;
30554 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30555 wxFrame
*arg2
= (wxFrame
*) 0 ;
30556 wxString
*arg3
= 0 ;
30557 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30558 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30559 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30560 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30561 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30562 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30563 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30564 wxPyPreviewFrame
*result
= 0 ;
30569 bool temp3
= false ;
30574 bool temp7
= false ;
30575 PyObject
* obj0
= 0 ;
30576 PyObject
* obj1
= 0 ;
30577 PyObject
* obj2
= 0 ;
30578 PyObject
* obj3
= 0 ;
30579 PyObject
* obj4
= 0 ;
30580 PyObject
* obj5
= 0 ;
30581 PyObject
* obj6
= 0 ;
30582 char * kwnames
[] = {
30583 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30588 if (!SWIG_IsOK(res1
)) {
30589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30591 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30592 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30593 if (!SWIG_IsOK(res2
)) {
30594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30596 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30598 arg3
= wxString_in_helper(obj2
);
30599 if (arg3
== NULL
) SWIG_fail
;
30605 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30611 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30615 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30616 if (!SWIG_IsOK(ecode6
)) {
30617 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30619 arg6
= static_cast< long >(val6
);
30623 arg7
= wxString_in_helper(obj6
);
30624 if (arg7
== NULL
) SWIG_fail
;
30629 if (!wxPyCheckForApp()) SWIG_fail
;
30630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30631 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30632 wxPyEndAllowThreads(__tstate
);
30633 if (PyErr_Occurred()) SWIG_fail
;
30635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30658 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30659 PyObject
*resultobj
= 0;
30660 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30661 PyObject
*arg2
= (PyObject
*) 0 ;
30662 PyObject
*arg3
= (PyObject
*) 0 ;
30665 PyObject
* obj0
= 0 ;
30666 PyObject
* obj1
= 0 ;
30667 PyObject
* obj2
= 0 ;
30668 char * kwnames
[] = {
30669 (char *) "self",(char *) "self",(char *) "_class", NULL
30672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30674 if (!SWIG_IsOK(res1
)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30677 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30682 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30686 resultobj
= SWIG_Py_Void();
30693 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
= 0;
30695 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30696 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 char * kwnames
[] = {
30704 (char *) "self",(char *) "canvas", NULL
30707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30709 if (!SWIG_IsOK(res1
)) {
30710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30712 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30714 if (!SWIG_IsOK(res2
)) {
30715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30717 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30720 (arg1
)->SetPreviewCanvas(arg2
);
30721 wxPyEndAllowThreads(__tstate
);
30722 if (PyErr_Occurred()) SWIG_fail
;
30724 resultobj
= SWIG_Py_Void();
30731 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30732 PyObject
*resultobj
= 0;
30733 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30734 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30739 PyObject
* obj0
= 0 ;
30740 PyObject
* obj1
= 0 ;
30741 char * kwnames
[] = {
30742 (char *) "self",(char *) "bar", NULL
30745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30747 if (!SWIG_IsOK(res1
)) {
30748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30750 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30751 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30752 if (!SWIG_IsOK(res2
)) {
30753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30755 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30758 (arg1
)->SetControlBar(arg2
);
30759 wxPyEndAllowThreads(__tstate
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30762 resultobj
= SWIG_Py_Void();
30769 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30770 PyObject
*resultobj
= 0;
30771 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30774 PyObject
*swig_obj
[1] ;
30776 if (!args
) SWIG_fail
;
30777 swig_obj
[0] = args
;
30778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30779 if (!SWIG_IsOK(res1
)) {
30780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30782 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30785 (arg1
)->Initialize();
30786 wxPyEndAllowThreads(__tstate
);
30787 if (PyErr_Occurred()) SWIG_fail
;
30789 resultobj
= SWIG_Py_Void();
30796 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30797 PyObject
*resultobj
= 0;
30798 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30801 PyObject
*swig_obj
[1] ;
30803 if (!args
) SWIG_fail
;
30804 swig_obj
[0] = args
;
30805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30806 if (!SWIG_IsOK(res1
)) {
30807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30809 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30812 (arg1
)->CreateCanvas();
30813 wxPyEndAllowThreads(__tstate
);
30814 if (PyErr_Occurred()) SWIG_fail
;
30816 resultobj
= SWIG_Py_Void();
30823 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30824 PyObject
*resultobj
= 0;
30825 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30828 PyObject
*swig_obj
[1] ;
30830 if (!args
) SWIG_fail
;
30831 swig_obj
[0] = args
;
30832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30833 if (!SWIG_IsOK(res1
)) {
30834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30836 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30839 (arg1
)->CreateControlBar();
30840 wxPyEndAllowThreads(__tstate
);
30841 if (PyErr_Occurred()) SWIG_fail
;
30843 resultobj
= SWIG_Py_Void();
30850 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30853 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30854 return SWIG_Py_Void();
30857 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30858 return SWIG_Python_InitShadowInstance(args
);
30861 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30862 PyObject
*resultobj
= 0;
30863 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30865 wxWindow
*arg3
= (wxWindow
*) 0 ;
30866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30870 long arg6
= (long) 0 ;
30871 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30873 wxPyPreviewControlBar
*result
= 0 ;
30884 bool temp7
= false ;
30885 PyObject
* obj0
= 0 ;
30886 PyObject
* obj1
= 0 ;
30887 PyObject
* obj2
= 0 ;
30888 PyObject
* obj3
= 0 ;
30889 PyObject
* obj4
= 0 ;
30890 PyObject
* obj5
= 0 ;
30891 PyObject
* obj6
= 0 ;
30892 char * kwnames
[] = {
30893 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30898 if (!SWIG_IsOK(res1
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30901 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30902 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30903 if (!SWIG_IsOK(ecode2
)) {
30904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30906 arg2
= static_cast< long >(val2
);
30907 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30908 if (!SWIG_IsOK(res3
)) {
30909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30911 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30925 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30926 if (!SWIG_IsOK(ecode6
)) {
30927 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30929 arg6
= static_cast< long >(val6
);
30933 arg7
= wxString_in_helper(obj6
);
30934 if (arg7
== NULL
) SWIG_fail
;
30939 if (!wxPyCheckForApp()) SWIG_fail
;
30940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30941 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30942 wxPyEndAllowThreads(__tstate
);
30943 if (PyErr_Occurred()) SWIG_fail
;
30945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30960 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
= 0;
30962 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30963 PyObject
*arg2
= (PyObject
*) 0 ;
30964 PyObject
*arg3
= (PyObject
*) 0 ;
30967 PyObject
* obj0
= 0 ;
30968 PyObject
* obj1
= 0 ;
30969 PyObject
* obj2
= 0 ;
30970 char * kwnames
[] = {
30971 (char *) "self",(char *) "self",(char *) "_class", NULL
30974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30976 if (!SWIG_IsOK(res1
)) {
30977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30979 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30984 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30988 resultobj
= SWIG_Py_Void();
30995 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30996 PyObject
*resultobj
= 0;
30997 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30998 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31003 PyObject
* obj0
= 0 ;
31004 PyObject
* obj1
= 0 ;
31005 char * kwnames
[] = {
31006 (char *) "self",(char *) "preview", NULL
31009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31011 if (!SWIG_IsOK(res1
)) {
31012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31014 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31016 if (!SWIG_IsOK(res2
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31019 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
31021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31022 (arg1
)->SetPrintPreview(arg2
);
31023 wxPyEndAllowThreads(__tstate
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31026 resultobj
= SWIG_Py_Void();
31033 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31034 PyObject
*resultobj
= 0;
31035 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31038 PyObject
*swig_obj
[1] ;
31040 if (!args
) SWIG_fail
;
31041 swig_obj
[0] = args
;
31042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31043 if (!SWIG_IsOK(res1
)) {
31044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31046 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31049 (arg1
)->CreateButtons();
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31053 resultobj
= SWIG_Py_Void();
31060 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31061 PyObject
*resultobj
= 0;
31062 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31068 PyObject
* obj0
= 0 ;
31069 PyObject
* obj1
= 0 ;
31070 char * kwnames
[] = {
31071 (char *) "self",(char *) "zoom", NULL
31074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31076 if (!SWIG_IsOK(res1
)) {
31077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31079 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31081 if (!SWIG_IsOK(ecode2
)) {
31082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31084 arg2
= static_cast< int >(val2
);
31086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31087 (arg1
)->SetZoomControl(arg2
);
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31091 resultobj
= SWIG_Py_Void();
31098 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31101 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31102 return SWIG_Py_Void();
31105 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31106 return SWIG_Python_InitShadowInstance(args
);
31109 static PyMethodDef SwigMethods
[] = {
31110 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31112 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31113 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31114 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31116 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31117 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31119 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31126 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31128 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31130 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31131 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31132 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31133 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31134 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31137 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31139 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31142 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31143 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31145 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31147 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31148 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31149 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31150 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31153 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31154 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31156 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31159 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31161 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction
) _wrap_TopLevelWindow_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction
)_wrap_TopLevelWindow_CanSetTransparent
, METH_O
, NULL
},
31165 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31166 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31169 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31170 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31172 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31174 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31176 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31179 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31186 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31188 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31193 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31194 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31196 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31199 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31201 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31203 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31207 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31208 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31211 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31212 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31213 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31214 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31216 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31217 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31220 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31221 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31222 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31224 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31225 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31226 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31227 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31228 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31230 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31233 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31241 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31242 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31243 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31245 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31246 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31248 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31250 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31251 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31253 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31258 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31259 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31260 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31263 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31264 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31266 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31268 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31270 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31271 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31272 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31273 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31274 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31276 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31277 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31279 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31280 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31281 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31282 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31283 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31284 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31285 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31287 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31295 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31297 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31300 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31301 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31304 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31305 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31306 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31307 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31308 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31309 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31311 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31312 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31313 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31314 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31316 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31317 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31318 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31321 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31323 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31325 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31327 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31329 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31330 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31331 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31334 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31336 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31337 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31338 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31340 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31342 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31343 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31347 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31348 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31349 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31350 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31354 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31355 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31357 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31360 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31361 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31363 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31366 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31367 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31368 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31371 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31372 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31373 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31375 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31384 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31385 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31386 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31387 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31389 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31390 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31393 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31394 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31396 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31399 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31400 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31401 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31404 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31405 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31407 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31408 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31410 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31415 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31416 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31422 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31423 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31425 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31429 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31431 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31432 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31433 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31434 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31436 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31437 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31438 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31440 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31442 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31443 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31445 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31446 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31447 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31448 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31449 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31450 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31455 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31456 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31458 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31459 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31460 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31463 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31464 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31467 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31468 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31476 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31477 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31478 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31479 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31480 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31481 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31482 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31483 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31484 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31485 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31488 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31489 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31490 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31492 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31493 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31495 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31496 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31498 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31500 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31501 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31503 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31504 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31506 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31507 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31508 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31509 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31510 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31512 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31513 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31514 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31515 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31516 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31517 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31524 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31525 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31527 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31528 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31529 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31532 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31533 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31536 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31537 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31538 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31540 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31541 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31542 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31543 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31547 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31548 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31550 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31551 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31552 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31553 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31557 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31558 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31560 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31562 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31564 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31565 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31567 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31569 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31570 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31571 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31572 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31573 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31574 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31575 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
31576 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31579 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31580 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31582 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31584 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31585 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31586 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31588 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31590 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31591 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31593 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31601 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31602 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31603 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31604 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31605 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31606 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31607 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31608 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31609 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31611 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31619 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31620 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31621 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31622 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31623 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31624 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31625 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31626 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31627 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31629 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31637 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31638 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31639 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31640 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31641 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31642 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31643 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31644 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31645 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31646 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31647 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31648 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31649 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31650 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31651 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31652 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31653 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31654 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31655 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31656 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31657 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31658 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31659 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31671 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31673 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31675 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31676 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31677 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31678 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31684 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31685 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31686 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31687 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31688 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31689 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31690 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31691 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31692 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31693 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31694 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31695 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31696 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31697 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31698 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31708 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31709 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31710 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31711 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31713 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31714 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31715 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31716 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31717 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31718 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31719 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31720 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31721 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31722 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31723 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31724 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31725 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31726 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31727 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31728 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31729 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31743 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31744 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31745 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31746 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31747 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31748 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31750 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31751 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31753 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31754 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31755 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31756 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31757 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31758 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31759 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31761 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31767 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31768 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31769 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31770 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31771 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31773 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31775 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31776 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31779 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31781 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31783 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31785 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31786 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31789 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31790 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31791 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31792 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31794 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31795 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31796 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31798 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31799 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31801 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31802 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31803 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31804 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31805 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31806 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31808 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31810 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31811 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31812 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31813 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31814 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31815 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31816 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31817 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31818 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31819 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31821 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31823 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31824 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31827 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31828 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31833 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31835 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31836 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31837 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31838 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31841 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31842 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31843 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31844 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31846 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31847 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31852 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31853 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31854 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31855 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31856 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31860 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31862 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31863 { NULL
, NULL
, 0, NULL
}
31867 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31869 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31870 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31872 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31873 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31875 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31876 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31878 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31879 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31881 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31882 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31884 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31885 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31887 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31888 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31890 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31891 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31893 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31894 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31896 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31897 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31899 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31900 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31902 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31903 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31905 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
31906 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31908 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31909 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31911 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31912 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31914 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31915 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31917 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31918 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31920 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31921 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31923 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31924 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31926 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31927 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31929 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31930 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31932 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31933 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31935 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31936 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31938 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31939 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31941 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31942 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31944 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31945 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31947 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31948 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31950 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31951 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31953 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31954 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31956 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31957 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31959 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31960 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31962 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31963 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31965 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31966 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31968 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31969 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31971 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31972 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31974 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31977 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31978 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31980 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31981 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31983 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31984 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31986 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31987 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31989 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31990 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31992 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31993 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31995 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31996 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31998 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31999 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32001 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32002 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32004 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32005 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32007 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32008 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32010 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32011 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32013 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32014 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32016 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32017 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32019 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32020 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32022 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32023 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32025 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32026 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32028 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32029 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32031 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32032 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32034 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32035 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32037 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32038 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32040 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32041 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32043 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32044 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32046 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32047 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32049 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32050 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32052 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32053 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32055 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32058 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32059 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32061 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32062 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32064 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32065 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32067 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32068 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32070 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32071 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32073 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32074 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32076 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32077 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32079 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32080 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32082 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32083 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32085 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32086 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32088 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32089 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32091 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32092 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32094 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32095 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32097 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32098 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32100 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32101 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32103 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32104 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32106 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32109 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32110 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32112 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32113 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32115 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32116 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32118 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32119 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32121 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32122 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32124 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32125 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32127 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32128 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32130 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32131 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32133 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32134 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32136 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32137 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32139 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32140 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32142 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32143 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32145 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32146 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32148 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32149 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32151 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32152 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32154 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32155 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32157 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32158 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32160 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32161 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32163 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32164 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32166 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32167 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32169 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32170 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32172 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32173 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32175 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32176 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32178 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32179 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32181 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32182 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32184 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32185 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32187 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32188 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32190 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32193 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32196 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32197 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32199 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32200 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32202 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32203 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32205 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32206 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32208 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32209 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32211 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32212 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32214 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32215 return (void *)((wxObject
*) ((wxSizer
*) x
));
32217 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32218 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32220 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32221 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32223 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32224 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32226 static void *_p_wxEventTo_p_wxObject(void *x
) {
32227 return (void *)((wxObject
*) ((wxEvent
*) x
));
32229 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32230 return (void *)((wxObject
*) ((wxFontData
*) x
));
32232 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32233 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32235 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32236 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32238 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32239 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32241 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32242 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32244 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32245 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32247 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32248 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32250 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32253 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32254 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32256 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32257 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32259 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32260 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32262 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32263 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32265 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32266 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32268 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32269 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32271 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32272 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32274 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32277 static void *_p_wxControlTo_p_wxObject(void *x
) {
32278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32280 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32281 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32283 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32284 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32286 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32287 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32289 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32290 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32292 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32293 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32295 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32298 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32299 return (void *)((wxObject
*) ((wxColourData
*) x
));
32301 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32302 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32304 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32307 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32310 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32311 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32313 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32316 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32319 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32322 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32325 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32326 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32328 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32331 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32334 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32337 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32338 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32340 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32341 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32343 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32344 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32346 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32347 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32349 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32350 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32352 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32353 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32355 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32356 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32358 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32359 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32361 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32362 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32364 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32365 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32367 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32368 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32370 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32371 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32373 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32374 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32376 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32377 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32379 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32380 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32382 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32383 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32385 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32386 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32388 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32389 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32391 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32392 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32394 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32395 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32397 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32398 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32400 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32401 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32403 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32404 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32406 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32407 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32409 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32410 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32412 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32413 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32415 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32416 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32418 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32419 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32421 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32422 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32424 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32425 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32427 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32428 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32430 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32431 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32433 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32434 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32436 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32437 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32439 static void *_p_wxImageTo_p_wxObject(void *x
) {
32440 return (void *)((wxObject
*) ((wxImage
*) x
));
32442 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32443 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32445 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32446 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32448 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32449 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32451 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32452 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32454 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32457 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32458 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32460 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32461 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32463 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32464 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32466 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32467 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32469 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32470 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32472 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32473 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32475 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32478 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32479 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32481 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32482 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32484 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32487 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32488 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32490 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32491 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32493 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32496 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32499 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32500 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32502 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32503 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32505 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32506 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32508 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32509 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32511 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32514 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32517 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32518 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32520 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32521 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32523 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32526 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32529 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32532 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32535 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32538 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32541 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32544 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32547 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32550 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32553 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32556 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32559 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32562 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32565 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32568 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32571 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32574 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32577 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32580 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32583 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32586 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32589 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32592 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32595 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32598 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32601 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32602 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32604 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32605 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32607 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32608 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32610 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32611 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32613 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32614 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32616 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32617 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32619 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32620 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32622 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32623 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32625 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32626 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32628 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32629 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32631 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32632 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32634 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32635 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32637 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32638 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32640 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32641 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32643 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32644 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32646 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32647 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32649 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32650 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32652 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32653 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32655 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32656 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32658 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32659 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32661 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32662 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32664 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32665 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32667 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32668 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32670 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32671 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32673 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32674 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32676 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32677 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32679 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32680 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32682 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32683 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32685 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32686 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32688 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32689 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32691 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32692 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32694 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32695 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32697 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32698 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32700 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32701 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32703 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32704 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32706 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32707 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32709 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32710 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32712 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32713 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32715 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32716 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32718 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32719 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32721 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32722 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32724 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32725 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32727 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32728 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32730 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32731 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32733 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32734 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32736 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32737 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32739 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32740 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32742 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32743 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32745 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32746 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32748 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32749 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32751 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32752 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32754 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32755 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32757 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32758 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32760 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32761 return (void *)((wxWindow
*) ((wxControl
*) x
));
32763 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32764 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32766 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32767 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32769 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32770 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32772 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32773 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32775 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32776 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32778 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32779 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32781 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32782 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32784 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32785 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32787 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32788 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32790 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32791 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32793 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32794 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32796 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32797 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32799 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32800 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32802 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32803 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32805 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32806 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32808 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32809 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32811 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32812 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32814 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32815 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32817 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32818 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32820 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32821 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32823 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32824 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32826 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32827 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32829 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32830 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32832 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32833 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32835 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32836 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32838 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32839 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32841 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32842 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32844 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32845 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32847 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32848 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32850 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32851 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32853 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32854 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32856 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32857 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32859 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32860 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32862 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32863 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32865 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32866 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32868 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32869 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32871 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32872 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32874 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32875 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32877 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32878 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32880 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32881 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32883 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32884 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32886 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32887 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32889 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32890 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32892 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32893 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32895 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32896 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32898 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32899 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32901 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32902 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32904 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32905 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32907 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32908 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32910 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32911 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32913 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32914 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32916 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32917 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32919 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32920 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32922 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32923 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32924 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};
32925 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32926 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32927 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32928 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32929 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32930 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32931 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32932 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32933 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32934 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32935 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32936 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32937 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32938 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32939 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32940 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32941 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32942 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32943 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32944 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32945 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32946 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32947 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32948 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32949 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32950 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32951 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32952 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32953 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32954 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32955 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32956 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32957 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32958 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32959 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32960 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32961 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32962 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32963 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32964 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32965 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32966 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32967 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32968 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32969 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32970 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32971 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32972 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32973 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32974 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32975 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32976 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32977 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32978 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32979 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32980 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32981 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32982 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32983 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32984 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32985 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32986 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32987 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32988 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32989 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32990 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32991 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32992 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32993 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32994 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32995 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32996 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32997 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32998 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32999 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33000 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33001 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33002 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33003 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33004 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33005 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33006 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33007 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33008 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33009 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33010 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33011 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33012 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33013 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33014 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33015 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33016 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33017 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33018 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33019 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33020 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33021 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33022 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33023 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33024 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33025 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33026 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33027 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33028 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33029 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33030 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33031 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33032 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33033 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33034 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33035 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33036 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33037 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33038 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33039 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33040 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33041 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33042 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33043 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33044 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33045 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33046 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33047 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33048 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33049 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33050 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33051 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33052 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33053 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33054 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33055 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33056 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33057 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33058 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33059 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33060 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33061 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33062 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33063 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33064 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33065 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33066 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33067 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33068 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33069 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33070 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33071 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33072 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33073 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33074 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33075 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33076 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33077 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33078 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33079 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33080 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33081 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33082 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33083 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33084 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33085 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33086 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33088 static swig_type_info
*swig_type_initial
[] = {
33091 &_swigt__p_form_ops_t
,
33093 &_swigt__p_unsigned_char
,
33094 &_swigt__p_unsigned_int
,
33095 &_swigt__p_unsigned_long
,
33096 &_swigt__p_wxANIHandler
,
33097 &_swigt__p_wxAcceleratorTable
,
33098 &_swigt__p_wxActivateEvent
,
33099 &_swigt__p_wxArrayInt
,
33100 &_swigt__p_wxBMPHandler
,
33101 &_swigt__p_wxBitmap
,
33102 &_swigt__p_wxBoxSizer
,
33103 &_swigt__p_wxCURHandler
,
33104 &_swigt__p_wxCalculateLayoutEvent
,
33105 &_swigt__p_wxChildFocusEvent
,
33106 &_swigt__p_wxClipboardTextEvent
,
33107 &_swigt__p_wxCloseEvent
,
33108 &_swigt__p_wxColour
,
33109 &_swigt__p_wxColourData
,
33110 &_swigt__p_wxColourDialog
,
33111 &_swigt__p_wxCommandEvent
,
33112 &_swigt__p_wxContextMenuEvent
,
33113 &_swigt__p_wxControl
,
33114 &_swigt__p_wxControlWithItems
,
33116 &_swigt__p_wxDateEvent
,
33117 &_swigt__p_wxDialog
,
33118 &_swigt__p_wxDirDialog
,
33119 &_swigt__p_wxDisplayChangedEvent
,
33120 &_swigt__p_wxDropFilesEvent
,
33121 &_swigt__p_wxDuplexMode
,
33122 &_swigt__p_wxEraseEvent
,
33123 &_swigt__p_wxEvent
,
33124 &_swigt__p_wxEvtHandler
,
33125 &_swigt__p_wxFSFile
,
33126 &_swigt__p_wxFileDialog
,
33127 &_swigt__p_wxFileSystem
,
33128 &_swigt__p_wxFindDialogEvent
,
33129 &_swigt__p_wxFindReplaceData
,
33130 &_swigt__p_wxFindReplaceDialog
,
33131 &_swigt__p_wxFlexGridSizer
,
33132 &_swigt__p_wxFocusEvent
,
33134 &_swigt__p_wxFontData
,
33135 &_swigt__p_wxFontDialog
,
33136 &_swigt__p_wxFrame
,
33137 &_swigt__p_wxGBSizerItem
,
33138 &_swigt__p_wxGIFHandler
,
33139 &_swigt__p_wxGridBagSizer
,
33140 &_swigt__p_wxGridSizer
,
33141 &_swigt__p_wxHtmlLinkInfo
,
33142 &_swigt__p_wxICOHandler
,
33144 &_swigt__p_wxIconBundle
,
33145 &_swigt__p_wxIconizeEvent
,
33146 &_swigt__p_wxIdleEvent
,
33147 &_swigt__p_wxImage
,
33148 &_swigt__p_wxImageHandler
,
33149 &_swigt__p_wxIndividualLayoutConstraint
,
33150 &_swigt__p_wxInitDialogEvent
,
33151 &_swigt__p_wxJPEGHandler
,
33152 &_swigt__p_wxKeyEvent
,
33153 &_swigt__p_wxLayoutAlgorithm
,
33154 &_swigt__p_wxLayoutConstraints
,
33155 &_swigt__p_wxMDIChildFrame
,
33156 &_swigt__p_wxMDIClientWindow
,
33157 &_swigt__p_wxMDIParentFrame
,
33158 &_swigt__p_wxMaximizeEvent
,
33160 &_swigt__p_wxMenuBar
,
33161 &_swigt__p_wxMenuEvent
,
33162 &_swigt__p_wxMenuItem
,
33163 &_swigt__p_wxMessageDialog
,
33164 &_swigt__p_wxMiniFrame
,
33165 &_swigt__p_wxMouseCaptureChangedEvent
,
33166 &_swigt__p_wxMouseCaptureLostEvent
,
33167 &_swigt__p_wxMouseEvent
,
33168 &_swigt__p_wxMoveEvent
,
33169 &_swigt__p_wxMultiChoiceDialog
,
33170 &_swigt__p_wxNavigationKeyEvent
,
33171 &_swigt__p_wxNcPaintEvent
,
33172 &_swigt__p_wxNotifyEvent
,
33173 &_swigt__p_wxNumberEntryDialog
,
33174 &_swigt__p_wxObject
,
33175 &_swigt__p_wxPCXHandler
,
33176 &_swigt__p_wxPNGHandler
,
33177 &_swigt__p_wxPNMHandler
,
33178 &_swigt__p_wxPageSetupDialog
,
33179 &_swigt__p_wxPageSetupDialogData
,
33180 &_swigt__p_wxPaintEvent
,
33181 &_swigt__p_wxPaletteChangedEvent
,
33182 &_swigt__p_wxPanel
,
33183 &_swigt__p_wxPaperSize
,
33184 &_swigt__p_wxPasswordEntryDialog
,
33185 &_swigt__p_wxPoint
,
33186 &_swigt__p_wxPopupWindow
,
33187 &_swigt__p_wxPreviewCanvas
,
33188 &_swigt__p_wxPreviewControlBar
,
33189 &_swigt__p_wxPreviewFrame
,
33190 &_swigt__p_wxPrintData
,
33191 &_swigt__p_wxPrintDialog
,
33192 &_swigt__p_wxPrintDialogData
,
33193 &_swigt__p_wxPrintPreview
,
33194 &_swigt__p_wxPrinter
,
33195 &_swigt__p_wxProgressDialog
,
33196 &_swigt__p_wxPyApp
,
33197 &_swigt__p_wxPyCommandEvent
,
33198 &_swigt__p_wxPyEvent
,
33199 &_swigt__p_wxPyHtmlListBox
,
33200 &_swigt__p_wxPyImageHandler
,
33201 &_swigt__p_wxPyPanel
,
33202 &_swigt__p_wxPyPopupTransientWindow
,
33203 &_swigt__p_wxPyPreviewControlBar
,
33204 &_swigt__p_wxPyPreviewFrame
,
33205 &_swigt__p_wxPyPrintPreview
,
33206 &_swigt__p_wxPyPrintout
,
33207 &_swigt__p_wxPyScrolledWindow
,
33208 &_swigt__p_wxPySizer
,
33209 &_swigt__p_wxPyTaskBarIcon
,
33210 &_swigt__p_wxPyVListBox
,
33211 &_swigt__p_wxPyVScrolledWindow
,
33212 &_swigt__p_wxPyValidator
,
33213 &_swigt__p_wxPyWindow
,
33214 &_swigt__p_wxQueryLayoutInfoEvent
,
33215 &_swigt__p_wxQueryNewPaletteEvent
,
33217 &_swigt__p_wxRegion
,
33218 &_swigt__p_wxSashEvent
,
33219 &_swigt__p_wxSashLayoutWindow
,
33220 &_swigt__p_wxSashWindow
,
33221 &_swigt__p_wxScrollEvent
,
33222 &_swigt__p_wxScrollWinEvent
,
33223 &_swigt__p_wxScrolledWindow
,
33224 &_swigt__p_wxSetCursorEvent
,
33225 &_swigt__p_wxShowEvent
,
33226 &_swigt__p_wxSingleChoiceDialog
,
33228 &_swigt__p_wxSizeEvent
,
33229 &_swigt__p_wxSizer
,
33230 &_swigt__p_wxSizerItem
,
33231 &_swigt__p_wxSplashScreen
,
33232 &_swigt__p_wxSplashScreenWindow
,
33233 &_swigt__p_wxSplitterEvent
,
33234 &_swigt__p_wxSplitterWindow
,
33235 &_swigt__p_wxStaticBoxSizer
,
33236 &_swigt__p_wxStatusBar
,
33237 &_swigt__p_wxStdDialogButtonSizer
,
33238 &_swigt__p_wxString
,
33239 &_swigt__p_wxSysColourChangedEvent
,
33240 &_swigt__p_wxTIFFHandler
,
33241 &_swigt__p_wxTaskBarIcon
,
33242 &_swigt__p_wxTaskBarIconEvent
,
33243 &_swigt__p_wxTextEntryDialog
,
33244 &_swigt__p_wxTipWindow
,
33245 &_swigt__p_wxToolBar
,
33246 &_swigt__p_wxTopLevelWindow
,
33247 &_swigt__p_wxUpdateUIEvent
,
33248 &_swigt__p_wxValidator
,
33249 &_swigt__p_wxVisualAttributes
,
33250 &_swigt__p_wxWindow
,
33251 &_swigt__p_wxWindowCreateEvent
,
33252 &_swigt__p_wxWindowDestroyEvent
,
33253 &_swigt__p_wxXPMHandler
,
33256 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33257 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33258 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33259 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33260 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33261 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33262 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33263 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33264 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33265 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33266 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33267 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33268 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33269 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33270 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33271 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33272 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33273 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33274 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33275 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33276 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33277 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33278 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}};
33279 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33280 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}};
33281 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33282 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33283 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33284 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33285 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33286 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33287 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33288 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33289 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33290 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33291 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33292 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33293 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33294 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33295 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33296 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33297 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33298 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33299 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33300 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33301 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33302 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33303 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33304 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33305 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33306 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33307 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33308 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33309 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}};
33310 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33311 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33312 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33313 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33314 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33315 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}};
33316 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33317 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33318 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33319 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33320 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33321 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33322 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33323 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33324 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}};
33325 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33326 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33327 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33328 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33329 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33330 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33331 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33332 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33333 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33334 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33335 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33336 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33337 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}};
33338 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33339 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33340 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33341 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33342 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33343 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33344 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33345 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33346 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33347 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33348 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33349 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33350 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33351 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33352 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33353 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33354 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33355 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33356 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33357 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33358 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33359 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33360 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33361 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33362 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33363 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33364 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33365 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33366 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33367 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_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
33368 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33369 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33370 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}};
33371 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33372 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33373 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33374 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}};
33375 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33376 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}};
33377 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}};
33378 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33379 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33380 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33381 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}};
33382 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33383 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33384 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33385 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33386 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}};
33387 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33388 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33389 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33390 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33391 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33392 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33393 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}};
33394 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}};
33395 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33396 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33397 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33398 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33399 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33400 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33401 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}};
33402 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33403 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}};
33404 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33405 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33406 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33407 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33408 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33409 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33410 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33411 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33412 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33413 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33414 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33415 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}};
33416 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33417 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33418 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}};
33419 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33420 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}};
33422 static swig_cast_info
*swig_cast_initial
[] = {
33425 _swigc__p_form_ops_t
,
33427 _swigc__p_unsigned_char
,
33428 _swigc__p_unsigned_int
,
33429 _swigc__p_unsigned_long
,
33430 _swigc__p_wxANIHandler
,
33431 _swigc__p_wxAcceleratorTable
,
33432 _swigc__p_wxActivateEvent
,
33433 _swigc__p_wxArrayInt
,
33434 _swigc__p_wxBMPHandler
,
33435 _swigc__p_wxBitmap
,
33436 _swigc__p_wxBoxSizer
,
33437 _swigc__p_wxCURHandler
,
33438 _swigc__p_wxCalculateLayoutEvent
,
33439 _swigc__p_wxChildFocusEvent
,
33440 _swigc__p_wxClipboardTextEvent
,
33441 _swigc__p_wxCloseEvent
,
33442 _swigc__p_wxColour
,
33443 _swigc__p_wxColourData
,
33444 _swigc__p_wxColourDialog
,
33445 _swigc__p_wxCommandEvent
,
33446 _swigc__p_wxContextMenuEvent
,
33447 _swigc__p_wxControl
,
33448 _swigc__p_wxControlWithItems
,
33450 _swigc__p_wxDateEvent
,
33451 _swigc__p_wxDialog
,
33452 _swigc__p_wxDirDialog
,
33453 _swigc__p_wxDisplayChangedEvent
,
33454 _swigc__p_wxDropFilesEvent
,
33455 _swigc__p_wxDuplexMode
,
33456 _swigc__p_wxEraseEvent
,
33458 _swigc__p_wxEvtHandler
,
33459 _swigc__p_wxFSFile
,
33460 _swigc__p_wxFileDialog
,
33461 _swigc__p_wxFileSystem
,
33462 _swigc__p_wxFindDialogEvent
,
33463 _swigc__p_wxFindReplaceData
,
33464 _swigc__p_wxFindReplaceDialog
,
33465 _swigc__p_wxFlexGridSizer
,
33466 _swigc__p_wxFocusEvent
,
33468 _swigc__p_wxFontData
,
33469 _swigc__p_wxFontDialog
,
33471 _swigc__p_wxGBSizerItem
,
33472 _swigc__p_wxGIFHandler
,
33473 _swigc__p_wxGridBagSizer
,
33474 _swigc__p_wxGridSizer
,
33475 _swigc__p_wxHtmlLinkInfo
,
33476 _swigc__p_wxICOHandler
,
33478 _swigc__p_wxIconBundle
,
33479 _swigc__p_wxIconizeEvent
,
33480 _swigc__p_wxIdleEvent
,
33482 _swigc__p_wxImageHandler
,
33483 _swigc__p_wxIndividualLayoutConstraint
,
33484 _swigc__p_wxInitDialogEvent
,
33485 _swigc__p_wxJPEGHandler
,
33486 _swigc__p_wxKeyEvent
,
33487 _swigc__p_wxLayoutAlgorithm
,
33488 _swigc__p_wxLayoutConstraints
,
33489 _swigc__p_wxMDIChildFrame
,
33490 _swigc__p_wxMDIClientWindow
,
33491 _swigc__p_wxMDIParentFrame
,
33492 _swigc__p_wxMaximizeEvent
,
33494 _swigc__p_wxMenuBar
,
33495 _swigc__p_wxMenuEvent
,
33496 _swigc__p_wxMenuItem
,
33497 _swigc__p_wxMessageDialog
,
33498 _swigc__p_wxMiniFrame
,
33499 _swigc__p_wxMouseCaptureChangedEvent
,
33500 _swigc__p_wxMouseCaptureLostEvent
,
33501 _swigc__p_wxMouseEvent
,
33502 _swigc__p_wxMoveEvent
,
33503 _swigc__p_wxMultiChoiceDialog
,
33504 _swigc__p_wxNavigationKeyEvent
,
33505 _swigc__p_wxNcPaintEvent
,
33506 _swigc__p_wxNotifyEvent
,
33507 _swigc__p_wxNumberEntryDialog
,
33508 _swigc__p_wxObject
,
33509 _swigc__p_wxPCXHandler
,
33510 _swigc__p_wxPNGHandler
,
33511 _swigc__p_wxPNMHandler
,
33512 _swigc__p_wxPageSetupDialog
,
33513 _swigc__p_wxPageSetupDialogData
,
33514 _swigc__p_wxPaintEvent
,
33515 _swigc__p_wxPaletteChangedEvent
,
33517 _swigc__p_wxPaperSize
,
33518 _swigc__p_wxPasswordEntryDialog
,
33520 _swigc__p_wxPopupWindow
,
33521 _swigc__p_wxPreviewCanvas
,
33522 _swigc__p_wxPreviewControlBar
,
33523 _swigc__p_wxPreviewFrame
,
33524 _swigc__p_wxPrintData
,
33525 _swigc__p_wxPrintDialog
,
33526 _swigc__p_wxPrintDialogData
,
33527 _swigc__p_wxPrintPreview
,
33528 _swigc__p_wxPrinter
,
33529 _swigc__p_wxProgressDialog
,
33531 _swigc__p_wxPyCommandEvent
,
33532 _swigc__p_wxPyEvent
,
33533 _swigc__p_wxPyHtmlListBox
,
33534 _swigc__p_wxPyImageHandler
,
33535 _swigc__p_wxPyPanel
,
33536 _swigc__p_wxPyPopupTransientWindow
,
33537 _swigc__p_wxPyPreviewControlBar
,
33538 _swigc__p_wxPyPreviewFrame
,
33539 _swigc__p_wxPyPrintPreview
,
33540 _swigc__p_wxPyPrintout
,
33541 _swigc__p_wxPyScrolledWindow
,
33542 _swigc__p_wxPySizer
,
33543 _swigc__p_wxPyTaskBarIcon
,
33544 _swigc__p_wxPyVListBox
,
33545 _swigc__p_wxPyVScrolledWindow
,
33546 _swigc__p_wxPyValidator
,
33547 _swigc__p_wxPyWindow
,
33548 _swigc__p_wxQueryLayoutInfoEvent
,
33549 _swigc__p_wxQueryNewPaletteEvent
,
33551 _swigc__p_wxRegion
,
33552 _swigc__p_wxSashEvent
,
33553 _swigc__p_wxSashLayoutWindow
,
33554 _swigc__p_wxSashWindow
,
33555 _swigc__p_wxScrollEvent
,
33556 _swigc__p_wxScrollWinEvent
,
33557 _swigc__p_wxScrolledWindow
,
33558 _swigc__p_wxSetCursorEvent
,
33559 _swigc__p_wxShowEvent
,
33560 _swigc__p_wxSingleChoiceDialog
,
33562 _swigc__p_wxSizeEvent
,
33564 _swigc__p_wxSizerItem
,
33565 _swigc__p_wxSplashScreen
,
33566 _swigc__p_wxSplashScreenWindow
,
33567 _swigc__p_wxSplitterEvent
,
33568 _swigc__p_wxSplitterWindow
,
33569 _swigc__p_wxStaticBoxSizer
,
33570 _swigc__p_wxStatusBar
,
33571 _swigc__p_wxStdDialogButtonSizer
,
33572 _swigc__p_wxString
,
33573 _swigc__p_wxSysColourChangedEvent
,
33574 _swigc__p_wxTIFFHandler
,
33575 _swigc__p_wxTaskBarIcon
,
33576 _swigc__p_wxTaskBarIconEvent
,
33577 _swigc__p_wxTextEntryDialog
,
33578 _swigc__p_wxTipWindow
,
33579 _swigc__p_wxToolBar
,
33580 _swigc__p_wxTopLevelWindow
,
33581 _swigc__p_wxUpdateUIEvent
,
33582 _swigc__p_wxValidator
,
33583 _swigc__p_wxVisualAttributes
,
33584 _swigc__p_wxWindow
,
33585 _swigc__p_wxWindowCreateEvent
,
33586 _swigc__p_wxWindowDestroyEvent
,
33587 _swigc__p_wxXPMHandler
,
33591 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33593 static swig_const_info swig_const_table
[] = {
33594 {0, 0, 0, 0.0, 0, 0}};
33599 /* -----------------------------------------------------------------------------
33600 * Type initialization:
33601 * This problem is tough by the requirement that no dynamic
33602 * memory is used. Also, since swig_type_info structures store pointers to
33603 * swig_cast_info structures and swig_cast_info structures store pointers back
33604 * to swig_type_info structures, we need some lookup code at initialization.
33605 * The idea is that swig generates all the structures that are needed.
33606 * The runtime then collects these partially filled structures.
33607 * The SWIG_InitializeModule function takes these initial arrays out of
33608 * swig_module, and does all the lookup, filling in the swig_module.types
33609 * array with the correct data and linking the correct swig_cast_info
33610 * structures together.
33612 * The generated swig_type_info structures are assigned staticly to an initial
33613 * array. We just loop though that array, and handle each type individually.
33614 * First we lookup if this type has been already loaded, and if so, use the
33615 * loaded structure instead of the generated one. Then we have to fill in the
33616 * cast linked list. The cast data is initially stored in something like a
33617 * two-dimensional array. Each row corresponds to a type (there are the same
33618 * number of rows as there are in the swig_type_initial array). Each entry in
33619 * a column is one of the swig_cast_info structures for that type.
33620 * The cast_initial array is actually an array of arrays, because each row has
33621 * a variable number of columns. So to actually build the cast linked list,
33622 * we find the array of casts associated with the type, and loop through it
33623 * adding the casts to the list. The one last trick we need to do is making
33624 * sure the type pointer in the swig_cast_info struct is correct.
33626 * First off, we lookup the cast->type name to see if it is already loaded.
33627 * There are three cases to handle:
33628 * 1) If the cast->type has already been loaded AND the type we are adding
33629 * casting info to has not been loaded (it is in this module), THEN we
33630 * replace the cast->type pointer with the type pointer that has already
33632 * 2) If BOTH types (the one we are adding casting info to, and the
33633 * cast->type) are loaded, THEN the cast info has already been loaded by
33634 * the previous module so we just ignore it.
33635 * 3) Finally, if cast->type has not already been loaded, then we add that
33636 * swig_cast_info to the linked list (because the cast->type) pointer will
33638 * ----------------------------------------------------------------------------- */
33648 #define SWIGRUNTIME_DEBUG
33652 SWIG_InitializeModule(void *clientdata
) {
33654 swig_module_info
*module_head
;
33655 static int init_run
= 0;
33657 clientdata
= clientdata
;
33659 if (init_run
) return;
33662 /* Initialize the swig_module */
33663 swig_module
.type_initial
= swig_type_initial
;
33664 swig_module
.cast_initial
= swig_cast_initial
;
33666 /* Try and load any already created modules */
33667 module_head
= SWIG_GetModule(clientdata
);
33669 swig_module
.next
= module_head
->next
;
33670 module_head
->next
= &swig_module
;
33672 /* This is the first module loaded */
33673 swig_module
.next
= &swig_module
;
33674 SWIG_SetModule(clientdata
, &swig_module
);
33677 /* Now work on filling in swig_module.types */
33678 #ifdef SWIGRUNTIME_DEBUG
33679 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33681 for (i
= 0; i
< swig_module
.size
; ++i
) {
33682 swig_type_info
*type
= 0;
33683 swig_type_info
*ret
;
33684 swig_cast_info
*cast
;
33686 #ifdef SWIGRUNTIME_DEBUG
33687 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33690 /* if there is another module already loaded */
33691 if (swig_module
.next
!= &swig_module
) {
33692 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33695 /* Overwrite clientdata field */
33696 #ifdef SWIGRUNTIME_DEBUG
33697 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33699 if (swig_module
.type_initial
[i
]->clientdata
) {
33700 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33701 #ifdef SWIGRUNTIME_DEBUG
33702 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33706 type
= swig_module
.type_initial
[i
];
33709 /* Insert casting types */
33710 cast
= swig_module
.cast_initial
[i
];
33711 while (cast
->type
) {
33712 /* Don't need to add information already in the list */
33714 #ifdef SWIGRUNTIME_DEBUG
33715 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33717 if (swig_module
.next
!= &swig_module
) {
33718 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33719 #ifdef SWIGRUNTIME_DEBUG
33720 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33724 if (type
== swig_module
.type_initial
[i
]) {
33725 #ifdef SWIGRUNTIME_DEBUG
33726 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33731 /* Check for casting already in the list */
33732 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33733 #ifdef SWIGRUNTIME_DEBUG
33734 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33736 if (!ocast
) ret
= 0;
33741 #ifdef SWIGRUNTIME_DEBUG
33742 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33745 type
->cast
->prev
= cast
;
33746 cast
->next
= type
->cast
;
33752 /* Set entry in modules->types array equal to the type */
33753 swig_module
.types
[i
] = type
;
33755 swig_module
.types
[i
] = 0;
33757 #ifdef SWIGRUNTIME_DEBUG
33758 printf("**** SWIG_InitializeModule: Cast List ******\n");
33759 for (i
= 0; i
< swig_module
.size
; ++i
) {
33761 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33762 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33763 while (cast
->type
) {
33764 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33768 printf("---- Total casts: %d\n",j
);
33770 printf("**** SWIG_InitializeModule: Cast List ******\n");
33774 /* This function will propagate the clientdata field of type to
33775 * any new swig_type_info structures that have been added into the list
33776 * of equivalent types. It is like calling
33777 * SWIG_TypeClientData(type, clientdata) a second time.
33780 SWIG_PropagateClientData(void) {
33782 swig_cast_info
*equiv
;
33783 static int init_run
= 0;
33785 if (init_run
) return;
33788 for (i
= 0; i
< swig_module
.size
; i
++) {
33789 if (swig_module
.types
[i
]->clientdata
) {
33790 equiv
= swig_module
.types
[i
]->cast
;
33792 if (!equiv
->converter
) {
33793 if (equiv
->type
&& !equiv
->type
->clientdata
)
33794 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33796 equiv
= equiv
->next
;
33816 /* Python-specific SWIG API */
33817 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33818 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33819 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33821 /* -----------------------------------------------------------------------------
33822 * global variable support code.
33823 * ----------------------------------------------------------------------------- */
33825 typedef struct swig_globalvar
{
33826 char *name
; /* Name of global variable */
33827 PyObject
*(*get_attr
)(void); /* Return the current value */
33828 int (*set_attr
)(PyObject
*); /* Set the value */
33829 struct swig_globalvar
*next
;
33832 typedef struct swig_varlinkobject
{
33834 swig_globalvar
*vars
;
33835 } swig_varlinkobject
;
33837 SWIGINTERN PyObject
*
33838 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33839 return PyString_FromString("<Swig global variables>");
33842 SWIGINTERN PyObject
*
33843 swig_varlink_str(swig_varlinkobject
*v
) {
33844 PyObject
*str
= PyString_FromString("(");
33845 swig_globalvar
*var
;
33846 for (var
= v
->vars
; var
; var
=var
->next
) {
33847 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33848 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33850 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33855 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33856 PyObject
*str
= swig_varlink_str(v
);
33857 fprintf(fp
,"Swig global variables ");
33858 fprintf(fp
,"%s\n", PyString_AsString(str
));
33864 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33865 swig_globalvar
*var
= v
->vars
;
33867 swig_globalvar
*n
= var
->next
;
33874 SWIGINTERN PyObject
*
33875 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33876 PyObject
*res
= NULL
;
33877 swig_globalvar
*var
= v
->vars
;
33879 if (strcmp(var
->name
,n
) == 0) {
33880 res
= (*var
->get_attr
)();
33885 if (res
== NULL
&& !PyErr_Occurred()) {
33886 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33892 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33894 swig_globalvar
*var
= v
->vars
;
33896 if (strcmp(var
->name
,n
) == 0) {
33897 res
= (*var
->set_attr
)(p
);
33902 if (res
== 1 && !PyErr_Occurred()) {
33903 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33908 SWIGINTERN PyTypeObject
*
33909 swig_varlink_type(void) {
33910 static char varlink__doc__
[] = "Swig var link object";
33911 static PyTypeObject varlink_type
;
33912 static int type_init
= 0;
33914 const PyTypeObject tmp
33916 PyObject_HEAD_INIT(NULL
)
33917 0, /* Number of items in variable part (ob_size) */
33918 (char *)"swigvarlink", /* Type name (tp_name) */
33919 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33920 0, /* Itemsize (tp_itemsize) */
33921 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33922 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33923 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33924 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33925 0, /* tp_compare */
33926 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33927 0, /* tp_as_number */
33928 0, /* tp_as_sequence */
33929 0, /* tp_as_mapping */
33932 (reprfunc
)swig_varlink_str
, /* tp_str */
33933 0, /* tp_getattro */
33934 0, /* tp_setattro */
33935 0, /* tp_as_buffer */
33937 varlink__doc__
, /* tp_doc */
33938 0, /* tp_traverse */
33940 0, /* tp_richcompare */
33941 0, /* tp_weaklistoffset */
33942 #if PY_VERSION_HEX >= 0x02020000
33943 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33945 #if PY_VERSION_HEX >= 0x02030000
33948 #ifdef COUNT_ALLOCS
33949 0,0,0,0 /* tp_alloc -> tp_next */
33952 varlink_type
= tmp
;
33953 varlink_type
.ob_type
= &PyType_Type
;
33956 return &varlink_type
;
33959 /* Create a variable linking object for use later */
33960 SWIGINTERN PyObject
*
33961 SWIG_Python_newvarlink(void) {
33962 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33966 return ((PyObject
*) result
);
33970 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33971 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33972 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33974 size_t size
= strlen(name
)+1;
33975 gv
->name
= (char *)malloc(size
);
33977 strncpy(gv
->name
,name
,size
);
33978 gv
->get_attr
= get_attr
;
33979 gv
->set_attr
= set_attr
;
33980 gv
->next
= v
->vars
;
33986 SWIGINTERN PyObject
*
33988 static PyObject
*_SWIG_globals
= 0;
33989 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33990 return _SWIG_globals
;
33993 /* -----------------------------------------------------------------------------
33994 * constants/methods manipulation
33995 * ----------------------------------------------------------------------------- */
33997 /* Install Constants */
33999 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34002 for (i
= 0; constants
[i
].type
; ++i
) {
34003 switch(constants
[i
].type
) {
34004 case SWIG_PY_POINTER
:
34005 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34007 case SWIG_PY_BINARY
:
34008 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34015 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34021 /* -----------------------------------------------------------------------------*/
34022 /* Fix SwigMethods to carry the callback ptrs when needed */
34023 /* -----------------------------------------------------------------------------*/
34026 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34027 swig_const_info
*const_table
,
34028 swig_type_info
**types
,
34029 swig_type_info
**types_initial
) {
34031 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34032 const char *c
= methods
[i
].ml_doc
;
34033 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34035 swig_const_info
*ci
= 0;
34036 const char *name
= c
+ 10;
34037 for (j
= 0; const_table
[j
].type
; ++j
) {
34038 if (strncmp(const_table
[j
].name
, name
,
34039 strlen(const_table
[j
].name
)) == 0) {
34040 ci
= &(const_table
[j
]);
34045 size_t shift
= (ci
->ptype
) - types
;
34046 swig_type_info
*ty
= types_initial
[shift
];
34047 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34048 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34049 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34052 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34054 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34056 strncpy(buff
, "swig_ptr: ", 10);
34058 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34059 methods
[i
].ml_doc
= ndoc
;
34071 /* -----------------------------------------------------------------------------*
34072 * Partial Init method
34073 * -----------------------------------------------------------------------------*/
34078 SWIGEXPORT
void SWIG_init(void) {
34081 /* Fix SwigMethods to carry the callback ptrs when needed */
34082 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34084 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34085 d
= PyModule_GetDict(m
);
34087 SWIG_InitializeModule(0);
34088 SWIG_InstallConstants(d
,swig_const_table
);
34091 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34092 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34093 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34094 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34095 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34096 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34097 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34098 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34099 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34100 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34101 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34102 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34103 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34104 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34105 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34106 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34107 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34108 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34109 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34110 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34111 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34112 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34113 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34114 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34115 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34116 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34117 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34118 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34119 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34120 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34121 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34122 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34123 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34124 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34125 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34126 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34127 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34128 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34129 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34130 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34131 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34132 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34133 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34134 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34135 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34136 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34137 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34138 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34139 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34140 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34141 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34142 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34143 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34144 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34145 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34146 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34147 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34148 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34149 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34150 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34151 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34152 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34153 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34154 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34155 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34156 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34157 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34158 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34159 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34160 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34161 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34162 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34163 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34164 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34165 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34166 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34167 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34168 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34169 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34170 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34171 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34172 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34173 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34174 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34175 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34176 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34177 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34178 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34179 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34180 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34181 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34182 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34183 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34184 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34185 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34186 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34187 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34188 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34189 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34190 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34191 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34192 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34194 // Map renamed classes back to their common name for OOR
34195 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34196 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34197 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34199 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34200 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34201 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34202 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34203 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34204 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34205 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34206 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34207 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34208 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34209 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34210 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34211 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34212 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34213 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34214 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34215 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34216 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34217 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34218 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34219 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34220 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34221 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34222 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34223 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34224 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34225 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34226 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34227 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34228 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34229 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34230 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34231 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34232 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34233 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34234 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34235 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34236 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34237 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34238 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34239 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34240 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34241 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34242 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34243 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34244 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34245 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34246 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34247 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34248 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34249 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34250 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34251 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34252 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34253 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34254 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34255 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34256 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34257 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34258 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34259 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34260 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34261 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34262 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34263 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34264 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34265 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34266 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34267 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34268 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34269 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34270 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34271 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34272 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34273 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34274 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34275 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34276 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34277 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34278 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34279 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34280 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34281 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34282 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34283 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34284 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34285 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34286 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34287 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34288 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34289 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34290 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34291 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34292 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34293 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34294 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34296 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");